yashsingh1/xdaforums huggingface dataset:
[Mogul, XV6800 ROM Development] Saitac:
My xv6800 will connect to my WiFi router with a good signal quality and I can surf the web just fine but it will randomly disconnect from that AP. When it does disconnect - my AP is no longer in the list of available networks but other networks are still available and can be connected to. After about 45 secs my AP will show back in the list and I will be able to connect to it or I can cycle my WiFi on/off/on and my AP may (has to be off for about 10 secs or more) be back in the list.

Doesn't matter which router it is (same thing happens at work and other places). The disconnect only occurs when their is a pull on the WiFi (i.e. I load a page, watch a video, stream something) but if I'm just sitting there not surfing the WiFi will stay connected. It also doesn't matter what type of browser it is or what type of data it is or the quality of signal (happens on PIE, Opera Mobile, Netfront, GoogleMaps, Tom Tom Traffic even while right next to source with near full bars).

I had this problem when my phone was on a stock rom and have since flashed my rom to a DCD Rom (user created rom) and I still have the same problem.

Any help would be welcome?
[Mogul, XV6800 ROM Development] Saitac:
this may be in the wrong section - just noticed

p.s. it is a verizon xv6800
[Mogul, XV6800 ROM Development] azclown:
If this issue happens on the stock ROM, then i suspect a hardware issue.... Sounds like you may have to get a new phone....
[Xiaomi Mi 8 Lite Guides, News, & Discussion] santiagog242:
Hello everyone

UPDATE!!!

Now you can skip all the tutorial, and just install the magisk module:

"GCam enable for XiaomiMi8Lite", then you install the GCam.

Thanks to [MENTION=6040810]ncandroid84[/MENTION]

But if you want to do all the process manually:

I'm doing this post because no one knows how to do this and I have the solution so I want to share it with you.

First of all, I assume you are an advanced user and have rooted your device with the guides of xda forums, so don't ask about it, please.

Also I've seen that many people done magisk modules, scripts and blabla, but also many people said that those methods don't work, so this is the manual method.

So let's do this.

1. Install a build prop editor (search in play store) and add the following lines in "persist" part:

For Oreo:

persist.camera.HAL3.enabled=1

persist.camera.eis.enable=1

persist.vendor.camera.HAL3.enabled=1

For Pie:

Now save and restart your device. Check with the app "Camera2 probe". You should see at hardware support level "LEVEL_3" checked and with green text.

If you see this, now you have Camera2 API enabled.

But... Front camera doesn't work anymore, with any app, so you have to replace a file.

2. Install a file manager with root that let you modify file permissions and access your root folder.

You should download the next file:

Oreo:

https://drive.google.com/file/d/1w2Qw34Pmy0dLmlXRYRSm8JyKgEb2mZ6u/view

Pie:

https://drive.google.com/file/d/1u7AREkr6_QKKdSZw2s_5itYk0xkKYTm2/view

-Copy the file.

-Now, go to to /vendor/lib and paste it. Replace the existing file.

-Now set the following permissions in the new file you pasted:

Owner: Read and write.

Group: Read.

Other: Read.

Or rw- r-- r-- for advanced users

Save and restart.

Now you see that front camera works fine with many apps except stock camera. This is when you install the gcam.

I'm using now the Arnova's Advanced 1.4 version downloadable at Celso Acevedo's page. (Google it).

Also, 4k recording doesn't work but you can use stock camera for this.

That's all and I hope I've helped you.
[Xiaomi Mi 8 Lite Guides, News, & Discussion] vagoybostero:
Hi! I did these steps into the build.prop but Camera API shows me the support level "LEVEL_3" in red
[Xiaomi Mi 8 Lite Guides, News, & Discussion] renan1217:
I have downloaded the apk from this link: https://www.celsoazevedo.com/files/android/google-camera/f/changelog380/ and not work.
[Xiaomi Mi 8 Lite Guides, News, & Discussion] ugurmutlu21:
pls help

hi dear pls help

the front camera doesn't work.

camera2 open

please take a video.how do I do it?
[Xiaomi Mi 8 Lite Guides, News, & Discussion] kennethstarr:
Read this:

https://xdaforums.com/showpost.php?p=79237524&postcount=2

