yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi MIX  Questions & Answers] james1089:
Well just let the phone battery go flat, unplug the battery overnight, you will have to leave it charging for 12 hours before it will turn on again. It's a possibility it's stuck in some weird mode and the only thing that will maybe fix it is that, if it doesn't work at least you tried everything. Don't panic when you plug it in and won't turn on just let it sit on charge.

---------- Post added at 04:08 PM ---------- Previous post was at 04:04 PM ----------

It's just to risky not to install twrp for instances like that, it's not like you are going to send it in for repair.
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
i'll give it a try
[Xiaomi Mi MIX  Questions & Answers] nabeelmoeen:
Yes, that's what I read in a couple of places, that the after market USB ports didn't have all the Pins and hence weren't supporting Fast charging. Not sure, but that might be the reason for USB error too.

btw, which MIUI version are you on?

As per Xiaomi there is no way for me to downgrade on official unlocked ROM, that's the only option I haven't already tried :S

Note: and I am waiting for my order of USB-C board and the mobile repair kit... to give it a shot:D
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
How do we find a USB port with the correct pins?! The one I ordered from aliexpress does look different than the original one in my phone.

I'm on 9.5.2.0, mine came with unlocked bootloader.
[Xiaomi Mi MIX  Questions & Answers] james1089:
Well let's face it the original one isn't working, really doubt there would be any point in making 1 without the correct pin's in place, no one likes negative feedback
[Xiaomi Mi MIX  Questions & Answers] CanadaMix:
yes please keep us posted! did you order your replacement piece from aliexpress?
[Xiaomi Mi MIX  Questions & Answers] nabeelmoeen:
yes, unfortunately that's the only place I found one .... I thought it was worth the risk for $4.

---------- Post added at 02:37 PM ---------- Previous post was at 02:32 PM ----------

I guess it is easier making one that 'charges' vs. one that 'fast charges' specially for something under $5.

in this case it's not worth it to us because we're specifically looking for Fast charging and/or USB connectivity.

on the other hand for someone with a dead USB-C board that doesn't work at all, this low cost option to get something to bring the device back to working condition is still a significant benefit, even without fast charging.
[Xiaomi Mi MIX  Questions & Answers] james1089:
If you read the reviews of the highest amount of orders no one saying charging issues, that's with 104 sales, would of thought someone would of checked that before leaving feedback.
[Xiaomi Mi MIX  Questions & Answers] nabeelmoeen:
Of course, and I give people the benefit of doubt that they are also smart enough to review the details when placing the order.... and yet, there are quite a few complains on the forums about differences in the aftermarket USB C boards vs whats in the phone.

having said that, like I said, there aren't a lot of other options around, let's see when my order arrives
[Xiaomi Mi MIX  Questions & Answers] james1089:
I wonder if they reset phone after installing, or disconnected the battery before installing. If not there could be some safety feature in place to not fast charge and lower the voltage.
[Xiaomi Mi MIX  Questions & Answers] leighaus:
i have the same issues.. no USB at all with my mix 2s. my mi6 is still fine, my wifes moto is fine.

after i did a rom update (global thru OTA), i lost quick charge, i lost 1 side of headphones via aux/usb c..

due to the incredibly slow charge speed (was fine before i upgraded to 9.6.4..0) i looked to unlock.. and disovered my USB issues..

To the other guys, i definitely think this is actually a ROM issue, not a charge port issue. I have the exact same symptoms. I havent dropped my phone or done anything untoward and its under 2 weeks old. I'm basically stuck with a phone that takes FOREVER to fully charge (like 3% takes 30 minutes) until xiaomi release an OTA.
[Xiaomi Mi MIX  Questions & Answers] heindrix:
or, you can use developer rom, which is being updated once a week.
[Xiaomi Mi MIX  Questions & Answers] leighaus:
good point.. i became so focused on unlocking my bootloader, i got stuck on USB/drivers.

ill try install the dev rom via internal updater from /downloads.

if that fixes USB issues, ill let you guys know.

_EDIT_ - "cant verify update - couldnt verify. looks like current android version is different from that in the recovery package. Try flashing your device in the fastboot mode." even if i change the package to update.zip...

wont let me update from MIUI9 to MIUI10 from the internal updater .

_EDIT2_ - retried about 20 times and it eventually let me update to miui 10 dev edition. :)
[Xiaomi Mi MIX  Questions & Answers] :
hi , i have the same problem with my mi 8, usb c works with the jack adapter, it charges the phone but it doesnt work when i connect it to the pc, an usb or keyboard with the adapter

