Miui 7 forces to login on first start (without internet connection) - Redmi Note 2 Q&A, Help & Troubleshooting

My new xiaomi redmi note 2 forces to sign in to an account on first start, skipping this dialog is not possible. On the display there is displayed:
Thank you!
Thank you for helping make MIUI better!
I can type an Username (number-keyboard) and a Password. There is one Button to validate. Does anybody know how to skip this or which account is required to login (and how a login works since my sim card is locked and wifi is not enabled)?
Thank you
tau.gi.mo

Sorry, can anybody move it to MIUI discussion?

did you deleted "Updater.apk" maybe?

flash latest miui, maybe its bloatrom from the shop you bought it

4r3k said:
did you deleted "Updater.apk" maybe?
Click to expand...
Click to collapse
yes, I deleted the updater.apk.
I still can use Mipad 2 because of the setting menu and using my own launcher. haven't tested the system launcher.
Anyway, how do I get rid of this welcome/thanks page/windows when starting device?? I have root so I could butcher some moe system apk's if I have to do it... Do you know the answer?
Luckily I had backup and it is working now. Just fix permission also to wrx-rx-rx

I'm a new MIUI user, and I just encountered this screen after my first OTA update ever. I use a MIUI 8 Global Developer ROM on a Xiaomi Mi 5 (with Unlocked Bootloader).
One way I found to avoid this screen, is by removing the SIM card and rebooting. I re-insert the SIM after MIUI has booted properly.
I don't think that's very good for the phone (or the SIM). That's just a temporary solution, until I manage to figure out what's going on...

if have root n twrp then
from twrp recovery>mount>system..then advanced>file manager>system>priv-app>miuikeyguard.apk>delete.. it worked for me.
i also removed provision.apk from the same folder.. so no startup screens.. directly takes u to the launcher

Related

[Q] Unlocking messed up my network.

