yashsingh1/xdaforums huggingface dataset:
[Nexus 6P General] d3viou5:
Anyone else having an issue where install GAPPS takes out the MIUI keyboard? I followed the instructions, but after rebooting at the last step it loads up with no keyboards installed. Nothing appears in the language and input settings under keyboard. Not a major problem as I can install Fleksy from the MIUI store (can't load google play - no keyboard!!) and everything else seems to be working fine, but I like the MIUI keyboard. Has anyone got the MIUI KB apk I can reinstall it with, or is there a way to extract it again from the rom?

edit: installing fleksy seems to have magically brought back the Google KB. Still no MIUI KB though.
[Nexus 6P General] harish_hpd:
anyother download link other than mediafire? it wont let me download. download always failing.. [emoji17] [emoji17]
[Nexus 6P General] thoiloidainhan:
Remove Google keyboard from the gapps pack zip before flashing.
[Nexus 6P General] d3viou5:
Yes...... it say's connected. Though I also have LTE data so I guess it could be coming through that?

edit: definitely connected.
[Nexus 6P General] Andromjb:
Yeah... this doesn't work at all. Too many hurdles. I think I have a better way. Will report back after I test.
[Nexus 6P General] thoiloidainhan:
Saying this doesn't work is simply not true. A lot of hassles for sure but it works. Looking forward to your better method
[Nexus 6P General] d3viou5:
Tried that. Deleted LatinIME from GAPPS, wiped, and flashed from the beginning using the updated GAPPS with no IME. Now I have no keyboard at all. MIUI KB gone.
[Nexus 6P General] thoiloidainhan:
Strange. U can probably extract the app sougoinput.apk from fullota1.zip and push it to system if u really want the KB. I don't see anything special about that KB tho, its just Chinese
[Nexus 6P General] Andromjb:
No, it simply doesn't work. There is no usable keyboard to even log in to play store but even if you could services crash constantly. On top of that you can't even install the prerequisite apps in the steps mentioned before the Gapps are installed... Unless you manually install APK's before hand.

To sum it up. That method just isn't practical at all and does not work.
[Nexus 6P General] tr4nqui1i7y:
To be fair, the apps were listed until I found out they were copies of pro versions.

Thanks for assistance though.
[Nexus 6P General] thoiloidainhan:
Use this gapps then if u have issue with KB. https://drive.google.com/file/d/0Bzj7CIXA9nUqckxlNElGUERCRU0/view?usp=drivesdk

Something must have messed up during repackage with the other one. Better have the apk of script manager or something similar to execute .sh file on SD card so u don't have to sign in play store, no signin=less fc

[MENTION=3745842]tr4nqui1i7y[/MENTION] should replace the linked gapps with mine, other have had more success including me with that one
[Nexus 6P General] tr4nqui1i7y:
[MENTION=4129353]thoiloidainhan[/MENTION]

I'll figure out a better solution soon. I still can't stand at a pc all day without getting migraines.

Hopefully after I see the doctor I'll be able to get things done again. For now, please work together folks. You guys are doing very well on your own.

Much better than some of the other threads. Always fussing and fighting.

I have the best team!
[Nexus 6P General] skw5115:
Followed the instructions and everything is working without any crashes. Only hurdle for me was the keyboard, but I just used titanium to restore Swype. If you're still having crashes you may have missed a step.
[Nexus 6P General] Andromjb:
Post a SS of working installed gapps.

---------- Post added at 05:34 AM ---------- Previous post was at 05:33 AM ----------

Yeah, I've used that one already. It's practically the same as the OP instructions. No KB. Doesn't work.

---------- Post added at 05:37 AM ---------- Previous post was at 05:34 AM ----------

http://xiaomitips.com/download/google-installer-app/

Simpler solution but the issue is the constant FC's. I think I'll just abandon this ROM for now. Not worth the headache. I'll check back when there is a fix.
[Nexus 6P General] thoiloidainhan:
Yeah I admit everyone here is just lying through their teeth about working gapps. We all try to scam you into installing this ROM for profits (???)

/s

Just lose the attitude please. Gapps are SUPPOSED to fc. Thats what going to data/local and execute the userinit.sh script is SUPPOSED to fix. The fc isn't constant so u do have a little bit of time to navigate. Just be a bit more patient
[Nexus 6P General] Andromjb:
I don't have an attitude... I just want to see if it's actually working.
[Nexus 6P General] tr4nqui1i7y:
Anyway, you guys having success with root?

Anyone tried other su packages besides super?
[Nexus 6P General] thoiloidainhan:
It works. Trust me.

OK so now u know gapps aren't working right after the ROM boots up. Now go to apkmirror and grab yourself copy of google keyboard.apk and script manager.apk and put those on your sdcard. The KB isn't needed when I set my phone up but u insist the KB isn't working so mind as well grab 1 now

Install ROM go through the setup without signing in to google. Get root working properly. Then execute the userinit.sh with script manager as per ops instruction. Gapps won't fc anymore

---------- Post added at 07:21 AM ---------- Previous post was at 07:01 AM ----------

I don't think there's anything wrong with SuperSU method. It's probably got something to do with task handling between applications. Miui seems overly obsessed with what applications have the right to draw over other applications, it has that specific permission for most apps. And since SuperSU gotta display a popup whenever apps ask for root permission, that probably don't sit well with miui. I also notice a lot of app fc whenever I want to share something inter-apps (with google drive when I done uploading the gapps and want to copy the link to clipboard, on chrome when I want to open contents in their specific apps, or download..) I could be way off course but that what ive observed so far
[Nexus 6P General] :
Well, first of all thanks for your work dev! Followed all steps and the ROM it's working fine except that after flashing three different packages, I have no keyboard at all. Wish you good luck to solve this issue.

LE - I installed Swiftkey Keyboard from apkmirror and eveything works fine. Also, userinit.sh removes ALL force closed.
[Nexus 6P General] Andromjb:
Yeah, this is what they don't get. Without a working keyboard and Gapps, this ROM is pointless.

Good effort though.
[Nexus 6P General] joransrb:
Well, then you must be doing something wrong... Cause myself and others don't have an issue with missing keyboard...

I've been flashing different stuffs now, related to this ROM, and never had an issue with missing keyboard.
[Nexus 6P General] harish_hpd:
Everything works fine.

Gapps works fine. Some FC are there. Still works.

Root works fine.

Rom is smooth.

Viper works fine.

Except Xposed and theme engine.

Thanks developer for your awesome work and time.
[Nexus 6P General] holigan360:
I have no keyboard and as they say more clear up the keyboard app in google gapps, any solution ??
[Nexus 6P General] MidnightDevil:
By the ammount of people and posts around the web suggesting alternative gapps and custom gapps for MIUI, makes me believe our issue with gapps it's not that specific, and most people including official releases have problems with it.
[Nexus 6P General] Aswin08:
So better dont post here.

We users using this ROM without issues,if the hardwork of the dev is pointless for you thn kindly get out of the thread.Also its clearly given its in beta so stop posting pointless comments.
[Nexus 6P General] Andromjb:
I flash about 5-6 ROMs a month... Not a newbie. Followed instructions to a T. Problem persists each time. They link two different Gapp packages, but they are literally the same thing.

I'm not the only one reporting the issue. Not trying to cause trouble here, but clearly there is an issue with the Gapps provided.

---------- Post added at 09:15 AM ---------- Previous post was at 09:14 AM ----------

They aren't pointless.. I am trying to resolve the issue.

I flashed MIUI 8 on my OnePlus 3 with Google Apps Installer 2.0 without any issues and that same package works on this ROM but the problem is the consistent force closing. Something is wrong with the ROM/Build.

http://xiaomitips.com/download/google-installer-app/
[Nexus 6P General] harish_hpd:
there is a solution..

open mi app store..

click on catogories on top..

find productivity in that page, select input method..

install the one i have installed as showin in screen shot..

its the same keyboard which came with the rom.. hope this helps..
[Nexus 6P General] KaigetsuShin:
I used the Gapps that was linked a few posts back... It has the Google keyboard and replaces the Miui KB BECAUSE of the keyboard not being completely translated due to coming from a Chinese developer Rom Base. It says so on the Gapps website for Miui. Ultra Gapps is supposed to replace the keyboard the because the current keyboard is not up to scratch as of yet. Just find an apk of the Miui global keyboard and install that with a file manager.

EDIT: Following all of the instructions worked flawlessly for me and left me with the Google Keyboard working and without a single force Close (after running the script).
[Nexus 6P General] thoiloidainhan:
Also boot the ROM first, set up everything THEN reboot and install gapps+SuperSU. Miui is a fickle biatch
[Nexus 6P General] MidnightDevil:
Unless you're using specific gapps, the FC's persist.

I've tried that way a few times.
[Nexus 6P General] tejkumarvusirikala:
As it is booted.. now it's time you move it to Android development section ?
[Nexus 6P General] skw5115:
Here are several screenshots for you dude. I'm even using my Moto 360 with no issues. No one here has any reason to lie about GApps working. The ROM is currently in Beta, which means there are going to be issues that we need to workout. If you aren't willing to put in the extra work, then there are plenty of other ROMs for you to use. Like I said, if you are experiencing crashes still, then you must have done something wrong.
[Nexus 6P General] joransrb:
I installed everything at once, flash vendor, flash ROM, flash Gapps, flash SU, then wipe and reboot. It restarts one time, due to SU. When it boots into MIUI, enable root, delete SU app. Run the script, and all FC stops, and the rom it works just fine.
[Nexus 6P General] thoiloidainhan:
Good to know. I tried installing everything at once and it didn't boot
[Nexus 6P General] oussamalabbize:
Any one could make a short video/review of the rom?
[Nexus 6P General] joransrb:
The first "real" boot can take a while.

Do you get to the MIUI boot screen?
[Nexus 6P General] gconcepts:
Anyone know how to get into the Google Play Services Permissions? Permission Manager is grayed out and I want to enable some permissions in order to get some other Google apps working.

---------- Post added at 03:25 PM ---------- Previous post was at 03:12 PM ----------

Nevermind. Found a way to get into it. Add Location widget to screen and then access Google Play Services permissions.
[Nexus 6P General] MidnightDevil:
Did it solve anything changing permissions?
[Nexus 6P General] gconcepts:
I am able to access Android Pay now. Previously was getting a message saying Google Play services needed permissions for Body Sensors, Location, Calendar e.t.c. So now I will attempt to unroot and see if I can get Android Pay to work.
[Nexus 6P General] MidnightDevil:
Have APKs ready on sdcard

Download individual apks and store them in the sdcard, install from MI Explorer (Homescreen, Tools folder, Explorer), install Keyboard from there, script manager or rom toolbox, titanium backup, google keyboard or any other keyboard apk.

Process

First, install Rom, Vendor, gapps, SuperSU.

FCs will happen, ignore them for now.

Install Keyboard APK from sdcard.

To obtain root:

- Flash UPDATE-SuperSU-v2.65-20151226141550-1

- Open the home screen, open Security, Permissions - Allow root access.

Try to obten, IT WILL FAIL. Ignore it. Go back to home screen....

- Delete Supersu apk from homescreen (move it to the top to uninstall)

- Install Titanium Backup from sdcard, open it, FIRST. It will not ask for root, as it will be automatically rooted. Every app that will require root from now, will be automatically granted. (not sure if it's a good security measure but it's a workaround until nothing else).

- Open script manager, browse to /data/local/ and run userinit.sh as root.

Gapps should be fine now. No more FCs.

How to install themes (from the web only)

Themes work if you download them from the web and move them into MIUI/theme folder.

Working themes directory: http://en.miui.com/type-7-776.html

Many thanks for all the users that compiled identical methods, it's a finicky process and you need patience. But this way it does work.

Special thanks for tranquility for everything.

PS - For the non booting users, make sure you have flashed vendor for 29V.
[Nexus 6P General] harish_hpd:
I don't understand this part.. how to open script manager?
[Nexus 6P General] MidnightDevil:
Install it from sdcard, then once installed, you'll have it on your homescreen. Opening it by taping on it. Enable root to browse root partition ( / ), then go to /data/local , select userinnit.sh, tap on root button (the one with the skull) and tap "Run".
[Nexus 6P General] HikingMoose:
Booting now, let's try this bad boy out!

Edit: I've never used MIUI, but the boot screen is very beautiful and classy. Oh, it just finished, that didn't take long.

---------- Post added at 01:10 PM ---------- Previous post was at 12:23 PM ----------

I noticed a lot of discussion on which gapps. The supplied ones fail in TWRP for me. I get this error.

Could not find 'META-INF/com/google/android/updater-binary' in the zip file.

Should I try other Gapps that I have on my phone already, or is that a bad idea? An interesting side note, I'm not getting the FC's everyone else is talking about, and I haven't run the script yet. I have root, and TiBu installed and working. I only get one little error that pops up after a boot/reboot. It just says omething like there is an error in your system, contact the manufacterer or something. Then never shows again.

So far I'm loving this! I'd like to get my keyboard running obviously, so I'll keep plugging away at that. If anyone knows why my gapps failed, or knows of another set that will work, that would be great!
[Nexus 6P General] gconcepts:
Look a few pages back and you will see one that was provided to me. That link works. I was getting the same error with the GAPPS posted in the link on the OP. The one provided by [MENTION=4129353]thoiloidainhan[/MENTION] works
[Nexus 6P General] HikingMoose:
I did see his post, but then another user posted something about the different app packages shared were actually the same. So I wasn't sure if those were different. They are almost done downloading now. I love the look of MIUI. First time user. Not sure I'm going to dig all the Chinese characters, but once I have the play store, I might be ok. Is the Mi store the only place that is not translated?

Edit: How do I tranfer files to the phone once it's booted? I had to transfer in Recovery. I'm sure there's a simple solution in settings, but I couldn't find it, and the typical android trick of clicking the notification and enabling file transfer wasn't there. Thank you for your assistance!
[Nexus 6P General] tr4nqui1i7y:
The original gapps method has the same gapps listed twice. There is a mirror for them. A user a while back couldn't grasp that concept.

Once your phone is connected to your pc there will be a pull down message that says charging. Tap that and select mtp. If you're not getting it, try re-plugging your device a couple times.
[Nexus 6P General] HikingMoose:
Unplugging and plugging back in was all it took. A little pop showed up and when I clicked it, it gave me what I needed. Thank you. I have Gapps installed now thanks to the link from thoiloidainan.

Thank you for your efforts in bringing us MIUI 8!!! It's Beautiful! Will take some getting used to.
[Nexus 6P General] batjnr:
Man this is such a fantastic rom. It's in early stages but it's so smooth and fast. Fantastic job by the developer [MENTION=3745842]tr4nqui1i7y[/MENTION]

And the rest of amazing people in the thread. Am gonna use this bad bay as my daily driver. Will there be any Android 7.1 in the future?
[Nexus 6P General] tr4nqui1i7y:
There should be a 7.0 eventually. Unless MIUI 9 is 7.1. It'll be a while though.
[Nexus 6P General] HikingMoose:
You guys are not kidding, this is very smooth! Smoother than any AOSP I've ever used. I figured people were just saying that like they always do, even when it's not true.
[Nexus 6P General] batjnr:
OK mate. Am 100% supporting this movement. Will donate on my next payday :=)