i didnt drop the phone or anything it just stopped working

did anyone fix it?

thanks
[Xiaomi Mi MIX  Questions & Answers] heindrix:
try to install MI PC Suite, and try again.
[Xiaomi Mi MIX  Questions & Answers] :
thanks for your response but it didn't work, tried with 3 computers (win 7 and 10) and 3 different cables and it didn't work. Could it be possible a hardware fault but charging and audio still works?
[Xiaomi Mi MIX  Questions & Answers] james1089:
And you installed the driver's bundled with miflash?

Obviously you will have to uninstall any previous driver's and start windows without windows driver's authentication
[Xiaomi Mi MIX  Questions & Answers] baldmosher:
It's an old thread, but this same thing has happened with my Mi Mix 2.

I've tried 3 different versions of MiFlash, 2 different versions of the USB drivers, on 2 different Windows 10 laptops (one is the laptop I used to root & unlock the phone 2 years ago, so may have some driver problems, the other is a completely clean install of drivers & software).

I'm getting a Windows notification saying that the "USB device has malfunctioned" when I connect to it on the clean laptop. So I'm fairly convinced that it's a brick. :(

It has been doing strange things for a while, like refusing to charge on one of my USB cables that works fine with other phones, for no apparent reason, and it's got other random hardware problems including needing the charger port replacing in the past, so it doesn't really surprise me that it's gone wrong.

I'm just annoyed that I didn't put all the relevant ROMs and files that I might need on the phone -- not to mention doing a system backup -- before I started trying to update the firmware this morning.... I'm just so used to having a device with a SD card slot!!
[Raspberry Pi General] Oswald Boelcke:
PiVPN in Combination with the Pi-Hole

Updated on 2019-06-15.

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

PiVPN in combination with the Pi-Hole

Please allow me to mention of another great advantage of having PiVPN together with Pi-hole on one and the same Raspberry Pi:

All of our mobile devices, which connect via OpenVPN with our home network, benefit from the Pi-hole i.e. no advertisement or trackers that follow us at every turn when connected to the web via mobile data or a WiFi network other than ours.

However, in order to achieve this I was require to slightly modify two configuration files on the Raspberry Pi as described below (please refer to the screenshots) - and ok, it's self-evident that I had to first install Pi-hole and PiVPN on the same Raspberry Pi before as described in this thread.

At first, I modified the OpenVPN server configuration by nano via the Raspberry Pi's console:

sudo nano /etc/openvpn/server.conf

The file opened and I looked for those two lines showing the IP-addresses of the DNS servers of my choice and as mentioned in the posts above:

push "dhcp-option DNS 85.214.20.141"
push "dhcp-option DNS 213.73.91.35"

I deleted one line and modified the other one to read:

push "dhcp-option DNS 10.8.0.1"

As DNS-server for all of our clients I've therefore defined the IP address of the VPN interface (tun0) (originally the local IP of the eth0 interface) of our Raspberry Pi, and hence forward all DNS-requests to the local DNS-server (dnsmasq) of the Pi-hole.

With its latest release Pi-hole changed the content of dnsmasq.conf located at /etc (for details refer to DNS Resolver in the Pi-hole documentation). dnsmasq.conf now simply points to a new folder named dnsmasq.d that is also located at /etc (refer to attached screenshot 1). This folder now contains the actual configuration files and is initially only populated with one file called 01-pihole.conf, which is the configuration file of Pi-hole's dnsmasq. 01-pihole.conf is used and modified by Pi-hole itself, and no custom modification should be made to it (refer to screenshot 2). However, additional configuration files in this folder will be executed in sequence by dnsmasq / FTLDNS.

This means I created a new file called 10-general.conf with the content:

cd /etc/dnsmasq.d
sudo touch 10-general.conf
sudo nano /etc/dnsmasq.d/10-general.conf

Insert line:

interface=tun0

This means we added a line with the VPN interface (tun0) that is listening on IP 10.8.0.1 by default.

Finally, I simply rebooted the Raspberry Pi.
[Raspberry Pi General] Oswald Boelcke:
OpenVPN for Android

OpenVPN for Android

As already stated in the OP that also contains a few screenshots, I only use OpenVPN for Android by Arne Schwabe on our Android devices. No experiences with other OpenVPN applications and most likely never will because Arne's app is easy to configure and perfectly running and performing as expected by me.

