yashsingh1/xdaforums huggingface dataset:
[LG Optimus 4X HD] fritzcola:
Hello guys!

After learing a lot from these great devs arround here i decided to start to try out a new project! Multirom!!

You might or might not have heared of it, THE multi-boot mod for the Nexus 7. I 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.

Links

You can find everything at https://www.androidfilehost.com/?w=files&flid=32204.

multirom-20150521-v32-UNOFFICIAL-p880.zip : The multirom zip

CM12_Kernel_Patched.zip : CM 12 Kernel with Kexec-Hardboot Patch ; Thanks to @Adam77Root the patch and @laufersteppenwolf for building Kernel

multirom_uninstaller.zip : Selfexplaining

Known Bugs

-Reboot to recovery doesn't work.

-UI has some graphical bugs

-Double Press to boot Secondary Rom doesnt work -> Press twice on the Rom you want to boot and press Powerbutton at the same time till you recoginze a vibration

-You tell me more ;)

Changelog

23 May 2015: Initial release

Credits

@Tasssadar for MultiROM, Kexec-hardboot for Nexus 7 and his help with debugging and porting

@Adam77Root for Thread Content ;)

XDA:DevDB Information

[MOD][23 MAY] MultiROM v32, Tool/Utility for the LG Optimus 4X HD

Contributors

fritzcola

Version Information

Status: Testing

Created 2015-05-23

Last Updated 2015-05-24
[LG Optimus 4X HD] fritzcola:
Explanation

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 kernels if you are on the same Android version for example 5.0.x!

Source Codes:

Tree
[LG Optimus 4X HD] CrazyWinner:
Any screenshot? I didn't understand the ui bugs. What are they ? Great work fritzcola :) I will install my device when ui bugs are solved :)
[LG Optimus 4X HD] fritzcola:
Look here! https://www.dropbox.com/s/whor0zf6xx7z4jh/VID_20150523_234854.mp4?dl=0
[LG Optimus 4X HD] CrazyWinner:
Ow it's no problem for me :) Installing now , great work !
[LG Optimus 4X HD] mater2:
thanks

its work good
[LG Optimus 4X HD] mater2:
HI [MENTION=6051920]fritzcola[/MENTION] i have this bugs

after flash kernel

system ui has stopped on Euphoria rom

sim internet not work on ResurrectionRemix+BlissPop rom

some rom need to disable sim (plane mod )or it got bootloop from home screen PAC-ROM LP rom

work before but now i have this.

many times when add lolipop rom in multiboot i get error

blkdiscrad faild: operation not supported on transport endpoint

e:error executing updater binary in zip '/tmp/mr_update.zip

faild to install zip

thanks :)
[LG Optimus 4X HD] fritzcola:
That error with executing bla bla bla is rom related!
[LG Optimus 4X HD] gugu6897:
I already have TWRP 2.8.6.0 installed. To use your MultiROM Mod do I just need to flash MultiROM zip? Or do I need to flash recovery img (I found in your link)?

Will the uninstall zip send me back directly to the Stock TWRP 2.8.6.0?

__________________________________________

It works. But I'm getting the same problem as [MENTION=4918810]mater2[/MENTION].

"error executing updater binary in zip '/tmp/mr_update.zip";

I tried latest BlissPop 3.4 and Euphoria 1.1.

If it is ROM related how can we solve it?

I saw some users reporting the same problem with the Nexus 5. They said the problem was on the "updater-script" of the ROM.

Thanks for your work and attention.

Enviado de meu Optimus 4X HD usando Tapatalk
[LG Optimus 4X HD] fritzcola:
1. Create backup from primary rom

2. Wipe everything and install rom you want as secondary as primary

3. Make backup from Primary you want to have as secondary

4. Use option to add rom to MR with Backup

5. Restore backup from old Primary
[LG Optimus 4X HD] CrazyWinner:
Are iodak and werewolf supporting multirom ?
[LG Optimus 4X HD] mater2:
[MENTION=6051920]fritzcola[/MENTION]

[MENTION=5083278]gugu6897[/MENTION]

strange thing its work for me all roms i can multiboot after some days and try some roms except euphoria because its not work with patched kernal after that

the error Shows up i try to format every thing internal +cache+davlik

doesn't fix that .

