yashsingh1/xdaforums huggingface dataset:
[Magisk] rfgamaral:
DESCRIPTION

If you have the Pixel Experience module installed on your phone and installed Google Phone from the Play Store or ever tried to use a patched Google Phone version (such as this one), you may have noticed that Google Phone force closes when you try to search for a contact or while opening the keypad. This Magisk module attempts to fix that and it works by replacing your non-AOSP contacts storage with Google's own version, the one supported by Google Phone.

IMPORTANT NOTES

Supports Android versions from Android 7 (Nougat) to Android P.

It will remove any phone/dialer/contacts/people applications from your phone (if supported) because they are incompatible with Google's Contacts Storage.

You should only install this module if you want/need to use Google Phone and Google Contacts.

TESTED/SUPPORTED DEVICES

HTC 10 (Sense based ROMs).

Note: It should work with other devices but I have no means no test them myself, I can only rely on the community to test this for me.

SPECIAL INSTRUCTIONS

Install the Magisk module as usual but DO NOT reboot your device just yet.

Go into "Settings » Accounts & Sync" and disable "Automatically sync data".

Go into "Settings » Apps" a, look for "Contacts Storage" (it's a system app) and clear application data.

Reboot your device now!

Go into "Settings » Accounts & Sync" and enable "Automatically sync data".

Google Phone should now work without force closing, hopefully.

Note: If you ever want/need to disable this module, you should also follow the procedure above (disable module, disable data synchronization, clear contacts storage data, reboot, and re-enable contacts synchronization).

DISCLAIMER

Install this module at your own risk.

Developer is not responsible for what you do on your device.

Please take all necessary precautions (like a nandroid backup) before installing this module.

DOWNLOADS

Google-Contacts-Storage-v0.0.0-TESTING.4.zip

XDA:DevDB Information

Google Contacts Storage, Tool/Utility for the XDA Community Apps

Contributors

rfgamaral

Version Information

Status: Testing

Current Beta Version: v0.0.0-TESTING.4

Beta Release Date: 2018-08-02

Created 2018-08-01

Last Updated 2018-08-02
[Magisk] stathis95194:
[MENTION=2161317]rfgamaral[/MENTION] after installing magisk module and rebooting i keep getting android.process.acore has stopped.

I cannot get rid of it. By pressing ok all the time i managed to arrive to Apps but there is no Contact Storage app to clear data/cache after the reboot.
[Magisk] rfgamaral:
I also got that error when developing this module but I never got it after installing/enabling it, only after disabling it.

For some reason, the system does not recognize the /system/priv-app/ContactsProvider/ContactsProvider.apk (although the file is there). I'm not sure how to fix this to be honest, so I recommend you restore your backup to get you back to a working state. Maybe try the whole process again (makre sure you follow every single step) and instead of rebooting the system after installing the module, reboot to recovery and wipe dalvik/ART and cache. If that doesn't help, restore the device again until a solution for this problem is found.

Like I said, I also had this problem and because I live on the edge, I didn't make a backup of my system (idiot me). I had to make the system recognize the ContactsProvider.apk file and wen into recovery, deleted, copied it back from my ROM, set proper folder/file permissions, wiped dalvik/ART and cache and rebooted, the problem was gone. I installed my module again and it worked. But I'm honestly afraid to disable it and get that error back.

Which is weird because I'm replacing this file systemlessly, that's the whole point of Magisk. Maybe I'm doing something wrong, I'm no expert... We'll probably need help from someone with more knowledge on the whole Android system. But for the record, I currently have the version available on this thread installed on my phone. I have the Pixel Experience module installed and installed Google Phone from the store, it doesn't force close and all features seem to be working. I just need to get this module stable.
[Magisk] rfgamaral:
[MENTION=1281754]stathis95194[/MENTION] Were you able to restore your device? I hope so... I've uploaded a new test version, didn't change much, not sure if it fixes anything.
[Magisk] stathis95194:
Yeap I always take a nandroid before messing with the phone. Let me try the new version and report
[Magisk] stathis95194:
[MENTION=2161317]rfgamaral[/MENTION] soooo after flashing 0.0.4 i faced the same issue with android.process.acore has stopped popping all the time.

This time i took a different approach and didn't restore my nandroid. Instead i dirty flashed my LeeDroid rom.

Rebooted and lo and behold, stock dialer and contacts were missing and google phone was working perfectly. No crashing on searching (nearby places is working)

Now i need to test caller id and spam filter :)