---------- Post added at 09:34 PM ---------- Previous post was at 09:28 PM ----------

So true dude. Amazing battery life too. 95% right now after 2hrs of usage. Got whats app, 8ball pool, Gmail and Spotify in the background.
[Nexus 6P General] Andromjb:
Thanks for posting something legitimate. Like I said, followed instructions to a T. There may be some inconsistencies with other things during installs/flashes of course.

The problem is the keyboard install. There isn't much light on this subject. I am curious as to how some magically have it working or those who lose it get it working. A regular APK install of GKeyboard doesn't work. So, there must be a specific way people are getting a keyboard back.. no one really explains that.

---------- Post added at 08:35 PM ---------- Previous post was at 08:33 PM ----------

No I got the "concept". The problem was it wasn't labeled as a mirror.

Anyway, giving this another go.
[Nexus 6P General] tr4nqui1i7y:
It's been labeled as a mirror since I added it to the thread. Unless you saw it from another user, or if you're viewing the thread on xda labs. I've noticed the application for xda omits a lot.
[Nexus 6P General] E12350:
Can't wait to try this when I'm home !
[Nexus 6P General] Andromjb:
Not your link. The other one posted by another member labelled MIUI 8 gapps. I knew it was the same package, but it's definitely confusing others.

I am about to flash again, with a couple different keyboards.. will report results.
[Nexus 6P General] tr4nqui1i7y:
Yea, the first link was on another forum that requires registration.
[Nexus 6P General] HikingMoose:
Tapatalk is causing a Google Play Services error for me. Anyone else have that, and find a solution?