During the installation of PiVPN and as explained in post #4 I created profiles for each of our mobile Android devices. I transfered the respective profile file (name something like "MyClientName.ovpn") to the respective device. I installed "OpenVPN for Android", opened the application, granted permission to "storage" and just imported the before mentioned file. If I correctly remember the application questions the password I created during the creation of the profile. This password is always queried when starting on OpenVPN connection. That was all; I didn't modify anything in the settings of the application.

Please acknowledge these Security Considerations provided by Arne on his FAQ page:
[Raspberry Pi General] Oswald Boelcke:
Dynamic DNS

EDIT (2018-06-15)

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

Dynamic DNS

You are certainly aware that a lot of or most Internet Service Provider (ISP) assign dymnamic IPs to an Internet account - at least mine does i.e. my ISP regularly or occasionally changes the IP-address of my account. You can easily retrieve the IP address currently assigned to your account by e.g. IP/DNS Detect (and which additionally offers a lot of other useful information about your current footprint in the web - or how well they are disguised by your browser addons).

However, with Dymnamic DNS it's possible to connect to my Fritz!Box respectively the Raspberry Pi despite the changing IPs by use of an unchanging domain name. In order to actually achieve this, a dynDNS-provider is required. I personally went with Two-DNS that offers an account with up to five free hosts and to choose from a wide collection of domains. Below I try to explain how I configured our Fritz!Box for the use of Two-DNS.

By default, the Fritz!Box already cooperates with a lot of dynDNS-providers but not with Two-DNS; however, via the option "user defined/customised" it's pretty easily achieved.

Create your Two-DNS account.

After you created the account, a "New Host" is created by Two-DNS.

You can choose any host name you want unless it's already in use. The dropdown box offers you different possibilities for the domain (part).

Just as an example; it's not my actual domain name (in blue the host name; in green the domain): "myfritzbox.my-wan.de". The Fritz!Box respectively the Raspberry Pi can later be called up by this domain name.

This completed the setup of the account/host at Two-DNS. Now we need to access the web-interface of the Fritz!Box.

Via "Internet => Permissions => Dynamic DNS" (I hope the settings translate this way to English but I'm convinced you're figuring it out) the following settings were assigned:

Dynamic DNS-Provider: User defined/customised

Update-URL: https://update.twodns.de/update?hostname=<domain>&ip=<ipaddr>

Domain name: your domain (e.g. myfritzbox.my-wan.de)

User name: the email address you registered with Two-DNS

Password: your Two-DNS password

Apply - and that's it. On "Internet => Online-Monitor" it should read (refer to screenshot):

DynDNS active, "your domain name", IPv4-status: successfully logged in.

Attention: Due to the limited number of IPv4-addresses, a lot of new internet account have been connected to the internet via Dual Stack Lite (DS-Lite). If this is the case for your internet account, above mentioned procedure is unusable. Please acknowledge following AVM post on their website in this respect.
[Raspberry Pi General] Oswald Boelcke:
Customisation of the NTP-Server

I've customised the NTP-server to synchronise the time with the German Physikalisch-Technische Bundesanstalt (PTB).

sudo nano /etc/systemd/timesyncd.conf
NTP=ptbtime1.ptb.de ptbtime2.ptb.de
[Raspberry Pi General] Oswald Boelcke:
reserved #9
[Raspberry Pi General] Oswald Boelcke:
reserved #10
[Raspberry Pi General] Portgas D. Ace:
Congratulations on putting together this great and well-written guide :good:

I was thinking about something similar to Pi-hole, but never thought about the possibility to combine ad-blocking with my own VPN. Thank you for bringing this to my attention, I surely have some things left to read on the security blog by Mike Kuketz.
[Raspberry Pi General] Oswald Boelcke:
Congratulations to your 4,000th post.:D

