Ok, this is very old, but the problem just happened to me right now after updating Chrome.
Since this topic appears on the first page of google I want to help anyone that may have the same problem.
You must have root.
The solution is simple and follows the same concept from google desktop for PC. Chrome for some reason crash and your tabs go to a second file in its data folder, accessible only with root. We need to force Chrome to use this backup file. Follow what I did:
- Backup actual chrome (apk+data) in case you need your history as second option of recovery.
- You'll use the program ADB now. It can be over usb or wifi adb (search at playstore for this second). Connect to your phone:
- You need to be root to list the files inside each app, so type:
and accept grant root permission on your screen (if asks)
- Go to folder:
Code:
cd /data/data/com.android.chrome/app_tabs/0
- Here you'll find two files (or more). List them:
- You may see something as
Code:
-rw------- u0_a90 u0_a90 9576 2016-09-21 00:36 tab7697
-rw------- u0_a90 u0_a90 9557 2016-09-20 21:22 tab_state-1
-rw------- u0_a90 u0_a90 32 2016-09-21 00:37 tab_state0
- First, I backup the most recent tabs:
Code:
cp tab7697 tab-bkp-crash
cp tab_state-1 tab_bkp-last
- From now on, you must close all background apps to make sure Chrome is not running. Click the alternate apps key on your mobile and click on the X close recent apps (this may vary, but same idea).
- You can check the contents of the file using:
- I tried to copy tab7697 (by the date I assume the file that crashed) over tab_state0 and started Chrome, but it crashed and it recreated tab_state0 with no tabs again (small size).
- Then I repeated the step to close background apps again and tried to copy the tabs backup (just before update) tab_state-1 over tab_state0:
Code:
cp tab_state-1 tab_state0
- Tried to open chrome, it started to load all my 84 tabs, took some time, but it crashed again. I restarted Chrome and it kept reloading the 84 tabs and this time finished all of them (same ones that I left before starting the update from play store).
- It will open the tabs in inverse order, but everything will be there.
Hope this helps, since I didn't find any tutorial like this over all these years and Chrome still may crash after a simple update from store.