Helium backup problems - Galaxy S II Q&A, Help & Troubleshooting

Hi I installed CM14 yesterday and was hoping to use Helium to restore all my wifi passwords.
The app starts and asks for my Google Drive login. Then it says checking for superuser, the # appears in the taskbar, then it sits and waits. That's it. The only thing I can do is press cancel, then it says I have to install the desktop app and try that way.
I am on Ubuntu so I downloaded the Linux package, ran the script and according to the readme it says I should have seen a connecting message. I didn't, it sat on a terminal prompt saying i9100: and the phone sat on saying it's set to MTP mode and needs PTP mode (it was definitely in PTP mode as the photo editor launched on my desktop).
So now I'm a bit stuck. I spent hours last night googling the problem and others are reporting it but I have read one comment which said the developer has a habit of abandoning apps which I hope isn't the case. This app worked fine on Marshmallow but it's not working on Nougat at all.
The only other thing I could do is try to restore my wifi passwords from Google backup but again this is a problem I spent a long time looking for answers and it doesn't seem that I can just restore the passwords like that.
Any advice how I can get Helium back up please?

laptopu said:
Hi I installed CM14 yesterday and was hoping to use Helium to restore all my wifi passwords.
The app starts and asks for my Google Drive login. Then it says checking for superuser, the # appears in the taskbar, then it sits and waits. That's it. The only thing I can do is press cancel, then it says I have to install the desktop app and try that way.
I am on Ubuntu so I downloaded the Linux package, ran the script and according to the readme it says I should have seen a connecting message. I didn't, it sat on a terminal prompt saying i9100: and the phone sat on saying it's set to MTP mode and needs PTP mode (it was definitely in PTP mode as the photo editor launched on my desktop).
So now I'm a bit stuck. I spent hours last night googling the problem and others are reporting it but I have read one comment which said the developer has a habit of abandoning apps which I hope isn't the case. This app worked fine on Marshmallow but it's not working on Nougat at all.
The only other thing I could do is try to restore my wifi passwords from Google backup but again this is a problem I spent a long time looking for answers and it doesn't seem that I can just restore the passwords like that.
Any advice how I can get Helium back up please?
Click to expand...
Click to collapse
Did you make a backup in recovery before you flashed CM14?
If so, boot to recovery and make a backup of your CM14 then restore the backup that you made of whatever you had before you flashed CM14.
Then go to your /data/misc/wifi folder and find the "wpa_supplicant.conf" file and make a copy of that file, it contains the name and password of all the WiFi points the device has been connected to before you flashed it. Save the copy of that file to your extsdcard.
Then boot to recovery and restore your backup of CM14 and reboot when its done, then you transfer the copy of wpa_supplicant.conf to the /data/misc/wifi folder. You may or may not have reboot or wipe cache and dalvik and reboot.
Sent from my SCH-I535 using Tapatalk

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.

[Q] HELP! Installed a currupt theme, now can't remove it!

