yashsingh1/xdaforums huggingface dataset:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] yshalsager:
Download my release from downloads tab, because latest official build has problems
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] milantenhave1:
Now I get error code 200, it looks like the app doesn't request root, how can I give it root with magisk without the app asking for it?

EDIT it is working thnx, if I patch gapps what do I have to choose primary rom or?

question 2 Is it needed to update the ram disk because if I do that my phone gets in a bootloop... I am on unofficial RR
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] oF2pks:
Thx for Download section.

Does this mean that latest Win32 DualBootPatcher.exe won't work ?

Also I'm much interested in a Linux solution (without Wine) : https://github.com/chenxiaolong/DualBootPatcher/blob/master/docs/BUILD-Patcher-Linux.md. Any changes to match your release ?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] yshalsager:
No, my build of apk, you can find it in downloads tab

till now there's no linux version of DBP
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] VampireHeart:
Finally got the app working, the only way that worked for me is using the version suggested in note op under download tab, all the others crashed, but I patched also the primary rom before.

Actually I'm decrypted with Dirty Unicorns primary rom and HalogenOS in secondary. :svetius:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] milantenhave1:
Did you patch the ram disk? I am on RR and if I patch the ram disk I am in a bootloop
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] VampireHeart:
I only patched zip of the ROM, I know if you modify ram disk it end in bootloop.

I tried all versions of dual boot patcher on many ROMs but work only on the version mentioned in note of first post like I say.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] milantenhave1:
Okay so I don't have to modify the ram disk? then I will try that :)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] VampireHeart:
Yes no ram disk mod :svetius:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] milantenhave1:
I am in problems I think, I can't download anything from the browser because it says my phone is missing a SD-card, I can go in to recovery but there I can't find my files, also I can't find that utilities.zip file so I can't go back to my main rom.

Then I tried to add my phone to my pc and then put the files on the phone but it isn't sending the file, it is stuck at the start of sending the file.

You please know what to do?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] VampireHeart:
Probably if you tried with ramdisk have disabled sdcard permission, see if the follow link can help you:

https://xdaforums.com/showthread.php?t=2222297

Now I'm at work and can't search but exist a zip for fix sdcard permission.

Otherwise you can reboot into recovery on advanced tab and select ADB sideload, then through your pc (connect before your phone at the pc) open a command prompt to use ADB function.

Open the prompt into the folder that you have your actual ROM and run this command:

adb sideload nameofrom.zip

Change nameofrom with real name file of your ROM.

I hope that this method work like a dirty flash, I'm not sure, make at your risk.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] prile97:
I think that RR has problems if installed as a primary ROM. I am using xxx for primary and RR as secondary, and everything works flawlessly.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] oF2pks:
Now there is one : Linux version

-tested OK with xXx and HalogenOS (data-1)

-build with ndk 151.4119039 (r15b)

-x86-64 portable DualBootPatcher-9.2.0-Linux.zip generated

Do you believe [MENTION=4277844]chenxiaolong[/MENTION] will agree if I upload it on xda (19.6MB) ?

Anyway the whole OP5 stuff (rom & 2bP) is real awesome, and without kexec-ed kernel I don't see easier multiboot.

(Thx [MENTION=4612715]prile97[/MENTION] for instructions, HalogenOS doesn't need any META-INFzip cleaning.)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] yshalsager:
Of course he'll his great project is open source and anyone can contribute to it.

Linux version will be soooo cool :cool: i need to test this !

if you already have sources for linux version you can fork the repo and push your changes then open pull request and chenxiaolong will approve it :D
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] prile97:
Neither does xxx. Probably because it is based on OOS.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] oF2pks:
[ALL DEVICES] x86-64 portable DualBootPatcher-9.2.0-Linux.zip

Just unzip the file and run : ./DualBootPatcher

Nothing to commit except testing

ndk r15b