I have Tmobile and it worked perfect before this. usually had full bars, etc.
after this i dont have anything.. just shows a x(0 bars.). went to apn and tried to fix it and nothing. reinstalled greyblur and nothing. did full wipe and nothing..
about 10 minutes later i got a couple facebook notifications. and saw i had 1 bar! i got excited and then it went back down to x... WTF. went to apn settings and such and it doesnt even show Tmobile network. only i can pick between 2 ATT networks. under signal settings or whatever it says im connected to ATT. I have noo clue what is going on.
Can someone help me please?? Would flashing the stock 1.83 help?? Thanks.
Did you do a backup of /DATA?
nexxusty said:
Did you do a backup of /DATA?
Click to expand...
Click to collapse
no, i did not. if you mean titanium back up then yes. i followed the instructions on briefmobile..
edit: how would that effect networks or whatever it did..?
wooooow.. xD i just pluged my phone into my computer while having motorola software update started and i have full bars now.. this is very weird.
I dont know if i should be happy or worried LOL
I think I'm having a similar issue. The network is working after unlocking but I can't add my Google account, so I'm locked out of the Android Market and Gmail etc..
I am getting the message "Can't establish reliable connection" when I try to add my Google account to the phone.
I have read that the only solution to this is to do a hard reset. If I have unlocked am I safe to do a hard reset?
My other thought was to re-root and restore the Titanium Backup I took before unlocking. Maybe the system settings I saved would fix it? However when I go reboot to Fastboot and try ADB shell it no longer finds my device (USB debugging is enabled and my drivers must be up to date if I rooted three days ago).
If the easiest thing to do is just hard reset I will do that I just need to know whether it is safe after unlocking. I feel like unlocking may have interfered with whatever the phone uses to communicate with servers but I have no clue if that is possible.
Edit: I was able to root again, had not realized ADB will not work from the fastboot screen. fastboot devices showed my phone. I got rooted, side loaded Titanium Backup and BusyBox. Now I am restoring my apps and settings, I will report back if the problem with signing into Google is resolved.
jbgwofo35 said:
I think I'm having a similar issue. The network is working after unlocking but I can't add my Google account, so I'm locked out of the Android Market and Gmail etc..
I am getting the message "Can't establish reliable connection" when I try to add my Google account to the phone.
I have read that the only solution to this is to do a hard reset. If I have unlocked am I safe to do a hard reset?
My other thought was to re-root and restore the Titanium Backup I took before unlocking. Maybe the system settings I saved would fix it? However when I go reboot to Fastboot and try ADB shell it no longer finds my device (USB debugging is enabled and my drivers must be up to date if I rooted three days ago).
If the easiest thing to do is just hard reset I will do that I just need to know whether it is safe after unlocking. I feel like unlocking may have interfered with whatever the phone uses to communicate with servers but I have no clue if that is possible.
Edit: I was able to root again, had not realized ADB will not work from the fastboot screen. fastboot devices showed my phone. I got rooted, side loaded Titanium Backup and BusyBox. Now I am restoring my apps and settings, I will report back if the problem with signing into Google is resolved.
Click to expand...
Click to collapse
Titanium Backup Restore is done now but I am not out of the water yet. I have all of my applications back and in settings under Accounts I have all of my accounts listed now, but when I launch Android Market or Gmail both applications crash. I tried to add another Gmail account to the phone and when I click Next to begin logging in, I immediately get the "Can't establish a reliable data connection to the server" screen, along with an error dialog saying Gmail has stopped unexpectedly.
I can't tell if this means I got further or am really in the same spot as before
So... can anyone answer the question of whether I am safe to do a hard reset after unlocking and rooting?
jbgwofo35 said:
Titanium Backup Restore is done now but I am not out of the water yet. I have all of my applications back and in settings under Accounts I have all of my accounts listed now, but when I launch Android Market or Gmail both applications crash. I tried to add another Gmail account to the phone and when I click Next to begin logging in, I immediately get the "Can't establish a reliable data connection to the server" screen, along with an error dialog saying Gmail has stopped unexpectedly.
Click to expand...
Click to collapse
The problem I run into when using Titanium Backup, is that it restores the app and the data associated with the app, and the data caused force closes for the market (Play in my case) and other apps. Try clearing the cache for them. (From the home screen > Menu > Manage Applications > "App" > Clear Data)
I can't tell if this means I got further or am really in the same spot as before
So... can anyone answer the question of whether I am safe to do a hard reset after unlocking and rooting?
Click to expand...
Click to collapse
I've honestly never tried it, but hard-reset appears to be the equivalent to wiping cache (and dalvik) and re-flashing. You might try wiping your cache and dalvik cache and flashing the ROM again. Trying a "factory" restore after modifying the factory data on your phone doesn't seem like it would work.
twomoses said:
The problem I run into when using Titanium Backup, is that it restores the app and the data associated with the app, and the data caused force closes for the market (Play in my case) and other apps. Try clearing the cache for them. (From the home screen > Menu > Manage Applications > "App" > Clear Data)
I've honestly never tried it, but hard-reset appears to be the equivalent to wiping cache (and dalvik) and re-flashing. You might try wiping your cache and dalvik cache and flashing the ROM again. Trying a "factory" restore after modifying the factory data on your phone doesn't seem like it would work.
Click to expand...
Click to collapse
I did "Clear Data" for Gmail and Market (that is what it is called in my applications list, but the icon says Play).
Gmail is working again! The Market/Play app still gets to a white screen and says "Loading" with the whirly icon then goes away without any information. I see another item in the application list called Google Play Services, should I clear that data as well?
jbgwofo35 said:
I did "Clear Data" for Gmail and Market (that is what it is called in my applications list, but the icon says Play).
Gmail is working again! The Market/Play app still gets to a white screen and says "Loading" with the whirly icon then goes away without any information. I see another item in the application list called Google Play Services, should I clear that data as well?
Click to expand...
Click to collapse
You shouldn't have to. If you're seeing a long loading screen, be patient. If it shows market in one spot and Google Play in another, it's probably trying to update.
twomoses said:
You shouldn't have to. If you're seeing a long loading screen, be patient. If it shows market in one spot and Google Play in another, it's probably trying to update.
Click to expand...
Click to collapse
I decided to try side-loading the Google Play Store since the market is no longer used. I got the apk from http://forum.xda-developers.com/showthread.php?t=1836057.
Now it loads but tells me Authentication is Required. Please sign in. I checked the accounts in the menu and my google account is selected, so I'm not sure what the problem is since Gmail is fine with the account now.
jbgwofo35 said:
I decided to try side-loading the Google Play Store since the market is no longer used. I got the apk from http://forum.xda-developers.com/showthread.php?t=1836057.
Now it loads but tells me Authentication is Required. Please sign in. I checked the accounts in the menu and my google account is selected, so I'm not sure what the problem is since Gmail is fine with the account now.
Click to expand...
Click to collapse
Where did you start in all this? Were you on a custom ROM and are now trying to get back to stock? Are you on stock and trying to unlock the bootloader or root? The direction you're going will help determine what you may or may not want to try next.
twomoses said:
Where did you start in all this? Were you on a custom ROM and are now trying to get back to stock? Are you on stock and trying to unlock the bootloader or root? The direction you're going will help determine what you may or may not want to try next.
Click to expand...
Click to collapse
I am getting help from you in two separate posts it looks like so I will just consolidate to this thread, I apologize for posting all over the place just hoping to knock this out before the weekend is over.
I started with the official Gingerbread ROM from Motorola. I rooted, then unlocked, then rooted again.
My goal is to end up on an ICS ROM but I would like to get a good back up of the stock ROM first, so I want to knock this problem out, back it up, then flash to a custom ROM. You suggested going ahead and flashing the custom rom, I am just worried about making the problem worse by doing that.
The only problem I am noticing is that I cannot get into the Play Store, and I still get the Can't Establish Reliable connection message when trying to add a Google account. However, Gmail is working now but I can't add another account. I have connected to Wifi and I am still having the problem while connected.
jbgwofo35 said:
I am getting help from you in two separate posts it looks like so I will just consolidate to this thread, I apologize for posting all over the place just hoping to knock this out before the weekend is over.
I started with the official Gingerbread ROM from Motorola. I rooted, then unlocked, then rooted again.
My goal is to end up on an ICS ROM but I would like to get a good back up of the stock ROM first, so I want to knock this problem out, back it up, then flash to a custom ROM. You suggested going ahead and flashing the custom rom, I am just worried about making the problem worse by doing that.
The only problem I am noticing is that I cannot get into the Play Store, and I still get the Can't Establish Reliable connection message when trying to add a Google account. However, Gmail is working now but I can't add another account. I have connected to Wifi and I am still having the problem while connected.
Click to expand...
Click to collapse
If you side-loaded Google Play, try clearing any cache (App Data) for it as well. I don't know why your market/play is acting up if all you did was root > unlock > root. Assuming you have flashed CWM Recovery, you may end up having to get Google Apps (usually called gapps) and installing them as a zip to correct this. If so, here are the steps:
Get them from here or browse them all http://goo-inside.me/gapps/ and get the ones you want.
Load them onto the root directory of the phone's SD Card (not the internal memory).
Reboot into Recovery
Choose the option "Install Zip from SD Card" using the volume keys and the lock button
Scroll down to gapps-gb-tegra-20110118-signed.zip (or whichever one you got if you browsed them) and hit the lock button
Scroll down to whichever one says "Yes" in the midst of all the "No"s (I think that's how they're listed)
Reboot when the install is finished. It shouldn't take more than a minute or two.
---------- Post added at 08:08 PM ---------- Previous post was at 08:02 PM ----------
jbgwofo35 said:
I am getting help from you in two separate posts it looks like so I will just consolidate to this thread, I apologize for posting all over the place just hoping to knock this out before the weekend is over.
Click to expand...
Click to collapse
That may explain why I may have had an oops moment in one of them. I'm new to XDA, so I'm trying to help while learning the ropes a bit too. :fingers-crossed:
twomoses said:
If you side-loaded Google Play, try clearing any cache (App Data) for it as well. I don't know why your market/play is acting up if all you did was root > unlock > root. Assuming you have flashed CWM Recovery, you may end up having to get Google Apps (usually called gapps) and installing them as a zip to correct this. If so, here are the steps:
Get them from here or browse them all http://goo-inside.me/gapps/ and get the ones you want.
Load them onto the root directory of the phone's SD Card (not the internal memory).
Reboot into Recovery
Choose the option "Install Zip from SD Card" using the volume keys and the lock button
Scroll down to gapps-gb-tegra-20110118-signed.zip (or whichever one you got if you browsed them) and hit the lock button
Scroll down to whichever one says "Yes" in the midst of all the "No"s (I think that's how they're listed)
Reboot when the install is finished. It shouldn't take more than a minute or two.
---------- Post added at 08:08 PM ---------- Previous post was at 08:02 PM ----------
That may explain why I may have had an oops moment in one of them. I'm new to XDA, so I'm trying to help while learning the ropes a bit too. :fingers-crossed:
Click to expand...
Click to collapse
I'm going to try the Gapps install, but I am having an issue flashing CWM apparently. I follow the instructions here http://forum.xda-developers.com/showthread.php?t=1204500 but I am still not seeing Clockwork Mod Recovery. When I reboot, hold volume down, go to Android Recovery and press up, I still see the Android/Triangle/Exclamation point icon. Press volume down and up and see a blue menu with three or 4 options but none are Install from SD, so I am guessing I'm not successfully flashing CWM.
Edit: I did not delete the system/etc/install-recovery.sh file before flashing CWM. I am trying to do that then flash again, but ES File Explorer will not let me delete the file. My super user may need to be updated, but since I can't connect to the store it won't do it on its own.
I resolved the the issue with CWM thanks to Zestar in this thread: http://forum.xda-developers.com/showthread.php?t=1302423&page=16
I just have to reflash every time until I decide to go for the custom rom. I installed GAPPS from CWM Recovery but I am still having the same issue with being told i need to authenticate my account.
I got a ROM backup while in CWM as well so I think at this point I will just flash a custom rom and see where that gets me. Since I got a copy of the rom I should be able to return to this point in time anyways (could be wrong though )
Thanks for your help, I will report back once I have flashed to a new ROM and see what happens.
I didn't get this done before the weekend was up but got time tonight and flashed to the TopSmarts GingerBread ROM (it is really cool to me, a first time custom rom-er). I was able to get set up on e-mail (don't have a Gmail app loaded yet) but Play Store - which I had to side load - is crashing when I try to add an account still.
I flashed the Gapps from above after flashing the new ROM but none of them showed up when the phone booted into the rom for the first time. Do I need to do something other than install from CWM?
Edit: I flashed the Gapps from TopSmarts and rebooted and was able to get Play Store running. It had a minor hiccup and repeated the sign in process a few times but now it is updating my apps. I am happy with the world again, thank you for your help.
jbgwofo35 said:
: I flashed the Gapps from TopSmarts and rebooted and was able to get Play Store running. It had a minor hiccup and repeated the sign in process a few times but now it is updating my apps. I am happy with the world again, thank you for your help.
Click to expand...
Click to collapse
Glad you got it working. I've never seen the TopSmarts ROM as I am also very new to the custom ROM world. I flashed CyanogenMod 7 Nightly (I didn't know Nightly versions were beta until after I flashed it), and I love it! It took me a couple of tries to get the gapps working too, but once they worked, I haven't really had a problem since.

