yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Premium Q&A, Help & Troubleshooting] Zarreck:
I've been having some issues with the settings app for quite some time on android globally, as I like to abuse my phone and was wondering if anyone has found a fix for this.

I have a little over 700 apps on my phone and I've found that whenever I get above a certain amount on my phone, the settings app will no longer properly work when loading apps. This happens a little over 400 apps I believe, and catlog specifically crashes at:

exception at com.android.settings, PID: 25067

exception at com.android.settingsLib.applications.ApplicationsState $AppEntry.getBadgedIcon(ApplicationsState.java:1170)

exception at com.android.settingsLib.applications.ApplicationsState $AppEntry.ensureIconLocked(ApplicationsState.java:1149)

exception at com.android.settingsLib.applications.ApplicationsState $BackgroundHandler.handleMessage(ApplicationsState.java:856)

From what I can tell online this might be an out of memory exception, and will occur even if I directly load a single app for management from a program like Link2SD.

I'm on stock marshmallow now, though I've had issued in lollipop as well. I am rooted and using xposed, and have plenty of available RAM and storage space.
[Infinix HOT 2] Sachin:
Whoa!! Amazing, great work bruh!! :D
[Infinix HOT 2] Anik_khan:
Good work bro :)
[Infinix HOT 2] Bolumstar:
Well done bro! Am so impressed and as well excited!

This is what I call development pals!

It took me quite some time to read through - how much more the time it took to make this work!

Great job keep it up....
[Infinix HOT 2] Nonta72:
Thank you for the idea, the path and the inspiration :)

Thank you.

We will prove Google that we may not have Kernel sources but we still can make our device great.
[Infinix HOT 2] anzer77:
View attachment 3825304

hey bro help me please?
[Infinix HOT 2] Nonta72:
Download the new apk file named DualBootPatcher_X510.apk

I have fixed that issue in this new version.

Please take time to read the whole OP if you didn't. It is important !!!
[Infinix HOT 2] mahmoud9873:
Nice App Bro;)
[Infinix HOT 2] Mysteryagr:
[MENTION=5193140]Nonta72[/MENTION]

I have some questions, please

1- Does the app use the same kernel for all roms? or it flashes the required kernel while switching roms?

2- If I'm using Android one 6.0 as a primary rom, will USB OTG work in the secondary rom?

3- Does the secondary rom read both internal and external storage?

4- can I use already installed apps like whatsapp, facebook.. etc as shared apps? does this change the location of apps and its data?

5- Just want to make sure, flashing universal OTA updates for android one rom (the zips that is made by Joseph GodSlave on facebook group) works it it is patched for primary rom?

6- If I want to try multiboot then unistall it & remove everything back to the original state, how can this be done?

Thanks for your time and this very useful app ^^
[Infinix HOT 2] Nonta72:
Answer: Nope ... It flashes the kernel required by each rom when you switch

Answer: If the secondary rom supports OTG, then yes. Don't forget that only Infinix 5.1 kernel does support it.

Answer: Yes, all ROMs you install as Dual/Multiboot can read both storages

Answer: Refer to the App Share section of the OP. And yes, you can share all user Apps data. But you need to install Facebook/Whatsapp or whatever on both (or all roms) to be able to use shared data.

Answer: You don't need to patched a primary rom. Just wipe in TWRP and install it, reboot to it, install the dual boot app and patch a secondary or multiboot rom. You can patch it for upgrade, but you shouldn't do that (just to avoid errors).

Answer: If you want to remove multiboot, just delete the multiboot folder on where you installed your second rom. If you instaled the second rom on /system parition, then it will be at /system/multiboot. If you installed it on data partition then it will be on /data/multiboot. You need a root explorer for that. You might also need to remove any multiboot folder on your Internal Storage as well as Externa Storage.
[Infinix HOT 2] Mysteryagr:
Thanks very much, just one point I didn't get it, updating primary rom (Android one) may cause issues?
[Infinix HOT 2] Nonta72:
Well, if you have Android One as primary. Then I guess you can update it. It might require stock recovery as well.

But I never tried it.
[Infinix HOT 2] Mysteryagr:
Joseph the GodSlave makes universal OTA zips which can be flashed via custom recoveries :D

