yashsingh1/xdaforums huggingface dataset:
[ZTE Axon 7 Guides, News, & Discussion] `SBR`:
Hi All,

sharing the guide to install the multiple Rom's in our Axon 7 (as we don't have multi-boot in place).. as the development already kicked with Noughot.. and multiple roms are landing here...

this is for people who can't move out of Stock (due to Audio issues including me) and want to sneak peak the other LOS based roms.

Dual Boot Patcher is an app created by chenxiaolong for S4 initially and it broadly supports more than 150 devices now, whoever used in S4 would be familiar with it.. this app allows you to have multiple ROMs on a single device.

If you loved his work, go to his thread say Thank You

Axon 7 is official supported

I have tried with RR as Secondary and it's working.. so thought of sharing this.

For More details on this Dual Patcher official Thread:

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

Working:

- patch ROM zip files

- patch GAPPS zip files

- patch SuperSu zip files
​

Instructions: More details

Keep the Stock Rom as always Primary.

Use the Data slot and create a name for the folder, as the System/Cache space will be small for LOS Rom

If you want to flash the LOS, RR roms remove the below script in the update-script (ROM\META-INF\com\google\android)

assert(getprop("ro.product.device") == "ailsa_ii" || getprop("ro.build.product") == "ailsa_ii" || getprop("ro.product.device") == "axon7" || getprop("ro.build.product") == "axon7" || abort("E3004: This package is for device: ailsa_ii,axon7; this device is " + getprop("ro.product.device") + "."););
assert(axon7.verify_trustzone("TZ.BF.4.0.1-00315") == "1");
ui_print("Target: ZTE/P996A01_N/ailsa_ii:7.0/NRD90M/20170128.052618:user/release-keys");

Issues:

- Encryption and Boot UI are not supported

- trustzone verification in the Update-script will fail while flashing the TWRP, remove the above code before flashing the zip file.

- Pins, patterns or passwords are wrong in one of the ROMs . Then simply delete the file /data/system/locksettings.db (your saved fingerprints won't be lost) with TWRP.

Warning: for me setting the PIN in one rom works, if i enabled PIN in 2 roms it's not working, everytime you have to delete the locksettings.db and boot into other rom. Fingerprint works in 2 ROMS

- if In-app flashing doesn't work, you have to use TWRP to flash the patched zip files (use the latest TWRP)

- If flashing of a patched zip fails for any reason, you have to choose another install location ("Partition Configuration" in the app) when patching the same zip file again!​

Note: If flashing fails, first look up the error at /sdcard/MultiBoot.log and google it before reporting it...​

Download

Download Dual Boot Patcher APP

Download Dual Boot Utilities

Credits to:

@chenxiaolong - for the great app and supporting till date.

@jimbo77 - for making Dual boot Axon 7 official support

@Glove007 - for additional details on workaround for Op3 - applies to Axon7

XDA Community

if i missed any plz let me know.

i can't find anyother thread related to this Dual Patacher, if it's available please merge the thread.
[ZTE Axon 7 Guides, News, & Discussion] Nik2424:
Do I lose any data/factory reset when I do this? Is it possible to go back to single boot easily without losing anything?
[ZTE Axon 7 Guides, News, & Discussion] `SBR`:
No you won't lose any data when you flash this.. (But take a backup for safety)

Plz follow this steps.

Install the Dual patcher app and set the current Rom as primary

Make sure you patch the second Rom and Gapps (Super SU optional) in the Dual Patcher App before flashing in TWRP (or it will overwrite the Primary ROM)

in the patched rom remove the TrusstZone entries as mentioned in OP

then flash it via TWRP.

the Rom will be added to your Data or Cache based on the selection you made while patching the Zip file in the Dual Patcher (Preferable is data slot, and rom will be saved in Data>multiboot).

once logged in the Second rom, use the patcher to set the Rom as secondary.

when you want to switch rom, select the rom in the Dual Patcher app and reboot. (the app will move the correct boot.img to partion and selected rom will boot. )

if you want to Wipe Primary Rom or Second/Third Rom use the Dual Boot Utilities in the TWRP, this will wipe only the specified rom and you Second/third Rom won't get deleted. (if you wipe data/cache using TWRP menu, it will wiped your Second/third roms)
[ZTE Axon 7 Guides, News, & Discussion] Nik2424:
Thank you for detailed steps; but i have to ask, what is this trustzone error? Does it have negative impacts?
[ZTE Axon 7 Guides, News, & Discussion] `SBR`:
those are added in the Rom to validate you're flashing in the right firmware.. like Noughot roms shouldn't be flashed in MM firmware.

Nothing wrong here in removing in those lines during flashing as secondary Roms..
[ZTE Axon 7 Guides, News, & Discussion] Controllerboy:
I think I'm going to do this on my phone. [MENTION=2477260]`SBR`[/MENTION] can you verify my steps?

I'm on LineageOS now. I go back to stock by flashing stock A2017G Nougat via TWRP, since the primary ROM needs to be stock.

(OR is it possible to just install the Dual Boot Patcher app and install stock ROM from LineageOS and then select the stock ROM to be primary?)

I download latest LineageOS, I patch it with the Dual Boot Patcher utilities

I download the Gapps, I patch it with the Dual Boot Patcher utilities

I edit the update-script and remove the quoted lines

I install the dual boot patcher app

I use it to install the patched LineageOS and Gapps zips to a data slot (new folder I created) If this doesn't work, I use TWRP to install the patched zips

I delete file /data/system/locksettings.db to solve the PIN issue. I can only set PIN unlock on one of the two ROMs.

I boot to both ROMS and select stock as primary and LineageOS as secondary

I manually set messenger and other wanted apps as shared so I can use them from both OS'es?

Does this seem about right?

Thanks.
[ZTE Axon 7 Guides, News, & Discussion] neo4uo:
So glad this got brought to our phone :)
[ZTE Axon 7 Guides, News, & Discussion] `SBR`:
I think I'm going to do this on my phone. [MENTION=2477260]`SBR`[/MENTION] can you verify my steps?