I will keep testing and let you know.
[Magisk] rfgamaral:
Awesome, glad you got it working.

Now I just need to understand why installing this module crashes android.process.acore... But it's a bummer that this is happening, a little price to pay, I guess? At least until a fix is found... That and that whole install procedure which is required to avoid other different crashes because of incompatible storages.
[Magisk] gunnerhk:
Hi

I'm running 2.42.400.3 on U11.

I installed this and google phone from

https://xdaforums.com/android/apps-games/app-google-phone-v14-0-175904292-bubble-t3708218

Dialer kept crashing so I installed your mod.

After that,com.android .phone keeps crashing.

I unistalled it and then I got acore crashing.

I restored feom nandroid but for some reason kept getting the acore crash, so I completely uninstalled magisk.

Now.... everything works. Even the dialer.

I'm really not sure what happened but.... thanks
[Magisk] rfgamaral:
That's really weird, on so many levels... :/
[Magisk] gunnerhk:
Screenshot as proof :laugh:
[Xiaomi Redmi Note 4 Questions & Answers] jarzy:
Hi guys and girls. Has anyone tested those mi-globe rom maker generated roms. Does they work? I downloaded it and taked twrp backup but still im too scared to try it. Have any of you tried it?
[Xiaomi Redmi Note 4 Questions & Answers] jarzy:
I tested it myself. It worked.... But it had magisk on it and when i tried to install xposed it bootlooped. I tried to recovery from twrp backup but then only mi logo was on screen. Not even tried to boot. So with a unbrick pack i managed to flash with sp tools miui 8 and then that recovery that twrp backup. So if someone want to try miui 10 with rmn4 mtk nikel you can and that rom generator has expert options where you can tweak what you want to that miui 10. It had even split screen.
[Xiaomi Redmi Note 4 Questions & Answers] abieofficial:
If you want to use xposed installer, try Xposed Framework for AOSP if failed try Xposed Framework for MIUI instead
[Android Q&A, Help & Troubleshooting] curpeva10:
Hi all,

I need to find the way to have an Android TV Box running in a vertical orientation screen.

Someone can tell me how i can do?

Thanks a lot!
[General Questions and Answers] shayne77:
Anybody got it to work?

I'm over Coloros already (sick of the security, want vanilla android)

I downloaded Android P but it says Flash Failed when I try to flash it in (Coloros) recovery.
[General Questions and Answers] Scuttle:
Yeah, I have it running on mine, but it's the first beta, so a bunch of stuff isn't working, hoping they will release a new rom soon...
[General Questions and Answers] Vyviel:
What version of the phone do you guys have? Mine is the Australian one from Optus. I assume it doesnt automatically update the beta version like my Nexus 6P did when I enrolled in the program?

I also am getting annoyed with ColorOS as it has broken so many simple things my previous phone did e.g. Google Photos no longer wants to sync, calendar doesnt send me reminder notifications, googles alarm clock no longer works etc.

Would love to flash to stock android that automatically updated and be able to ditch ColorOS as overall the phones hardware seems very decent.

My main concern is the instructions say only Chinese phones should use that upgrade process and its impossible to revert without sending it to service in China. I am an IT Professional but I have never tried to flash with a custom rom in the past so a little wary of bricking my brand new phone =P

My model is CPH1831

Build number CPH1831AU_11_A.07_180705
[General Questions and Answers] AkaGdd:
Hey there Vyviel,

I have the Oppo R15 Pro CPH1831 also and purchased it outright from JB HiFi a couple of weeks back now - carrier is Telstra.

This is my very first Android device after having shifted over from a 6s Plus... I will say that I personally don't mind this ColorOS business ATM but then again I am unfamiliar with any of this custom ROM business... You are right about the hardware though... for let's say $600 AUD less than the Samsung Galaxy S9 it stands pretty tall in the spec department for the price of $779.

I am also in IT... that is to say that I have been tinkering now for about 15 years and at present I have 4 and a half units remaining on my Bachelor of IT degree.