Thanks very much for this app :good: it is very cool, you can test ported custom roms without touching system partition which make it easier for rom porters ;)
[Infinix HOT 2] Nonta72:
Yeah, I made it personally for that purpose. But I later realized it would be useful for other people. So I uploaded it.
[Infinix HOT 2] olalbinx:
Please I don't get it. I have a custom rom alredy and it tells me this.
[Infinix HOT 2] Nonta72:
It takes more time to make things for you to use on your device than reading an OP!

You could have read the post before asking such silly question.

Your issue is fixed in the OP:

IF YOU DON'T READ THE OP, I WILL NOT ANSWER THESE KIND OF REPORTS. IF YOU DON'T HAVE TIME TO READ, THEN I SHOULDN'T WASTE MINE READING FOR YOU!
[Infinix HOT 2] Mysteryagr:
Followed everything but it didn't work.
[Infinix HOT 2] Nonta72:
You didn't probably follow everything!

Because you're on 6.0 and you have to flash the patched zip in TWRP.
[Infinix HOT 2] Mysteryagr:
That what I have done 3 times with XUI from x551 and XUI from x554 on data slot

And third time on ext sd card...

It fails to switch.
[Infinix HOT 2] Nonta72:
Go to internal/multiboot/dual and see if there is a boot.img file inside that folder.
[Infinix HOT 2] Mysteryagr:
No such directory, am I looking in the wrong place?

Screenshot:

Btw in thread you recommended twrp 3.0.2, but the one in official thread doesn't see external sd card, and there is another build not compiled by op can see external sd card, but it fails to flash multiboot patched zips.

---------- Post added at 04:44 PM ---------- Previous post was at 04:35 PM ----------

Ok, I moved boot.img manually and switching rom was successful

But it rebooted into recovery.
[Infinix HOT 2] Nonta72:
Avoid doing things in hurry. Now to reboot to Android One, flash the boot.img in Internal/multiboot/primary. Switch to image when you click on Install.

About TWRP, I use TWRP 3.0.2 by Jemini. It works fine so far. The one in the official thread is still BETA and have many restrictions. It's very slow in formatting too.

And last, your problem is inside the updater-script of the XUI ROM by Yhogi. It's messed up really bad (I wonder why it even installs!). He used "msm-sdcc.0" (which is for Snapdragon) instead of "mtk-msdc.0". Solution: Edit it and replace all "msm-msdc.0" by "mtk-msdc.0"; zip the ROM again, patch it again and now flash it in TWRP. Don't forget to check the XUI-FIX zip file too. It probably have the same wrong platform name.

I have just tested it ;)

Conclusion: Most of errors within the app are due to the external files! build.prop, META-INF, people not reading the OP etc...
[Infinix HOT 2] Mysteryagr:
Still can't get it to boot; it reboots to recovery

updater script and build.prop in attachments
[Infinix HOT 2] Nonta72:
Because you put this mtk_msdc.0 instead of this mtk-msdc.0
[Infinix HOT 2] Mysteryagr:
LOL.. looks like I'm stupid :angel:

Will try again and post the results (Y)

edit: it booted
[Infinix HOT 2] Nonta72:
You're not stupid, it happens.

Glad it finally booted.
[Infinix HOT 2] Mysteryagr:
[MENTION=5193140]Nonta72[/MENTION]

when I patch zip to data slot it flashes quickly and boots fine

but when I ptach zip to ext sd card, it make a system.img first then it start flashing and stuck at the end

is that because of updater script too?
[Infinix HOT 2] Nonta72:
I have no idea, I never tested on extSD yet.

What kind of rom is it ?
[Infinix HOT 2] Mysteryagr:
wiko robby rom. it is android 6.

But it booted fine when I pached the zip for data slot.

-

I've tried infinix rom too to make sure; boots on data slot freezes while installing to ext card (same situation)
[Infinix HOT 2] olalbinx:
Please am I doing something wrong or its the rom am trying to install?
[Infinix HOT 2] Nonta72:
Well, I will try and see if it happens here.