I'm on LineageOS now. I go back to stock by flashing stock A2017G Nougat via TWRP, since the primary ROM needs to be stock.

(OR is it possible to just install the Dual Boot Patcher app and install stock ROM from LineageOS and then select the stock ROM to be primary?)

STOCK Rom is heavy and may not support all the time as Kernel has limited functionlity so patching may fail sometimes in the Stock rom, but you can try that as well and let us know.

I download latest LineageOS, I patch it with the Dual Boot Patcher utilities

I download the Gapps, I patch it with the Dual Boot Patcher utilities

you should patch with Dual Patcher APK... -- Dual Boot utilities will be flashed in TWRP to install/wipe/update Primary Roms without impact to other Roms.

I edit the update-script and remove the quoted lines - yes

I install the dual boot patcher app - in primary Rom, yes

Open the App, give Root permission - it will prompt you for making the kernel as Primary, set it now - this is required so that App can switch between multiple Roms

1. basically the App will copy the boot.img of primary into storage>multiboot>primary

2. when you install the secondary rom and boot it up, install the app set the rom as secondary.

3. it will copy the secondary rom boot.img in to the same folder

4. whenever you switch rom, the app will copy the switched roms's boot.img to the Boot partiion so that corresponding rom will start on reboot

I use it to install the patched LineageOS and Gapps zips to a data slot (new folder I created) If this doesn't work, I use TWRP to install the patched zips

In-app flashing is failing for me, use TWRP to flash it.

I delete file /data/system/locksettings.db to solve the PIN issue. I can only set PIN unlock on one of the two ROMs. - yes

I boot to both ROMS and select stock as primary and LineageOS as secondary

Set the Primary when you installed the App in primary Rom itself.

and set the secondary when installed the app in secondary rom

I manually set messenger and other wanted apps as shared so I can use them from both OS'es?

I doubt App sharing is working correctly, please try and let me know

hope this helps

Does this seem about right?

Thanks.
[ZTE Axon 7 Guides, News, & Discussion] rapbot:
Worked!

Great, this workd for me thanks! :)
[ZTE Axon 7 Guides, News, & Discussion] rapbot:
thank you so much for this post :D
[ZTE Axon 7 Guides, News, & Discussion] Ghostface009:
Hey OP

God knows how much I have been waiting for this even before I owned 2017U Because I knew devs would struggle a lot on porting multimedia experience between the stock and the custom

Anyways I have some questions but before everything I like to clarify that I got a big upgrade (from S2/s3 mini/grand 2) to my luxurious Axon 7, I have never dealt with fastboot or ARM64 ever before so it'll be kinda hard for me

1. Is this DB method have unified boot.img?? or simply have shared kernel??The main reason is that I need to flash a custom kernel on my secondary ROM, If that will mess up I will just replace RR's (my favorite ROM) boot.img before flashing or any possible way that works.

2. Is there any way to have f2fs on the secondary ROM???