Import config:

https://www.celsoazevedo.com/files/android/google-camera/f/settings09/
[Xiaomi Mi 8 Lite Guides, News, & Discussion] ugurmutlu21:
I've uploaded the files.

he front camera doesn't work.
[Xiaomi Mi 8 Lite Guides, News, & Discussion] Batpope:
For Pie you need the following settings in order to enable Camera2API correctly:

persist.vendor.camera.HAL3.enabled=1

persist.camera.HAL3.enabled=1

persist.camera.eis.enable=1

The front camera fix works like a charm, thanks!
[Xiaomi Mi 8 Lite Guides, News, & Discussion] ugurmutlu21:
front camera does not work

no work :(
[Xiaomi Mi 8 Lite Guides, News, & Discussion] Batpope:
You need to download the libmmcamera_platina_imx576_sunny.so file posted above. Once you overwrite it, change the permissions and it should work.

Remember, after this fix the front camera won't work with the stock camera app, but it will work on all other apps, including gcam
[Xiaomi Mi 8 Lite Guides, News, & Discussion] ugurmutlu21:
yeah, I did, but no, it's not working.
[Xiaomi Mi 8 Lite Guides, News, & Discussion] santiagog242:
Make sure you have edited the build.prop correctly.
[Xiaomi Mi 8 Lite Guides, News, & Discussion] ZÉlemento:
I thought the API would be enable in the latest update to Pie. Or they will enable it in the next miui update?
[Xiaomi Mi 8 Lite Guides, News, & Discussion] chaiwatz:
Thank alot..

It worked for MI8 Lite Havoc-OS-v2.4..:good:
[Xiaomi Mi 8 Lite Guides, News, & Discussion] Abdullah105:
Hoping for getting a official update ?
[Xiaomi Mi 8 Lite Guides, News, & Discussion] aggelos1661:
Hello I have enable camera2api and installed gcam but my front camera doesn't work

my file explorer doesn't let me to paste and replace the fix file into root /vendor/lib i try to do it with other file explorer but i have the same problem.
[Xiaomi Mi 8 Lite Guides, News, & Discussion] Hucast_DL:
Replacing the libs broke the instragam front cam.... Any solution?
[Xiaomi Mi 8 Lite Guides, News, & Discussion] GuGor:
Sometimes Gcam stops taking photos and i need to reboot the phone. It is normal? Any fix? I use latest Pixel Experience rom.

Do you have the same problem using Gcam in Miui?
[Xiaomi Mi 8 Lite Guides, News, & Discussion] J0K3RAS:
I am on pixel experience too. I have noticed that the camera doesnt take pictures not only on gcam, but on every app that uses the camera. I have tried both caf and aosp versions of PE and i had this issue
[Xiaomi Mi 8 Lite Guides, News, & Discussion] lapist:
How much better is quality of the photos from GCam over stock MIUI camera on this phone? Is it worth doing and loosing front camera in stock app (and have it just as 6 Mpx in other apps) over using just stock camera?
[Xiaomi Mi 8 Lite Guides, News, & Discussion] Oshmar:
Honestly, I did not see that difference, so, no, definitely not worth it.
[Xiaomi Mi 8 Lite Guides, News, & Discussion] JoacoO1905:
Wich apk use to change the permissions?
[Xiaomi Mi 8 Lite Guides, News, & Discussion] Oshmar:
I do all the described procedure, but does not enable the api in level 3, just in legacy, any suggestions?
[Xiaomi Mi 8 Lite Guides, News, & Discussion] santiagog242:
Updated the OP, maybe will help you.
[Xiaomi Mi 8 Lite Guides, News, & Discussion] Immortal0907:
Gcam now fixed front cam resolution, until lib switching it shows 24mpx. After lib is changwd it goes back to showing 6mpx any chance you can fix that?
[Xiaomi Mi 8 Lite Guides, News, & Discussion] santiagog242:
Nope! It is the real resolution of the sensor, the thing is, the imx576 is a quad Bayer sensor, and the interpolation results in a 6.2 MP image. That's all. Something similar that happens with the 48 MP sensor of the redmi note 7.
[Xiaomi Mi 8 Lite Guides, News, & Discussion] virtualself:
Has anyone tried the manual process without root?

I've edited the build.prop with adb in TWRP and now camera2 is enabled, but I can't fix the front camera with the 'lib.so'

TWRP

Mount /system /vendor

adb push 'lib path' /vendor/lib/
adb shell
#chmod 644 /vendor/lib/'lib name.so'
#exit

Am I doing something wrong?
[Xiaomi Mi 8 Lite Guides, News, & Discussion] ma4a3er:
With these edits front camera doesn't work with stock app
[Xiaomi Mi 8 Lite Guides, News, & Discussion] TrueMS:
Google camera has real and more accurate colours and has much better night mode, however talking about pictures in pure daylight - sometimes I cant see any difference. Speaking of front camera, MIUI is better.
[Xiaomi Mi 8 Lite Guides, News, & Discussion] Duvan88:
I did the procedure but now the stock camera and the gcam do not work. any solution?
[Xiaomi Mi 8 Lite Guides, News, & Discussion] khiiiy:
Anyone who have lib original miui 10.2.2.0 oreo. Im forget about bavkup :( . Now front miui cam doesnt work...
[Xiaomi Mi 8 Lite Guides, News, & Discussion] lapist:
Front MIUI camera never works after enabling camera2api, right?
[Xiaomi Mi 8 Lite Guides, News, & Discussion] Duvan88:
The same happened to me. The only solution was to flash miui room stock
[Xiaomi Mi 8 Lite Guides, News, & Discussion] savatage_dude:
thanks worked great!
[Xiaomi Mi 8 Lite Guides, News, & Discussion] Wickerxd:
which gcam port is "best" for the mi 8 lite?
[Xiaomi Mi 8 Lite Guides, News, & Discussion] redblack68:
Hi,

i would like enable camera 2api with magisk module. The question is: If i will come back, is sufficient uninstall the module ?
[Xiaomi Mi 8 Lite Guides, News, & Discussion] Julio Cost4:
Boa noite. Atualizei meu mi 8 lite . Miui 11 . Não estou conseguindo habilitar API 2. E não sei editar abrir o arquivo pra colar esses . Podem fazer um vídeo ?
[Xiaomi Mi 8 Lite Guides, News, & Discussion] Patitoqw71504:
How enable API2 gcam on Android 10

After upgrading from Android 10 to Mi 8 Lite, it became impossible to enable API2 and use GCAM. Any solution?
[Xiaomi Mi 8 Lite Guides, News, & Discussion] santiagog242:
I'll try to work on that but without any compromise, I'm not a developer and have some basics with this.
[Xiaomi Mi 8 Lite Guides, News, & Discussion] Ebæ:
Sorry for asking, but how long do you think it will take to do that to get camera2?
[Xiaomi Mi 8 Lite Guides, News, & Discussion] Patitoqw71504:
Thansk bro, Any news, please let us know here
[Xiaomi Mi 8 Lite Guides, News, & Discussion] Destroid111:
Good day! Everything listed above does the job for Android 9 / MIUI 11, but how about Android Q / MIUI 11? Recent update with MIUI 11 based on Android 10 left me sad and broken because now I can't enable Camera2 Api same way I did for Android Pie.
[Xiaomi Mi 8 Lite Guides, News, & Discussion] the_poseidon:
any available solution for gcam on android 10 ??
[Xiaomi Mi 8 Lite Guides, News, & Discussion] Margo76:
Hi! I need some help to setup Gcam to my Mi8 lite. I've downloaded several versions of .apk files but I've met with same problem: the camera app always chrased. I couldn't open it. The only one way is to delete the app. (My smartphone is global version - without root.) Has anyone idea? Thx
[Xiaomi Mi 8 Lite Guides, News, & Discussion] Ferdypra:
thanks for the very helpful information. I will try it . but what about for android 10 is there a file? 🙏
[Xiaomi Mi 8 Lite Guides, News, & Discussion] Atharkhan101:
I have enabled Camera 2 api via Buildprop and now I want to revert/disable camera 2 api. Do anyone know what the original Values were in Buildprop file?
[Xiaomi Mi 8 Lite Guides, News, & Discussion] Hannn5:
For android 10 ?
[Huawei P20 Pro Guides, News, & Discussion] GuestK00449:
My brand new p20 pro is now having a battery drain issue, something thag i never had with my old p9 lite device

Adter updating it to emui 9, my phone drains overnight. I left it at 90% and it drained 5-6% battery.

What is going on!?
[Huawei P20 Pro Guides, News, & Discussion] arty_a:
Go to Settings -> Battery -> Battery Usage and check what drains your battery. Usually it's bad cellular network reception (you will see more "Cell standby") or some app.

Just a note - AOD (always-on-display) does drain your battery (yes, OLED display, black colours, bla-bla-bla, just test yourself), so if you want it enabled (because it's convenient, I use it too) keep your phone face down on your desk/bedside when you don't need it.
[Huawei P20 Pro Guides, News, & Discussion] GuestK00449:
Yes., the cellular standby thing is draining my battery, also AOD drains like very little power from the phone. I set it to turn off itself at 22:00PM and turn on in the morning at 7
[Huawei P20 Pro Guides, News, & Discussion] arty_a:
Well that is your answer. If you have bad cellular network signal you phone will drain battery faster to keep you connected. Just to confirm it you can try using your phone with a different carrier (that has better coverage) for a day or two and see if battery doesn't drain so fast.
[Huawei P20 Pro Guides, News, & Discussion] GuestK00449:
I always have great signal but how comes it goes low or drains the battery when i have full signal?

I guess I should stick to 4g instead of 3g?
[Huawei P20 Pro Guides, News, & Discussion] arty_a:
Go to System -> Settings -> About phone -> Status -> Network

Check the values there and google what is considered "good".

Signal quality affects battery drain because any fluctuations make the modem in your phone work harder (scan more frequently for better signal, jump between frequencies etc.), this can be caused by weak cellular signal, changing between bands/frequencies (3G/4G), changing between cellular network controllers (antennas) etc.

Taking it further, it can be also a hardware problem in a particular device.

P.S. I don't know your exact situation and never saw or used your device, and everything I say may be completely irrelevant, I'm just giving a lead to look into.
[LG V40 Questions & Answers] jefftriplex:
I was curious if anyone knew what would happen if i disabled the MCFG status in the screenshot provided below from hidden menu

http#//i.imgur.com/sOjewA8.jpg
[Xiaomi Mi 9 Questions & Answers] Myself-:
Hi all,

I plan to go to China very soon. And to buy a MI 9 (probably the transparent version - 256GB). I was just wondering if it is possible, as of today, to replace the Chinese rom with the EU one.

What are the pro and cons?

Thank you all have a nice day!

:):):)
[Xiaomi Mi 9 Questions & Answers] brathaneq:
hello there!