You're doing something wrong: YOU ARE NOT LISTENING TO PEOPLE AND WON'T READ THE OP!

I SAID IN THE MAIN POST: IF THE IN-APP FLASHER FAILS, INSTALL THE PATCHED ZIP USING TWRP WITHOUT WIPING. YOU DIDN'T READ IT !!!
[Infinix HOT 2] olalbinx:
Actually am on Android 5.1 as my primary and you said in ur OP you've not tested the twrp with that yet so just wanted to be sure. Sorry about being a nuisance.
[Infinix HOT 2] Mysteryagr:
I tried again and it worked! doesn't always freeze...
[Infinix HOT 2] Nonta72:
You're not being a nuisance. You're not paying attention to what is written in the OP.

I said if you're on 6.0, always flash in TWRP. If you're on 5.1 and the flashing failed, then try TWRP. Here's where I said that.

Glad it worked!
[Infinix HOT 2] olalbinx:
Just flashed it via twrp and still problem persists.
[Infinix HOT 2] Mysteryagr:
It failed to read update binary.

That's why previous posts are always useful :D

You can find answers to your problems there.

Read previous posts, and check updater script ;)
[Infinix HOT 2] Nonta72:
OK

Now this is a problem.

Maybe you should ask the developer.

Or use the updater-script file from another ROM. That ROM must be stock or stock based: XUI, Amigo, my ColorOS etc. You can use updater-script from all of these.
[Infinix HOT 2] olalbinx:
Could you please post the new updater-script you used? Can't get mine to switch as well. Thanks in advance
[Infinix HOT 2] Mysteryagr:
It would be a good idea if you added a working updater script to the OP since the are many roms with messed up script ?
[Infinix HOT 2] Mysteryagr:
this one is taken from XUI rom
[Infinix HOT 2] olalbinx:
Will try it and see if it works. Thanks alot
[Infinix HOT 2] blinsh:
Please I installed cm12 as my secondary ROM but now when I switch to my primary ROM, it switches in the app buh when I reboot, it takes me back to cm12. Sometimes I get this message too.
[Infinix HOT 2] Iyazking:
Is there another link 4 d app mega is alqays though 4 me
[Infinix HOT 2] loadeddiapers:
Awesome great work bro.

Will try and reported back :D
[Infinix HOT 2] Tunapersie:
Thank you for the hard work after flashing the patch zip of the secondary ROM, my phone just boot to the secondary rom on it's own, I then installed dualboot , but I couldn't switch to my primary ROM...I got "failed to switch ROM"

I had to wipe the phone from recovery and restore my twrp back up.

I then give it another try but I couldn't set kernel for my primary ROM

I got D5110_infinix is not recognised.

Help
[Infinix HOT 2] RendyAK:
Hey [MENTION=5193140]Nonta72[/MENTION], it seems this probs happen again, about case sensitive, you know? Hehe.
[Infinix HOT 2] Tunapersie:
[MENTION=6052432]RendyAK[/MENTION] [MENTION=5193140]Nonta72[/MENTION] , I think I fixed that with this (UPER CASE (I))

ro.build.product=D5110_Infinix

ro.product.model=d5110_Infinix

ro.product.device=D5110_Infinix
[Infinix HOT 2] Nonta72:
Nothing is wrong with the app.

You just add to set this: ro.product.device=d5110_infinix (all in lower case)
[Infinix HOT 2] Tunapersie:
Thanks mate,

I was able to patch, flash and switch between your RR ROM and cm13 of Ibrahim.

Thanks again
[Infinix HOT 2] Tunapersie:
The app is great and an happy to tell you that I can even install secondary ROM on system. But an having this issue of SD card damage.