(Like changing to f2fs first then flashing RR then using DB method to flash stock ROM or something as the guy mentioned above?partitioning may work??? Any other way? ) I mean the obvious reason is that we know how OP3's nand performance increased with f2fs.

Long story short I need both f2fs and custom kernel for ultimate performance because sd820 seems good for heavy usage but I want more control for extreme situations.

I'd like a confirming answer instead of a normal one due to the lack of experience with newer devices :(
[ZTE Axon 7 Guides, News, & Discussion] `SBR`:
1. it's not a unified Boot.img.. every Rom has it's own kernel and it set it in the DB app. you can install custom kernel in your secondary (make sure it's pacthed) and set the rom as secondary Kernel in DB app.

2. DB doesn't care you have a Ext4 or F2FS, as long as your rom works it should work there as well.
[ZTE Axon 7 Guides, News, & Discussion] mvortex3710:
I tried flashing Ressurection Remix inside of stock A2017G nougat, but after a reboot the phone hung at the unlocked bootloader warning.

So is it advisable to flash the stock system inside of RR and set it as primary?
[ZTE Axon 7 Guides, News, & Discussion] `SBR`:
there is no problem in flashing Stock rom, if it works.

did you set the primary kernel in the DB app. for RR which slot you have selected? if there are enough space for ROm it won't boot..

check the log for any issues reported on this.
[ZTE Axon 7 Guides, News, & Discussion] mvortex3710:
Thanks very much for your fast reply.

When I checked the main thread it seems like this problem may be caused by not flashing a patched kernel as well, so I will try that presently and report back!

Edit: The patched kernel I'm using (AX7Kernel) is returning the error: "unable to find boot block location!", I've tried googling it but haven't found anything. Would you happen to know what might be causing this? Flashing in TWRP seems to have fixed this. Attempting boot now.

Edit 2: Boot didn't succeed, I was faced with 5 vibration then a restart to TWRP, where I used the Dual Boot utilities to change back to my Primary (stock) boot.

I'm going to try the other way round, with RR as primary and Stock as (secondary) data boot.
[ZTE Axon 7 Guides, News, & Discussion] Ghostface009:
thanks for that reply, although I still need some more information

can you provide a quick howto get Resurrection on f2fs alongside the stock?? I only know how to format/change with twrp from ext4-f2fs plus, what I get from this post is, that it'll use the data partition, I didn't see any mention of repartition or whatsoever, so I am afraid that it won't work because stock nougat is ext4 :( I want the stock as primary and F2fs RR as secondary. Is that not possible? :confused:
[ZTE Axon 7 Guides, News, & Discussion] `SBR`:
thats not possible...
[ZTE Axon 7 Guides, News, & Discussion] Ghostface009:
Oh :( then it seems we reached a blocked road, is there anyway to convert the stock to f2fs??? Partitioning data???

I will try partitioning if possible but it's useless if the dualboot app/utility doesn't support it.
[ZTE Axon 7 Guides, News, & Discussion] Nik2424:
im facing a 5 vibration reboot to twrp after flashing rr patched. stock is primary, rr is data slot.

tried with lineage too, no luck same problem. help plz guys, this is a really awesome tool, i want this to work
[ZTE Axon 7 Guides, News, & Discussion] `SBR`:
for me i'm able to ptach RR and it's working in data slot..

did you try to install anything after patched RR and patched Gapps?
[Galaxy S6 Q&A, Help & Troubleshooting] OroOrion:
Hi you all, I have a non common bluetooth problem. My S6 is running Xtrestolite with android 6.0. My phone can connect BT to my cars, my earset and my soundbar to play music and it work well even on my earset. BUT, nothing for voice call, the call connect and silence for everyone. There is no voice at all, but BT is connected, and all infos on my cars radio like timer, mute and others work well ( okay mute cannot be more muted ). So I tried 1/8 headset for music it works, did not try yet one with a mic, but I'll do it ASAP. I tried to reprogram with odin default OS, with factory settings, and that way force all components to be re-write ( Bootloader, Radio , etc ), issue still present !!! Try to clean micro usb connector, nothing !! Try to clean audio jack, but wasn't really sure if it was well cleaned.

Do anybody here have an idea of what I could try, test or do to eliminates possibilities ??

I am thinking that maybe some corosion could be in the audiojack, somewhere and let the phone think that there is an audio jack connected, and then sent the voice to it...but how it could be tested before to try to open the phone to clean it properly and risk to damaged the LCD ???

Thank a lot for all of your advices
[Moto G Q&A, Help & Troubleshooting] vgamesx1:
So I have an XT1031 and it's been running Ressurection Remix MM (Thuglife kernel) for about a year now when suddenly it died today. :(

I haven't messed with anything, simply uninstalled some apps, mainly games then a few hours later it all the sudden rebooted, now when it boots up it'll optimize apps and once it has finished it will crash or something basically causing it to bootloop. Why?

Thankfully anything really important, such as pictures, are already backed up to dropbox, so I haven't lost very much but is there anyway to salvage it?

(Note: I have booted into recovery and tried deleting both the cache as well as the Dalvik/ART cache no good, unfortunately...)

And... While I'm here I figure I might as well ask how to install Nougat? By that I mean, can I go straight from MM into Nougat or do I need any sort of updates first?

Thanks.
[Moto G Q&A, Help & Troubleshooting] vgamesx1:
Alright, since nobody apparently has any ideas on the matter, I went ahead and factory wiped my phone and it works now, although I'll probably wipe it and install a Nougat rom later.
[Lenovo Phab Plus] QuietLife:
My Lenovo Phab Plus stuck on Lenovo logo I accidentally turn it off after I wiped data/factory reset.

Now every time I open the recovery it's says failed to Mount Cache (Invalid Argument).

I tried to format the cache partition throw fastboot but it failed.

and I can't use ADB because the debug USB was disabled.

I also tried to install tweak but didn't work.

Does anyone know how to fix this problem?

Sorry about my poor English
[Xperia Z2 Accessories] phineasmax:
Hi.

I'm looking for a Sony Bluetooth headset for calling. I usually go to noisy places so the most important thing is noise cancellation (or noise reduction) of the microphone.

I looked for that and I see there're three options:

-SBH52

-SBH70

-SBH80

I haven't used any of that so I don't know about their noise reduction(cancellation) performance.

Can anyone give me some advice or reviews about them?

Thanks.
[OnePlus 3T Questions & Answers] _ray_:
I was wondering since Xposed is not yet available for Nougat, how do you guys apply customization like long-press to skip songs, add options to power menu etc?

I know some ROMS have build in options but I would like to know if there are Apps for customizing Stock ROM.
[OnePlus 3T Questions & Answers] BlueWinter:
From my knowledge you aren't able to do this kind of things with one app.

Maybe you have to add them manually with root rights
[Huawei Ascend Mate 2] rockinrob:
Hi,

I bought my wife a Huawei Ascend Mate 2 and was hoping to upgrade it to Android 5.1 or 5.01 or whatever it upgrades to, just like I have on my HAM2. Unfortunately, it zips along quite happily to 9% and the says: Software Update Failed.

It is an MT2-L03 which is the same as mine so, as far as I'm aware, it should update with no problem.

I have tried two different sd cards twice, the second time on each after I had formatted the card as opposed to just deleting what was on there as I did the first time. Even after formatting and copying over the dload folder again, it said the software update failed.

I got my download from here: https://xdaforums.com/showpost.php?p=61682526&postcount=3 using the Google mirror#1, if that's of any consequence. (I tried originally from the Huawei link but it was taking forever to download.)

This is probably a really silly question but, does it matter that the SIM card isn't inserted while I'm doing this?

Can someone please help? Thanks
[Huawei Ascend Mate 2] jzchen:
It might not be helpful, but you did try B309 first?
[Huawei Ascend Mate 2] rockinrob:
Hi,

Thanks for the reply. Not at all unhelpful. I think every reply is helpful to some extent in that someone took the time to try to help someone with a problem.

After I posted last night, I found the original dload folder that I dloaded a couple of years ago when I was upgrading my own HAM2. I figured I had nothing to lose except a few minutes sleep, so I formatted the sd card again, copied that folder over and tried it using that folder. Worked flawlessly :)

I don't know or understand what was wrong with the file I downloaded last night but obviously something was. So now it's working and I just have to wait and hope Google let me access the email address I set up two years ago strictly for the purpose of my wife having a gmail address for her android. Their 2-step verification is killing me ...

Thanks again!
[Huawei Ascend Mate 2] TiklMiPickles:
I am having the same issue, do you think you could post a link the update files you used??
[Huawei P9 Lite Questions & Answers] J.Elis85:
Hi, im just update mi p9 lite(b120) to android 7 ver b329 and was ok but then calc and clock dont open just get crached, ok i decide to donwgrade to mm, i do to vercion b120; inthat version i see thanmodel not appear, so dont put attencion so update to N again in versiin b362 and all was ok but steel the model not appear correct, what happen with that.

The phone work all ok but just see that and i dont know if it a problem?
[Huawei P9 Lite Questions & Answers] J.Elis85:
Solved, downgrade to 6.0 and update again
[Android Q&A, Help & Troubleshooting] SHEKARansd:
Need root access to micromax canvas fire 5 (q386) but all the methods failed. Is there any best solution to root or install custom recovery. Please help me
[Android Q&A, Help & Troubleshooting] shonaali:
me too. help me guys.

me too. help me guys.
[Android Q&A, Help & Troubleshooting] nitishmahato51:
help me plz for rooting my mmx canvas fire 5
[Android Q&A, Help & Troubleshooting] mr_unpredictable:
Hello guys!

Head over to here to the thread which i have created for our "Micromax Canvas Fire 5 Q386"

https://xdaforums.com/android/general/micromax-canvas-fire-5-q386-zone-t3640427

Root and more updates coming soon!

Hit the Thanks if I helped you! ;)

