yashsingh1/xdaforums huggingface dataset:
[G2 General] tropenfrucht:
I think so. Bump is a script that adds LGs signature to the boot.img after it is compiled, no script running while flashing. The patcher changes the boot.img so I think the LG signature is gone after patching.

Loki is a script that runs while flashing and shouldn't be affected by the patcher.

The problem with ClougyG2 has nothing to do with aroma. Tried to flash another stock rom without aroma installer (Pardus) as secondary. Didn't boot after flash :(
[G2 General] vPro97:
Hmm but you said that you were able to boot a cloudyrom with a lokied dorimanx kernel as secondary?

If you weren't able afterall, it could be the LZ4 compression of the kernel.

But stock on primary and AOSP on secondary works...
[G2 General] tropenfrucht:
No, It didn't boot with lokied kernel. It hang on LG logo. But I didn't get the security error when I used the lokied kernel.

May be it's just a problem of the apk, that a stock rom is to big to patch on the phone. Wanted to try the Windows patcher but I couldn't start it. Always got an error.

I wanted to install Cloudy as secondary, so that i don't have to set up my main rom from scratch. But now I'll install it as primary and aosp as secondary.
[G2 General] ktetreault14:
So far I tried to patch cm12 and it didn't boot. Just rebooted into recovery. But Vanir and Slim Worked?
[G2 General] vPro97:
Maybe the kernel is bumped?

Either way, I tried RenderKernel R4, the last render kernel that used loki and it worked!!!

And Render told me that he might release a lokied version of R8 which is his upcoming kernel release.
[G2 General] ktetreault14:
So it is BUMP that is messing us up. I will get with [MENTION=4277844]chenxiaolong[/MENTION] and see what he knows about BUMP and if he could get it in the patcher in his free time.
[G2 General] NEO2598:
Very cool things had been discovered in this thread. After I read the whole thread I want to try this on my D802,but I have a question.

What if I want to flash a mod on secondary ROM?
[G2 General] tropenfrucht:
Either you try to patch it with the app (untick the checkbox "has boot.img") or you take a look at the OP of the original thread where it is explained how to patch files manually. But if you patch manually pay attention to the new paths e. g. system/multiboot/dual/system because in the op there are still the old paths e. g. system/dual/system.

I have not tried to flash mods on secondary ROM as I need mods only on stock ROMs. But all my attempts to install a stock ROM as secondary failed as it won't boot on my D802.

Edit

Anyone tried CloudyG2 2.2 as primary ROM? Flashed it yesterday and now i wanted to set kernel as primary. Always get an error failed setting kernel.
[G2 General] NEO2598:
I installed CloudyG2 on my D802 and the apk from OP.

But I have a problem when i try to set the primary ROM.It shows me this :
[G2 General] vPro97:
Anybody had luck switching between a primary LG ROM and aosp ROM from the application only?
[G2 General] ktetreault14:
I have to go to recovery any way for modem
[G2 General] tropenfrucht:
Thats the wrong option. You took "Choose ROM", but that is for switching ROMs after they are set up. You have to "Set Kernel" first as primary. After you set the primary kernel you can flash the patched ROM in recovery. And after the first boot of secondary ROM you install patcher app and "Set Kernel" as secondary.

You must not "Choose ROM" before you've done all these steps!

Because when you "Choose ROM" e. g. the primary, the app copies the stored primary kernel to boot partition. If you didn't set a primary kernel, there will be an error. And if you didn't set the secondary kernel first it will be lost when the kernel is copied.
[G2 General] NEO2598:
I deleted the app's data and tried how you said.Now it shows me this
[G2 General] vPro97:
Screw the app.