The SD card will be showing in /raw/extlsd, but I was able to solve that on primary ROM (MM) by not updating ramdisk , but yet the SD card isn't working in secondary rom
[Infinix HOT 2] LeonMacJames:
I successfully installed xos and cm12. 1 on my device, but I cant use app sharing, because updating the ram disk on Xos result to a damaged SD card[i reversed it by flashing my boot.img before ram disk update.img]even using Xos and secondary rom, ramdisk is automatically updated which still results to damaged SD, card[it doesn't even mounts any sdcard at all] I want to know if there's a workaround to this or is it due to the fact that the dual boot patcher app is still in beta.
[Infinix HOT 2] jacobw15:
Does this affect battery life?
[Infinix HOT 2] Veselchak787:
Ups. Remove it, please. Wrong device.
[Infinix HOT 2] creatorb:
Hi, i'm used dotOS based on nougat ROM (https://xdaforums.com/t/rom-unofficial-7-1-2-dotos-1-2-for-hot-2.3805376/) can't install your apk, error said package installer stopped. Any help, please?

update: Np, now all it's work as expected, I'm used https://xdaforums.com/t/app-dualbootpatcher-multiboot-app-for-infinix-devices.3591488/
[Xiaomi Redmi 2 Questions & Answers] khaotik:
so, I recently installed the official MIUI 8 (5.1.1) ROM on my redmi 2. everything is great, but I can't find a way for installing or moving the apps to the SD card. I've tried the usual apps on the play store, but no dice.

is there any other way to do this? or am I doing something wrong?
[Xiaomi Redmi 2 Questions & Answers] JoaoMarcos:
MIUI doesn't allow install apps in sd Card. You can try link2sd if you have root.
[Sony Xperia ZL] repey6:
Hi guys . I made this build for myself. And now i want to propose it for all. It made for unlocked bootloader only .

It based on original Z rom from HERE .

4pda forum team did fix for adapt ZL and 228kernel with 302TWRP. I only compiled all to this build.

Requirements

Unlocked bootloader

Current backup

How to install:

Go to TWRP .

Do full wipe (system , data, cache and dalvik)

Install rom

Reboot

Long wait ..and be happy!

After successffully start you can install v.1.1 without wipes and Zombie kernell original

or install modify version with Faux sound support modify

Faux sound Faux

Download:

v.1.0 https://www.androidfilehost.com/?fid=24591020540824843

Update v.1.2 http://xdaforums.com/showpost.php?p=68514241&postcount=186

Thanks :

[MENTION=6701957]Kuciak[/MENTION] for original rom

[MENTION=1862892]olegusoshin[/MENTION] for his fix for ZL

[MENTION=5680768]David_76[/MENTION] for his modified kernels

[MENTION=5243932]Tommy-Geenexus[/MENTION] for Zombie kernel
[Sony Xperia ZL] nandhul30:
[/COLOR]can i install this on C6502???
[Sony Xperia ZL] repey6:
I think that you can.:)
[Sony Xperia ZL] nandhul30:
now i am using this rom....x theme is awesome...thx for the rom...but i cant see any other changes....:(
[Sony Xperia ZL] repey6:
Update 1.2

Hi , dev released an update http://xdaforums.com/showpost.php?p=68514241&postcount=186 .

Flash without wipes via recovery.
[Sony Xperia ZL] Exodus_5467:
How long does the first boot take?
[Sony Xperia M4 Aqua] harisdelic:
Does anyone know shall we get, and when, custom recovery and possibility for root for marshmalow m4 aqua :/
[Sony Xperia M4 Aqua] dionisis1976:
Yes, would also like TWRP and root on locked bootloader for marshmallow, hope there is some wizz kid working on it :)
[Sony Xperia M4 Aqua] GeoI777:
Has anyone tried making a prerooted 6.0.1 using this?

http://xdaforums.com/crossdevice-dev/sony/tool-prfcreator-easily-create-pre-t2859904
[Sony Xperia M4 Aqua] MK99:
But do we need recovery.zip for it?
[Sony Xperia M4 Aqua] EHSAN™:
I tried this, don't working and My phone is bootlooped.
[Sony Xperia M4 Aqua] CoreyHUN:
bump, any news here?
[Android Q&A, Help & Troubleshooting] luv.:
Hey! I cant be the only one who can't stand the ripple effect introduced in Android 5 (though I asked my friends and they don't find this effect that disturbing).

This is what I mean: killem.al/ripple.mp4 - it also shows when you tao on an item in settings or click the back arrow ...

Honestly, the first time I saw it I thought I had enabled something in developer options or accesibility settings by mistake! :D

Actually what makes this really annoying is that the effect can not be disabled globally (not even in a theme)!