Can recovery mode help exit Ultra-Power-Saving-Mode on S5 while locked out of phone?

Is there any way to exit Ultra-Power-Saving-Mode while locked out of my S5 using recovery mode, installing some update, etc? I have a lot of development experience with several languages and tools, but not Android.
I've been using my fingerprint for access for over a year and now I have no idea what my alternative password is... since I've never used it regularly and can't find any record of it. I usually right document such things, but apparently not this time.
Unfortunately, this last Sunday while in Ultra-Power-Saving-Mode something went wrong with my phone and now it only asks for the alternative password... which I can't recall. I've used the Android Device Manager 4 times since then to reset the lock PUK/PIK. After each time resetting it, the lock screen does show the new greeting I set via the Android Device Manager, but it still asks for the alternative password... instead of asking for the PUK/PIK that I just reset.
I am suspecting/hoping that if I can somehow get my phone out of UPSM that the lock screen will allow me to use the reset PUK/PIK to get back into my phone.
So, I am asking if you know of any app that can be installed remotely that will allow me to get my phone out of UPSM? Or, if there is any way to get it out of UPSM by rooting the phone, but installing an ADM update, etc.
Normally I would just do a factory reset because everything is synced up to my Google account. However, apparently my SD card, which was my primary storage, filled up on May 2, so everything since then has been stored on internal memory and thus will be lost if I do a factory reset. I've taken a lot of pictures and video of my 2 1/2 yr old boy and I am trying to avoid losing everything since May 2.
Thanks for any help.
rjlyders said:
Is there any way to exit Ultra-Power-Saving-Mode while locked out of my S5 using recovery mode, installing some update, etc? I have a lot of development experience with several languages and tools, but not Android.
I've been using my fingerprint for access for over a year and now I have no idea what my alternative password is... since I've never used it regularly and can't find any record of it. I usually right document such things, but apparently not this time.
Unfortunately, this last Sunday while in Ultra-Power-Saving-Mode something went wrong with my phone and now it only asks for the alternative password... which I can't recall. I've used the Android Device Manager 4 times since then to reset the lock PUK/PIK. After each time resetting it, the lock screen does show the new greeting I set via the Android Device Manager, but it still asks for the alternative password... instead of asking for the PUK/PIK that I just reset.
I am suspecting/hoping that if I can somehow get my phone out of UPSM that the lock screen will allow me to use the reset PUK/PIK to get back into my phone.
So, I am asking if you know of any app that can be installed remotely that will allow me to get my phone out of UPSM? Or, if there is any way to get it out of UPSM by rooting the phone, but installing an ADM update, etc.
Normally I would just do a factory reset because everything is synced up to my Google account. However, apparently my SD card, which was my primary storage, filled up on May 2, so everything since then has been stored on internal memory and thus will be lost if I do a factory reset. I've taken a lot of pictures and video of my 2 1/2 yr old boy and I am trying to avoid losing everything since May 2.
Thanks for any help.
Click to expand...
Click to collapse
Only option I can think of would be to install TWRP custom recovery and use the built in file manager to rename the UPSM app. This wouldn't work if you have an ATT or VZW model, as the bootloaders are locked down, not allowing installation of TWRP, but pretty much any other carrier model should be fine.

