Long story short: I have a new Poco X3 NFC on the way I want to extract the mail database from K-9 Mail on my aging Mi A2 Lite. I am still using POP3 (silly me) and I would somehwat hate to lose all my local mail copies on my phone. It's not possible to get to the database without root and my phone isn't rooted. Root can only be achived with unlocked bootloader but unlocking the bootloader will wipe all data.
I've read this super cool guide to evade the wipe by marstonpear but from the comments it seems that this doesn't work on Android Q (or 10) which my phone is at.
Can anyone confirm that this really doesn't work on Q?
Is there a way to downgrade without unlocking the bootloader or am I stuck?
Okay I've dug um some more info that I previously didn't find. Supposedly the method still works on V11.0.5.0.QDLMIXM. My phone is at the more recent V11.0.12.0.QDLMIXM. Since the differences should mostly be security updates this raises my confidence that the methode will still work on my phone. Will try once my Poco X3 NFC has arrived.
You may be able to use adb backup without unlocking the bootloader to backup the k9 data and restore to the new phone?
The bootloader unlock without data wipe is possible but be very careful. Lots of people have lost data.
LEECH666 said:
Long story short: I have a new Poco X3 NFC on the way I want to extract the mail database from K-9 Mail on my aging Mi A2 Lite. I am still using POP3 (silly me)
Click to expand...
Click to collapse
You can try to activate a mailbox with a provider with IMAP service. You configure it on k9 and move the emails to the new account verifying that they are also copied to the server via imap service. After on the new mobile you can decide to move them back to the main account.
Sorry for my bad english
a1291762 said:
You may be able to use adb backup without unlocking the bootloader to backup the k9 data and restore to the new phone?
The bootloader unlock without data wipe is possible but be very careful. Lots of people have lost data.
Click to expand...
Click to collapse
Thank you for the hints, but I think adb backup is exclusively not supported due to privacy concerns. All in all the backup / migration situation on Android is still extremely terrible.
mizi_ said:
You can try to activate a mailbox with a provider with IMAP service. You configure it on k9 and move the emails to the new account verifying that they are also copied to the server via imap service. After on the new mobile you can decide to move them back to the main account.
Sorry for my bad english
Click to expand...
Click to collapse
Thank you, that's an interesting approach. I will try to figure this out before trying to unlock the bootloader as this seems less prone to complete dataloss.
I know next to nothing about how IMAP works besides that all mail reside on the server and are centrally organized (and synced between clients?). I've always used POP3 and it works well enough for me. Thunderbird on the PC with POP3 is my main client so I never felt the need to switch, in fact IMAP wasn't even supported for a long time with my main email provider and space was scarce.
LEECH666 said:
Thank you for the hints, but I think adb backup is exclusively not supported due to privacy concerns. All in all the backup / migration situation on Android is still extremely terrible.
Click to expand...
Click to collapse
Why? I made and restored backup exactly on V11.0.12.0.QDLMIXM using adb. Can't tell you how to unzip the backup * .ab file. But I am sure it is possible.
Thanks for the input alsgs4. I can certainly give it a try but I do not have high hopes for it to work.
Edit: I tried and it doesn't seem to work. I only get a 549 bytes file if I use:
adb backup -f k9.ab -apk com.fsck.k9
Either the package name is wrong or it just doesn't work.
Okay so I just found out, that supposedly my main email account (web.de) is added as an IMAP account in K-9 but something is weird. I tried to move a not so important mail from the inbox to the archive folder and in K-9 it moves to mail to the archive folder but it's not reflected on the account itself at all when checking in the web.de web login. I tried again with a secondary email account (outlook.com) that has always been IMAP and it works there like it should (moving back and forth between inbox and archive folder with phone and web login). Maybe web.de is just weird / crappy.
I managed to unlock the bootloader without wiping date following the instructions below - but be careful to follow it to the letter:
USB debug ON
OEm unlock ON
Then connect the phone to your PC:
adb devices
adb reboot bootloader
fastboot oem unlock - start pressing only vol down button and then hit enter, HOLD vol down until the phone boots into fastboot mode again.
fastboot reboot - start pressing only vol down button and then hit enter, HOLD vol down until the phone boots into fastboot mode again.
Now you are ready to boot into your system. Either boot by holding power button or typing - fastboot reboot then press enter
Make sure you dont actually hit ENTER on the fastboot steps UNTIL you've started pressing the vol down button on your phone
I also had to be quick with typing the fastboot commands on the PC when using the adb commands
After that you can then root using magisk patched boot.img file - let me know if you need the instructions on how to do this
Thank you FOREST37. I am aware of this method as can be seen by the link I've embedded into the text of my first post. I was just uncertain if it still worked for Android 10.
My X3 NFC arrived yesterday. I will report back if everything works out.
Okay I've finally found the time to unlock the bootloader on my Mi A2 Lite and the guide from marstonpear worked like a charm on system version V11.0.12.0.QDLMIXM . Time to flash TWRP / Magisk / Titanium Backup and use root to start digging for that mail storage. Thanks to everyone who's provided some help to me on this topic.
Okay I got TWRP installed via this guide, and flashed Magisk, installed Titanium Backup and at first the K9 backup failed but now it seems to have worked and the TB folder doesn't turn up empty like on the first two tries. No idea what's going on there. Transfered everything over to my new phones external SD and tried restoring the app. After 20 minutes the restore was still not done. Rebooted the phone, reinstalled K-9 via Google Play Store and restored the apps data only in TB and it's finally working! Looks like the Android backup / migration situation has become even worse. What a bl**dy odyssey. Thanks again to anyone who provided information to get this done.
Related
Anyone else having issues with google talk always showing offline and never "really" signing in?
I'm on 4.2.1 and am rooted. Any ideas to get google talk to work? All other google apps are working
Did you do a titanium backup and flash a custom ROM? If so I've always found that Talk has issues with being restored from a backup. Best thing would be to not restore it.
If that's not the case just do a wipe and re-install and see if it works again.
asawoszc said:
Did you do a titanium backup and flash a custom ROM? If so I've always found that Talk has issues with being restored from a backup. Best thing would be to not restore it.
If that's not the case just do a wipe and re-install and see if it works again.
Click to expand...
Click to collapse
so I opened the nexus box... updated to 4.2.1 when prompted... then rooted using the nexus 4 toolkit.
I am really new to the android scene and I tried wiping using the built in "factory data reset" option from the options menu on the phone itself.... that didn't help. If there is another way, how do I wipe and re-install?
thanks
Rather than explain it all in detail there are plenty of good posts already with all the information. I've never found the built-in wipe to be useful.
Here are two good posts.
http://forum.xda-developers.com/showthread.php?t=2018179
http://forum.xda-developers.com/showthread.php?t=2010312
PS: The Toolkit is great work by the creator BUT it's better to learn ADB and FASTBOOT yourself so that you don't have to rely on the toolkit.
gotcha. thanks so much for the links. after reading them through... i have a question that doesn't seem to be answered there.
once the devices boot loader is unlocked and then the device rooted (lets say at 4.2)... then the phone prompts that there is an update (say 4.2.1) ... if you tell it to go ahead and update.... i'm assuming the boot loader remains unlocked but does the device remain rooted?
thanks!
bleuf1sh said:
gotcha. thanks so much for the links. after reading them through... i have a question that doesn't seem to be answered there.
once the devices boot loader is unlocked and then the device rooted (lets say at 4.2)... then the phone prompts that there is an update (say 4.2.1) ... if you tell it to go ahead and update.... i'm assuming the boot loader remains unlocked but does the device remain rooted?
thanks!
Click to expand...
Click to collapse
I don't believe so. AFAIK, rooting is associated with your ROM and is separate from unlocking your bootloader. That said, you just have to reflash the rooting binaries to regain root.
Someone correct me if i'm wrong
so i flashed the factory image of 4.2.1 and before rooting i wanted to check if google talk worked.... and it still doesn't
what can i do?! it doesn't seem to login at all while the gmail app and all the other google apps are working fine.
does no one else really have this issue?
Do you have two-step authentication setup on your Google account?
Can you try signing in with another Gmail account?
If you go into Settings > Accounts > Googleis your account set to Sync with Google services?
Try go into Settings > App > ALL > Talk and Disable it. Clear all data and cache and then re-enable.
are you on wifi or cell data?
timskyline86 said:
are you on wifi or cell data?
Click to expand...
Click to collapse
wifi... the phone currently doesn't have a sim inside.
Also, I am able to search through previous chats in google talk but it won't show any contacts or even show that I'm online.
asawoszc said:
Do you have two-step authentication setup on your Google account?
Can you try signing in with another Gmail account?
If you go into Settings > Accounts > Googleis your account set to Sync with Google services?
Try go into Settings > App > ALL > Talk and Disable it. Clear all data and cache and then re-enable.
Click to expand...
Click to collapse
No two-step authentication.
Tried another google account but google talk still didnt work.
Under Settings>Accounts>Google all the checkboxes are checked to sync (talk is not listed... should it be?).
Went into Settings>App>ALL>Talk forced stop, cleared, disabled... re-enabled..... still not showing any contacts but search works.
Hmm. I wonder if its the app permissions.
Connect it to your PC and open a command prompt and navigate to where you have fastboot.exe
Type
adb remount
adb shell
ls -l /system/app
Look for Talk.apk
Copy the entire line's output. should be something like -rw-r-r-
asawoszc said:
Hmm. I wonder if its the app permissions.
Connect it to your PC and open a command prompt and navigate to where you have fastboot.exe
Type
adb remount
adb shell
ls -l /system/app
Look for Talk.apk
Copy the entire line's output. should be something like -rw-r-r-
Click to expand...
Click to collapse
there are Talk.apk and Talk.odex
both have permissions set to -rw r-- r-- root
just like all the other apps in the app directory.....
I am starting to think its a network issue on my wifi....
since gtalk uses port 5222 and I tried connecting using an XMPP app which also did not work.
https://developers.google.com/talk/open_communications
however using the app talkatone did work.... I will be activating internet on my sim in the next few days... hopefully that will fix it.
google talk never really worked that well.. it always shows offline but then in my contacts it shows the little green online status.. but in the app itself, its offline. It was like this with my GS2..
Thanks y'all... It was a network issue.
All's well with a sim now.
Sent from my Nexus 4 using xda app-developers app
My father in law died last weekend and we don't know the pincode of his stock Nexus 5X. We can access his Google account and we know the pincode of his sim card. I hope someone can help us out to get access to his phone. Things we've tried:
- The vingerprint reader was setup but we've tried a lot of possible pins. We've tried his vinger yesterday but because of the attempts the pin is also required now.
- With a pattern lock you'll get a possibility to unlock through the Google account password after some attempts but his phone was secured with a vingerprint and/or pincode. Only the delay between attempts get increased, currently 16 minutes between them.
- The lock option from https://www.google.com/android/devicemanager, but because there is already a pin lock it doesn't work. The pin doesn't change.
- I've tried to access the phone through ADB, booted into the recovery but "adb devices" doesn't see the phone. When I choose to "install update through adb" I see the devices with "adb devices" but I can't use "adb shell", only sideloading works.
- Installing a custom recovery could work but the bootloader is locked, when I unlock it a full wipe will be performed so we still can't access the data.
- From the Play store in the browser on my Mac I've installed the androidlost.com app on the phone, but the app needs to be opened once before it can be used.
- A rubber ducky could help us out, but I don't have one and the time between attempts get increased and increased... it would take weeks, months or years to unlock.
What other possibilities do I have?
First sorry for your lost!
Second, i don´t know for sure, but maybe get the phone to the store where you bought it and explain the situation, maybe they will give a correct advice or like you said the phone is registed in google ( device manager) maybe if you contact them they will help you with that ( the problem is they probably will take a long time to reply or don´t reply at all) or wait for a more expert user than me here in xda,
again, sorry for your lost and hope you solve this problem,
cheers
If the phone was rooted with a recovery installed, YES, you could delete the passcode files and get into it, without root/recovery, you cannot get into it without the password, that is the point of encryption and passwords and all that jazz.... Yes there is probably a way for some high level hacker to do it but good luck finding that.... If you just want to be able to USE the phone, do a factory reset from recovery....
After factory reset I'm stuck at google account screen which I don't remember since it wasn't my main google account.
After a lot of research I've tried the talkback->youtube but chrome or any browser doesn't open so I can't use it
Tried the gmail path but whole menu' doesn't show up, only account section and no options
Tried the keyboard "assist" but google search bar doesn't appear.
Tried to flash stock rom from sdcard but fails at 5%
Phone wasn't rooted and everything is stock
How do I get past google account screen? Is it as good as bricked?
UPDATE: I managed to get past FRP through the stock email app exploit! I cannot post links however due to forum restrictions.
In case anyone needs:
1. Follow guide with normal talkback->share link->email(select stock email app instead of Gmail)
1.1 Create a hotmail or whatever account on an other device.
2. Sign in, compose email, attach file from sd card (QuickShortcutMaker apk, you can google it)
3. Send email! you can send to random address
4. Go to outgoing, open sent email and open attached file and install
5. After install open and scroll down to "Huawei Home", open first option, then tap "try"
6. You now have access to whole phone, go to Settings->Accounts and delete all accounts
7. Go back to settings->backup&restore->Factory reset and confirm
8. Phone is now clean of FRP, enjoy!
A friend of mine asked about this. It's never a problem I've had, but thank you for sharing the solution. This could come in handy!
XDA-Nexus-User said:
A friend of mine asked about this. It's never a problem I've had, but thank you for sharing the solution. This could come in handy!
Click to expand...
Click to collapse
Indeed! Most common solutions weren't working for me so for a few days I was going crazy, but finally found one that works. Maybe someone else doesn't have to go crazy too!
Hi all,
I have a HTC Wildfire where I lost the pattern log in and password for the associated account.
The phone has not been online for at least two years.
Yesterday I powered it up for the first time in two years. It seems to work perfect, but I can only get to the log-in screen that is asking for account name and password. I have a pretty good idea of what the account email address is. And I think I still have access to said mail account. (not 100%, since I'm not sure what email address it is)
I have tried to connect with adb, but the device is listed 'offline' and I know that it is in 'S-on'.
I would like to recover the pictures stored in the phones internal memory. I have already recovered those stored on the sdcard.
I'm a developer, but not an android developer, so i feel confident with bootloaders, and debug tools like adb and fastboot.
Can you help me?
rolf008 said:
Hi all,
I have a HTC Wildfire where I lost the pattern log in and password for the associated account.
The phone has not been online for at least two years.
Yesterday I powered it up for the first time in two years. It seems to work perfect, but I can only get to the log-in screen that is asking for account name and password. I have a pretty good idea of what the account email address is. And I think I still have access to said mail account. (not 100%, since I'm not sure what email address it is)
I have tried to connect with adb, but the device is listed 'offline' and I know that it is in 'S-on'.
I would like to recover the pictures stored in the phones internal memory. I have already recovered those stored on the sdcard.
I'm a developer, but not an android developer, so i feel confident with bootloaders, and debug tools like adb and fastboot.
Can you help me?
Click to expand...
Click to collapse
Hi pal,
Your options without adb or s-off/unlocked bootloader are very limited. your easiest option is going to be work out the account name and password for the device.
doe the device definitely not have a custom recovery or an unlocked bootloader?
I guess I just have to start typing possible username/password combinations.
Do you know if I have unlimited number of attempts?
Hi,
I have experienced a data loss recently so I would like to share it with other Xiaomi users and maybe someone could share their experience.
During de-bloat cleaning I made a mistake. I wanted to disable "Security" app, but regular "disable-user" command did not work. I was a bit desperate so I decided to uninstall it using this command:
pm uninstall --user 0 com.miui.securitycenter
After that the system could not boot and always dropped to Recovery
I tried to re-flash the same firmware version using Mi Assitant PC, but that did not help. The only solution was to Wipe all the data. After that my Xiaomi 9 SE was able to boot. But all the data was lost.
My question is: is there a way to somehow boot the device in this situation without wiping all the data? Bootloader locked
Thanks
Hey,
I haven't found a way arround this. The Security App is still somewhere in the system image, but I could not find a way how to get to that file and how to restore it. For me it was the Cloud App. The device still boots, but gives annoying crash messages if you use the screenshot functionality or try to click the preview icon in the camera app.
If someone else finds a way around, I would be happy to hear and learn