First of all - Yes, it is possible to replace chinese ROM with EU one. I myself did that on mine and my wifes phone. A Friend of mine was traveling from China to Europe and I got mine phones before european premiere. In order to do that - you will have to unlock the bootloader (fairly simple if you know how to plug USB cable and install one program on the computer) which usually takes about 360 hours. After that - you can flash global ROM, or any other.

Pros - You don't have bloatware from China, no chinese adds, some of the system itself is missing in chinese version (but the phone is fully usable anyway)

you can use xiaomi.eu ROM, which has improvements from community.

Cons - Not sure about warranty after BL unlock, or is the waranty is global.
[Xiaomi Mi 9 Questions & Answers] Myself-:
Hi,

Thanks for the reply. I really appreciate the detailled response.
[Xiaomi Mi 9 Questions & Answers] GIGAMANO:
I read that if you locked the bootloader after that you will get your phone soft bricked :confused:
[Xiaomi Mi 9 Questions & Answers] Deleted member 5408779:
You will brick your phone, if it's not stock rom and you relock it! If you go full stock and relock it works great.
[Xiaomi Mi 9 Questions & Answers] Myself-:
Can you provide the most up-to-date guide to switch the rom from the CN to EU version?
[Xiaomi Mi 9 Questions & Answers] kalliffen:
MI 9 change