its allow to add 4.4.4 or 4.1.2 rom but 5.0x didn't

thanks for your good work
[LG Optimus 4X HD] gugu6897:
I tried Werewolf kernel. The answer is no [emoji17].

Enviado de meu Optimus 4X HD usando Tapatalk
[LG Optimus 4X HD] mater2:
[MENTION=5083278]gugu6897[/MENTION] [MENTION=4924800]CrazyWinner[/MENTION]

the kernel in this post (patched kernel) only can used for multiboot.

when use patched kernel

maybe you will have bug with sim internet with all roms except blissbob.

every thing else work good
[LG Optimus 4X HD] gugu6897:
[MENTION=4924800]CrazyWinner[/MENTION], looks like iodak (and mourta too) has kexec-hardboot, but my secondary ROM (MIUI v5) don't boot. I double tap it, but the device just power off.

Does someone know any ROM that works with MultiROM?

Enviado de meu Optimus 4X HD usando Tapatalk
[LG Optimus 4X HD] fritzcola:
Look at Known Bugs in post #1
[LG Optimus 4X HD] gugu6897:
Thanks, I forgot about that [emoji28].

Enviado de meu Optimus 4X HD usando Tapatalk
[LG Optimus 4X HD] pokeguy4:
progress

is it 'save' and will you update this anytime soon??
[LG Optimus 4X HD] derders:
an update to MultiROM v33 - MultiROM TWRP 3.0.0-1 would be amazing
[LG Optimus 4X HD] oF2pks:
Extractor 2.4 from @Alexey71

+1

I just discover the win tool Extractor 2.4 from [MENTION=4896512]Alexey71[/MENTION] , as I didn't succeed to get finish compiling mmb 5.1.1.37 (or 29), I played with [MENTION=5799877]csk1jw[/MENTION] 2xAosp LP &MM system.new.sdat:

http://xdaforums.com/showpost.php?p=57742855&postcount=42

extraction + re-zip(boot.img+file_contexts +/system/) in [MENTION=4716493]laufersteppenwolf[/MENTION] Nameless 5.1.zip + twrp’ add 2nd multirom + reboot and IT JUST WORKS!

I can now multiboot, WITH Nameless 5.1 AS PRIMARY: mmb 5.1 as 2nd+

cm11+OEMlg JB (+ BlisspopLP+ crdoidLP).

Many thanks to native kexeced Nameless’ kernel for LP!

Unfortunately’ the re-zipped aosp MM did not boot (boot.img conflict? or primary slot required with kexec.. or I miss more).

I believe there won’t be any future update on mmbLP, so it will be good if, [MENTION=5799877]csk1jw[/MENTION] or [MENTION=5127019]MoltenMotherBoard[/MENTION] or [MENTION=5889675]streambinder[/MENTION] could make an old_fashion-zipped official ultimate edition to be used with gorgeous [MENTION=6051920]fritzcola[/MENTION] ’ multirom 2.8.6 .

Also if they explain me how to bake it, patched with microG, i try wakelockblocker's patch for a better battery control in ‘pure’ FLOSS.

I still hope that, in this combination, some could give a try to my infamous nightly-cm11+3; while waiting for a snappy MM snapshot...

http://xdaforums.com/android/software-hacking/wakelock-blocker-official-2016-nightly-t3393825

Basics multirom tips;

-If you think something is wrong, like battery drain or excessive reboot: in twrp menu go to advanced menu then fix permissions and re-flash multirom32 on primary rom before rebooting;

-Always use ext sdcard for twrp’s copy-backup and avoid using twrp’s File Manager to restore, otherwise they could be buried and waste your mem until a complete re-format; if needed: boot in primary rom (or install a rom ZIP!) and copy them to sdcard/twrp/backup/IdDevice… with your favorite apk.

-For better efficiency use native kexeced Nameless 5.1 for primary rom.

Actually I don’t know if mmb5.1 is 100% compatible with [MENTION=4716493]laufersteppenwolf[/MENTION] ‘s Nameless 5.1_kernel.