I wiped data and cache of my Google apps. Still get it.
[Nexus 6P General] skw5115:
[MENTION=2213357]gconcepts[/MENTION] found a solution above. It's the only way to modify the permissions for Google play services that I've seen thus far
[Nexus 6P General] HikingMoose:
Shoot. Doesn't work for me. Still grayed out. Tried it with the GPS enabled and disabled. Might have to stop using TT in the mean time.
[Nexus 6P General] batjnr:
Why don't you grab SwiftKey keyboard apk from apkmirror and install it? If you really want MIUI fixing a keyboard is the least of other headaches
[Nexus 6P General] Andromjb:
You and the others aren't understanding the problem fully. It's about HOW to install it. At which point in the process. But I got it working.
[Nexus 6P General] tr4nqui1i7y:
If you're unhappy with the newer gapp and su method as it's written, please feel free to add amendments.

I have the latest user input linked in the OP.
[Nexus 6P General] skw5115:
Click on 'location access' after clicking on the widget. Then you'll see Google play services, click on it. From there, click permissions and you'll be able to change them there
[Nexus 6P General] Andromjb:
I do ROM reviews often. The whole point of getting this working is to make a how-to video. I got one method working. Going to try and simplify it now.

Also the Gapps package you linked (here) does not work (not flashable). At least not on latest twrp-3.0.2-2. I had to use the one here.