Like yourself... I have not flashed a custom ROM, rooted an Android based device or recovered back to out of the box state in case one might need to get that all important warranty back in the game if the process manages to kick you in the proverbial sack... so we are in the same boat in not wanting to create a mid range in the expense scale paperweight.

I would really like to know how to do all of this in the safest way possible though and to be quite honest am finding it somewhat difficult to find a great deal of info on this phone.

I'm willing to share a few links that I have found in relation to flashing a ROM on one of these things if you wanna send me a PM (I'm unsure of the legalities of posting links here as I have only just joined XDA)... I'm not 100% sure of what to trust when it comes to the links (one is a Vietnamese site I believe) and all of these processes in general but it would be good to get a second opinion.

Anyways... this post is starting to read a bit like a book so I'll leave it at that for now.

Cheers mate

PS: Nothing against the Vietnamese people intended whatsoever - peace out :)
[General Questions and Answers] Pyrobyte:
You aren't only here buddy, tried flashing my phone as well. Didn't work, got the same error. I think it's for the Chinese version of the phone, I'm not entirely sure.
[General Questions and Answers] blanxdj:
Agreed, bought phone outright. No carrier/network lock. I've had it a week and also I am over the colour os!! I have had a bit of trouble with compatibility with my other home devices like screen mirroring, cloning/switching device data, Wi-Fi stabilisation etc... But have discovered that most option menus change and have slot more options if you have developer mode active whilst browsing through the setup menus.. Especially with device connections!!

But all in all I think I just want a normal android rom that will look like every other android menus but will utilise this devices nice hardware specs considering it bang for your buck price point!!

Sometimes you have to relise expectations and reality get clouded by hope...
[General Questions and Answers] sunilsidhwani:
Need Link to firmware - Oppo R15 Pro for latest Android P Beta

I happened to have the Chinese version (I believe). Can anyone post the link to the firmware being discussed on here?
[General Questions and Answers] liliu:
look

https: //drive.google.com/file/d/1-G_1V9Zt1NGyhttps://drive.google.com/file/d/1-G_1V9Zt1NGy5qwtit-owiHw3jdbFUIb/view5qwtit-owiHw3jdbFUIb/view
[General Questions and Answers] Vyviel:
Android 9 has been out officially for more than a month I wonder why the lazy Oppo developers have still not released a software update for it. ColorOS is pure trash just give me stock Android 9.
[General Questions and Answers] Lemagex:
ColorOS and Oppo aren't exactly known for their "immediate updates" if you wanted the stock experience and quick updates why not pick the Pixel?
[General Questions and Answers] Vyviel:
Because the Pixel phones are an absolute ripoff for mediocre hardware. Google lost their way after the Nexus 6P.

Next time I will go for a OnePlus =)
[General Questions and Answers] sheydemon:
Is it possible to use new android P on the ' OPPO R15 ' ? (not the pro version)

my phone (oppo r15) runs on color os 5.0 so i thought i could update the android version to ' Android P ' so that the chinese version will be gone.. so i can finally use the google app and services, guys does it work on the oppo r15?
[General Questions and Answers] heepsy:
Yeah i'm wanting to know this as well! ColourOS seems to be a pretty big limitation although judging on the firmware difference (CPH1835 vs CPH1831) i'm unsure if i can flash Android P yet.. anyone have a definitive answer?
[General Questions and Answers] RoverCcc:
i believe it's because of the money...
[General Questions and Answers] ULAMSS5:
I've had the May 2018 P Beta on a R15 Pro Chinese since... forever. It's pure trash, 80% of apps don't work due to mysterious crashes. It has not received an update at all since May 2018.