Hi Kollachi.

just to be sure here...

if i have a Chinese MI 9 it should be possible to flash the Global MI 9 ( Version: V10.2.3.0.PFAMIXM (MIUI10) ) and afterwards lock the bootloader again, without getting a bricked device ??
[Xiaomi Mi 9 Questions & Answers] brathaneq:
Just the bullet points, basic knowledge of android needed :)

1) set up your phone with Xiaomi (register mi account, link the phone with it, log on the mi page and see if everything is in green - passwords, phone number, etc)

2) download mi unlock tool. No need to register or write petitions. just download and run

3) switch off phone. turn on phone while holding the volume down key. It will run in fastboot

4) connect with PC. press unlock on the unlock tool. Confirm 2 warnings (5 secunds pause for each), and look at % meter going up to ~99%. Then you will have information that You need to wait 360 before unlocking the phone

5) wait 360 hours --> 15 days. Use phone as normal until that time.

6) make backup of the phone (Mi cloud backs up sms, call logs, etc).

7) run the unlook tool again, turn the phone to fastboot more (point 4) and press unlock. this time it should go all the way to 100%, stating the phone is unlocked.

8) [optional] the phone will reboot, but you should keep the volume down pressed, to enter fastboot once again. Once in fastboot - you can flash TWRP ( with the help of minimal ADB, there is a guide for it)