set(ndk_max_version [U][B]152[/B][/U].0)
# FIXME: Due to https://github.com/android-ndk/ndk/issues/222, we need a
# custom toolchain file. Since we can't guarantee that the custom toolchain
# file will work with newer versions of the NDK, we'll depend on an exact
# version.
set(ndk_version_whitelist
[B][U] 151.4119039[/U][/B]

(I'll see tomorrow for 386 build)

Hope [MENTION=4277844]chenxiaolong[/MENTION] won't see offense ...

EDIT Ubuntu https://wiki.qt.io/Install_Qt_5_on_Ubuntu then basic email is asked on install.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] yshalsager:
are you using KDE?

i got this error on lxde

./DualBootPatcher: /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5: version `Qt_5' not found (required by ./DualBootPatcher)
./DualBootPatcher: /usr/lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5' not found (required by ./DualBootPatcher)
./DualBootPatcher: /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5: version `Qt_5' not found (required by ./DualBootPatcher)

missing qt libraries

i suggest you to post this in main DBP thread :good:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] oF2pks:
No KDE, BUT I have QT4 https://www.archlinux.org/packages/extra/i686/qt4/ installed (on BBQlinux x64). I followed [MENTION=4277844]chenxiaolong[/MENTION] github instructions: -DMBP_PORTABLE=ON and cpack to finalize; I guess Win64 is a more universal tool.

I checked Linux_64, on xXx and HalogenOS : it' s only ~2x faster than apk and very minimalist, but with all devices on board.

EDIT Ubuntu https://wiki.qt.io/Install_Qt_5_on_Ubuntu then basic email is asked on install.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ztywyj:
There's a `Leaks' app after installing your build, how to delete it?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] MrWilsonxD:
Which version of the app are we supposed to be using? I've tried a few and they're all crashing.. I'm following these instructions from the op..

"How to use the App?

- Download, install and open the app.

- Swipe to the right to open the menu. Click "ROMS". Now if this is the first time you use it, it will ask you if you want to set kernel. Do so!

- After it has finished go to ROM Settings (primary ROM 3 dot menu) and select Update Ramdisk. It will update it and will ask you to reboot. Press Reboot Now, or Reboot later.

- Now Download any ROM you like and open the app again and open the menu and open Patch Zip File from the menu. Ensure that your Device is set to (OnePlus5) and under Partition configuration select secondary (will install 2nd ROM in /system) or data slot.

- Click continue and select where to save the patched file.

- You should see the file is being put in "Queue". Just click the confirm button to the upper right."
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] yshalsager:
That's because it's debug build not release. Wait for an official version and you can remove my debug build.

Use version in downloads tab for now. Because latest versions are crashing
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] MrWilsonxD:
Thank you for your support. (Ran out of thanks for the day???)

The download tab in the OP? I read that earlier, but had no idea where that was.. A screen recording of what I've been doing..

Edit: wrong link

https://goo.gl/photos/wAcXW9iQrGwDuanGA

[Solved] Post directly below.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Dns94:
Think he was talking about this: https://xdaforums.com/devdb/project/?id=21539#downloads

Btw, that voice is gonna give me nightmares. :crying:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] MrWilsonxD:
MrWilsonxD: WHERE ARE THE DOWNLOADS!!!

Dns94: I don't know :crying::crying::crying:

This version worked. Thank yousir. I could not find that link..
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] hbhavya:
App closing again and again
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] MrWilsonxD:
Read the post two above yours..
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] taxi333:
I've been trying the newest stable/beta versions of Magisk and I can't get it to pass :/ ... please let us know if you have better luck
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RMarques:
Great job bringing this to us man!

I'll keep an eye on it and give it a try soon!

I've just got my OP5 today. BL unlocked, rooted and decrypted already.

xXx ROM installed and that's all good today...it's 4am here!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] paratox:
how is the actual status with encrypted storage? will it work or not?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] oF2pks:
For 2nd roms on data slot (or MultiROM ) , you have to move to SuperSU82 beta and suhide: https://xdaforums.com/apps/supersu/suhide-lite-t3653855

(take time to report which 2nd rom you're trying ...)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] rickysidhu_:
I want to try this, but just wondering how I'd be able return to a single ROM setup, if wanted in the future?

Would I simply just go into TWRP and wipe everything + format data? Or is there more to it?

Thanks in advance!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] VampireHeart:
Just simply go on Dual Boot Patcher app, ROM tab, select which you want to remove and confirm to delete all the partitions on data slot, then you can delete also the app.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] taxi333:
I tried Freedom OS as primary and RR unofficial decrypt on data slot 1... i tried both magisk and SuperSU82 beta and i couldn't pass safetynet on data slot 1... I read on the Multirom discussion post that the only way to pass safetynet on extra ROMs is to have them install on the /system partition... the problem is that the /system partition is only 3GB (I don't know how to resize it) and OOS based ROMs consum around 2GB of /system space and lineage OS based ROMs around 1.4 GB
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] paratox:
could anyone reply if this works on encrypted storage? another question: does second rom on data partition support magisk?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] taxi333:
the answer is no to both questions.