Be aware that the smell of night roasted marshmallows is scientifically attracting werewolves.
[Onetouch Idol 3 General] JJ2525:
I figured we could get this started, so we can start to post stats and screenshots once you finish initial setup/installation and get into regular daily use.
[Onetouch Idol 3 General] lordlittlebrooks:
went to bed last night with the idol at 75%. woke up and it was still at 75% to my surprise. (and I did the update right out of the box, for anyone wondering.)
[Onetouch Idol 3 General] lifenight:
Seem to be great, can't wait fort mine :)
[Onetouch Idol 3 General] vk135:
The phone arrived at around 40-45%. Spent around 2 hrs updating/installing/customizing stuff which was enough to drop the battery to 15%. Mind you that almost all factory settings were still there like vibrate on almost everything and sound on almost everything. Battery was fully charged rather quickly. I had around an hour of SoT before going to bed with around 80-75%. I woke up to a 70% battery after 10 hrs ( I slept in).

I think battery on mine could be improved by turning down the Google Now settings. It is the most power hungry in the battery stats at 9%. Oddly, the location icon is almost always on even if I'm not doing any location related tasks. I'm hoping to look into this more and fully test the battery tomorrow when I go to Sta. Cruz.
[Onetouch Idol 3 General] lordlittlebrooks:
The Idol 3 just won't die! I'm using it around the house. Haven't actually put a sim card in it yet, so that might explain some of the great battery life that I've been getting. But this is the first full power cycle after getting it on Saturday. Auto brightness, full sync. I had to stop at 11% so I could do a charge test today. But I have no doubt that this 11% could have gotten me another hour of screen on time. Tons of streaming Sirius too over the front facing speakers (like 5 hours). Very impressed so far. The price is justified by the screen and the speakers alone in my opinion. Add great battery life to the mix and it's a pretty special device IMO.
[Onetouch Idol 3 General] lordlittlebrooks:
Charging time is done. Used an Anker 2.0 Quick Charge (just to make sure it got the maximum it could handle). Went from 11% to 100% in 2 hours and 28 minutes. Not too shabby considering how long it holds on to the charge.
[Onetouch Idol 3 General] czaplin:
Bettery drain while on wifi

Hi, I have bad battery drain while on wifi. What I noticed is that cell signal goes from empty to full while unlocking screen. It goes up to 10% per hour. But when I was away from home for few hours on lte, it was very minimal. Any ideas? Software bug or maybe some app is causing that? Thanks!
[Onetouch Idol 3 General] lordlittlebrooks:
Did you do the update that appeared as soon as you turned it on out of the box? I had the phone on wifi all weekend (it never left the house) and the battery life was amazing. See my posts above. And I did the update first thing when I got mine.
[Onetouch Idol 3 General] czaplin:
Yeah, that's the first thing I did. Today I'm on LTE all day long and battery is amazing. But when on Wi-Fi my cell signal goes to emergency back and forth. Maybe my phone is a lemon :)
[Onetouch Idol 3 General] Shodan5150:
I should have checked the battery life before loading all my apps but I forgot. During sleep hours I only have the wifi, auto sync and phone antenna enabled. I also either use the adaptive brighness at 50% or have the brightness set to about 20% with adaptive disabled. The first night I checked the battery overnight usage it was down 16% in 10 hours. That was also runny 3 apps on the notification area. The drain comes to 1.6% per hour. The next night I removed the 3 apps that run in the notification area and the drain was 10% in 8 hours, which comes to 1.25% per hour. That's better than my old phone but I still think it's too high. No apps are open in the recent apps screen.

Is anyone getting better or worse? I would like to compare my battery drain with everyone else.

Edit: I did disable Wifi Network Notification and Scanning Always Available. I'm not sure what kind of effect they have on the battery though.
[Onetouch Idol 3 General] macallik:
Did you wipe your cache after the OTA update? I remember my Nexus 4 and Nexus 7 had temporary issues with battery life that were cleared up by a wiped cache/factory reset.
[Onetouch Idol 3 General] czaplin:
No I did not. I guess this is my last resort now. I will check tonight. Meh...
[Onetouch Idol 3 General] czaplin:
It didn't work. That's too serious issue for me. Sending back to amazon. I'll stay with my G3 and 6000mAh battery. Waiting for G4 price drop :)
[Onetouch Idol 3 General] py_martinez:
I have the HTC m8 and g3, had the m9...

I think you have a problem with Google apps...Because with the m8 I had 7 hours screen on time in 24 hours, 6 hours with the m9, 5 hours with the g3...