Lot's of confusion with the Gapps links & multiple install methods. But that's why I make videos. To help people figure it out.

Thanks a bunch for the ROM! I fully support this & seems to run stable once you get passed the hurdles.
[Nexus 6P General] HikingMoose:
There is no Google play services even when I click the widget, and then on "location access". I can't upload a screenshot to show because when I click on the image icon, Google play services force closes and it backs me out of my reply. Lol. Grrr

Maybe you can show me screenshots of yours? Not sure why you guys have play services under location if I don't.
[Nexus 6P General] joransrb:
Been testing a bit now, and root works, and Google services, for the most part. There are some errors thou, like google fit can't download data, sometimes apps won't download from the play store and some other random crashes here and there.

But its really fast, and have come a long way the past days, so keep up the great work :)
[Nexus 6P General] anveshparashar:
@ tr4nqui1i7y i am also building miui for my device(moto G3) can you guide me how you changed boot.img like things in init.environ.rc and init.rc. i have succesfully made a update.zip
[Nexus 6P General] tr4nqui1i7y:
Grab a file comparison tool, like meld. Also superrs kitchen or whatever img decompiler you want to use.

I'm not sure exactly for your device. I used this for a starting point.

http://www.osbusters.net/2015/11/how-to-port-miui-7-rom-to-qualcomm-smartphones.html?m=1