---------- Post added at 10:50 AM ---------- Previous post was at 10:49 AM ----------

well, let me elaborate a little bit, magisk will be supported on the 2nd ROM, but you won't pass Safetynet.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] yshalsager:
Updated Working Version, just in case official one crashed

https://transfer.sh/o9sgd/Android_GUI-debug.apk
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] pegasus5862:
i just cant unlock my primary rom bcoz of pin lockscreen, wrong pin says all the time , deleted all lockscreen.xxx name files, still problem not solved.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] VampireHeart:
Thanks for the application, now don't crash, will try to patch secondary rom. :svetius:

Edit: now have crashes when I try to patch some zip or flashing, but I think depending from files, now I have 4 ROMs. :fingers-crossed:

Working on my encrypted device.
[Xiaomi Redmi 2 Questions & Answers] laurorual:
So, i was using custom rom for a while on my phone and i decided to get back to stock so i can sell my phone later.

Problem is, it is not receiving OTA updates anymore!

I've installed V8.1.3.0.LHJMIDI from here: http://en.miui.com/download-261.html and i know there is a MIUI v8.2 update for my redmi 2 prime, but i can't find it anymore over OTA like before.

Can anyone explain what's wrong with this rom?
[Xiaomi Redmi 2 Questions & Answers] sethidheeraj06:
8.2 update is rolled back due to some issues.

Now, the latest version is 8.1.3.0 (which is also available on the MIUI downloads page).
[G4 Q&A, Help & Troubleshooting] steadfasterX:
First of all:

Do not continue if you don't know what a hard brick is!!!

so well its that simple: Either my method will work or

fail

.

Please follow the story here now:

https://xdaforums.com/g4/general/bl-unlock-unlock-bootloader-proof-t3648288

Previously this was the OP:

if not

: this could result in a

completely

unusable device (soft or even hard bricks are possible)

If it works

: you could unlock your phone in fastboot with a simple command - no unlock key is required (but even when the method WORKS its possible that this produces other issues. we can not know all impacts yet)

So AGAIN

The whole process is

dangerous

but the chance to get an unlocked phone would be worth it - maybe. It depends on

you

.

I can't test it atm by myself because my device is on its way to LG (due to another issue)..

My method does not modify something within the bootloader like others tried already - because this would definitively break the boot chain.

I

will not release any details to the public

until there is anything proofed or verified. The whole process is very risky and as said: I have currently no device to test it.

The only thing which is proofed is the theory. It should work as long as nothing unpredictable happens: As long as we do not own the complete sources of all parts of the boot chain there is still a risk.

Keeping the details under the hood is not to make things mysterious. It's just for safety reasons until I can proof anything.

If you still ask for details here or by PM they will

not

be answered.

If you not able to join an IRC channel you better

leave it directly

.

I'm

not

24/7 online but usually from Mo-Fr for sure so it is important to wait for answers while in the IRC because depending on your timezone this can take some hours (hey I have to sleep somewhen!)

Once I have my device back from LG I can test the method by myself on a H815 EUR version. It doesn't matters that this can be officially unlocked though. The risks are the same.

So if you're too scared for the moment just wait about 2 weeks or so and then I can tell if it worked on my device at least.

.... and if you do not want to wait:

Follow me into the IRC for instructions

If you never were in touch with IRC before here are some client examples for you:

PC (HexChat and Pidgin are only 2 of them! This list is not complete!)

Android (Yaaic, AndChat, HoloIRC, AndroIRC are only a few of them! This list is not complete!)

The IRC channel is: #Carbon-user

The IRC server network is: freenode

Once you're connected with the IRC network I need this from you:

your phone model

the currently installed EXACT firmware (link to the used KDZ would be most helpful. If you have none check the phone details and e.g. make screenshots)