Usb connection issue

Hi guys,
I have a note 3 with latest Miui Beta (Marshmallow) and I usually use a program called Snappea to install or backup apk's on my PC. But there is an issue bothering me and I am searching for a solution to solve it, hoping someone on this forum will be able to help me. Everytime I install an Apk using a usb connexion, I have to give a permission to it then to finish the installation manually on the phone, issue that I dont have with other phone, like my Nexus 6. Is there a way to deactivate this option and to have all my apk's installed automaticaly without giving permission to each of them?
Thank you for any help.
It used to be in settings -> Permissions -> click 3 dots in upper right corner and deselect Install from USB but that apparently is not in the MM Beta. It was in MIUI 8.0.1.0 stable which is what I was running and had to do to get it to stop prompting all the time when doing Titanium Backup.

Pattern Lock on boot changed to Password Entry without Reason (HTC One M8 | RR 5.8.5)

Hi Everyone!
I am running latest version of Resurrection Remix (7.1.2) on my HTC One M8 and somehow, the Pattern unlock Sequence i have set during Boot (using it since Months!) has changed to a Password entry Box without any reasons.
I have never set any Password or PIN for the Device, so i have been locked out.
Just to make sure, i have also tried any PIN and Password that i could remember.
Disc Encryption is active , but i can access System and SD Partitions in TWRP without entering a Pattern/PIN.
I have read some Guides wich describe how to delete pass and pattern key-files to bypass the Boot Security, but without success yet. Any Ideas, what might have changed the Pattern Protection and how to revert it?
Thanks in advance!
br
Qudo
qudo said:
Hi Everyone!
I am running latest version of Resurrection Remix (7.1.2) on my HTC One M8 and somehow, the Pattern unlock Sequence i have set during Boot (using it since Months!) has changed to a Password entry Box without any reasons.
I have never set any Password or PIN for the Device, so i have been locked out.
Just to make sure, i have also tried any PIN and Password that i could remember.
Disc Encryption is active , but i can access System and SD Partitions in TWRP without entering a Pattern/PIN.
I have read some Guides wich describe how to delete pass and pattern key-files to bypass the Boot Security, but without success yet. Any Ideas, what might have changed the Pattern Protection and how to revert it?
Thanks in advance!
br
Qudo
Click to expand...
Click to collapse
Deleting a Few Files In /Data Will Unlock Deactivate any Password.Try Finding the Locksettings.db in /Data/system or Somewhere.
Sent from my Nexus 6P using Tapatalk
Atifbaig786 said:
Deleting a Few Files In /Data Will Unlock Deactivate any Password.Try Finding the Locksettings.db in /Data/system or Somewhere.
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
Atifbaig786,
already did this.
files i have removed:
password.key
pattern.key
locksettings-db-shm
locksettings-db.wal
locksettings.db
no effect. still requests a password.
qudo said:
Atifbaig786,
already did this.
files i have removed:
password.key
pattern.key
locksettings-db-shm
locksettings-db.wal
locksettings.db
no effect. still requests a password.
Click to expand...
Click to collapse
I can't say For Sure But.There are more Files Than That In Version Above MarshMellow.Those Guides were for Android 4.4.4 and low.
Or Someone Just Took your Gmail Account and Locked It.
It's The Most Possible Reason For Auto-Locking Devices That Someone Accessed your Device and Did Some Bad S,H,I,T to you.
Sent from my Nexus 6P using Tapatalk
Atifbaig786 said:
I can't say For Sure But.There are more Files Than That In Version Above MarshMellow.Those Guides were for Android 4.4.4 and low.
Or Someone Just Took your Gmail Account and Locked It.
It's The Most Possible Reason For Auto-Locking Devices That Someone Accessed your Device and Did Some Bad S,H,I,T to you.
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
Google Account is safe and definitely not hacked.
Secured by 2-step-authentication and i still have access to it. there is also nothing wrong in phone management there. already checked this.
And to get this straight, the device is not auto locked as you may from device management in your google account.
Disc has been encrypted and a pattern has been set for decryption. this pattern has changed to Password entry.
same password entry that you have when encrypting with a password.
i had this behaviour before on some older cm versions on my samsung i9305...
i have started creating a current backup and will restart everything from scratch.
seems more like an error in android, than <<s,h,i,t>>
all hail to titanium backup!
thanks anyways.
Qudo
OK, this bug is reproducable.
i have tested it twice.
- clean install from scratch
- disc encryption
- creating a nandroid backup
- reboot afterwards
-> pattern set before is not available, but a password prompt asking for a password that i had never set.
System details:
Phone 1:
HTC One M8
resurrection remix ROM 5.8.5
TWRP Recovery Version 3.1.1-0
Phone 2:
Google Nexus 5
resurrection remix ROM 5.8.5
TWRP Recovery Version 3.1.1-0
Anyone else? :/
EDIT:
This does ot happen, if i don't create a nandroid backup. seems linked somehow ...