And every reviewer criticizes the bad battery life of the g3 vs the very good battery life of the idol[emoji2]

HTC m8 s on + insertcoin
[Onetouch Idol 3 General] mikeisgo:
Yesterday was my first battery experience day. I have to say it turned out pretty good. I got roughly 16hrs from 100% charge down to 15% charge. I got a battery warning when i was headed to bed. Throughout the day, here's a list of the things I did in general to give a scope on usage:

* I had all services on, LTE, Wifi, Bluetooth, GPS (High precision)

* i used it to read a kindle book. I had my screen set at about 80% brightness the whole day.

* I have "Automatic" app which uses the phone GPS to track my drives to and From work.

* I ran with Runkeeper GPS

* also streamed music to and from work on my wohle commute (roughly 45 minutes).

* Then throughout the day did normal checking of various apps and websites, and notifications.

* In general during the work day I don't use it much from 9-5, except maybe to check it once an hour , and read a little.

Previously on my Nexus 4, I would have had to have it charging all the way to work. Then charging all the way home, and many times it wouldn't make it to bed time without another charge. With the Idol 3, i didn't put it on a charger once throughout the whole day. Pretty awesome.
[Onetouch Idol 3 General] maddog497:
This is my second full day. I expect that it will improve after a few cycles but I have absolutely nothing to complain about. WiFi on most of the day. 2 Gmail accounts syncing, Bluetooth on, display only at 50%, (not to save battery, but just because I don't need it any higher)

I have a few small hiccups with the DTTW but it isn't terrible.

P.S. This blows away my Zenfone 2 in battery life.

View attachment 3346968
[Onetouch Idol 3 General] macallik:
Battery life is ridiculously good. Charging my phone is no longer a pressing issue for me nowadays. Personally, I am indoors most of the day so I have set my screen brightness to 0% and it is perfectly fine. When I am outdoors, I will pump up the brightness to 100% which increases the battery consumption noticeably.

I've had the phone for a week and a half and still have never gotten down low enough for Battery Saver mode to kick in.
[Onetouch Idol 3 General] guru_bhai:
For me battery hold amount of charge EOD.

100% in morning around 10 AM.

1. wifi/4g ON all the time.

2. GPS during commute to work and vice-versa

3. Music app for 1.5-2 hrs.

4. played game for 2 hrs.

5. normal browsing.

Now @ 7 PM : still 45% left.
[Onetouch Idol 3 General] famewolf:
For those still unhappy with the battery life here are a few free apps that can help:

https://play.google.com/store/apps/details?id=org.gpo.greenpower&hl=en [ Battery saver...does things like only keep wifi on periodically to check for hotspots and only turn on bluetooth when charging etc ]

https://play.google.com/store/apps/details?id=com.vitocassisi.luxlite&hl=en [ Adjust screen brightness based on light levels ]

https://play.google.com/store/apps/details?id=com.keyes.screebl.classic [ Keeps screen on when phone is held in upright position but quickly turns screen off when phone is placed flat ]

I use the pay versions of these and consider them worthwhile.
[Onetouch Idol 3 General] Medina623:
Does anyone know how the automatic brightness works or if its even useful to have it on

Sent from my 6045I
[Onetouch Idol 3 General] famewolf:
It tries to adjust based on light levels but I've found apps more accurate than the built in routines....lollipop may have improved on them though....I skipped them and used my usual app Lux.
[Onetouch Idol 3 General] Medina623:
Do you guys know if auto brightness kills the battery faster?

Sent from my 6045I
[Onetouch Idol 3 General] Shodan5150:
It can if it pushes the brightness up.
[Onetouch Idol 3 General] Medina623:
one last question if anyone knows, will turning off all animations make the battery last longer as well?
[Onetouch Idol 3 General] Shodan5150:
turning them completely off may save you a minuscule amount of battery life but it's not really worth it. I turned mine down to .5 to help with some of the lag and I see no difference in the battery.
[Onetouch Idol 3 General] Karly Johnston:
I find the adaptive brightness to be quite responsive and accurate to a consistent viewing level... as long as you keep your head from bobbing in and out of the light source.
[Onetouch Idol 3 General] Medina623:
One thing I've noticed is that with the animations fully turned off or the phone being in power save mode, the camera spazzes out sometimes.

And also I was able to save more battery having auto brightness turned off and adjusting it myself.

Sent from my 6045I
[Onetouch Idol 3 General] macallik:
I do this as well. Minimum brightness most of the day and max brightness when walking outside during the day.
[Onetouch Idol 3 General] dennygreen:
Can anyone tell me how well this phone compares to the G3 in the battery department?

I bought a G3 just assuming that with the 3000mah battery, it would be at least as good battery-wise as the Desire 816 that I was using before it. I was pretty disappointed.
[Onetouch Idol 3 General] maddog497:
I just sold my G3, and from my experience the Idol 3 gets at least an additional hour of on screen time vs the G3. Both phones set up similar to each other. I'm getting at least 4 1/4 hours of screen on time with my Idol 3. If only they would put out an update to address the DTTW, i would be happy.
[Onetouch Idol 3 General] dennygreen:
OK, we'll see if it is good enough for me. I didn't realize that the Desire 816 I was using before the G3 was so far ahead of so many phones in battery life. I figured that would be the standard in 2014/15.

Its hard to go back to ever having to worry about the battery, or having to charge it during the day.
[Onetouch Idol 3 General] py_martinez:
I don't agree.

I have the m8, tried the m9, g3 and desire 816 during one month...[emoji6]

I find the battery life of the Alcatel very good, a lot better than the g3, slightly better than the m9 [emoji4] .

I have 6 hours average sot with my normal web usage. (During 48 hours period).

That is the main reason why I returned the g3 and why I kept the Alcatel, this and the super screen of the Alcatel vs the poor (despite the numbers) screen of the g3 (low brightness, washed coloUrs...).

Envoyé de mon 6045Y en utilisant Tapatalk
[Onetouch Idol 3 General] dennygreen:
sounds good. I got mine today, so far I like everything. I'd just like to get this thing rooted and get cm12.1 on it.

hopefully the battery performs well tomorrow.
[Onetouch Idol 3 General] skerry2006aj:
Should the battery be better for it, if it would be using cyanogenmod instead of stock Android?
[Onetouch Idol 3 General] gavolo:
its what im praying for as well.

a cm and bam! perfect!
[Onetouch Idol 3 General] dennygreen:
This is a few days ago, mostly on LTE, including a couple hours of Netflix on LTE.

And here's after my normal workday which includes podcasts/music all day. A lot of times my G3 would be down to as low as 15% with just a little bit more screen time by this time.
[Onetouch Idol 3 General] DonnieDoezoe:
I like this!

Far better than my LG g3
[Onetouch Idol 3 General] rassam:
Battery has been great even with its big screen! 2nd day and about to go bed at 34%!!
[Onetouch Idol 3 General] strictlyphat:
Granted I've only had the phone for t days totalnuse. I'm freaking impressed. I usually wake up use phone to stream Pandora by the time I leave I'm at 90. All day at work til 930 I leave with 40-50%. I mean come on no other phone I've had could do this.

My list of phones in last 6 months?

IPhone 5s, 6, 6 plus.

Note 3, note 4

OnePlus

Zenfone

And now my idol 3.
[Onetouch Idol 3 General] dennygreen:
my battery life is already not as good as it was in the screenshots I posted a few weeks ago.

I guess that's how android works, constantly having to figure out what's killing your battery for no reason.
[Onetouch Idol 3 General] Karly Johnston:
Every Nexus phone runs stock Android... none of them get the battery life people expect they should. OPO running CM had fantastic battery life much like the Idol 3, so put CM on Idol 3 and I expect it would be nearly epic battery life.
[Onetouch Idol 3 General] Electriccars:
What are you doing for such awesome battery life? My phone consistently shows the Android system as #1 battery drain where I'm losing 2.5% every hour when I'm not using the phone.

Great battery compared to other phones, but you have the same one and you went days with 4 hours of SOT.

Any idea what you did?

Edit: Just saw that you hadn't added a sim yet. So that's why, not constantly syncing. Good to know if I ever really need battery I can turn off sync and it'll work. ☺
[Onetouch Idol 3 General] lordlittlebrooks:
Yeah it was just chilling at home on my wifi. :) I am going to pop in a sim here soon and take it out on the town. I'll definitely report back how the usage varies. BTW, I'm now rooted and I wasn't during that original rundown. So there will be new variables to consider.