yashsingh1/xdaforums huggingface dataset:
[One (M8) Android Development] ahmed.ismael:
Hi

i have an issue updating the ramdisk on jw 5.4.0,tried both debug versions and the latest official snapshot version

Please have a look to the log

EDIT: worked after flash EX repack
[One (M8) Android Development] navcar:
>08-26 16:16:35.387 10814 11569 D RomDetailActivity: [Ramdisk update flasher] [MultiBoot] Patching boot image

>08-26 16:16:37.489 10814 11569 D RomDetailActivity: [Ramdisk update flasher] [MultiBoot] Failed to flash patched boot image

My guess is that the boot image, once patched by DBP, becomes too big to fit on the boot partition.

It may be possible to try flashing a different kernel than the one that comes with that S.Team JW rom. Possibly the stock kernel, or one compatible with Sense roms??
[One (M8) Android Development] ahmed.ismael:
Thank you i flashed EX repack and it worked fine
[One (M8) Android Development] gazzacbr:
Hi, maybe dumb question...

I see that m8dugl dual sim is supported on screenshot. Is it possible to dual boot a stock marshmallow with a lineageos nougat rom?

Is lineageos even supported?
[One (M8) Android Development] 3lambda:
It should be supported

You can try

Every rom is supported but its better to have a sense based rom (and maybe gpe) to primary slot (as they are big)
[One (M8) Android Development] gazzacbr:
Ok, I have been looking for more info but can't find exactly what I need to know.

I have lineageos now but should have a sense stock rom as primary,

I need to install my twrp marshmallow first,

Then the patch app and run it on the clean sense marshmallow zip and then install it with twrp

then patch a lineageos and install it as secondary.

Is there any way to install my current (nicely setup) lineageos from e.g. a twrp backup? How to patch it though?

Does the shared app data work? Could I share, say, sms messages?

Sorry for so many questions, last time I multi booted was with my HD2 but that was very different! (although it still works)
[One (M8) Android Development] 3lambda:
Just flash stock sense then patch lineage as secondary that's it

Envoyé de mon m8 en utilisant Tapatalk
[One (M8) Android Development] navcar:
Latest snapshot has the lowercase "m8" codename merged in, so patched zips should work in TWRP now.
[One (M8) Android Development] gazzacbr:
Hi, finally got a bit of time to look at this.

I tried to patch a lineageOS 14.1 but its name is 'htc_m8dug' (no 'l' on the end) and only entry I can see in devices.json for dual sim is 'htc_m8dugl'

Does this just need adding or something else wrong?

Also, assuming I get this working, how does the shared app data work? Could I share, say, sms messages? I have full backups of sms which I could backup/restore on reboot but it would obviously be nice to somehow share the data.
[One (M8) Android Development] 3lambda:
Hmm I'll update device name code (I wasn't sure about dual sim variant )

Yes you can share sms message for example