.
[G4 Q&A, Help & Troubleshooting] steadfasterX:
reserved
[G4 Q&A, Help & Troubleshooting] fates13:
Super excited about the possible G4 unlock! Wish I could test it but my phone is my daily driver and my source of internet at home so if it breaks, I'm screwed for my online classes. Thanks for your hard work as always!
[G4 Q&A, Help & Troubleshooting] TheMadScientist:
ima see if i can get her to boot up since mines about trashed anyways lol

ls991

zv6 firmware

lol i got the perfect test subject if she will boot

cant try it on a g5 can you
[G4 Q&A, Help & Troubleshooting] marcelojmcosta:
Good luck to the testers, we're all rooting for an unlocked H818p Brazil.
[G4 Q&A, Help & Troubleshooting] steadfasterX:
is download mode working?

zv6 is LL or MM?

Go familiar with IRC asap then.. see u there ;)

.
[G4 Q&A, Help & Troubleshooting] TheMadScientist:
no she wont boot anything dead as can be like no power no nothing pc dont even been when plugged in

---------- Post added at 06:59 AM ---------- Previous post was at 06:48 AM ----------

ive took her apart like 5 times hoping something stupid shes got a hairline crack in the motherboard rite by the main camera rite on the top
[G4 Q&A, Help & Troubleshooting] Tomonok:
Unbrick

It happened to mine 818p too, you need to disasseble it and short two pins on the motherboard while starting it. (They are in the upper left corner on the MB.) This page (forum.gsmhosting.com/vbb/f779/unbrick-lg-g4-brick-hs-usb-qdloader-9008-without-box-2211744/) has the entire process explained but I was unable to sucessfully use the QFIL app, it didnt recover anything, at least the phone was seen on PC as the 9008 serial port. I hope it helps :)

P.S: Sorry for my bad english.
[G4 Q&A, Help & Troubleshooting] raptorddd:
i hope you get it going man. so lots of users can enjoy this device like it should be.. youll be saving LG G4.. am glad that what i mentioned you got your brain thinking and finding ways :D i beleive this all was what i mention on fish. good luck to all of you.:fingers-crossed:
[G4 Q&A, Help & Troubleshooting] TheMadScientist:
Its not bricked. I thre it about 6 months ago. Destroyed her. It cracked the mb ruined the rear camera. The earpice speaker. Ir port. And wifi antenna.

I put a old cracked screen on her and been using it since til about 2 or weeks ago it just shut off. Dead. It has heavy damage interiorly. I got the multimeter out and not getting any voltage any where on the board. Thats why i say if itll boot i got a perfect canidate

---------- Post added at 01:45 PM ---------- Previous post was at 01:43 PM ----------

Im trying to solder a coulple point together on mb to see if shell boot. But im jot even gettin charging lights.

---------- Post added at 01:45 PM ---------- Previous post was at 01:45 PM ----------

Like i said ill throw down my g5 on nougat lol. If it work for her should for g4
[G4 Q&A, Help & Troubleshooting] Tomonok:
Oh, sorry, I thought it was bricked, not physically broken.
[G4 Q&A, Help & Troubleshooting] TheMadScientist:
Yea i still used it for about 6 months. Put the fish to her. Even still vred with thr cracked screen. Like i said. Went to check the time and nothin. So im assuming shes dead. Ive done got a g5.no root and no twrp. Yea. Just the way i like it. I know i know. If i wanted root i shoulda bought an unlockable model. But i take what i can get cheap. Bought my sprint g5 for 25 bucks at a police auction
[G4 Q&A, Help & Troubleshooting] the_naxhoo:
Hi, I have the model H815T but... now it Hard Bricked haha. Anyway, I can boot it like LS991 model (with QFIL), and Download Mode it's working too. So... is useful for your method?
[G4 Q&A, Help & Troubleshooting] TheMadScientist:
Now out of curiosity would a bootlooped g4 work. Most of em boot into dl mode and if it bricks dl modde youd know rite away anyways right?
[G4 Q&A, Help & Troubleshooting] steadfasterX:
Qcom 9008 mode? It could be fixed afaik.. You can also try the sdcard boot method for this kind of brick. you should try that first in any case..