So I spent few days diving into Android source code and build process (that's how annoying this effect is to me). In the end it was enough to just find the right "draw" function and replace it with simple "return true" to make it easier I prepared step-by-step instructions how to do this in smali bytecode so there is no need to recompile framework.jar: github.com/luv/android5_noripple

Unfortunatelly it's not enough to just replace something inside framework.jar in android6 anymore and it's actually easier to just recompile the whole OS :) so I also prepared a guide how to recompile Cyanogenmod13 with the patch: github.com/luv/android5_noripple/blob/master/ANDROID6_README.md

DISCLAIMER: I have tested this only on cm12 (and cm13) and it's very much possible messing with framework.jar directly will make your device get stuck at boot (happened to me several times!).
[Android Q&A, Help & Troubleshooting] luv.:
eh?
[Sprint HTC One (M7)] Tmobilefan906:
Can you flash ROMs without root?

What twrp version is best for this device? Thanks
[Sprint HTC One (M7)] coal686:
Yes. You do have to have your bootloader unlocked though. Most custom ROMs come rooted once you flash them.

I'm using 2.8.7.0 and haven't had any issues.
[Sprint HTC One (M7)] Tmobilefan906:
I'm no stranger to this....just making sure. Lol. How can I sideload a ROM? There's no o.s on mine. Do I go to a cmd prompt and type su...then adb push.....? I've always had issues with adb side loading. Thanks.

---------- Post added at 05:44 PM ---------- Previous post was at 05:42 PM ----------

And is facepalm still working for s off? I heard they stopped deving for it. Thanks again.
[Sprint HTC One (M7)] coal686:
No problem. I moved this conversation into its own Q&A thread.

I've never had to ADB sideload before. If I remember right, the one time I had that issue, I was able to copy the ROM file over through the custom recovery. So, you'd put TWRP on first, boot into it, and then copy it over that way.

Since you have no OS, you could also run the RUU to completely reset the phone back to stock. Then unlock the bootloader, flash TWRP, copy the new ROM over, and then wipe and flash in TWRP.

I don't think Facepalm still works. If the phone has an older bootloader, one of the older methods might work, but the only s-off method that works on newer bootloaders is called Sunshine.
[Sprint HTC One (M7)] Sloth:
You can also adb push a rom while in recovery.

1. Download said rom, place it in your adb/fastboot folder.

2. Open a cmd window from said folder.

3. type adb push RomName.zip /sdcard/

It will take a few minutes to complete so be patient.

4. Wipe data/cache/dal cache/system

5. Flash rom.

6. Profit. :D
[Sprint HTC One (M7)] Tmobilefan906:
OK. Every time I tried that, it kept saying error. All drivers were installed..drivers for while in BL, normal mode and recovery were installed on my PC. Maybe I typed it wrong. After .zip, there is a space then /sdcard/...right?
[Sprint HTC One (M7)] Tmobilefan906:
Yea, the phone has 2.6.4 twrp already on it. I bought it with no o.s
[Sprint HTC One (M7)] Tmobilefan906:
I hear rumrunner and firewater still work...true?
[Sprint HTC One (M7)] coal686:
You'll definitely want to update that as I've heard older versions can have issues with newer ROMs. Not sure about that particular one.

[MENTION=4609217]Sloth[/MENTION] might have kept up with this better. AFAIK, those Rumrunner will still work if you are on an older firmware, but I'm not sure.