9) [optional] once TWRP is flashed - press power, the phone will shut down. then restart the phone, but this time volume UP.

10) [optional] You will enter TWRP recovery. Things to do:

- wipe data (to remove encryption)

- connect the phone to the PC, set the phone to "mount" mode and download apropriate ZIP file to the root folder of the phone

- flash the ZIP

- restart

NOTE, that You will have to login with MI cloud login and pass after boot loader unlock.(first time the phone starts to MIUI). Usually the password is enough, as the phone will discover your phone number. I had some difficulties with it, as I had the alerts in chinese ;) You should have wifi avaliable, as I am unsure if you can connect in this moment via cellular network.

hope it helps.
[Xiaomi Mi 9 Questions & Answers] Deleted member 5408779:
thats the only thing i dont know... it interests me too.:)
[Xiaomi Mi 9 Questions & Answers] Firevox24:
the Global Version has LTE B20.

I read that the china version doesn't have B20.

after flashing to the EU / Global version, do I have LTE again?
[Xiaomi Mi 9 Questions & Answers] brathaneq:
Bands are hardware related, so after flashing global ROM you won't have B20 avaliable.

Other bands will work, so it is possible that You will have LTE in your country, depending on the bands used by your carrier.
[Xiaomi Mi 9 Questions & Answers] kalliffen:
yea..

although i got the device fairly cheap ( bought it directly at a MI store in China ) it's a bit to much money to end up with a bricked phone.

i actually bought 2 , but i'm still to much a chicken to try on either of them ... lol
[Xiaomi Mi 9 Questions & Answers] GSmartW:
Mi9

----------------------------------

Yeah I bought the transparent version (living in Switzerland) and as much as I want to try the global ROM, I want to wait a bit. Any way to re-program the left shortcut button to google without changing the ROM? Thanks
[Xiaomi Mi 9 Questions & Answers] sator02:
You'll brick your phone if you have Chinese mi 9 and flash Global/beta rom and afterwards you lock your bootloader
[Xiaomi Mi 9 Questions & Answers] kalliffen:
Hi Sator.

is that only if you use TWRP for flashing or also if you use Miflash ?
[Xiaomi Mi 9 Questions & Answers] sator02:
It's safe if you use TWRP since your bootloader is still unlocked, if you flash using mi flash make sure you choose clean all, do not choose clean all and lock (always check before flashing your rom), your phone will be bricked.
[Xiaomi Mi 9 Questions & Answers] kinsiong:
So in other words, you can flash mi9(china) with the global rom but you must never lock the bootloader as it will brick the phone.

Only lock the bootloader if the mi9 is on china rom. Is this correct ?
[Xiaomi Mi 9 Questions & Answers] sator02:
You're right
[Xiaomi Mi 9 Questions & Answers] Myself-:
Super guide! Thanks. So what part of the tutorial might lead to a brick?
[Xiaomi Mi 9 Questions & Answers] brathaneq:
In theory - all above is fairly safe.

You will brick the phone, if you chose to "lock" your bootloader after doing all activities from my list.