---------- Post added at 07:42 AM ---------- Previous post was at 07:42 AM ----------

Hello guys!

Head over to here to the thread which i have created for our "Micromax Canvas Fire 5 Q386"

https://xdaforums.com/android/general/micromax-canvas-fire-5-q386-zone-t3640427

Root and more updates coming soon!

Hit the Thanks button if u feel that i have helped you! ;)
[Huawei P9 Lite Accessories] Radiphus:
I 've been using my new phone for a couple of days, when i suddenly noticed a scratch on my screen while i was watching a video and the light wasn't reflecting normally at one specific spot.

I have no idea how that scratch got there, as i have been VERY careful with it. It is not a very big scratch, but i am very upset after having an expensive item damaged in its first days of use.

While searching the internet for ways to fix it, i came across "screen protectors", which i had never heard of before. I also read some tips about having the scratch "removed" with toothpaste or baking soda. However, i do not want to make things worse by applying this homemade material on my screen.

As i was examining the screen, i noticed something that looks like a membrane on my phone's screen. I can't give you a direct link to a photo/video because of this forum rules (not allowing users with less than 10 posts to post external links), but you can see a photo of my screen at

imgur . com / 64SXzhB

and a video at

streamable . com / zk6zw

.

Is that a pre-installed screen protector or am i effed? If it is in fact a screen protector, can i remove it and replace it? What should i replace it with and how can i do that?