But be aware that sharing apps between 6.0 and 7.0 roms can have issue (didn't tried yet )

I'll update documentation about dual boot patcher soon
[One (M8) Android Development] gazzacbr:
Hi, intending to try lineageos 7 as primary and lineageos 8 as dual boot. I guess that's heading in to the unknown? I suspect they are both htc_m8dug
[One (M8) Android Development] A n d r 0 i d:
Let us know how you get on, I would be very interested in your experience!
[One (M8) Android Development] gazzacbr:
Hi, erm, just waiting for the app to be updated as it's a non starter until my actual phone name is added in.

@OP: any chance?
[One (M8) Android Development] :
Just tried it. It's working
[One (M8) Android Development] ahmed.ismael:
working fine here du 11.7 as primary,los 14.1 in data slot ( los slot is it's name ) and los 15 in data slot ( test slot i named it ) :silly:

the three roms are unofficial just to say
[One (M8) Android Development] djlukas1983:
I managed to install lineage 14.1 as a primary rom and lineage 15 as an secondary rom. And it works almost well, I mean I lineage os 15 doesn't see my simcard but it's a rom fault which it's an alfa stage.

I have a question how to root the second rom with magisk? I've patched magisk zip as a secondary with this app but I cannot install magisk after patching.
[One (M8) Android Development] 3lambda:
I think magisk won't work with dbp

I'll look into this when I'll have time

But I think its not possible...
[One (M8) Android Development] A n d r 0 i d:
Does any form of rooting work with the second ROM?
[One (M8) Android Development] ckpv5:
If you're talking about LOS 14.1 as secondary, you can root it with patched addonsu-14.1-arm-signed.zip

I have LOS 15 as primary rooted with magisk & AOKP as secondary rooted with addonsu-14.1-arm-signed_dual.zip (patched).
[One (M8) Android Development] ahmed.ismael:
su addon and supersu works on secondary roms after patching ( but you need to flash it in recovery not from the in app flashing feature )
[One (M8) Android Development] Rocky.007:
Sir .... Dual boot patcher not patching magisk....on secondary rom.....

Becouse magisk use boot.img ... I dont know what to do... I need to work magisk on my secondary rom..

I patch every file before patch all files are patching.

But not magisk..... Is patching ..??? Whaat to doo??

---------- Post added at 03:59 AM ---------- Previous post was at 03:55 AM ----------

Rooting is working. . but magisk not

---------- Post added at 04:02 AM ---------- Previous post was at 03:59 AM ----------

So what now ?? No magisk in secondary rom :crying::crying:
[One (M8) Android Development] Rocky.007:
What to do now??
[One (M8) Android Development] djlukas1983:
Maybe SuperSU or su addon will work for root?

And for the simcsrd I've installed today's build and simcard is working now.
[One (M8) Android Development] Rocky.007:
No my problem is ...

How to flash magisk zip on secondary romm

.. Becouse its not flashing ...

But other patched filea are patching else magisk...
[One (M8) Android Development] djlukas1983:
The problem with magisk is that it contains boot.img which cannot be flashed. I have an idea. If we delete this file from archive and change in update script to boot.img not be needed, then magisk will flash. Of course you to make it working you will need full magisk flashed on your primary rom. Then magisk should use boot.img from the first rom.

What do you think about that guys? Will it work or not?
[One (M8) Android Development] Rocky.007:
I dont know it will work or not .

What if merging both boot.img .

Sytem can unable to decide what to do. ??

---------- Post added at 11:12 AM ---------- Previous post was at 11:11 AM ----------

It is quite difficult to do this . but please do a experiment ..... And tell us ...

---------- Post added at 11:14 AM ---------- Previous post was at 11:12 AM ----------

Please do a experiment and tell us the results ..

Becouse i have no idea what to do ..
[One (M8) Android Development] djlukas1983:
I'm not able to do this right now.
[One (M8) Android Development] 3lambda:
Updated OP :

M8 device went official ! (for dual sim variant I need codename so if people can make a list I'll add them to official)

Added thanks to [MENTION=2641787]navcar[/MENTION] (really thank you man for your help !)

Added official download link (yes no more debug app !)

Added a full and really useful guide
[One (M8) Android Development] gazzacbr:
Hi, good to see this moving on, but..

Can you add 'htc_m8dug' to the list? Note no 'l' on the end of the name (its lineageos 14.1)

Thanks
[One (M8) Android Development] 3lambda:
Dual sim variant ?
[One (M8) Android Development] ahmed.ismael:
m8_dwg ( GSM-CDMA )

m8_dug ( GSM )

m8_dugl ( GSM )

those are the m8 dual sim that i'm aware of just in case you need them
[One (M8) Android Development] gazzacbr:
Hi, yes, its dual sim

thanks
[One (M8) Android Development] 3lambda:
Ok I'll add them today

Maybe they'll be updated in next release
[One (M8) Android Development] drahmednasser:
i can not flash patched opengapps 7.1 for los 14(second Rom) on data slot , any help ?
[One (M8) Android Development] 3lambda:
Have you enough space storage available ?
[One (M8) Android Development] drahmednasser:
yes, i have
[One (M8) Android Development] 3lambda:
Then log to see what's happening

In multiboot folder
[One (M8) Android Development] drahmednasser:
Here it is
[One (M8) Android Development] 3lambda:
Have you flashed it trough the app or recovery ?
[One (M8) Android Development] drahmednasser:
through app

---------- Post added at 11:47 AM ---------- Previous post was at 11:45 AM ----------

at first i just set kernel and when i try to update ramdisk it goes error . is the problem lies here ?
[One (M8) Android Development] 3lambda:
possible

Which version you use ?
[One (M8) Android Development] rosenrot:
Is there a way to make the primary rom the secondary one and vice versa?
[One (M8) Android Development] ahmed.ismael:
backup both of them then restore it as you like ( primary rom in secondary slot and vice versa )
[One (M8) Android Development] teodargent:
I flashed Viper on the primary and LOS 15 on secondary. Viper works fine but in LOS the apps can't "see" the internal storage, only system apps can. I also tried installing LOS as primary and Viper as secondary but this last one won't boot.
[One (M8) Android Development] 3lambda:
Must be a problem with los itself... Permission problem ? I think people reported that on los thread

I do not recommend to install sense rom as secondary rom (stated in op)
[One (M8) Android Development] ckpv5:
Nothing to do with LOS 15 permission. When LOS 15 is secondary, rooting it with Magisk or SuperSU will break it and you won't see internal storage.

I suggest LOS 15 always as primary ROM to have full root.

I have LOS 15 as primary and Sense ROM as secondary.
[One (M8) Android Development] 3lambda:
Thanks for the precision man, I haven't played much with los 15

No issue so far with sense on secondary ? Some reported that it doesn't boot etc

Someone mentioned that magisk v12 is working when patched for other slot

Didn't tried yet but could be interesting
[One (M8) Android Development] ckpv5:
No issue for me. I don't try all those available custom Sense ROMs. Only run own modded Jazz ROM. I guess as long as you understand how the dual patcher works and know what you are modding with Sense ROM, should work fine.
[One (M8) Android Development] MrKapper:
I am unable to install LOS 15 as my other rom. I have tried both secondary and data slot options. I have also tried via the app and recovery. My primary ROM is GPE MM, rooted with magisk.

A few people in the LOS 15 thread have mentioned that they were able to flash it successfully and boot into it.

When I tried flashing from the recovery, I didn't get an error message but when I changed the rom from the zip utility file and rebooted, the phone gave me three small vibrations after the HTC screen (indicating no ROM being installed). It rebooted me to recovery where I changed back to my main rom.

I have attached the screenshot during the flash and the log.

Help will be appreciated.
[One (M8) Android Development] ahmed.ismael:
hey i had this issue just like you i was on du as primary tried to flash los 15 as secondary in data slot but always fail

i wiped all the patched zips and started from scratch and it gave me the same result

so i wiped the los rom and dual boot files then rebooted to recovery and flashed rom,gapps and supersu sr5 v 2.82 all went fine and rebooted to a working rom los 15

no need to use dualboot utility to switch roms when you flash something to the slot you want to reboot to

try to clean up and start from the beginning then flash the rom from twrp not from the in app flashing feature
[One (M8) Android Development] gazzacbr:
Just downloaded latest, still not working for my phone name ?
[One (M8) Android Development] 3lambda:
Honestly I have no idea what's going on...

Seems like either you have no enough space or don't have the right permission

Yes I totally forgot to add it... Sorry I'll try for next update
[One (M8) Android Development] djlukas1983:
I think it's caused because LOS 15 installer's trying to change a system partition size and it cannot do this when you're installing it as a second rom.
[One (M8) Android Development] ckpv5:
Not really. It does that when installed as Primary only.

If install as Primary-upgrade or as secondary, it does not resize system partition.

I have no idea why some users have problem to install LineageOS 15 as secondary as I don't see a reason why not. So I made a test (as my daily is LOS 15 primary and Sense Jazz ROM as secondary)

Restored my AOKP and made it Primary and install LineageOS 15 as secondary .. don't have any issue at all.
[One (M8) Android Development] MrKapper:
Seems to be the likely answer but other guys flashed it successfully.

I have more than 2 GB free on /data, maybe it needs even more to perform system partition resizes?

Can you quote the free space on your /system partition? Which gapps package did you install if any?

What do you mean by right permissions? I am just curious. I am using GPE MM ROM with elemental x kernel and magisk root.
[One (M8) Android Development] djlukas1983:
I had a problem with installing it as a secondary rom. So I've installed it as the only rom, because it has now everything working that i had in LOS 14.1.
[One (M8) Android Development] MrKapper:
I would personally like to use it but I am too dependent on xposed so I am sticking to MM, I used nougat for 3-4 months and don't miss it. I ll make the jump when the few complaints that remain have also been fixed.
[One (M8) Android Development] ckpv5:
After installed both ROMs as shown in screenshot. (This is for LOS15 + modded Sense).

For AOKP + LOS 15 is more as AOKP is about same size as LOS 15

You need at least 600 mb free before install LOS 15 + pico gapps as secondary.

What's your firmware ? GPE firmware is not enough for 2 ROMs. You need Sense MM firmware.
[One (M8) Android Development] MrKapper:
I have sense firmware. Since I am s-on, I don't think my firmware has been touched. I flashed GPE from a zip via TWRP.

It's a very strange issue and storage doesn't seem to be the answer. I have 3+ gb on data and 800 mb system.

It could be related to the variant though. Afaik, my phone has the Snapdragon 801 2.5ghz (like Samsung Galaxy S5) version instead of the usual 2.3 ghz one.
[One (M8) Android Development] ckpv5:
No idea but variant is not the problem as my device is 2.5ghz too
[One (M8) Android Development] cyprien T:
I installed Mokee on a secondary slot. I want to installed Magisk to hide some apps.

When I flash, i have an error. Do you know any solution? Thanks
[One (M8) Android Development] djlukas1983:
No solution for magisk in second rom.
[One (M8) Android Development] MrKapper:
Then it seems a Nandroid backup and then flashing the rom is my only route.

Can nandroids be restored on the secondary rom? Do they work for data?
[One (M8) Android Development] cyprien T:
It's possible ! I found de solution . You have to flash magisk with direct installation ( thrid option ) .
[One (M8) Android Development] ahmed.ismael:
dude you tried to flash the rom from twrp and not from the app ?
[One (M8) Android Development] MrKapper:
Yes, I mentioned it a few pages back and got the reply from the maintainer that he couldn't figure the issue out from the logs. Thanks for trying to help.
[One (M8) Android Development] gazzacbr:
xposed for nougat out now and working fine on my HTC M8 dual sim :laugh: :svetius:

(although I am not dual booting yet ?)
[One (M8) Android Development] MrKapper:
Yeah, I am on JDC ROM since 2 days.
[One (M8) Android Development] cyprien T:
What is the solution to update the primary rom? With TWRP or like the other Rom with dual boot patcher? Thanks.

For your information I tried to install with TWRP and y secondary is died...
[One (M8) Android Development] navcar:
I'm trying to get Jazz ROM installed as secondary (or any other Sense ROM, really). Right now it just reboots into recovery when I switch to secondary.

Any suggestions? Primary is RR 7.1. Using EXT4 for /data, and already wiped the 'secondary' data partition.
[One (M8) Android Development] navcar:
You MUST patch any zip that you want to use on your 'primary partition' using the patcher app. You can then safely use your *patched* zips in TWRP. This is necessary for at least any primary rom installer zips.

Otherwise, the rom install script will wipe the entire /system partition - including 'primary' and 'secondary', as you've experienced.

(Dual boot patcher is basically one really big nifty hack)
[One (M8) Android Development] cyprien T:
Perfect thank you very much!
[One (M8) Android Development] KasunHerath97:
Thank you very much. A great work. Hadn't time to thank you. Good luck

Now LOS 15 as primary, GPE as secondary.:good:
[One (M8) Android Development] gazzacbr:
Hi, any chance for htc_m8dug?
[One (M8) Android Development] cyprien T:
Dual boot pather nexus 5 ?
[One (M8) Android Development] 3lambda:
You are on the htc one m8 thread...

Envoyé de mon HTC M8w en utilisant Tapatalk
[One (M8) Android Development] gazzacbr:
Anything happening in this thread?
[One (M8) Android Development] XÃ¯hÃ¥Ä‘:
Can we use Latest S-Rom and lineage os 15 together..please help
[One (M8) Android Development] gazzacbr:
I guess not...
[One (M8) Android Development] 3lambda:
I'l really sorry I have a lot of things to do and I'm really busy these days

I don't know when I'll push dual sim variant....
[One (M8) Android Development] gazzacbr:
Hi, didn't mean to push but I thought it was just a matter of adding the string.

Just wanting to try oreo but don't want to lose nougat as this is my daily device.

Thanks
[One (M8) Android Development] Danul123:
I have the 16gb version. So can I install a sense rom and Lineage rom ?

Will there be free space if I do that ?

I already installed Lineage OS and I have 6.5Gb free space. I only need a sense rom to take photos. So if I install sense rom without all the apps except the cam, will there be at least 4Gb free space ?
[One (M8) Android Development] delpiero74:
Could you please give link to your modded jazz rom
[One (M8) Android Development] opdjasin:
I tried to flash unofficial LineageOS 15.1 but for whatever reason, it failed because of this error:

Warning: No file_contexts

E3004: This package is for device: htc_m8,htc_m8whl,htc_m8wl,m8,m8wl,m8wlv,m8vzw,m8whl,m8spr; this device is .

It failed to detect my version of M8 which is kinda weird because I can flash the same ROM (non-patched version) easily with TWRP. Any solution?
[One (M8) Android Development] djlukas1983:
You have to use the latest version of TWRP signed with number 3.2.1
[One (M8) Android Development] opdjasin:
WOW THANK YOU!! I just realised my phone is currently on TWRP 3.1.0-0. Not sure how this happened because I just updated it to 3.2.1-0 before I installed Lineage Oreo on my phone last week. I even have 3.2.1-0 in my adb folder. Thanks [MENTION=4993440]3lambda[/MENTION]!
[One (M8) Android Development] 3lambda:
[MENTION=5665954]opdjasin[/MENTION] you have to thanks [MENTION=1973380]djlukas1983[/MENTION] he helped you ;)
[One (M8) Android Development] opdjasin:
Lmao not sure why I mentioned your name. Thanks [MENTION=1973380]djlukas1983[/MENTION]!
[One (M8) Android Development] MMujtabA'S:
Updated To latest TWRP 3.2.1.0 Bit Still Got The Same Error.Running STeam Sense 8 as Primary. [MENTION=4993440]3lambda[/MENTION]!
[One (M8) Android Development] 3lambda:
What error you have ?
[One (M8) Android Development] MMujtabA'S:
Warning No File Context .

E3004: This pakage is for Device htc_m8.....

This device is . [MENTION=4993440]3lambda[/MENTION]!
[One (M8) Android Development] 3lambda:
Can you send me the file you want to flash ?

Also what is the exact model name of your device ?
[One (M8) Android Development] MMujtabA'S:
File Name:

lineage-15.1-20180115-UNOFFICIAL-m8 Trying To flash as Sec Rom In Data Slot.

Rom. Runing Steam Sense 8 as Primary.

Device Mid : 0P6B100

Htc M8_ul Soff Unlocked. [MENTION=4993440]3lambda![/MENTION]

---------- Post added at 07:29 PM ---------- Previous post was at 07:10 PM ----------

I tried all previous versions of linage 15 and 15.1 but without success .

All other rom in data slot can be flashed without error but cant get linage 15
[One (M8) Android Development] subens:
I'm trying to use exactly those two roms, s-team in the primary slot and lineage 15.1 in the secondary slot. I can install it normally, but the secondary rom does not start. I have already installed the boot.img from the secondary rom, but only the primary starts and only when I install the boot.img from the rom s-team. To install without errors, it is necessary to edit two files of the new secondary zip file: META-INF/com/google/android/updater-script and multiboot/device.json, adding the htc10 (htc_pmeuh1) code, since rom s-team is a htc10 mod for the m8. But, as I said earlier, despite installing without errors, the secondary rom does not start. Try to start it and tell me.
[One (M8) Android Development] Danul123:
When will we able to install android oreo rom as secondary rom ?

for now it's not supported right ?

Is there any other way
[One (M8) Android Development] cyprien T:
Hello when install
[One (M8) Android Development] MadTractorist:
When i try installing rom i got error 1, recovery said that this rom is for m8 and version of m8, and at the end he said this is m8. And i cant install it, help
[One (M8) Android Development] 3lambda:
What is your phone variant ?

What is the primary rom you use ?
[One (M8) Android Development] MadTractorist:
I fix it, but now i dont know how to install gapps and rom at the same time
[One (M8) Android Development] 3lambda:
Patch them to the slot you want and flash them like normal
[One (M8) Android Development] gazzacbr:
Hi, still would like to try this for my htc_m8dug?
[One (M8) Android Development] isimsizkullan:
Hi, my device is htc_m8whl (sprint harman/kardon). It says "this device is (blank)."

I got it working, flashed from app the first time i got error, the second time succeeded.
[One (M8) Android Development] isimsizkullan:
Guys i just installed Magisk to Second Rom, here is how;

-just install normally your secondary rom

-copy secondary rom's boot.img to internal storage as secondboot.img

-boot into recovery

-backup present boot

-install secondboot.img as boot

-flash magisk

-backup boot

-restore previously backed up boot

-reboot system

-go to TWRP folder and find the last backup folder

-rename boot.emmc.win to boot.img

-copy boot.img to /sdcard/MultiBoot/dual and override the previous one

[YOUTUBE]OdQezcklgDM[/YOUTUBE]

[YOUTUBE]z-RDvQGAz5g[/YOUTUBE]
[One (M8) Android Development] isimsizkullan:
i couldn't get Magisk Hide work. so i installed this

https://xdaforums.com/showthread.php?t=2447534&p=74551998#post74551998

forget about my previous post, set Magisk-v14.3-DualBoot.zip as secondary and flash via TWRP
[One (M8) Android Development] shelplex:
htc m9

hello bud, will this work for the htc m9 ? cheers
[One (M8) Android Development] needperformace:
Will it work?

Will it work to dualboot postmarket OS and lineage OS 15 :confused:
[Samsung Galaxy J7 (2017) Questions & Answers] jevenor:
Hi everybody. Someone who knows how to install the edge panel in J7 (2017) for stock ROM.

Thanks in advance.
[General Questions and Answers] khanromman:
my galaxy s7 automaticly mute itself but Its not silent.If u press volume key up there will be no sound,incoming call ringtone will be muted,if I talk in whats app/fb messenger I can hear other voice but my partner cant hear my voice,now-a-days I faced another problem with them my mobile network gone for sometimes,its says no registered network but if i restart my phone every problem i mentioned resolved.after some hour its back again.Is any one facing same problem & plz i dnt wnt to factory reset my phone.I heard only your page can give me solution.
[YU Yureka Q&A, Help & Troubleshooting] vyomD123:
Hello guys i need a help i m using yu yureka plus 5510a

Can you please tell how to get twrp recovery or cwm its on kitkat