Hi Guys
Been having a problem for the last one week. I'm on CM11 snapshot m7. I installed the One plus one theme, which seemed to run very well until my battery drained completely. Now when I boot my phone, it gives me an error message "unfortunately com.android.systemui has stopped working."
I figured it must be a corrupt theme so I just need to uninstall it. But I can't access settings, as even if I hit "OK" on the error message, the msg keeps reappearing, not allowing me to do anything with my phone.
The last solution I have, of course, is to do a factory reset and flash a working ROM. But then I'll lose all my app data. I tried the following solutions, but in vain. Please let me know if you guys can think of anything else, so as to save my app data! My last Titanium backup was a few months ago!
1. Tried to uninstall the app via adb, but my USB debugging is off, adb doesn't detect my device (and I can't access settings to turn it back on)
2. Tried to boot my phone in safe mode and uninstall the app but even in safe mode it shows the same error message and doesn't allow me to do anything.
3. Tried installing the ROM and Gapps hoping it would replace the filed modified by the theme, and my default theme would be back on.
4. Found an apk for the default (holosense) theme, converted it to .zip and tried flashing it through CWM.
5. Tried flashing the apk via sideload in CWM, but again my USB debugging being off, adb did not detect my phone.
When I had my system ui failure, I was still able to open quick settings drawer and access settings through there even though system ui was constantly crashing...
hawaiisteve said:
When I had my system ui failure, I was still able to open quick settings drawer and access settings through there even though system ui was constantly crashing...
Click to expand...
Click to collapse
Oh! I can't even open the notifications panel
omikhandekar13 said:
Hi Guys
Been having a problem for the last one week. I'm on CM11 snapshot m7. I installed the One plus one theme, which seemed to run very well until my battery drained completely. Now when I boot my phone, it gives me an error message "unfortunately com.android.systemui has stopped working."
I figured it must be a corrupt theme so I just need to uninstall it. But I can't access settings, as even if I hit "OK" on the error message, the msg keeps reappearing, not allowing me to do anything with my phone.
The last solution I have, of course, is to do a factory reset and flash a working ROM. But then I'll lose all my app data. I tried the following solutions, but in vain. Please let me know if you guys can think of anything else, so as to save my app data! My last Titanium backup was a few months ago!
1. Tried to uninstall the app via adb, but my USB debugging is off, adb doesn't detect my device (and I can't access settings to turn it back on)
2. Tried to boot my phone in safe mode and uninstall the app but even in safe mode it shows the same error message and doesn't allow me to do anything.
3. Tried installing the ROM and Gapps hoping it would replace the filed modified by the theme, and my default theme would be back on.
4. Found an apk for the default (holosense) theme, converted it to .zip and tried flashing it through CWM.
5. Tried flashing the apk via sideload in CWM, but again my USB debugging being off, adb did not detect my phone.
Click to expand...
Click to collapse
try formatting cache and dalvik and try rebooting
if it doesnt work do a clean wipe and flash your rom it should do the trick
possibly no other go
for preserving your data
do a nandroid backup first and then do a clean wipe
this way you can extract app+data from nandroid via titanium backup later
hope it helps mate

Crash loop due to stuck text-to-speech download