Re-enter your password/pin even before setting up a pin/password? Android (fix)

If your getting a promt to re-enter your pin even before setting up one? Try this method, it may fix the problem. I was having the same issue after flashing an new ROM or restoring a TWRP backup.
How to fix
Using a root explorer go to root\data\system folder( if it asks for password during setup then do the same using TWRP file manager)
Then find "locksettings.db" and rename it to "locksettings.db.old" .
This should stop confilcs of you old ROM password which confuses it in thinking that there is a pin setup.
Android will automatically creat a new file "locksettings.db" after reboot and you should be good to go
This worked for me, if it helps you please thank the post!
Nandan.R.D said:
If your getting a promt to re-enter your pin even before setting up one? Try this method, it may fix the problem. I was having the same issue after flashing an new ROM or restoring a TWRP backup.
How to fix
Using a root explorer go to root\data\system folder( if it asks for password during setup then do the same using TWRP file manager)
Then find "locksettings.db" and rename it to "locksettings.db.old" .
This should stop confilcs of you old ROM password which confuses it in thinking that there is a pin setup.
Android will automatically creat a new file "locksettings.db" after reboot and you should be good to go
This worked for me, if it helps you please thank the post!
Click to expand...
Click to collapse
You're a life saver! This has been plaguing me for weeks (and many wipes and restores)
I do have this 2nd weird problem though, after I set a new pin/pattern. If you leave the device locked too long, when you enter the pin/pattern it resets the screen and brings you back to lock screen. Not sure how to fix this one yet!

Categories

Resources