Backup boot partition, install patched secondary ROM, boot it up! Then reboot to recovery and make a backup of the boot partition. When you want to enter the primary ROM, restore the first boot image, and when you want to enter secondary ROM! Restore the second boot backup that you made.
[G2 General] NEO2598:
I'll try.Thanks mate
[G2 General] vPro97:
I had the same issue as you. So I tried my method and it worked. I wrote a more thorough explanation in a previous page
[G2 General] NEO2598:
I read the one on page 8 ...
[G2 General] NEO2598:
Well ,after i flashed the patched rom and gapps black libes apeared on the right side of the screen.They're still there even in recovery...
[G2 General] vPro97:
RIP screen :(

Your screen most likely got too hot when flashing. I recommended blastagators TWRP - which did you use?
[G2 General] NEO2598:
Blastagators TWRP 2.8.1.1
[G2 General] ThePotatoRage:
I did everything as the OP said, but I'm just being booted to my primary ROM instead of the secondary.

When trying to switch from the app, I'm getting "Failed to switch ROM" error.

The Utility says the I have to set a kernel first...

But how can I set a kernel for a ROM that I can't boot into?

Help?
[G2 General] vPro97:
Please follow the guide I made back on page 8.
[G2 General] ThePotatoRage:
It's the exact same instructions as the OP's...

After flashing the ROM (I don't need ROOT and it's CloudyG2 so GAPPS included) it's just booting the primary ROM.
[G2 General] vPro97:
Not quite.

Either way, if you're booting up the primary ROM after flashing then the ROM you're using isn't being patched well :/

It seems like this only works for ROMS without AROMA but I have no idea.
[G2 General] ThePotatoRage:
Did you manage to do it with Cloudy? Could you maybe try?
[G2 General] vPro97:
I have cloudy as primary and Vanir on secondary. Works flawlessly.
[G2 General] ThePotatoRage:
Weird....

Someone maybe manged to get AOSP ROM as primary and Cloudy as secondary?
[G2 General] fsi09:
I tried CloudyG2 as Primary and CM12 as secondary, but it boots to recovery. I tried the method from page 8 with JB Bootloader. Is 4.4 Stock with 5.0 Aosp don't working ?
[G2 General] tropenfrucht:
5.0 AOSP Roms with 4.4 KK bootloader isn't working. All 5.0 AOSP Roms are based on JB sources so they won't boot on KK bootloader.
[G2 General] fsi09:
Thanks for reply.

I have JB Bootloader, not KK.

So it should work ?
[G2 General] abdel12345:
I know this only supports d802 and ls980 right now but I was hoping to test on my vs980. Since both versions use the same apk anyways would it be risky for me to try it on vs980? I don't mind a bootloop or software thing that I can get out of as long as I won't have to worry about permanent damage to memory or something. You think it's safe to test? Or do we need to wait for a directionally developed one for rest of devices?

Thanks

Sent from my VS980 4G
[G2 General] ktetreault14:
It's always good to have testers. You will need to get your Dev/block info to [MENTION=4277844]chenxiaolong[/MENTION] in the original thread in Op. Then you are free to test.
[G2 General] abdel12345:
Oh didn't mean to make it sound like I was a Dev :p. I just meant if it would be safe to test this on my vs980 g2 even though it's not supported or could it result in permanent damage?

Sent from my VS980 4G
[G2 General] ktetreault14:
All depends if the partitions are the same as either vs980 or d802. Try it. You know how to use download mode if things get too crazy, not that they should.
[G2 General] chenxiaolong:
Hey guys, author of DualBootPatcher here :) I've subscribed to this thread and will be checking it regularly.

[MENTION=5025841]abdel12345[/MENTION]: I just kicked off a new build (8.0.0.r710.g2e82428) that supports the vs980. It should be available on the unstable snapshots page soon: https://dl.dropboxusercontent.com/u/486665/Snapshots/DualBootPatcher/index.html