Hello,
I'm trying to get an Alcatel Idol X (One Touch 6040D, no custom roms or modifications) out of a crash loop, but have been unsuccessful so far. The trouble started when the phone wanted to download and install text-to-speech voice data ("Female for English"). At some point this download/install crashes, causing the phone to reboot. When rebooting the phone hangs on the Alcatel screen with white background. I have to power it off then on again. Then it boots and starts the download/installation again, causing it to crash seconds after.
I've tried the following to no avail:
Clear cache partition from recovery menu.
Force stopping "Download Manager" and clearing cache & data. I have to be very quick to do this, otherwise the phone reboots. Unfortunately clicking the clear buttons has no effect. The used disk space stays the same (80.00KB data, 12.00KB cache). The phone will not reboot at this point, but many apps (Google Play, Settings,...) and processes are crashing repeatedly (android.process.acore, android.process.media and com.google.process.gapps). Eventually, so much has stopped working that the phone reboots.
There's a thread, I found almost a month ago on Androidcentral, about this very same problem. But what worked for the thread starter and other people, i.e. the clearing of cache and data of the "Download Manager" doesn't work for me. Probably because the cache/data clearing is not actually executed. So that might be something to look into further. See point two above. My replies in that thread haven't been responded too, unfortunately.
I'm aware that the cleanest solution is probably a factory reset from the recovery menu. However that would mean data loss of photos and app data, that haven't been backed up. My main goal is to get the phone into a state that a recovery/syncing of that data can be done. After, I don't mind doing a factory reset.
Any help is greatly appreciated!
Kind regards,
eXistenZ_69
P.S.: post copied from here as per recommendation of XDA Assistant
Hello,
this problem still could not be resolved unfortunately Does anybody have any idea why the "clean cache" doesn't appear to have any effect?
Cheers,
eXistenZ_69
Not too familiar with Alcatel as they aren't popular around where I live... I would think that there's an option to wipe cache in recovery however. If that doesn't help, I would try to quickly toggle airplane mode to stop the download process so you can backup what you need.
Hello es0tericcha0s,
thanks for your reply. The problem seems not to be related to Alcatel specifically. See Google Text-to-Speech Won't Stop Downloading for other brands of Android smartphones that had the same issue. Unfortunately, what helped others, i.e. clearing the cache, does absolutely nothing in my case I also already tried clearing the cache partition in the recovery menu. Disabling wifi is another thing I tried to no avail. The download manager still starts installing or trying to download the voice data and crashes. Any other suggestions?
Cheers,
eXistenZ_69
Are you rooted by any chance? What's going on with the Download Manager shouldn't affect your ability to backup your photos at least when you plug it into a computer. If you aren't rooted, you might look into trying to do an adb backup if your phone supports it. http://forum.xda-developers.com/showthread.php?t=2091047&highlight=4+4
No, the phone is not rooted. Never did any modifications of that sort.
I tried connecting to the pc before, but it's not possible to browse the phone content. The crashing services I mentioned in my first post are probably interfering. I will try it again on another pc... Will an adb backup work in that case? Or is it possible to do an adb backup without booting android fully?
Cheers,
eXistenZ_69
So I tried again plugging the phone into a computer. The computer plays the connection sound and shows the phone when clicking on the "Safely disconnect USB device" in the task bar, but unfortunately it's not possible to browse the phone contents using the file explorer :crying: There is a slowly moving progress bar shown in the file explorer location bar and eventually it just stops and nothing happens.
I couldn't try the ADB backup tool in the thread you suggested cause the site is down. It most likely won't work anyway given the fact that the USB connection cannot be established successfully.
*sigh* I'm starting to think I'm out of options. It's just so frustrating to know that the images and contact data are present on the device, but there is no practical way to get to them. I could do a reset to factory settings and hope to recover any images using a tool like Recuva, but that would definitely endanger them.
eXistenZ_69
Only other thing I could think of would be to root and hopefully you could freeze/disable the Download Manager in time before the crash to be able to recover stuff.
Adb still might work even though MTP isn't. Just have to hurry through the settings to enable it. If you don't have adb on your computer search : Minimal ADB and Fastboot here on xda.
Hello es0tericcha0s,
Today I had a major breakthrough. Using ADB I successfully copied over the /sdcard directory contents on the phone. This means all pictures have been recovered!! So happy about that Thank you so much for your help! :highfive: It didn't work right away after installing minimal adb & fastboot though, my phone was not listed when doing "adb devices". I then installed some software from Alcatel called "One Touch Center", which is used for managing phonebook, sms, ringtones, etc... that was not able to connect to the phone either. However I think it installed some driver, because after ADB was able to connect to the phone :good:
I'm currently trying to figure out how to root the phone so I can delete the download manager cache/data. From what I've read by now is that those should be present somewhere under /data/data/ . Those directories require root privileges unfortunately. I tried Kingo Root which lists the phone as supported, but that failed to acquire root.
Would be great to succeed in fixing the crash loop too, so I can sync contacts and other data too.
Thanks again!
Cheers,
eXistenZ_69

Recovering data from a phone stuck in recovery mode

So about 4 days ago my S3, on which i installed 4.4.4 kitkat last summer, started rebooting, then the home app crashes a couple of times, i see a lot of crash popups which are either for the home app or androind system, then it reboots again, and usually after some reboots it works normally until i go into an app, then if i press the home button the home app would crash again and it would beigin rebooting(though once every app was crashing left and right). Yesterday however it didn't even make it to the home app part, it was stuck in the screen with the CM logo loading(bootloop?).
My question is if it's possible to fix it while also recovering all the data such as photos, music and app data. I have Clockworkmod recovery 6.0.4.6. So far i've tried pulling everything from adb, which either didn't work or worked but pulled folders and files i don't really need(tried pulling /storage/, all i got was an almost empty sdcard1 folder). I also tried this method [i can't post the link, google How to Recover data Using ADB recovery on Android techglen] but when i get to this line
mkdir emmc
my console gives me
~ # mkdir emmc
mkdir: can't create directory 'emmc': File exists
Try flashing twrp and mounting the data partition from twrp.
Yes, thanks, that worked and i was able to get most of the data i wanted, though not all, and did a factory reset. I also did a backup on an USB but when i tried to recover the data from there the progress bar was stuck at 0%.
My phone managed to boot normally, started downloading apps and then i got the android system crash again, along with the home app(trebutchet). So far it hasn't restarted by itself. I can still go to the app store and launch some of the apps from there. I managed to get 3 of the android system crash logs on pastebin: (again i can't post links) pastebin dot com /axBsYXfV, /6e3AiEyB /nwHxym9Y; should i make a new thread about this altogether?
Edit:Another crash log from when i tried to enter Apps from settings: tRbUX5h1
So crashes happen with stock and custom ROMs?