I'm not sure if my method will work in that kind of brick mode you are in but if you nevertheless want to test you need Linux / best is using FWUL because it has everything needed inside.

Once ready went to IRC on Mo-Fr and stay until Im there.

it depends. When it stays in download mode without looping.. yes - maybe!

I need access to to the partitions which may work even in download mode via a special shell but it may requires MM and will not work for LL firmware (strange right? normally one would expect the other way around..).

That has to be tested though. On my device (locked H815) I had access but that may differ from other models.

Having root access makes things so much more easier ;)

Testing if it would be possible on a bootlooping device would be simple:

You best use FWUL (recommended because here is all installed and working) or any other Linux with the LGLaf shell.

You would then connect while in download mode and you will have a shell like in adb.

I can guide you but again IRC is the best way to go here..

I'm searching since several days for such looping and even otherwise broken/defect devices but they all want to have a plenty of money for it (80-150 €!!) :p

.
[G4 Q&A, Help & Troubleshooting] the_naxhoo:
Yes, QCOM 9008 mode. I can't flash the H815 image and make my G4 H815 again :( so, the only way to booting, it's flashing the LS991 image (and with Fastboot; I flashing every partition one by one).

I have Linux Mint whit adb/fastboot drivers, It's enough?
[G4 Q&A, Help & Troubleshooting] steadfasterX:
Hmm I can't help you unbricking. I just know that there are ways to do so. You need the correct drivers etc.. But well if you tried all this already we can try ;)

Any Linux is ok as long as you can handle it ;)

Havin TeamViewer installed may help too...

Well so if you like go to IRC Monday to Friday and we will see

Edit:

--------

Do you have seen this? https://xdaforums.com/g4/help/lg-g4-force-to-enter-qhsusbbulk-t3633583

.
[G4 Q&A, Help & Troubleshooting] lmiked:
So... This has been quite quiet... Has anyone tried this method yet??
[G4 Q&A, Help & Troubleshooting] steadfasterX:
U

Yes. today I have bad and good news.

First of all I had 1 single tester who was brave enough going the first approach I had. Unfortunately my first idea failed.

JL if you see this come back I said I can unbrick your device!!!

Ok so the good news are: I'm able to give you a near unlocked experience with all the things you love like installing custom kernel, recovery and ROM. Without actually unlocking!!! It's all tested on a h815 device which was never unlocked !

Near unlocked means it will behave like an unlocked device without actually unlocking the bootloader. Or to say it in other words: The boot chain verification is ignored.

The bad news: the process is not cleaned out yet but it requires one thing for sure: it will convert your whole device bootloader stack. The basic idea is to replace the whole bootloader stack with a modified one which allows all the mentioned things.

That way is very risky and I HARD bricked my device over 30 times until getting to the finally working result.

It also means that once your device is converted there is no way back atm. Flashing an original kdz will BRICK your device in 9008 mode! Not that bad because you can recover at any time but that's one thing you have to have in mind. It may never be a h811, h812..... whatever again. Until we find a corresponding and working bootloader replacement which may never happen. So no LG up or LG flash tools anymore! Instead you will have the qfil tool.

Again I know no way back to original state so warranty will be very very likely refused once you do this. Ok there is a way to blank out all partitions just for the case you need to send it really back. This should delete then most traces of this hack but no guarantees.

Besides this I don't know if there are any issues in functionality after doing all this. I havent made any tests for this yet. That includes phone calls, WiFi etc. I just checked booting ROM, booting TWRP, flashing supersu, getting root.

I will upload a video asap to show you the current result. ;)

I need to test things further and of course I need testers with other devices. Again that process is risky and even if it worked for me it may not work for you (very unlikely but who knows). Manually forcing the 9008 is very easy and it may be required to do so. This may requires opening the device (I think it will work even without but I need testers.. ) so if you want to test... See you in the IRC.

If all this is working and verified by others I will provide the whole story ofc!

....can't believe that all these above took me 5 days in full time of work. And for what? I mean I do not need it because I can unlock my device OFFICIALLY..

BUT it was all for educational learning. I learned really a LOT of android and qcom during all these hours ...

Ok but Now I need some couple of hours of sleep :eek:

See u on the other site..

sfX

.