I found this page (http://census.tsyrklevich.net/devices/18/file_permissions) about the vs980 and it appears that the partitions are the same as all the other LG G2 variants.
[G2 General] ktetreault14:
And the god himself has arrived!
[G2 General] aboqi2014:
I only use multiROM in LS970 and it was failed，wish i will be success this time...
[G2 General] ktetreault14:
That is because ls970 is not supported.
[G2 General] aboqi2014:
It was not supported officially,so i flash E975 version.The boot is Ok,but LS970's ROM didn't support the kernel,and many of them boot failed or have many bugs...finally i flash the G3 style ROM...
[G2 General] ktetreault14:
Im new to LG, which is the LS970 Sprint LG G1?
[G2 General] aboqi2014:
LS970 is sprint LG Optimus G,and i tested it can flash F180/E975's ROM,so i also tried the E975's multirom,but i fogot to flash E975' ROM...
[G2 General] ktetreault14:
New version out. Also vs980 support was added.
[G2 General] vPro97:
Does the new version support bump?
[G2 General] ktetreault14:
No I think he is in the midst on getting app-sharing between a roms working again.
[G2 General] aboqi2014:
I just wang to know what has happen...（sorry for my poor english）,the r725 and r728 always FC when i switch to settings tab...and i have already gave the root access...
[G2 General] ktetreault14:
It says not to use those experimental apks unless your going to be helping debugging
[G2 General] tropenfrucht:
I have an idea about stock ROM and switching ROMs through the app.

My problem with stock ROM is I can't set kernel in the app. Now I've found out where the kernels are stored when you set kernel. It's on sdcard/multiboot/primary/boot.img. Weird thing is when I open multiboot folder with ES file manager (root) it's empty. Other filemanager force close when opening that folder. Only way to access it is in TWRP filemanager.

So I'm gonna try to extract kernel with dd-comand and copy it to sdcard/multiboot/primary/boot.img and after that flash patched AOSP ROM as secondary. Hopefully this will let me switch ROMs without going to recovery to restore the correct kernel for the ROM.

I will report back.
[G2 General] tropenfrucht:
It's working!!!

I'm running Cloudy G2 2.2 as primary and Validus LP as secondary. And i can switch ROMs with the app. No need to go to recovery and restore boot for switching ROMs.

Steps I've done

1. wipe all, flash Cloudy G2 2.2 as usual and reboot

2. on cloudy ROM I installed terminal emulator and opened it.

3. run following commands in terminal emulator

su
dd if=/dev/block/platform/msm_sdcc.1/by-name/boot of=/sdcard/boot.img

that creates an image of the current kernel on your sdcard

4. reboot to recovery, go to file manager (in tab advanced) and copy the just created boot.img to sdcard/multiboot/primary

5. flash patched AOSP ROM as secondary and reboot

6. on secondary ROM open dualboot-patcher app and set kernel as secondary

7. on dualboot-patcher app tap "Choose ROM", choose you primary and reboot

Now you phone should boot the primary ROM, in my case CloudyG2 2.2

I used the snapshot 699 of the app.

Edit

I guess that workaround could be used too, to solve the problem with bumped kernels for secondary ROM.

patch the kernel file and flash it - STAY IN RECOVERY -> run the same command in recovery terminal -> switch to primary ROM by flashing dualbootutilities and boot primary ROM. When booted copy the boot.img file to you PC and just re-bump it (search XDA for open-bump and use the python-script linked there). then you copy the re-bumped boot.img to sdcard/multiboot/dual/boot.img
[G2 General] ktetreault14:
Great find. Will have to text later
[G2 General] tropenfrucht:
Just found the real problem with setting kernel and switching ROM when on LG stock ROM.

In build.prop you'll find the following line

ro.product.device=g2 (in case of cloudyg2 2.2 it's g3)

change this to

ro.product.device=d802 (or your variant)

and setting kernel works. haven't tried to switch ROMs as i have no other ROM installed at the moment.

As a little extra chenxiaolong is working on a way to set baseband the same way as the kernel. If it works, the baseband get's changed when you switch ROMs.
[G2 General] vPro97:
We still need to make it work with bumped kernels :(
[G2 General] tropenfrucht:
That is no problem. Search xda for open-bump. There you'll find a python script. With that you can bump the kernel youself. Just extract the boot.img after you've patched the zip. And on your pc rebump the kernel with the script and put it back to the zip file.

Already tried with renderkernel.
[G2 General] vPro97:
It's multiboot that needs bump to work with bumped kernels.
[G2 General] ktetreault14:
It now supports modem flashing when switching Roms in-app. Will ask about bump support
[G2 General] vPro97:
Fantastic. Now just bump and we can dual boot with ease and using more modern kernels and ROMs :)
[G2 General] genesixxbf3:
I have a boot certification error with cloudyg2 as primary and blisspop as secondly (I tried to bump the boot.img too)
[G2 General] ktetreault14:
No bump support yet guys. Have to ask about it.
[G2 General] ktetreault14:
Hey guys he added bump!! Download the update as soon as it builds. Be sure to thank
[G2 General] csmarino90:
Bump isnt working for me... I can switch between primary stock cloudy and secondary vanir aosp 5.0.2 without problems with jb bootloader
[G2 General] vPro97:
AOSP lollipop Roms are still based on jelly bean sources so you can't use KK bootloader. But you can use bumped kernels. Can anybody test if it works and report back, please?
[G2 General] csmarino90:
Oh yes. You are right. Just for report. I am using a d806 and works very good. I will try now with render kernel. I think that it has kk bootloader support for lp roms. Right?
[G2 General] vPro97:
No since the ROM you're using will most likely still be using jelly bean sources. However, if you can use any of the newer Render Kernels and newer Lollipop roms (like latest sabersunset or blisspop) it means that bump is working :)
[G2 General] csmarino90:
[MENTION=5500870]vPro97[/MENTION] I'm a bit confused because I think that kk bootloader support is based on kernel instead of rom. I will try with blisspop now and report. Thanks for the info

EDIT: With KK Bootloader, BlissPop and Render Kernel R11 I cant boot into secondary rom. I flashed JB Bootloader and all is OK
[G2 General] ktetreault14:
Awesome guys
[G2 General] chenxiaolong:
Hey guys! I've current implemented Bump support like this: if the original ROM had a bumped kernel, then the patched version will be bumped. If the original ROM does not have a bumped kernel, then the patched version won't be bumped.

If this is an issue, let me know and I'll force it to always bump on the LG G2 :)
[G2 General] csmarino90:
Sharing apps isnt working for me. I tried to test the bump but i think that i am doing something wrong
[G2 General] vPro97:
Hey there. Great work!

I think you should force BUMP since bump works with both loki and bump. Thanks for your awesome work.
[G2 General] tropenfrucht:
App sharing isn't fully implemented at the moment but will in future updates.

Tested bump and it worked.

Download bumped kernel, patch zip-file with the app and flash it to the correct slot (primary, dual, multi-slot).

I've just tried with blackbird-kernel.

Edit

A little off topic.

The in-app flashing could also help to protect from black lines screen damage as you don't need to flash a ROM in recovery.
[G2 General] berryman13:
This is a!axzjng and I can't believe I haven't found it before. Im working on getting miltirom functional again, but this looks

Like a worthy alternative ...I need some assitance from somebody who knows how this works. If it is not too much to ask, I would love to know how you implemented the bump scripts.
[G2 General] chenxiaolong:
Thanks!

I based the bump code on the open_bump.py (https://github.com/CyboLabs/Open_Bump/blob/master/open_bump.py) script, which just pads the boot image and appends 41a9e467744d1d1ba429f2ecea655279 (in hex). Since my code already properly pads the boot image, all it does is append that magic number.

You can see my implementation here:

https://github.com/chenxiaolong/DualBootPatcher/blob/master/libmbp/bootimage/bumppatcher.cpp

https://github.com/chenxiaolong/DualBootPatcher/blob/master/libmbp/bootimage/bumppatcher.h

Here's the code for handling boot images if you're interested (there's a lot of code for parsing Loki'd boot images though):

https://github.com/chenxiaolong/DualBootPatcher/blob/master/libmbp/bootimage.cpp

If you have any questions, feel free to ask :)
[G2 General] Vihru:
So is it possible to get CloudyG2 3.3 and CM 12.1 work with dualboot? I have primary now thos CloudyG2 and patcthed CM2.1 but it gives me some security boot error when i try boot CM 12.1..
[G2 General] ferap:
and at the end nothing happend
[G2 General] jneto3000:
Is this still working?
[G2 General] marmelada:
Hey, I've got a weird problem with this. I downloaded latest patcher from site and patched lineage os 14.1 as a secondary rom.

It installs fine, and runs the first time without any problems. I can also restart this secondary rom. However as soon as I boot the primary rom, then I cannot boot the secondary one. It bootlops.

Only wiping data, cache, dalvik of secondary rom helps and I can boot it again (but have to set it up again ofc).

Any ideas? This happens both when flashing secondary rom in twrp and in app. If I couldn't boot secondary rom atall it wouldn't be as weird, but after wipingdata I can boot into it.
[G2 General] umeshbluezzz:
Links are dead

Dual-Boot Switcher.zip Alpha

USE THIS TO SWITCH BETWEEN ROMS:

THANKS [MENTION=4277844]chenxiaolong[/MENTION]

https://drive.google.com/file/d/0B1d_Il6yTO73U3dtUTMwby1hWWc/view?usp=sharing[/QUOTE]

Dual-Boot switcher.zip link is dead.

Can someone plz share?
[Vibrant Q&A, Help & Troubleshooting] QA Bot:
Q&A for [KERNEL] Semaphore JB 3.3.0v / KK 3.4.3v

Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.

Before posting, please use the forum search and read through the discussion thread for [KERNEL] Semaphore JB 3.3.0v / KK 3.4.3v. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.

Thanks for understanding and for helping to keep XDA neat and tidy! :)
[Vibrant Q&A, Help & Troubleshooting] Yukisee:
It breaks Video playback from youtube and twitch

install it and YT app doesnt want to play videos correctly but i reverted to CM11 kernel and it starts playing.
[Vibrant Q&A, Help & Troubleshooting] epicboy:
You have to flash the kk big mem zip. You can find it somewhere around here.
[Galaxy S III Q&A, Help & Troubleshooting] Yceman:
Hi guys, I need some help with my Samsung Galaxy S3 GT-I9300.

A couple weeks ago my phone turned off by itself and never turned on completely again. If I turn it on, it stays on the very first boot screen forever (the white text saying Samsung Galaxy S3 GT-I9300, like this one (https://cdn-images.xda-developers.com/direct/1/1/5/2/1/9/8/I9300.bootlogo.jpg).

I've removed the SIM card and the MicroSD card with no effects whatsoever, and I've also left the device turned on for hours but it always stays on the same screen.

I cannot enter recovery mode (it just shows the boot screen mentioned above) but I can enter download mode. At download mode, I get this info:

ODIN MODE

Product name: GT-I9300

Custom binary download: No

Current binary: Samsung Official

System Status: Oficial

As you can see, I have never flashed a custom rom (or rooted or even unlocked the bootloader). This is what intrigues me the most, since everybody I've seen with the same problem had trouble during or after a flash.

My last OS version was 4.3.1 and it was received OTA months ago.

In the past few months, my device rebooted out of nowhere, even when I was not using it. Occasionally, it had the stuck power button, which caused it to reboot on a loop, but I always solved it by nudging the power button a little. I don't know if these two previous problems might have caused the problem I'm facing now, but they're not showing up anymore.

Anyway, I've tried to flash the newest official rom (NK1 - ZTO) via Odin but I always get a NAND Write error.

I've tried changing USB ports, USB cable and computers; tried Odin 3.04, 3.07 and 3.09; tried Samsung USB drivers v1.5.45 and 1.5.49 but nothing of the above made any difference.

Today things started getting worse, though. In the past, Windows would always recognize the device on at least one specific USB port; Odin would also recognize the device and then I would get the NAND Write error. Now, Windows will not recognize the device no matter the cable, USB port or driver version. I only get a unknown device error and Odin won't recognize anything connected.

I tested all my setup with a working Galaxy S3 I9300 and it got recognized every single time, no matter the USB port, the cable or the computer.

Considering that another device is getting recognized by different computers, I suppose that the problem lies in my Galaxy S3.

So, can anyone offer me any kind of advice or point me in any direction on how I can try to fix my phone? Is my phone physically dying and no software solution will unbrick it?
[Galaxy S III Q&A, Help & Troubleshooting] boomboomer:
Your power button issue has corrupted/damaged the nand memory. Try the dead boot recovery thread in general forum but unless you have warranty you might be better off with a new phone.
[Galaxy S III Q&A, Help & Troubleshooting] Yceman:
I was afraid of that.

I checked the post you mentioned but it seems I'd have to buy tools and hardware more expensive than the phone itself, so I'd rather buy a new smartphone.

Thanks for the help!
[Xperia Z3 Compact Q&A, Help & Troubleshooting] jarayn:
Does anyone have both?

Is there any bonus features. Like on Samsung you can answer calls from the phone while you work/play on the tablet.
[Xperia Z3 Compact Q&A, Help & Troubleshooting] madsb:
I have the Z2 Tablet and the Z3 Compact phone. The one feature that I can think of is Xperia Link where your tablet can use the phone for internet connectivity, read/send messages and view the call log without touching the phone. This is available on https://play.google.com/store/apps/details?id=com.sonymobile.xperialink
[Xperia Z3 Compact Q&A, Help & Troubleshooting] kandelai:
Just to note, on the Z3 line, Xperia Link from the playstore is not available. It is built into the devices, using bluetooth to connect internet and notifications between the two. You can start the setup of Xperia Link by Settings > Xperia Connectivity > One-touch setup.

---------- Post added at 09:00 AM ---------- Previous post was at 08:57 AM ----------

There is also the Sony Multi-camera app for synergy. It allows you to record from multiple angles with up to three compatible Xperia devices filming at the same time.
[Other Tools & General Discussion] pvaldeben:
Hi All,

What OS and IDE and language would you recommend for me to create my first app in android?

I have been depending on an Microsoft excel sheet to do calculations for my wood working business but would like to create an android app for this that I can use at customer site.

My background is a BA in CS and finished with C++ right before Java became popular. I have not done any development since 1999 and that was in C on Linux.

I still love development but my career took me into Quality Assurance testing. Now I'm my own boss and starting my own business in woodworking which is my other passion.

So before I start investing time like I did in ASP.Net to create my site and then realized other languages are better to make my site look modern I don't want to do that mistake creating an app not choosing the correct(popular, or latest) OS, IDE or programming language.

Thanks in advance for your suggestions.
[Windows 8 General] dv8p:
I tried to run android x86 r2.img (efi 32bit compatible) Grub starts properly, when i accept Live usb It show me 2lines MP-BIOS BUG: 8254 Timer not connected to IO-ACPI and detected android on dev/sda1 after this i have black screen or sometimes distorted android screen. (i have bios A09 )
[Windows 8 General] IareDave:
Are you able to access Bios Options?