Find a device with the same chipset as yours with miui. Make sure the versions are similar. Compare the stock/cyanogen with miui after it's decompiled to figure out what changes need to be made.

Also, check if dm-verity, forced encryption, and all that other fun stuff gets in the way of a successful boot. MIUI is a picky s.o.b
[Nexus 6P General] d3viou5:
I can't explain why, but after a clean install there are no keyboards. I installed Fleksy from the MIUI store and when fleksy asks you to choose the keyboard during setup, the google keyboard is magically there. You can then uninstall fleksy and Google keyboard will remain........ That's my experience anyway.
[Nexus 6P General] pacods61:
i never lost the miui keyboard lol!!! Anyway to get notification sound?
[Nexus 6P General] HikingMoose:
I still haven't found a way to give google play services the permissions it's demanding. I still get force closures, and a lot of "Unfortunately android system has stopped". I wish I could just open the location widget, and toggle the top and then have access to google services permission, but it's simply not an option and doesn't work for my phone.

I've installed google, because I noticed I didn't have it. But that still doesn't help, I still get the android system has stopped. I might have to bow out and get back on AOSP before bed, because I have to work tomorrow :(

What if I deleted all of my google apps, and reflashed the Gapps. Would it be possible to get permissions to work? Maybe I clicked something wrong at some point when I was setting up?
[Nexus 6P General] thoiloidainhan:
U r trying to get Tapatalk works right? In my experience I don't need to log in with google for Tapatalk, try signing in using Tapatalk id and password
[Nexus 6P General] HikingMoose:
Well, yes. But I'm trying to get the FC's to stop too. I want to be able to upload pictures and stuff. I am thinking the play services issue, might be causing my android system to keep failing.

I like it too much to just bail! I've been trying for ike 3-4 hours to solve this. My head hurts now. lol
[Nexus 6P General] tr4nqui1i7y:
This is a shot in the dark, but check all of the permissions in the permissions app. MIUI is pretty strict with them. I need to do some digging and get some logcats to figure it out.
[Nexus 6P General] HikingMoose:
Can I get a log cat? How would I do it, evoke the FC and then get a log cat? (I need to brush on how to get a log cat, I haven't done it in a while. lol)

The problem is, I can't get to the permissions because they are grayed out. Even if I use the widget to turn on location (the work around that others have had success with).