I was in contact with Mike and he granted me permission to more or less translate his tutorials and to post on XDA. Already a long time ago I realised that's really worth to monitor his blog closely.
[Raspberry Pi General] DJ aliasz3d:
Nice work and as always precise in your instructions :good:
[Raspberry Pi General] Oswald Boelcke:
Meanwhile, I also have a fixed public IPv4-address. I found a company that corporates with my ISP, and they provided my with the fixed IPv4 for a small monthly fee. All procedures described above (especially in post #4 and post #7) remain the same with one exception: I did not enable respectively setup DynDNS in the Fritzbox.

Important also, you need to find a DynDNS-provider that allows you to manually insert an IPv4-address into your DynDNS-account; not all providers do, e.g. the in post #7 mentioned Two-DNS doesn't. These providers simply take the IPv4-address that they read, and that one is a non-public dynamic IPv4 address. I'm now with ddnss.de, Here, I was allowed to manually override and save the read nun-public IPv4 by my new fixed IPv4-address.

The reason why you must not enable DynDNS in the Fritzbox is pretty easy: If it is enabled it will initiate updates of your DynDNS and hence overwrite the fixed public IPv4-address by a dynamic non-public IPv4 through that the Pi can't be accessed.

PiVPN is fantastically running, and I've OpenVPN on all of our devices now, which have access to the internet. Now, and doesn't matter where, or if mobile data, an unsecure public WiFi network or a secure WiFi network other than ours is used, I'm able to initiate my own private secure VPN tunnel to my router respectively my RaspberryPi.

Having this working now, I'm going to stick with my current ISP-provider.

EDIT (2018-06-24): Just for completeness - while on mobile network with the Android, the VPN with my RaspberryPi is established in about 3 seconds on WiFi and 5 seconds on mobile data (even if only on 2G). To establish the VPN between the PC and the Pi it takes 7 seconds (see attached log). Additionally, use of the Pi as DNS-server works seamlessly.
[Raspberry Pi General] Ex-Hunter:
Hi! I followed your guide and everything is working properly. I have just one issue. I would like to route only DNS via VPN. I tried doing what this article in Pi-hole documentation suggested. I couldn't find

push "redirect-gateway def1 bypass-dhcp"

so I commented out

push "redirect-gateway def1"

But doing this stops the internet connection on the client device though the openvpn profile is succesfully connected.

Any suggestions on how I can route only DNS via VPN? Any help would be much appreciated. Thanks
[Raspberry Pi General] Oswald Boelcke:
I couldn't find the line mentioned in the linked turorial either; my server.conf file also only contains

push "redirect-gateway def1"

, a line that is not commented out.

I apologise I've no clue at all. You certainly have your reasons to go the way you describe, and I'm not questioning it. Before I used OpenVPN with my Pi, I used the DNS changer I mentioned in about the middle of this post. I can confirm this application is working even with mobile data by just establishing a VPN in order to only use DNS servers of your desire.
[Raspberry Pi General] Oswald Boelcke:
In order to keep this thread up-to-date, I like to share my latest and new experiences. Till last Friday and as I already mentioned within this thread my internet connection was via fibre-optics. My data plan with the fibre-optics ISP was 100 MBit/s down- and upload, and as this ISP only offers public dynamic IPv6 addresses, I additionally had to book a public static IPv4 address from another commercial provider. Overall, my monthly charges for this setup were about 55 €.

Since last Friday, my new internet connection via VDSL by a different ISP is online. The data plan I ordered is for 50 MBit/s download and 10 MBit/s upload, which I assumed to fulfill my requirements. If I realise this to be insufficient I can upgrade to 100/40 anytime but after only three days I already doubt I have to. This ISP offers public dynamic IPv4 addresses i.e. I don't require the additional contract for a static IPv4 anymore (and it has already been cancelled). For this data plan, my new ISP charges me about 35€ a month i.e. I'm now saving 20€ per month.

With this change of ISP (and type of connection) I had to perform three changes in the settings of my FritzBox: Enter the new credentials for the different internet connection, enter the new credentials for VoIP, and re-enable the dynDNS that I did setup when I initially established the Pi in our home network.

Overall: My own private secure VPN between OpenVPN for Android and the PiVPN is continuing to work flawlessly and perfectly! DynDNS is always immediately updated when the public IPv4 address changes. I'm still extremely satified with the complete setup described in this thread.
[Raspberry Pi General] MikeTheGamer:
Can you write on how to forward only DNS requests to the VPN via OpenVPN? I couldn't get it to work. Also, forwarding port 53 and using the pi as a public DNS is not recommended.
[Raspberry Pi General] Oswald Boelcke:
A few month ago, @Ex-Hunter asked a very similar question here. I'm unable to answer you're question. I've achieved my primary goal with my setup to be able to connect to my PiVPN via my own secure VPN if I'm connected to a network other than our home one. Additionally, I wanted to use the Pi-hole in our home network. All is working great! And I absolutely trust Mike Kuketz whom I mentioned in the OP and whose instructions I followed.
[Android Q&A, Help & Troubleshooting] unknown:
Hi,

Like the title , i hope i can use free server of you guy .

I have developed some roms but my skills still quite bad ( thats why i called myself 'new developer' , it is great if someone with open-heart lend me a free server so i can practice more and work more .

My requirement is just 100 gb storage or more and 4 gb ram ( or more will be great ) with ram swap ( around 20 -30 gb as build 7 and 8 needs much ram ) .

I hope i can receive some replies :) :) ( or pm about this :o )