don't do that, and you should be ok.
[Xiaomi Mi 9 Questions & Answers] kalliffen:
Yes, i bricked mine trying to lock bootloader afterwards... BUT, i brought it back to live flashing latest China Stable / China DEV on it.

mine is a Chinese model bought in China.
[Xiaomi Mi 9 Questions & Answers] tom13mcpherson:
Tune delay unlocking

Hi

Does anyone know if the phone has to be on and Sim card in it for the hours you have to wait?

I've got 168 hours

Thanks

Tom
[Xiaomi Mi 9 Questions & Answers] Myself-:
Hello guyz!

I have managed to unlock the device but I face the following challenges:

- Whenever I install TWRP, I can't use 'push adb' to install magisk

- Once I restart the phone, TWRP is gone

My question is, how can I simply change the ROM from chinese to global?

THX!
[Xiaomi Mi 9 Questions & Answers] csjneek:
Very simple, after unlock flash with miflash any official firmware you want. Global or eeu for Europe only

http://en.miui.com/a-234.html

Very important ! Select clean all only !

Do not select clean all and lock!
[Xiaomi Mi 9 Questions & Answers] Myself-:
None of the tutorial works. Its unbelievable. Cant someone provide a solution for MAC OS or Windows?
[Xiaomi Mi 9 Questions & Answers] tawa2525:
Before you do anything with that flash tool, just keep in mind to check if

" CLEAN ALL AND LOCK" ARE NOT SELECTED

IT IS SELECTED BY DEFAULT EVERYTIME YOU RUN THE TOOL

I bricked mine once because of that and need to send it to China for repair

BTW, you cannot use " hey Google" on EU rom, if it's matter for you then go for global
[Xiaomi Mi 9 Questions & Answers] csjneek:
Why mi flash is not working? What is the error ?
[Xiaomi Mi 9 Questions & Answers] Myself-:
I finally managed to install the MIUI 10.5 by xiaomi.eu 9.6.20 Beta. Is it the latest version?
[AT&T Samsung Galaxy S7 Edge Questions & Answers] Efrencalvario:
Hello

I bricked my phone now is stuck on recovery booting and no command screen

I can't get into recovery mode, i will replace the mother board but will that change my imei? And binary number? Am i gonna have to flash again the firmware?
[AT&T Samsung Galaxy S7 Edge Questions & Answers] jshamlet:
The short answer is yes, IMEI will change as it goes with the motherboard. The longer answer is try getting the phone into download mode and use Odin to reflash before messing around with the recovery (which is close to useless) or replacing the motherboard.
[AT&T Samsung Galaxy S7 Edge Questions & Answers] Efrencalvario:
So the binary could change? Is the rom stored in the mother board?
[AT&T Samsung Galaxy S7 Edge Questions & Answers] jshamlet:
The motherboard practically *is* the phone. Yes, everything is stored on it with the exception of your carrier credentials, which are on your SIM card.
[AT&T Samsung Galaxy S7 Edge Questions & Answers] @NOSTROMŒ:
It is end!!!
[Xiaomi Mi Note 3 Questions & Answers] amir_loh66:
I have face a problem recently, after few hours inactivity with my phone, once I want to work with my phone the screen doesnt turn on while back light of back and recent bottom is on, it takes few minutes to turn on or sometimes screen flashes on and off

I have faced this issue on Epic rom/ Lineage rom
[Xiaomi Mi Note 3 Questions & Answers] zaqm:
No such problems on Lineage. Try clean flash with System, Data, Cache, Dalvik and Vendor wipes.
[Xiaomi Mi Note 3 Questions & Answers] amir_loh66:
Ok, I will flash lineage again

do i need to flash latest firmware of miui 10 after flashing lineage?
[Xiaomi Mi Note 3 Questions & Answers] zaqm:
You need to flash it first v10.2.3.0 https://sourceforge.net/projects/xi...V10.2.3.0.OCHCNFK_0b0fb42fee_8.1.zip/download Then flash Lineage and Gapps. NOTE that after build 05/04 you need the unofficial twrp posted in the Lineage thread.
[Xiaomi Mi Note 3 Questions & Answers] amir_loh66:
flashed as you mentioned with your offered recovery but after 6 hours working with the phone, again same problem accured!