EDIT: Fixed due to Sloth's answer below.
[Sprint HTC One (M7)] Tmobilefan906:
Update what? My twrp? I was thinking flashing 3.8.7 like u suggested. Its been a while since I tinkered with htcs. I've hacked quite a few in my days. Thanks again!!
[Sprint HTC One (M7)] Sloth:
RumRunner might work if it is still on one of the earlier updates, Firewater has been discontinued, if RR does not work you will have to use SunShine to s-off.
[Sprint HTC One (M7)] coal686:
Yeah, TWRP. 2.6.x is pretty old. Since you've hacked a few HTC devices in the past, this device isn't much different except without an SD card, you can't use a specially named zip (like PGxxxx.zip) to flash firmware. It must be done with fastboot.
[Sprint HTC One (M7)] Tmobilefan906:
Why is recovery m7lw and roms zips are m7spr?
[Sprint HTC One (M7)] Tmobilefan906:
It says no such directory
[Sprint HTC One (M7)] Tmobilefan906:
I had to put .zip in the cmd prompt. Thanks.
[Sprint HTC One (M7)] Tmobilefan906:
Ugh. Stuck at 5%
[Sprint HTC One (M7)] Tmobilefan906:
Every time I flash recovery, it won't stick. I've tried button combos, multiple flashing recoveries. I need help
[Sprint HTC One (M7)] Tmobilefan906:
I think my bootloader is locked. Ugh
[Sprint HTC One (M7)] Tmobilefan906:
On my bootloader it says m7wls. Where can I find ROMs for that? I need to adb push it..I tried the RR ROM named m7spr, and it won't work. Please help!! Lol
[Sprint HTC One (M7)] Tmobilefan906:
Does ".zip" have to be in ROM name to flash? This is my first sprint HTC. Ugh.
[Sprint HTC One (M7)] Tmobilefan906:
Too much hassle. Would reboot after flashing twrp 287, it would go back to 264. I'm just gonna return stock and start over. What rooting tools are successful for stock lp 5.0.1? Tyvm
[Sprint HTC One (M7)] Tmobilefan906:
Welp....I run the stock ruu on my PC...I accept agreement and the ruu doesn't show back up. Anyone know why?
[Sprint HTC One (M7)] coal686:
This happened to me on Windows 10. Someone finally figured it out, so try this first. Apparently, Windows versions after Win 7 are missing a Visual C++ Redistributable.
[Sprint HTC One (M7)] Tmobilefan906:
I have windows vista. Lol
[Sprint HTC One (M7)] Tmobilefan906:
You have any idea on why I flash a new recovery over my old...recovery and when I go to reboot it, it boots old recovery back?
[Sprint HTC One (M7)] Tmobilefan906:
Sounds like ur saying I have to flash ROMs via fast boot......?
[Sprint HTC One (M7)] coal686:
Try it anyway just to rule out that the missing redistributables aren't the problem.

I don't unfortunately.

No, you have to flash recoveries via flashboot and then ROMs via the recovery.

I'm going to give you some steps that I think should help. There are guides on the site that will help you through each step, so I won't repeat them here.:

1. Install the redistributable I linked to a few posts back.

2. Follow my guide on how to use the RUU to revert back to stock.

If you just want to be stock, end here and enjoy your phone. If not, continue:

3. Reunlock your bootloader using HTC Dev.

4. Flash TWRP using fastboot.

5. Flash a custom ROM using TWRP. If you just want to run stock rooted, flash SuperSU through TWRP instead.
[Sprint HTC One (M7)] Tmobilefan906:
On your guide, is it safe for 1.57 bootloader radio 1.0? Thanks.
[Sprint HTC One (M7)] coal686:
The RUU will update your bootloader to the latest (assuming you download the latest one), but I'd check to make sure that older bootloader can't be s-offed free first.
[Sprint HTC One (M7)] Tmobilefan906:
I just want a BL version to whereas I can root, flash recovery and s off. I got the phone with twrp 264 with no o.s. I have tried putting roms on SD card and flashing, didn't work. I would flash 2.8.7 twrp or 3.0, and occasionally it would reboot to the newer twrp, sometimes it didn't. I have followed all tutorials on how to access recovery. The cmd prompts, rebooting recovery within recovery. I'm at my wits end. Which ruu should I run if I still wanna root and s off?
[Sprint HTC One (M7)] Tmobilefan906:
After I install that c++, I'm gonna run the ruu. Its the same ruu that the phone came with. It came with lp 5.0.2 anyways. I am thinking the previous owner somehow managed to make BL screwy. He said he flashed viper ROM and then this happened. He said that after flashing the ROM, he would reboot normally and it would go straight to twrp (264). I'm assuming it should be OK to flash that ruu...fast boot getvar all shows 1.57 BL version anyways. If u have any ideas, let me know. I really appreciate all the help.. Thanks again.