Hope it will be a long-time server :o

Regards,

Unknown
[Android Q&A, Help & Troubleshooting] unknown:
Reversed :)
[Xiaomi Mi 5 Questions & Answers] Prantooo:
Hello guys,

I am using Mi 5 for almost one and half year and using custom rom for 1 year.

Because of the beast,Snapdragon 820,I have got almost every exclusive features of android.

But one things it still lacks.No,it is not the trending 18:9 aspect ratio display.It is the HDR compatibility:rolleyes:.

Mi 5 has a brilliant display.Has a good SoC.And as I know,HDR 10 is an open source product.

Can anybody make to port HDR 10 in Mi 5:p?

Or is it possible?
[Xiaomi Redmi 3 Questions & Answers] KonikoO:
Hello,

I'm a Redmi 3 2Gb variant user since the day of premiere. What I've noticed on a long run is that applications with heavy 3D graphics and sometimes even 2D rendered games lag like hell on custom roms. Is it bound to crippled source code relased by Xiaomi to public or is it a problem specific only to my device ? I'm really curious why does for example GTA : SA works just fine on MIUI meanwhile being absolutely unplayable on AIM or AOKP. Has anyone expirienced the same issue and found a fix for it ?
[Xiaomi Redmi Note 4 Questions & Answers] Lazy_Pickachu:
I have been using Lineage based ROMs since it provides color calibration feature. However, these settings are not available in AOSP based ROMs like AEX 7.1.2. It would be really helpful if someone provided the solution to this image retention as it only gets worse with time.

Thank you(:
[Xiaomi Redmi Note 4 Questions & Answers] Kevin Saiza:
Install kernel adiutor and you can adjust colors
[Xiaomi Redmi Note 4 Questions & Answers] hoshang.govil12:
BTW Which panel you have??
[Xiaomi Mi Pad Questions & Answers] sathish1849:
We see that Sheild tablet already got stable ValidusOS 7.1.2 and 8.1 ROMs and MiPAD1 working with Shield blobs.

Is it possible to get ValidusOS for MiPAD1 also ?

https://github.com/ValidusOs-Devices/device_nvidia_shieldtablet/
[Nokia 6 Guides, News, & Discussion] Deleted member 3665957:
ALL FREE SIGNATURES ARE GIVEN OUT

SIGNATURES ARE NOT GENERATED MORE

if anyone want to try - send via PM to me

- full IMEI1 of phone

- phone model (Nokia5 ND1, Nokia6 D1C, Nokia8 NB1, Nokia2 E1M )

i'll send signature file, then you need to flash it into phone using next way

install fastboot drivers for phone.

power off phone.

run

fastboot flash unlock <signature file>

connect phone to cable

run

fastboot oem unlock-go

after this phone bootloader will be unblocked and you can use unsigned kernel ( and do many more things, but we mostly want unsigned kernel )

if anyone worried about some "illegal" usage of IMEIs, please pass by.
[Nokia 6 Guides, News, & Discussion] minik971:
Since you named the thread official, how it is official? Can you explain?
[Nokia 6 Guides, News, & Discussion] Deleted member 3665957:
the way how HMD designed it ;)
[Nokia 6 Guides, News, & Discussion] TechnoSparks:
What would be the worst case scenario of negative outcome when we try to unlock with the mentioned methods? I mean, if the unlocking failed.

Have you also tried this personally on a Nokia 6 device?

This is kind of interesting
[Nokia 6 Guides, News, & Discussion] Deleted member 3665957:
1.

nothing

2.

of course.
[Nokia 6 Guides, News, & Discussion] SUN Huayan:
Thanks ~

It really works~
[Nokia 6 Guides, News, & Discussion] GtrCraft:
How about you just share your tool?
[Nokia 6 Guides, News, & Discussion] singhnsk:
Do you have the same for the Nokia 7 - TA-1021?
[Nokia 6 Guides, News, & Discussion] RAcilo:
TA1021 is Nokia6, not 7.
[Nokia 6 Guides, News, & Discussion] singhnsk:
Sory for the typo. I was asking for my Nokia 7 TA-1041
[Nokia 6 Guides, News, & Discussion] Deleted member 3665957:
please note,that this is just a test of one interesting way to achieve signatures and it will not last forever....
[Nokia 6 Guides, News, & Discussion] singhnsk:
Can you make it for my Nokia 7 TA-1041 before it stops? :D
[Nokia 6 Guides, News, & Discussion] Deleted member 3665957:
yes