So now we either use trash ColorOS on which it is impossible to install GPlay on because of weird proprietary security, or we use near-stock but almost useless P beta. Either way it's almost a brick.
[General Questions and Answers] RoverCcc:
Me too,can r15 Pro get in pixel experience or asop?
[General Questions and Answers] con_sau_may_tinh:
sorry but this link is not avaiable anymore :(

i got r15 pro china stuck logo after upgrade to android P beta
[General Questions and Answers] RoverCcc:
now you can get Coloros 6(https://www.coloros.com/topic/coloros6.html)

which has completely different UI from Coloros5.2/5.0, enough of too many bugs in Android P beta also , but things got changed now
[General Questions and Answers] perryano:
They sure are taking their time with coloros 6. Im reading it should have been released in May but still nothing confirmed. I will never buy an oppo again as this is bad. Android Q (10) will be released soon and oppo is struggling to release android 9. What a joke.
[General Questions and Answers] getamulletupya:
Agreed #perryano. Their hardware is fantastic, but this ColorOS BS just destroys the whole experience and controls everything you want to do like the PRC. If I could just run vanilla Android, I would be a happy camper.
[General Questions and Answers] perryano:
Still no news for os6. This is shocking
[General Questions and Answers] PingMetal:
I'm also waiting for ColorOS 6 hoping it fixed notifications issues or I don't mind a custom ROM if anybody has anything to suggest. I have the Chinese version of the R15, the PACM00.
[General Questions and Answers] PingMetal:
ColorOS 6 just got released! Yay!
[Essential Phone Questions & Answers] starcms:
Hello y'all,

I've noticed that on the Pixel 2 and on many other A/B devices, there is a twrp zip available that can be flashed after flashing the twrp image to boot and booting into recovery and flashing the stock boot image (like we do on the Essential) which patches the ramdisk in the stock boot.img to add twrp to it so that twrp can be permanently installed on the device.

If I could make something like this myself, I would have a long time ago, but unfortunately, it's over my head. Just curious why something like this has never been made for the Essential. Also, but much less important, TWRP 3.2.3-0 is about to be released (code is on GitHub), yet the latest available to us is version 3.2.1-1.

I know one of you smart devs could make the zip to install twrp to the ramdisk (and possibly build the latest version of twrp also) probably in almost no time at all. I love my Essential, but having to connect it to a PC just to get into TWRP is very irritating.

When one of you guys have the time, could you give it a try? I'd be happy to test whatever you come up with.

Much thanks!
[Essential Phone Questions & Answers] MoistPicklez:
It's definitely possible but I don't know how many Devs would want to take this up. I'm all for the idea, I really miss having TWRP permanently, but you kinda get used to the whole PC flashing thang.

I don't know how different the Pixel 2 is in comparison to the Essential phone, but they both share A/B partitions, so it wouldn't be too outlandish if someone were able to port something like this over to our Mata's down the road.

?
[Essential Phone Questions & Answers] aer0zer0:
The problem lies in the way our touch driver is implemented. For lack of a better explanation, what good would it do to need to carry a type c mouse around to use twrp if touch doesn't work. Many many people have tried and failed getting touch to work on Oreo source, let alone P. That is why twrp resides on a nougat kernel meant for LOS. Someone I know even rewrote the driver in c, no go. It's gonna be tough sledding.
[Essential Phone Questions & Answers] galakanokis:
Does it have to be touch though? Could it be more old school clockworkmod recovery where you use the buttons or really like default recovery. I don't know enough about it but just a thought. You definitely get use to just downloading and flashing in twrp and it would be cool to find that with the PH-1.
[Essential Phone Questions & Answers] Gundabolu SC:
Atleaset there is a way to use TWRP on the fly.

1) Root the phone the first time using the PC.

2) Copy the TWRP and boot.img(rooted) files to the Phone.

3) While booted and rooted, use apps like Rashr - Flash Tool or Flashify available on the playstore to flash TWRP and boot to it.

4) Once you are done using TWRP, flash the boot.img and boot to the phone.
[Essential Phone Questions & Answers] KingBeefy:
Been waiting for someone to share this for 6 months.. thanks lol
[Essential Phone Questions & Answers] starcms:
Thanks for the explanation. Now I understand why it hasn't been done before.

But why the issue with touch in TWRP with an Oreo kernel in the first place? What's so special/different/difficult about the touch driver that the Essential uses? And why does it work fine with TWRP with a Nougat kernel? No other devices (to my knowledge) have this issue.

Edit: I wonder if since TWRP worked with the touch driver from the Nougat kernel, if it could work with the P kernel? Maybe whatever was changed in Oreo that prevented it from working has been fixed?
[Essential Phone Questions & Answers] aer0zer0:
Hbtp_daemon (touchscreen) doesn't work in twrp on 8.x and newer sources.

Hbtp_daemon runs in userspace iirc, which is the problem. So an entire driver needs to be hogged together in order to get twrp to work. same process that worked on N doesn't work now.
[Essential Phone Questions & Answers] starcms:
Not possible to use the driver in userspace after TWRP decrypts the device (userspace) using the default password (after any patterns or pins are removed from the lockscreen)?