If need be, would the toothpaste, baking soda tips have any chance of working on my screen?

Thank you very much!
[Huawei P9 Lite Accessories] Potato997:
It should be a pre-applied screen protector. Normally, the screen don't have the little "holes" on the internal camera&speaker. I can't tell you if it's a normal screen protector or a glass one, try to apply pressure on the border of the screen with nail and you should see air come under the protector.
[Huawei P9 Lite Accessories] bghyt:
The phone come with one on it I dropped my phone when carrying shopping (it fell out my pocket) straight on to a road face down and there was a car coming so I had to slowly slide it on the tarmac it was full of scratches but I took the screen protector off and it was find underneath I suggest you invest for a mid range screen protector it can really save your phone's screen
[Huawei P9 Lite Accessories] zoypk:
It is a factory fixed plastic screen protector ,you can remove it.

I got same protector in my box
[Samsung Galaxy S7 Questions and Answers] railfan-eric:
Now that I got Nougat, I wish I took screenshots showing Marshmallow for comparison. I'm trying to find a good website article with a full screenshot comparison. I found one but the settings menus looks different on mine then in the photo. http://www.phonearena.com/news/Samsung-Galaxy-S7-before-and-after-the-Android-Nougat-update-heres-whats-changed-and-whats-not_id90673

I want to see a screenshot of the before and after of the phone favorites contact screen. I miss the old look of it. I don't like the round contact photos. I think it was square before wasn't it? The new ones are so small it's not flattering.
[Samsung Galaxy S7 Questions and Answers] *Detection*:
Plenty of comparison videos and reviews

S7 Nougat vs Marshmallow
[Samsung Galaxy S7 Questions and Answers] railfan-eric:
I didn't find what i was looking for at that link either. Which is basically the same search i already did for 30mins before posting my question. None of the websites i found show the favorite contacts screen before and after. Also finding out from someone on another thread that the settings menu on the Verizon phones are basically the same as Marshmallow. So the screenshots on the articles aren't the same and the articles/reviews don't mention Verizon keeping the settings menu the same. I wonder what other differences there is?