Failed to Restore Whatsapp Database after migrating from STOCK to LineageOS 14.1

I'm struggling with something that never happened to me, I'm unable to restore my database to my recently upgraded Samsung J3 2016 - is running LineageOS 14.1 now
The phone was running stock Android 5.1.1, version J320FXXU0AQI1, nothing fancy here.
Made some research about what ROM to use and decided to upgrade to LineageOS 14.1, I'm really sick and tired of Google spying my steps, my contacts and the number of times i take a piss every day, and so on. Right now I don't have any Google account associated with the mobile (could this be the problem, since this is a custom ROM?)
Everything ran smoothly, backed up my contacts, call logs, SMS, pictures and the ENTIRE Whataspp folder. This method always worked fine on several phones I've upgraded or simple swapped equipment to a more up-to-date hardware. Everytime worked like a charm, restored logs, contacts and so on, in what it concerns to Whatsapp i simply moved the ENTIRE folder to the new phone (or upgraded phone), installed the Whatsapp app and is just straight forward for the app to ask me for a SMS code to activate the software and then asked me to restore my backed up database. It has been very simple so far, but not this time:
When it reachs the point to detect and restore my database Whatsapp states that can find one Database from 1970 (???? WTF) with 0 bytes, and after that it fails to restore my data (not strange, 0 bytes is no data). I've already tried earlier versions of Whataspp, tried different databases (there are 7 in my folder, i don't believe all of them are corrupted). I'm reaching 0 ways to explore. BTW, i dont use Google drive to store my backups because its enough for Google to know how many times i take a piss everyday, i rather have the backups with me, on my phone (thanks any way Google), but the files are safe in my desktop and on my phone for now, inaccessible so far but their're there.
Can any one point me some way to try to revive my database? Just a note, i have an older phone that still have Whatsapp there, i didn't erased it, maybe it's there something of interest for this situation?
Thanks so much in advance for everyone that can help, any hint can be helpful.
Update!
I've managed to get another phone, exactly the same, Samsung J3 201 J320F.
I've sent my whatsapp folder to the phone, signed in to my google account, installed whatasapp and, like 98% of the times my backup is ok and is restored. Now I have two phones:
1- one with Whataspp working fine (the one with Stock ROM 5.1.1 J320FXXU0AQI1
2- another one, the main phone, where i want to put my whataspp backup working but it simply doesnt work (previous post). Everything elese is settled and working just fine. Maybe whatasapp doesnt like Custom ROMs??
So, I'm sure that my backups are fine, right now I have access to anything that i may need i guess. I don't believe that Im the first person not beeing able to restore whataspp backups in LineageOS.
Please help
New developments.: I've installed Ressurection 5.8.5, the latest available for this phone. It runs ok, but Whataspp problem is still there, the backup is marked to have 0Kb, somehow Whataspp simple doesn't want to recover my backup if I'm using a custom firmware (I receive a warning about no support from them if I have problems at the beginning of the startup process).
So far this method didn't work (Whatsapp shows my Backup with 0Kb):
1) Copy your latest crypt 12 file to /sdcard/WhatsApp/Databases/
2) Install / Activate WhatsApp
3) WhatsApp will retrieve the key from their server and restore your backup.
I've tried this method that appeared to have some success in same cases. Followed everything but no luck, Whataspp detects a 0Kb backup also.
Meanwhile I still don't believe that I'm the very 1st person that this happens, I'm still very impressed with this. If the OP thinks I'm in the wrong Topic please feel free to move it to the right place, maybe there I'll have better luck.
Not that I have much knowledge in that direction, but the issue sounds more like it is about the file than Whatsapp itself. Maybe some permission issue? If you use a filemanager app like total commander, can it read the file fully? I found a topic that had 0 byte filesize issue and a simple reboot apparently fixed it.
musschrott said:
Not that I have much knowledge in that direction, but the issue sounds more like it is about the file than Whatsapp itself. Maybe some permission issue? If you use a filemanager app like total commander, can it read the file fully? I found a topic that had 0 byte filesize issue and a simple reboot apparently fixed it.
Click to expand...
Click to collapse
Hello musschrott, and thanks for replying.
I've tried moving the database file, erase it, changing it's name and the android system allows me to do it, i think the file itself is free to be read by Whataspp, but your other tip, the permissions in system made me google around (even more..) about it and I found here on XDA this. : "The privacy protection in the drop down menu and the permission in the app settings." (credits to LegoTechniker). On the privacy protection is all ON but in the Permission is all OFF and Whataspp nor the System ask me to turn it ON and it can result on whatasapp reading files with 0Kb from 1970.
I'll give a try but only tomorrow because the code/phonecall from Whataspp have a 48h delay and keeps increasing everytime I try a different method to solve this issue.
musschrott, thanks again!
tomalamix said:
Hello musschrott, and thanks for replying.
I've tried moving the database file, erase it, changing it's name and the android system allows me to do it, i think the file itself is free to be read by Whataspp, but your other tip, the permissions in system made me google around (even more..) about it and I found here on XDA this. : "The privacy protection in the drop down menu and the permission in the app settings." (credits to LegoTechniker). On the privacy protection is all ON but in the Permission is all OFF and Whataspp nor the System ask me to turn it ON and it can result on whatasapp reading files with 0Kb from 1970.
I'll give a try but only tomorrow because the code/phonecall from Whataspp have a 48h delay and keeps increasing everytime I try a different method to solve this issue.
musschrott, thanks again!
Click to expand...
Click to collapse
For everyone and specially those who helped (musschrott).
This has worked for me: giving full permissions to Whataspp in "Settings - Privacy" and in "Settings - Applications" worked like a charm, you have to do it BEFORE you start Whatsapp.
Best regards to everyone and thanks once more!
Make sure the WhatsApp backup file is in internal storage, and rename the backup file to msgstore.db.crypt.
After upgrading to LineageOS 14.1,install WhatsApp.When asked to restore from backup,choose the "msgstore.db.crypt" file.
mango9 said:
Make sure the WhatsApp backup file is in internal storage, and rename the backup file to msgstore.db.crypt.
After upgrading to LineageOS 14.1,install WhatsApp.When asked to restore from backup,choose the "msgstore.db.crypt" file.
Click to expand...
Click to collapse
Yes,
Those are the basic steps, but BEFORE running Whatasapp for the 1st time you have to give permissions in the system to Whatsapp because these are all OFF and the system doesn't ask to turn them ON when the permission is needed, simply presents you a file with 0Kb from 1970 and that's it. Again, you have to do this BEFORE the 1st Whatsapp startup and everything should run well.
Best regards
My issue is I gave full write permissions but then it goes straight to the Google Drive restore and does not show my local backup.
When I followed this by Rahil:
https://www.reddit.com/r/whatsapp/comments/np2zjp
"So today I finally fixed the issue myself
Click to expand...
Click to collapse
Steps: 1)make sure you rename the database as it should be.
2)Install whatsapp
3)Insert your number when asked
4)Use Otp/code
5)Then the app will ask you for google drive permission ,click allow/ok
6)Then the app will ask for contact permission ,simply deny this permission (very important)
7)Then the app will ask for storage permission ,hit allow (very important)
8)Then you will see your local storage behind the popup saying allow google drive and crap You will need to press add account and have your fingers ready for instant tapping between add account and instant tapping restore button ,and out of 10-30 times doing this practice, you will luckily hit restore button, I know this sounds confusing, And I can make a tutorial video if you want ,this works 100%
9)once it is restored ,you will still see app asking google drive option, don't click skip (this will reset the app ,leading to nothing restored) , So when the app is asking to restore from google drive, close the app right away (very important)
10)open the app ,and the app will ask you to set name ,set your name ,and you'll see all your backup"
Click to expand...
Click to collapse
It works but then it shows my local backup as 0k and from 12/31/1969
This is Driving me wild and now I have to wait 12 hrs to try again. Has anyone solved this ridiculous error?
dpoverlord said:
My issue is I gave full write permissions but then it goes straight to the Google Drive restore and does not show my local backup.
When I followed this by Rahil:
https://www.reddit.com/r/whatsapp/comments/np2zjp
It works but then it shows my local backup as 0k and from 12/31/1969
This is Driving me wild and now I have to wait 12 hrs to try again. Has anyone solved this ridiculous error?
Click to expand...
Click to collapse
Did you find a solution to this? I have the exact same problem

Categories

Resources