Edit: And what the heck is the driver doing in userspace anyway? Shouldn't it be in /vendor? If the driver is in userspace, then how can the touchscreen work after a factory reset?
[Essential Phone Questions & Answers] galakanokis:
The new Lineage Recovery is not bad but I see no way to apply other zips like Magisk. Maybe it can be worked on and adapted. No touch , just button control.
[Essential Phone Questions & Answers] Tech_Savvy:
It doesn't after you lets say flash magisk and gapps they create a script in /system/addon....and when updatting lineage it runs the scripts in the addon folder which is how gapps and magisk get installed to the new updated system and boot.....first magisk and gapps have to be flashed in twrp....after that u shudnt need it on dirty flashes
[Essential Phone Questions & Answers] starcms:
[MENTION=5447216]aer0zer0[/MENTION]

This seems like the easiest solution to getting TWRP working on the Oreo and P boot images and being able to keep it permanently installed in ramdisk. Make TWRP use the volume up/down keys for scrolling and the power key to select. If the touchscreen is soooo difficult to get working, forget it. If someone really wants to use the touchscreen, they can use the existing TWRP version built on the Nougat boot image.
[Essential Phone Questions & Answers] starcms:
What can you do in Lineage recovery if you can't flash zips? Can you make backups? What else can you do? If you have it installed, could you attach a pic (assuming you have another phone/camera)?
[Essential Phone Questions & Answers] GuestK00177:
Has anyone looked in the stock P kernel? I was poking around and noticed some twrp residual files. This was straight from the images zip from essential. I didn't touch it.Wth are they in there for? Could they have a better twrp on the back burner for kernel development purposes for Essential? It was in the ramdisk, ill look again tomorrow when I unpack the boot.img. it would make sense to have it in ramdisk, pixel 2 has it like that. Ill post screenshots after work. But, the conversation looks good folks, you are on to something. We could always bust out some phillz recovery, or clockwork mod.
[Essential Phone Questions & Answers] galakanokis:
I would say it is more stock-ish as far as recoverys go. It's a stock LOS recovery. You can factory reset, flash or sideload update.zips or signed zips no regular custom ROM zips or magisk. It is meant to run on LOS, it only runs on LOS actually and not made for the flashaholics out there. It's a good start though.

Sorry, out right now and no other phone/camera handy.
[Essential Phone Questions & Answers] MoistPicklez:
Just wanted to mention this works perfectly, tried it last night was able to get into TWRP and then back into my P Beta 3 with root, no issues. Thanks for this!
[Essential Phone Questions & Answers] GuestK00177:
One could also theoretically copy a copy of the twrp boot. Img to the ex kernel manager backup file, and while booted into the system, hit restore kernel and since its in the boot partition it will flash it then reboot into recovery. Then from there flash your normal kernel and boot back to system/android.. i backup all my kernels after rooting them so after flashing otas, i can just flash my prerooted kernel and reboot without having to flash magisk

Edit. This works, i just did it, but u must make it reboot to bootloader to then tell it to reboot recovery. I dont know if flashify is the same
[Essential Phone Questions & Answers] dirtyreturn:
Hey, I'm just curious, before I try it, anyway when using flashify and selecting flash zip - does a recovery other than stock need to be present?
[Essential Phone Questions & Answers] MoistPicklez:
Not sure what you mean by that but to be honest all I did was take the TWRP11.img, and flashed it to boot (kernel) using Rashr, Flashify didn't load up oddly, then reboot to bootloader, select Recovery and bam, there was TWRP. Then to get back I just flashed my boot.img, and Magisk and all my modules and everything were all good to go. No issues at all. ?

Edit: as long as you have TWRP.img, your boot.img, and Magisk, you can easily get to TWRP and back, just make sure you have the img's you need and boom we all got TWRP on the fly.

Wish I had tried this sooner.
[Essential Phone Questions & Answers] dirtyreturn:
Hey, Rashr doesn't support this device(phone). I get a reboot to recovery option and if I tap cancel the app just closes. Did the app identify what it needed to?

In Flashify there are 3 options ,Flash - kernel,boot, and zip. What I'm curious about is , when choosing just the zip option - would twrp first need to be flashed to the boot partition?