Related
THIS OP IS OUTDATED! WIP!
Hello everybody!
You might or might not have already heard of MultiROM, THE multi-boot mod for the Nexus 7. I have recently found it and have decided to port it for our device.
First of all, it is a very initial release now. Though I have tested multiple cases and didn't find any problem except those in the bug list, bugs can arise. Do have a backup! Also, do read through the whole OP and 2nd post! If you don't understand something, rather read again and/or ask!
For more information on how it works and what it does, I suggest that you read the first few posts in the original thread. Those are very detailed and well-written posts that explain MultiROM in general. Installing roms to USB and Ubuntu/Ubuntu Touch of course doesn't work for our device atm.
Installation
The device must not be encrypted!
You need to flash the modified TWRP recovery that has MultiROM extensions. My version is based on the latest sources with gordon0001's device-specific modifications included. You can keep this recovery if you don't want to use MultiROM anymore and you like TWRP, because the MultiROM extensions don't interfere with other functions, even if the boot sector is not injected.
You have to flash a kernel that is capable of Kexec-hardboot. I compiled iodak's v07 CM kernel and official CM kernel with the patch, choose one of them. I have noticed an approx. 3 sec. vibration at boot with iodak, that's why I have included official CM kernel too.
Finally you have to flash MultiROM.
Links
You can find everything at http://d-h.st/users/Adam77Root/?fld_id=22980#files.
MultiROM_TWRP_X3.zip: The modified TWRP recovery from latest sources with gordon0001's device-specific changes and MultiROM support.
CM_kernel_patched.zip and iodakX3_v07CM_patched.zip: Official and iodak CM kernels with Kexec-hardboot patch.
iodakX3_v07_patched.zip: iodak stock kernel with Kexec-hardboot patch.
MultiROM_P880_v12.zip: The actual MultiROM package. Contains the latest version of Trampoline (the init binary of the system) and MultiROM binaries with all the needed device-specific changes. Even Pong works pretty smooth.
x3_hardboot.diff: Kexec-hardboot patch for 3.1.10 kernel.
mrom_p880.patch: Device-specific changes for Trampoline and MultiROM.
ui.xml: UI layout definition for TWRP for 720x1280 screens with MultiROM additions.
Known bugs
Reboot to recovery doesn't work.
USB tab doesn't do anything. This is because USB host mode (OTG) doesn't work on our device. Will reach out to kholk regarding this.
Sometimes in landscape mode, the default selected rom gets booted on the first touch. This is yet to be investigated.
Changelog
14 August 2013: Initial release
Credits
@Tasssadar for MultiROM, Kexec-hardboot for Nexus 7 and his help with debugging and porting
@mkasick for original Kexec-hardboot implementation
@iodak for his kernel
@gordon0001 for the device-specific TWRP modifications
Every custom modification to devices have risks. Flash these at your own risk!
Have fun and enjoy!
General use
Some notes and instructions regarding general use
For now, I have only provided patched 4.2.2 CM kernels. This means, you have to be on CM or CM-based rom with Android version 4.2.2. Don't try it with stock at the moment in any way. It won't work, but is on the to-do list. As Kexec-hardboot will reach out to devs, it will be supported in every rom ultimately.
In the next two examples, I will refer any official, unofficial, or CM-based roms as CM. Keep this in mind.
I use the word 'injected', because MultiROM is actually injected into the boot partition. It works on any kernel that is capable of doing Kexec-hardboot (and if you don't want to use different kernel (i.e. you will use kernel sharing), it will work on unpatched kernels as well).
I may refer to non-shared kernel method as Kexec(-hardboot) method.
Example scenario of multi-booting CM with CM and kernel sharing
You are on CM with MultiROM-capable recovery, patched kernel and MultiROM-injected and you want to install e.g. CarbonRom as second.
Boot into TWRP, navigate to Advanced->MultiROM and select 'Add ROM'. Since the base rom is CM, you can share the same kernel. It will be faster as there will be no hardboot needed.
The installation steps are easy and it doesn't take more time than a normal installation.
Example scenario of multi-booting CM with CM and different kernel
You are on CM with MultiROM-capable recovery, patched kernel and MultiROM-injected and you want to install e.g. CarbonRom as second.
Boot into TWRP, navigate to Advanced->MultiROM and select 'Add ROM'. Select 'Don't share'.
Continue with installation.
Now, since the target kernel (that is installed with the rom) is very likely not patched, you will have to flash one of my linked kernels to that rom. Do this by selecting 'List roms', selecting the desired rom, than 'Flash ZIP' and flashing one of the kernels I have patched.
You can only share the kernels between the same Android version (i.e. stock base->only stock rom can use shared kernel, 4.2 base->only 4.2 rom can use shared kernel, 4.3 base->only 4.3 rom can use shared kernel, etc.), but this is not the case with the Kexec method. Just keep in mind that for example even if your base rom is CM, for a stock secondary rom you have to flash a stock patched kernel.
The build
Some notes about the build
x3_hardboot.diff: This is the Kexec-hardboot patch for the 3.1.10 kernel. Since it is needed for target kernels as well, I would like to reach out in this post to @arararagi, @demetris_I, @iodak, @kholk, @laufersteppenwolf and @Pesach85 (in no particular order, this is how your threads are in order in Original Android Development forum right now). I and fellow users would be grateful if you could include the patch in the kernel so they can be used as both host and target kernels as well. UPDATE: It doesn't reserve one more megabyte before ram_console from now on.
mrom_p880.patch: This contains all the device-specific patches that are needed to get MultiROM booting and working on the P880. It is built on top of the latest git changes as of today. It also contains some comments about multiple devices compatibility, those are reminders for Tasssadar.
ui.xml: UI layout definition for TWRP for 720x1280 screens with MultiROM additions. Needs to be put into TWRPdir/gui/devices/720x1280/res/. The recovery I have created is based on the latest MultiROM TWRP with @gordon0001's device-specific changes.
You can find links to the upstream MultiROM and MultiROM TWRP in the original thread.
Simply incredible!!! :thumbup:thanks a lot man. I always wanted to try dualboot
Sent from my LG-P880 using xda premium
Awaiting the Patched Stock Kernel to dual boot stock and AOSP Good Work man, hopefully @iodak will be able to patch his kernel by today so i can get modding :3
Nice work man! I have also seen hardboot kernels in the N7 section, but got into the hospital then....
But i will include it for sure when i'm back home
Sent from my Nexus 7 using XDA Premium HD app
tnx for your very nice work
how i can flash twrp ?
i want to flash it on cwm but i cant
edite : thats my fault i am so sorry
penguin449 said:
Awaiting the Patched Stock Kernel to dual boot stock and AOSP Good Work man, hopefully @iodak will be able to patch his kernel by today so i can get modding :3
Click to expand...
Click to collapse
If anybody won't be faster, I will provide it tomorrow.
laufersteppenwolf said:
Nice work man! I have also seen hardboot kernels in the N7 section, but got into the hospital then....
But i will include it for sure when i'm back home
Sent from my Nexus 7 using XDA Premium HD app
Click to expand...
Click to collapse
Thanks! Take your time, rest and get better!
Sent from my LG-P880
Adam77Root said:
If anybody won't be faster, I will provide it tomorrow.
Sent from my LG-P880
Click to expand...
Click to collapse
Don't get me wrong, i would be more then Happy to do it myself, however till my new PC Arrives i wont be able to use a Linux Distro for some time, if there's a method to do this on windows (Natively, can't even run anything in VM's) then point me in the right direction! Sorry for the inconvenience!
penguin449 said:
Don't get me wrong, i would be more then Happy to do it myself, however till my new PC Arrives i wont be able to use a Linux Distro for some time, if there's a method to do this on windows (Natively, can't even run anything in VM's) then point me in the right direction! Sorry for the inconvenience!
Click to expand...
Click to collapse
I didn't get you wrong buddy. I have no problems with making a stock version, just didn't have time for that today.
Sent from my LG-P880
giantic hack
ohhh well the one big giantic hack is coming to our O4X! that`s very nice
thank you for this port and thank you for your fast work? tomorrow with stock and on saturday with android 4.3 ?
Donation sent
Whaaaaaattt?
Just were browsing N7 forum few days ago and saw MultiROM and thought "Ahh these lucky nexus guys, I wanna have it to! " and here we go hahahah
Sent from my OptimusX4HD using xda app-developers app
how can install rom to ext-sd ?
in next version can we have stock rom and miui rom or other custom rom?
tnx
Hey guys, heres iodak stock kernel with kexec patch: https://www.dropbox.com/s/ko752pu1akuvfzh/iodakX3_v07-realms.zip
Btw i theres a problem with the twrp zip package, im gonna try fastboot flash it. Has anyone had success?
Say Whut?
@Adam77Root, you just made me wanna flashing and flashing and flashing one day before I go into vacation, I will try to get some time today and test it!
Thanks so much!
Afro said:
Say Whut?
Adam77Root, you just made me wanna flashing and flashing and flashing one day before I go into vacation, I will try to get some time today and test it!
Thanks so much!
Click to expand...
Click to collapse
You can flash 10 different roms and play with them over your vacation. Thats what vacations are right?
Hehe @JoinTheRealms , you understand me
Wow, I just saw your Iodak Stock Kernel with Kexec patch, verrry nice, now I can use Stock ROMs, too!
Did you already test it?
JoinTheRealms said:
Donation sent
Click to expand...
Click to collapse
Thanks very much!
m.homauon said:
how can install rom to ext-sd ?
in next version can we have stock rom and miui rom or other custom rom?
tnx
Click to expand...
Click to collapse
You can't install to external SD. It could be modified to allow it, but there would be a huge performance decrease. Literally, roms would be lagging too much.
JoinTheRealms said:
Hey guys, heres iodak stock kernel with kexec patch: https://www.dropbox.com/s/ko752pu1akuvfzh/iodakX3_v07-realms.zip
Btw i theres a problem with the twrp zip package, im gonna try fastboot flash it. Has anyone had success?
Click to expand...
Click to collapse
Just was about to reply to your PM.
What kind of problem is with the zip package?
I will update the first posts in the afternoon.
Afro said:
Hehe @JoinTheRealms , you understand me
Wow, I just saw your Iodak Stock Kernel with Kexec patch, verrry nice, now I can use Stock ROMs, too!
Did you already test it?
Click to expand...
Click to collapse
Nah i couldnt get the twrp package to flash so im gonna try with fastboot. But the kernel works, i just swapped the ramdisk from Adam77roots patched kernel with iodak's stock kernel, it should work though
---------- Post added at 07:21 PM ---------- Previous post was at 07:19 PM ----------
Adam77Root said:
Just was about to reply to your PM.
What kind of problem is with the zip package?
I will update the first posts in the afternoon.
Click to expand...
Click to collapse
My twrp failed to flash your twrp.zip package, most likely something on my end though, no one else has reported issues
Hi,
I have a problem with all the custom roms. the sensitive buttons don't work.
I tried all Maclaw's roms and Virginity V3 but i have always this issue.
when i come back to the stock rom, it works.
I think the problem come from the kernel : i tried the Virginity Kernel V3 on my rom stock just rooted, it don't work neither.
can anybody help me ?
rzit said:
Hi,
I have a problem with all the custom roms. the sensitive buttons don't work.
I tried all Maclaw's roms and Virginity V3 but i have always this issue.
when i come back to the stock rom, it works.
I think the problem come from the kernel : i tried the Virginity Kernel V3 on my rom stock just rooted, it don't work neither.
can anybody help me ?
Click to expand...
Click to collapse
go to official stock rom and if problem exists its problem with hardware
eswarvf said:
go to official stock rom and if problem exists its problem with hardware
Click to expand...
Click to collapse
Thank you but everything is fine on stock rom.
i've this problem when i try custom roms only.
rzit said:
Thank you but everything is fine on stock rom.
i've this problem when i try custom roms only.
Click to expand...
Click to collapse
Reroot ur phone and flash
Remember do your own experiments on your phone because its yours
So find a solution by yourself because no one has this problem
Blame Samsung I read somewhere that our phone got this problem
So try and try until u get it
i'm sorry to say you can't do anything about it... neither a developer can, as far as i know.. about 5% of s3 minis have this problem.... you just live with it, i do too
rzit said:
Hi,
I have a problem with all the custom roms. the sensitive buttons don't work.
I tried all Maclaw's roms and Virginity V3 but i have always this issue.
when i come back to the stock rom, it works.
I think the problem come from the kernel : i tried the Virginity Kernel V3 on my rom stock just rooted, it don't work neither.
can anybody help me ?
Click to expand...
Click to collapse
Install corssbreeder then install root cleaner do a full clean & try again
xAbsoLx said:
Install corssbreeder then install root cleaner do a full clean & try again
Click to expand...
Click to collapse
I tried, but it doesn't work for me.
alexvv said:
i'm sorry to say you can't do anything about it... neither a developer can, as far as i know.. about 5% of s3 minis have this problem.... you just live with it, i do too
Click to expand...
Click to collapse
i knew it ! I've never been lucky.
thank you all anyway !
Hi everyone...
Has anyone managed to get root acces or even boot twrp/cwm successfully on the EU 64bit version of the D510??
i have been trying to compile the kernel myslf but i dont have much experiance with kernels and setting up an environment..
and if anyone needs to use my 64bit variant for testing i will be here to help
Inside 4ndroid said:
Hi everyone...
Has anyone managed to get root acces or even boot twrp/cwm successfully on the EU 64bit version of the D510??
i have been trying to compile the kernel myslf but i dont have much experiance with kernels and setting up an environment..
and if anyone needs to use my 64bit variant for testing i will be here to help
Click to expand...
Click to collapse
Nobody working on it
vwadam said:
Nobody working on it
Click to expand...
Click to collapse
apaerently not although i am doing my best i have set up an ubuntu linux environment so i can compile kernels etc so hopefully i will be able to do something with it soon.. if not we will have to wait until htc release kernel source or a stock ruu so we can pull recovery and kernel from that..
Inside 4ndroid said:
apaerently not although i am doing my best i have set up an ubuntu linux environment so i can compile kernels etc so hopefully i will be able to do something with it soon.. if not we will have to wait until htc release kernel source or a stock ruu so we can pull recovery and kernel from that..
Click to expand...
Click to collapse
Oh ok,than good luck for it,hope to get it soon because my phone allredy in bootloop...
Hey guys,
Coming back to S advance forums after a long time.
Currently i'm running rooted Vanir AOSP 4.4.4 with CWM recovery.
Now i want ask about getting TWRP on this Galaxy S Advance? Any threads on which you can guide me? Any help would ne appreciated.
Thanks
ssbnasa said:
Hey guys,
Coming back to S advance forums after a long time.
Currently i'm running rooted Vanir AOSP 4.4.4 with CWM recovery.
Now i want ask about getting TWRP on this Galaxy S Advance? Any threads on which you can guide me? Any help would ne appreciated.
Thanks
Click to expand...
Click to collapse
If there is no kernel for Vanir with TWRP embedded, you can't use it. Custom recovery is embedded in same partition as kernel, so it can't be installed separately.
shut_down said:
If there is no kernel for Vanir with TWRP embedded, you can't use it. Custom recovery is embedded in same partition as kernel, so it can't be installed separately.
Click to expand...
Click to collapse
Thanks for the help. But that means TWRP will only embedded come with a kernel?
If yes, then can u guide me towards any kitkat kernels in which TWRP is embedded?
Thanks!
ssbnasa said:
Thanks for the help. But that means TWRP will only embedded come with a kernel?
If yes, then can u guide me towards any kitkat kernels in which TWRP is embedded?
Thanks!
Click to expand...
Click to collapse
Exacly, TWRP will only embedded come with a kernel. I am not sure what kernel is compatible with Vanir AOSP, that has TWRP. You might look for ROM that has kernel with TWRP, and flash it with Universal Kernel Flasher. And be prepared to recover phone if you end up with a bootloop (flash same rom again if you can access recovery, or flash stock firmware).
shut_down said:
Exacly, TWRP will only embedded come with a kernel. I am not sure what kernel is compatible with Vanir AOSP, that has TWRP. You might look for ROM that has kernel with TWRP, and flash it with Universal Kernel Flasher. And be prepared to recover phone if you end up with a bootloop (flash same rom again if you can access recovery, or flash stock firmware).
Click to expand...
Click to collapse
Yea Yea i know the drill!
And i might be changing roms then, trying all those which has TWRP embedded in it.
Last help pls? Can u suggest some roms which has TWRP in it?
Thanks a lot for help!
ssbnasa said:
Yea Yea i know the drill!
And i might be changing roms then, trying all those which has TWRP embedded in it.
Last help pls? Can u suggest some roms which has TWRP in it?
Thanks a lot for help!
Click to expand...
Click to collapse
You do not need to change it to find it, it is written in its post. I think that Omni has TWRP, and maybe Carbon. Ofcourse it needs to be 4.4 based. Look in Original Development and in Development section of our device part of this forum.
shut_down said:
You do not need to change it to find it, it is written in its post. I think that Omni has TWRP, and maybe Carbon. Ofcourse it needs to be 4.4 based. Look in Original Development and in Development section of our device part of this forum.
Click to expand...
Click to collapse
Thank you man, appreciate your help!
shut_down said:
You do not need to change it to find it, it is written in its post. I think that Omni has TWRP, and maybe Carbon. Ofcourse it needs to be 4.4 based. Look in Original Development and in Development section of our device part of this forum.
Click to expand...
Click to collapse
ssbnasa said:
Thank you man, appreciate your help!
Click to expand...
Click to collapse
Carbon has CWM, but SlimKat has TWRP.
Hi guys,
just finished building TWRP 3.0.2-0 for the Z5
Download
TWRP-for-CM (folder)
recovery_3.0.2.img (fastboot flashable file)
Source:
https://github.com/omnirom/android_bootable_recovery (TWRP, recovery - place in bootable/recovery-twrp)
https://github.com/CyanogenMod (CyanogenMod source)
https://github.com/Sony-Kitakami (place in .repo/local_manifests )
Build:
Code:
source build/envsetup.sh
lunch cm_sumire-userdebug
mka clobber && mka recoveryimage RECOVERY_VARIANT=twrp
Thanks to @moonbutt74 for bearing with me and all my questions :silly:
Not Working on E6633 , When I power on the device , Sony logo show and the device power off immediately
Edit :
It works Successfully , I had flashed It as a kernel hahaha
Thank You ^_^
Hello,
I've had the same issue than Sony guy (the device which power off after few seconds on the Sony logo), but I've had correctly flashed this recovery... I don't understand
Any idea ? I have also an E6633.
Thx
Sh4douw said:
Hello,
I've had the same issue than Sony guy (the device which power off after few seconds on the Sony logo), but I've had correctly flashed this recovery... I don't understand
Any idea ? I have also an E6633.
Thx
Click to expand...
Click to collapse
How did you flashed ? As kernel or as recovery ?
If as kernel you will have this problem . But as recovery it will work successfully
Sony guy said:
How did you flashed ? As kernel or as recovery ?
If as kernel you will have this problem . But as recovery it will work successfully
Click to expand...
Click to collapse
Sorry, I misspoke xD
I flashed it as a recovery btw.
But, by "it works Successfully", what did you mean ? You can access on the recovery or you can boot on CM13 ?
Indeed, my device power off not after the flash of the kernel and the recovery, but AFTER the flash of the CM13 + GApps.
So, if by "success" you meant that you can boot totally on CM13, which ROM and which kernel did you flashed ?
But if it concerned the recovery only, this is good, I have the same result than you x)
Sh4douw said:
Sorry, I misspoke xD
I flashed it as a recovery btw.
But, by "it works Successfully", what did you mean ? You can access on the recovery or you can boot on CM13 ?
Indeed, my device power off not after the flash of the kernel and the recovery, but AFTER the flash of the CM13 + GApps.
So, if by "success" you meant that you can boot totally on CM13, which ROM and which kernel did you flashed ?
But if it concerned the recovery only, this is good, I have the same result than you x)
Click to expand...
Click to collapse
Yeah I can boot into cm13
I used cm13 rom , cm kernel and this recovery
I flash GAPPS after the rom and I get setup wizard FC
so I did factory reset and then it works fine without problem
Sony guy said:
Yeah I can boot into cm13
I used cm13 rom , cm kernel and this recovery
I flash GAPPS after the rom and I get setup wizard FC
so I did factory reset and then it works fine without problem
Click to expand...
Click to collapse
Oh, I see
Do you can link me which kernel and which ROM did you use ?
Also, what pack of GApps did you use ?
Sorry, it's the first time I try to flash a custom ROM, I'm little lost as you could see xD
Sh4douw said:
Oh, I see
Do you can link me which kernel and which ROM did you use ?
Also, what pack of GApps did you use ?
Sorry, it's the first time I try to flash a custom ROM, I'm little lost as you could see xD
Click to expand...
Click to collapse
Click here to download the rom
http://forum.xda-developers.com/xperia-z5/development/rom-cyanogenmod-13-sony-xperia-z5-t3356163/page11
And Gapps you can find it in the first page of the above thread
Okay, I don't understand why, but for booting on CM, I had to reflash the kernel !
Without it, my device power off one second after the Sony logo
It finally works, thanks you
Hi,
Are you able to make one for the Z5P??
some of us are still stuck at ver 2.8.
also, i have used your root kernel program with the lastest twrp and it can boot into recovery,since i am using a custom kernel, i think it will be nice if there is a flashable img file for the latest twrp.
Many thanks in advance.
Will this work with my new Z5, Android 6.0.1, totally stock?
Nayibmc said:
Will this work with my new Z5, Android 6.0.1, totally stock?
Click to expand...
Click to collapse
No. Just Cm/Aosp
Sent from my Xperia Z5 using XDA-Developers mobile app
How can amplify the sound in Bluetooth?
Sergeyra29 said:
How can amplify the sound in Bluetooth?
Click to expand...
Click to collapse
Faux sound setting in Kernel Adiutor is not working(im on Z5 RR latest build plus Zach's kernel), but it working on Romaur 4.2.0 plus Aur-kernel 4.0.
try "FauxSound app v1.5" from play store, its worked with wired headset, maybe worked with Bluetooth too.
Sent from my Xperia Z5 using XDA-Developers mobile app
How can amplify the sound in Bluetooth mixer_paths?
Sorry wrong reply. XD
Sony guy said:
How did you flashed ? As kernel or as recovery ?
If as kernel you will have this problem . But as recovery it will work successfully
Click to expand...
Click to collapse
I have questions:
1. How to install/flash as recovery? via adb fastboot?
2. Will this work on stock rom? if yes, what firmware?
Thank you
adize said:
I have questions:
1. How to install/flash as recovery? via adb fastboot?
2. Will this work on stock rom? if yes, what firmware?
Thank you
Click to expand...
Click to collapse
1 - fastboot flash recovery x.img
2 - I think this recovery is for CM ROM
You can search in the android development section for stock ROM , it works on all firmwares
Hi guys, noob question here: I have twrp old version, can I flash this in recovery?
And also I want to try the xz rom but tried flashing and didn't work, it is my understanding that it was caused by the old twrp and using this I'll be able to use that rom.
Thank you for your help.
Sent from my E6653 using XDA-Developers mobile app
[emoji41]
oh, sorry, wrong thread