手机砖后如何从备份数据恢复开放的歌剧选项卡? -- opera-mobile 领域 和 browser-tabs 领域 android 相关 的问题

How to recover open opera tabs from backup data after phone bricked?


1
vote

问题

中文

我在歌剧上打开了200多个选项卡,它们通常会再次重新开放,即使重新启动后也会重新开放。

我的手机打破了,但我有一个外部SD卡,内部SD卡和TWRP的备份,尺寸为23.7 GB,但没有明显可访问的结构。

从另一个qa ,可以连接 data.ext4.win000 data.ext4.win009 文件并将它们作为tar存档访问(对您希望备份提取到首先提取的CD是一个好主意):

bash cat data.ext4.win??? | tar xvfi -

这确实是匹配与模式匹配的每个文件 data.ext4.win ???然后将连接文件管制到tar for 萃取。 - 因为文件名告诉焦油从Stdin提取。这 我选项忽略每个存档之间的零块 文件连接。

在此示例中,我使用了ext4格式化的数据分区。改变 data.ext4匹配您正在提取的分区。

虽然tar命令用

退出
    

/data/magisk_backup_bd5d0aaa87b96353c78a3bf3a455121d0c767089c/boot.img.gz tar:由于先前的错误引起的故障状态

    

它在此臀部之前提取了很多文件。

现在我有我的 /data 目录,我可以访问 root@localhost:/home/marietto# lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 002: ID 148f:2573 Ralink Technology, Corp. RT2501/RT2573 Wireless Adapter Bus 001 Device 003: ID 0a5c:2121 Broadcom Corp. BCM2210 Bluetooth Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB Bus 001 Device 009: ID 04d9:1503 Holtek Semiconductor, Inc. Shortboard Lefty Bus 001 Device 010: ID 046d:c05a Logitech, Inc. Optical Mouse M90 root@localhost:/home/marietto# adb devices List of devices attached 0 root@localhost:/home/marietto# lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 002: ID 148f:2573 Ralink Technology, Corp. RT2501/RT2573 Wireless Adapter Bus 001 Device 003: ID 0a5c:2121 Broadcom Corp. BCM2210 Bluetooth Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB Bus 001 Device 009: ID 04d9:1503 Holtek Semiconductor, Inc. Shortboard Lefty Bus 001 Device 010: ID 046d:c05a Logitech, Inc. Optical Mouse M90 root@localhost:/home/marietto# adb devices List of devices attached 1 。我该如何处理它们以提取打开的URL列表?

目录结构

数据/数据/ com.opera.browser

  root@localhost:/home/marietto# lsusb  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 002: ID 148f:2573 Ralink Technology, Corp. RT2501/RT2573 Wireless Adapter Bus 001 Device 003: ID 0a5c:2121 Broadcom Corp. BCM2210 Bluetooth Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB Bus 001 Device 009: ID 04d9:1503 Holtek Semiconductor, Inc. Shortboard Lefty Bus 001 Device 010: ID 046d:c05a Logitech, Inc. Optical Mouse M90  root@localhost:/home/marietto# adb devices List of devices attached  2  

数据/ app / com.opera.browser-2

  root@localhost:/home/marietto# lsusb  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 002: ID 148f:2573 Ralink Technology, Corp. RT2501/RT2573 Wireless Adapter Bus 001 Device 003: ID 0a5c:2121 Broadcom Corp. BCM2210 Bluetooth Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB Bus 001 Device 009: ID 04d9:1503 Holtek Semiconductor, Inc. Shortboard Lefty Bus 001 Device 010: ID 046d:c05a Logitech, Inc. Optical Mouse M90  root@localhost:/home/marietto# adb devices List of devices attached  3  

数据/数据/ com.opera.browser / files /

  root@localhost:/home/marietto# lsusb  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 002: ID 148f:2573 Ralink Technology, Corp. RT2501/RT2573 Wireless Adapter Bus 001 Device 003: ID 0a5c:2121 Broadcom Corp. BCM2210 Bluetooth Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB Bus 001 Device 009: ID 04d9:1503 Holtek Semiconductor, Inc. Shortboard Lefty Bus 001 Device 010: ID 046d:c05a Logitech, Inc. Optical Mouse M90  root@localhost:/home/marietto# adb devices List of devices attached  4  

系统信息

我想我在Android 7.1.1 扎根于Magisk,但股票rom

最近关闭的标签

不是我现在正在寻找的东西,但我偶然发现了那些未来观众的位置,以防未来的观众正在寻找它们:

  root@localhost:/home/marietto# lsusb  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 002: ID 148f:2573 Ralink Technology, Corp. RT2501/RT2573 Wireless Adapter Bus 001 Device 003: ID 0a5c:2121 Broadcom Corp. BCM2210 Bluetooth Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB Bus 001 Device 009: ID 04d9:1503 Holtek Semiconductor, Inc. Shortboard Lefty Bus 001 Device 010: ID 046d:c05a Logitech, Inc. Optical Mouse M90  root@localhost:/home/marietto# adb devices List of devices attached  5  

相关链接

  • 如何将所有打开的firefox选项卡导出到文本文件?已提出所以在一个活着的手机上,但也指出了文件所在的位置。相关文件称为 root@localhost:/home/marietto# lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 002: ID 148f:2573 Ralink Technology, Corp. RT2501/RT2573 Wireless Adapter Bus 001 Device 003: ID 0a5c:2121 Broadcom Corp. BCM2210 Bluetooth Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB Bus 001 Device 009: ID 04d9:1503 Holtek Semiconductor, Inc. Shortboard Lefty Bus 001 Device 010: ID 046d:c05a Logitech, Inc. Optical Mouse M90 root@localhost:/home/marietto# adb devices List of devices attached 6
    歌剧似乎并不有用。 grepping root@localhost:/home/marietto# lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 002: ID 148f:2573 Ralink Technology, Corp. RT2501/RT2573 Wireless Adapter Bus 001 Device 003: ID 0a5c:2121 Broadcom Corp. BCM2210 Bluetooth Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB Bus 001 Device 009: ID 04d9:1503 Holtek Semiconductor, Inc. Shortboard Lefty Bus 001 Device 010: ID 046d:c05a Logitech, Inc. Optical Mouse M90 root@localhost:/home/marietto# adb devices List of devices attached 7 对于"会话" 只查找 root@localhost:/home/marietto# lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 002: ID 148f:2573 Ralink Technology, Corp. RT2501/RT2573 Wireless Adapter Bus 001 Device 003: ID 0a5c:2121 Broadcom Corp. BCM2210 Bluetooth Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB Bus 001 Device 009: ID 04d9:1503 Holtek Semiconductor, Inc. Shortboard Lefty Bus 001 Device 010: ID 046d:c05a Logitech, Inc. Optical Mouse M90 root@localhost:/home/marietto# adb devices List of devices attached 8 ,其中包含对我的目的没有任何有用。

  • 如何导出打开的Chrome选项卡列表?

承诺文件 root@localhost:/home/marietto# lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 002: ID 148f:2573 Ralink Technology, Corp. RT2501/RT2573 Wireless Adapter Bus 001 Device 003: ID 0a5c:2121 Broadcom Corp. BCM2210 Bluetooth Bus 001 Device 004: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB Bus 001 Device 009: ID 04d9:1503 Holtek Semiconductor, Inc. Shortboard Lefty Bus 001 Device 010: ID 046d:c05a Logitech, Inc. Optical Mouse M90 root@localhost:/home/marietto# adb devices List of devices attached 9

sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install android-tools-adb android-tools-fastboot 0 至少包含一些URL及其标题,由null字节分隔。 sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install android-tools-adb android-tools-fastboot 1 输出不仅仅是打开的URL。和一些双重或不完全的人。 我将在下面用这个文件记录我的Journy。

查看 sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install android-tools-adb android-tools-fastboot 2 显示它是二进制数据文件,但它包含可读字符串。使用 sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install android-tools-adb android-tools-fastboot 3 打开它或查看 sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install android-tools-adb android-tools-fastboot 4

  sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install android-tools-adb android-tools-fastboot 5  

已经吐出了很多URL。但对我来说,该文件的结构实际上还没有明显。

一些条目前缀与 sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install android-tools-adb android-tools-fastboot 6 sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install android-tools-adb android-tools-fastboot 7 sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install android-tools-adb android-tools-fastboot 8 sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install android-tools-adb android-tools-fastboot 9 或根本没有。< BR /> 在某些条目中,"Reader_Mode_State" 是URL之后的第一行,在其他情况下,它是"Operaui:// startpage" ,并且在下面进一步跟随URL。

但是突出的是,URL似乎从 root@localhost:/home/marietto# adb version Android Debug Bridge version 1.0.31 0 root@localhost:/home/marietto# adb version Android Debug Bridge version 1.0.31 1 - 除非您有一些ftp或如此开放,我非常自信 没有。

  root@localhost:/home/marietto# adb version Android Debug Bridge version 1.0.31 2  

输出1506行。 有些链接是重复的,其他链接是链接我没有 关心。 例如 如:

  root@localhost:/home/marietto# adb version Android Debug Bridge version 1.0.31 3  

由于我不关心重复项,我们可以应用 root@localhost:/home/marietto# adb version Android Debug Bridge version 1.0.31 4 以将该号码降低到967个URL。 使用 root@localhost:/home/marietto# adb version Android Debug Bridge version 1.0.31 5 我们将达到833。 但两者仍然太多了。 在我看来,像歌剧会也在那里存储了标签的历史。

删除一些明显的不需要的线条给出523行,所以〜260个网址:

  root@localhost:/home/marietto# adb version Android Debug Bridge version 1.0.31 6  

作为考虑的目标号码:

  root@localhost:/home/marietto# adb version Android Debug Bridge version 1.0.31 7  

这意味着 - 假设这个目标号码是对打开的标签的估计很好 - 我有大约三十个URL太多。 我想我可以忍受。

英文原文

I had more than 200 tabs open on opera and they would normally reopen again, even after reboots.

My phone broke, but I have a backup of the external SD Card, internal SD Card, and a backup from TWRP which is of a size of 23.7 GB but does not have an obviously accessible structure.

Following the advice from another QA, it is possible to concatenate the data.ext4.win000 to data.ext4.win009 files and access them as a tar archive (It's a good idea to cd to where you want the backup to be extracted to first):

bash cat data.ext4.win??? | tar xvfi -

What this does is concatenate each file matching the pattern data.ext4.win??? and then pipe the concatenated files to tar for extraction. the - as the filename tells tar to extract from stdin. The i option ignores zero blocks which will be in between each archive file concatenated.

In this example I used the ext4 formatted data partition. Change data.ext4 to match the partition you are extracting.

Although the tar command exits with

/data/magisk_backup_bd5d0aa87b96353c78a3bf3a455121d0c767089c/boot.img.gz tar: Exiting with failure status due to previous errors

it extracts quite a few files before this hapens.

Now that I have my /data directory again, I have access to /data/data/com.opera.browser and /data/app/com.opera.browser-2. What do I do with them to extract a list of urls that were open?

Directory Structures

data/data/com.opera.browser

xe2x94x9cxe2x94x80xe2x94x80xe2x94x80app_opera xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80Application Cache xe2x94x82   xe2x94x82   xe2x94x94xe2x94x80xe2x94x80xe2x94x80Cache xe2x94x82   xe2x94x82       xe2x94x94xe2x94x80xe2x94x80xe2x94x80index-dir xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80blob_storage xe2x94x82   xe2x94x82   xe2x94x94xe2x94x80xe2x94x80xe2x94x809b46839e-470e-4a3a-aa32-e9bc919a25f0 xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80databases xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80databases-incognito xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80File System xe2x94x82   xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80026 xe2x94x82   xe2x94x82   xe2x94x82   xe2x94x94xe2x94x80xe2x94x80xe2x94x80t xe2x94x82   xe2x94x82   xe2x94x82       xe2x94x94xe2x94x80xe2x94x80xe2x94x80Paths xe2x94x82   xe2x94x82   xe2x94x94xe2x94x80xe2x94x80xe2x94x80Origins xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80GCM Store xe2x94x82   xe2x94x82   xe2x94x94xe2x94x80xe2x94x80xe2x94x80Encryption xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80GPUCache xe2x94x82   xe2x94x82   xe2x94x94xe2x94x80xe2x94x80xe2x94x80index-dir xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80IndexedDB xe2x94x82   xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80https_hackernoon.com_0.indexeddb.leveldb xe2x94x82   xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80https_mobile.twitter.com_0.indexeddb.leveldb xe2x94x82   xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80https_www.epicgames.com_0.indexeddb.leveldb xe2x94x82   xe2x94x82   xe2x94x94xe2x94x80xe2x94x80xe2x94x80https_www.independent.co.uk_0.indexeddb.leveldb xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80Local Storage xe2x94x82   xe2x94x82   xe2x94x94xe2x94x80xe2x94x80xe2x94x80leveldb xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80paks xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80Platform Notifications xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80saved_pages xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80Service Worker xe2x94x82   xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80CacheStorage xe2x94x82   xe2x94x82   xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x805a6f7e336992bc24678958dc2f1f9b9eec83593b xe2x94x82   xe2x94x82   xe2x94x82   xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80281ffb34-a074-4397-a60c-e3dc55aee5e5 xe2x94x82   xe2x94x82   xe2x94x82   xe2x94x82   xe2x94x82   xe2x94x94xe2x94x80xe2x94x80xe2x94x80index-dir xe2x94x82   xe2x94x82   xe2x94x82   xe2x94x82   xe2x94x94xe2x94x80xe2x94x80xe2x94x808d34090e-e00a-4f69-9450-bbe1b4b0dc9d xe2x94x82   xe2x94x82   xe2x94x82   xe2x94x82       xe2x94x94xe2x94x80xe2x94x80xe2x94x80index-dir xe2x94x82   xe2x94x82   xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x8096f3041722d8f6857b95786ee88fa6a107a86943 xe2x94x82   xe2x94x82   xe2x94x82   xe2x94x82   xe2x94x94xe2x94x80xe2x94x80xe2x94x8011ccf6ea-9e2a-4648-8c61-a635e1cca5c5 xe2x94x82   xe2x94x82   xe2x94x82   xe2x94x82       xe2x94x94xe2x94x80xe2x94x80xe2x94x80index-dir xe2x94x82   xe2x94x82   xe2x94x82   xe2x94x94xe2x94x80xe2x94x80xe2x94x80e60030e2e5440743857a39cacd108634434c91f1 xe2x94x82   xe2x94x82   xe2x94x82       xe2x94x9cxe2x94x80xe2x94x80xe2x94x800045349f-4331-4037-bf9d-e9711e515a08 xe2x94x82   xe2x94x82   xe2x94x82       xe2x94x82   xe2x94x94xe2x94x80xe2x94x80xe2x94x80index-dir xe2x94x82   xe2x94x82   xe2x94x82       xe2x94x9cxe2x94x80xe2x94x80xe2x94x804a447cca-f7ca-41f1-9464-e40337cd7ed1 xe2x94x82   xe2x94x82   xe2x94x82       xe2x94x82   xe2x94x94xe2x94x80xe2x94x80xe2x94x80index-dir xe2x94x82   xe2x94x82   xe2x94x82       xe2x94x94xe2x94x80xe2x94x80xe2x94x80907b2396-da18-4880-a0df-e3608abac640 xe2x94x82   xe2x94x82   xe2x94x82           xe2x94x94xe2x94x80xe2x94x80xe2x94x80index-dir xe2x94x82   xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80Database xe2x94x82   xe2x94x82   xe2x94x94xe2x94x80xe2x94x80xe2x94x80ScriptCache xe2x94x82   xe2x94x82       xe2x94x94xe2x94x80xe2x94x80xe2x94x80index-dir xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80Session Storage xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80shared_proto_db xe2x94x82   xe2x94x82   xe2x94x94xe2x94x80xe2x94x80xe2x94x80metadata xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80Sync Data xe2x94x82   xe2x94x82   xe2x94x94xe2x94x80xe2x94x80xe2x94x80LevelDB xe2x94x82   xe2x94x94xe2x94x80xe2x94x80xe2x94x80VideoDecodeStats xe2x94x9cxe2x94x80xe2x94x80xe2x94x80app_optimized xe2x94x9cxe2x94x80xe2x94x80xe2x94x80app_textures xe2x94x9cxe2x94x80xe2x94x80xe2x94x80app_webview xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80blob_storage xe2x94x82   xe2x94x82   xe2x94x94xe2x94x80xe2x94x80xe2x94x803f7cc261-4c0e-41cc-947b-2dc712733f49 xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80GPUCache xe2x94x82   xe2x94x82   xe2x94x94xe2x94x80xe2x94x80xe2x94x80index-dir xe2x94x82   xe2x94x94xe2x94x80xe2x94x80xe2x94x80Local Storage xe2x94x82       xe2x94x94xe2x94x80xe2x94x80xe2x94x80leveldb xe2x94x9cxe2x94x80xe2x94x80xe2x94x80cache xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80cache xe2x94x82   xe2x94x82   xe2x94x94xe2x94x80xe2x94x80xe2x94x80index-dir xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80Crashpad xe2x94x82   xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80attachments xe2x94x82   xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80completed xe2x94x82   xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80new xe2x94x82   xe2x94x82   xe2x94x94xe2x94x80xe2x94x80xe2x94x80pending xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80crash_dumps xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80distiller xe2x94x82   xe2x94x82   xe2x94x94xe2x94x80xe2x94x80xe2x94x80index-dir xe2x94x82   xe2x94x94xe2x94x80xe2x94x80xe2x94x80okhttp xe2x94x9cxe2x94x80xe2x94x80xe2x94x80code_cache xe2x94x9cxe2x94x80xe2x94x80xe2x94x80databases xe2x94x9cxe2x94x80xe2x94x80xe2x94x80files xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80AFRequestCache xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80ds xe2x94x82   xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x8010 xe2x94x82   xe2x94x82   xe2x94x94xe2x94x80xe2x94x80xe2x94x80E xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80images xe2x94x82   xe2x94x82   xe2x94x94xe2x94x80xe2x94x80xe2x94x80share xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80keychain xe2x94x82   xe2x94x82   xe2x94x94xe2x94x80xe2x94x80xe2x94x800 xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80reading xe2x94x82   xe2x94x94xe2x94x80xe2x94x80xe2x94x80recently_closed_tabs xe2x94x9cxe2x94x80xe2x94x80xe2x94x80no_backup xe2x94x94xe2x94x80xe2x94x80xe2x94x80shared_prefs 

data/app/com.opera.browser-2

xe2x94x9cxe2x94x80xe2x94x80xe2x94x80lib xe2x94x82   xe2x94x9cxe2x94x80xe2x94x80xe2x94x80arm xe2x94x82   xe2x94x94xe2x94x80xe2x94x80xe2x94x80arm64 xe2x94x94xe2x94x80xe2x94x80xe2x94x80oat     xe2x94x9cxe2x94x80xe2x94x80xe2x94x80arm     xe2x94x94xe2x94x80xe2x94x80xe2x94x80arm64 

data/data/com.opera.browser/files/

# 332 files of the nameformat "thumbnail_-214748????" # 3   files of the nameformat "searchengine_j_<UUID>" AFRequestCache              appstate.bin                     audience_network.dex      cards_settings.dat            ds                                   favorite_25                      favorite_29                      favorite_31                      favorites.json                   images                            keychain                         newsfeedback                  permissions.bin                reading                           recently_closed_tabs        reksio.ini    

System Info

I think I was on Android 7.1.1
Rooted with Magisk, but stock ROM

Recently Closed Tabs

Not what I am looking for right now, but I stumbled upon the location of those, in case a future viewer is looking for them:

data/data/com.opera.browser/files/recently_closed_tabs/state-2147481796 

Related Links

  • How can I export all my open Firefox Tabs to a text file? is posed about doing so on a living phone, but also points out where the file is located. The relevant file is called sessionstore.js.
    That does not seem useful for opera. grepping find for "session" only finds shared_prefs/sessionrestore.xml which contains nothing useful for my purposes.

  • How can I export the list of open Chrome tabs?

Promising Files appstate.bin

data/data/com.opera.browser/files/appstate.bin contains at least some urls and their titles, separated by a null-byte. strings appstate.bin outputs more than just the urls that were open though. And some of those doubly or not completely. I shall document my journy with this file below.

Looking at data/data/com.opera.browser/files/appstate.bin shows that it's a binary data file, but it contains readable strings. Open it with vim appstate.bin or look at hexdump -C appstate.bin.

strings appstate.bin | grep -A3 reader_mode_state 

already spits out quite a few urls. But it's not yet obvious to me how the structure of that file actually works.

Some entries prefix the url with l or O or K or ] or not at all.
In some entries the first line after "reader_mode_state" is the url, in others it is "operaui://startpage" and the url follows further below.

But what stands out is that the urls all seem to start with http or https - unless you had some ftp or such open, which I'm pretty confident I did not.

strings appstate.bin | grep http 

outputs 1506 lines though. some links are duplicates, others are links I do not care about. e.g. like so:

Qhttps://www.linuxuprising.com/2018/06/fix-no-sound-dummy-output-issue-in.html?m=1 Qhttps://www.linuxuprising.com/2018/06/fix-no-sound-dummy-output-issue-in.html?m=1 https://www.linuxuprising.com https://www.linuxuprising.com https://www.linuxuprising.com https://www.linuxuprising.com https://www.linuxuprising.com https://www.linuxuprising.com https://www.linuxuprising.com https://www.linuxuprising.com https://www.linuxuprising.com https://www.linuxuprising.com https://www.linuxuprising.com 

Since I don't care about duplicates, we can apply uniq to reduce that number down to 967 urls. With sort -u we would get down to 833 instead. But both are still too many. It seems to me like opera also stores the tab's history in there.

Removing some obviously unwanted lines gives 523 lines, so ~260 urls:

 strings appstate.bin | grep -v -e 'operaui://startpage' -e 'Speed Dial' | grep -A2 reader_mode_state | uniq | grep -v 'reader_mode_state' 

As a target number to consider:

strings appstate.bin | grep reader_mode_state | wc -l 231 

That means - assuming this target number is a good estimate of how many tabs were open - that I have about thirty urls too many. I think I can live with that.

     

回答列表

0
 
vote
vote
最佳答案
 

在新手机上使用

  1. 在新手机上安装Opera
  2. 将旧 adb shell ip addr show1 复制到该位置的新手机。 (需要root)。
  3. 开歌。存在所有选项卡(但必须再次加载)。

导出URL作为列表

这将发现您希望的URL稍微增加。可能是选项卡历史的东西。

adb shell ip addr show2 包含该数据。要获取仅限URL的列表,可以运行

  adb shell ip addr show3  

如果您关注URL的顺序,请使用 adb shell ip addr show4 而不是 adb shell ip addr show5

 

Use on New Phone

  1. Install opera on the new phone
  2. Copy the old /data/data/com.opera.browser/files/appstate.bin to the new phone at that location. (Requires root).
  3. Open Opera. All the Tabs exist (but will have to be loaded again).

Export URLs as List

This will find slightly more urls that you were hoping for. Probably something from the tab's history.

data/data/com.opera.browser/files/appstate.bin contains that data. To get a list of only the URLs, you can run

strings appstate.bin | \ grep -v -e 'operaui://startpage' -e 'Speed Dial' | \ grep -A2 reader_mode_state | \ sort -u | grep -v 'reader_mode_state' | grep -oh "http.*$" 

If you care about the order of the urls, use uniq instead of sort -u.

 
 

相关问题

3  使用桌面Firefox同步Opera Mobile / Mini  ( Syncing opera mobile mini with desktop firefox ) 
我更喜欢在Android上的Opera但是Firefox在桌面上。有没有办法同步这两个? ...

1  如何从不同的设备重新打开1000个同步歌剧选项卡?  ( How to reopen 1000 synced opera tabs from a different device ) 
上次,我可以简单地将 appstate.bin 文件复制到新设备,如这个q&amp; a 。但这一次,我的备份太旧了,或者别的东西改变了。复制该文件没有可见效果。 但是,我将我的打开选项卡同时到Opera的服务器。在我的新重新安装的手机上,我仍然可以看到"在不同的设备上打开的标签" ,这是同一部手机预先重新安装。我还...

2  “适用于Android”的“Opera”开始页面  ( Start page for opera for android ) 
问题:我正在尝试为Android操作系统的"完整" 浏览器配置我的"Opera for Android" ,以在"快速拨号" 中,而不是在最后加载的网站页面上。这是保存数据流量的问题。我运行了一个网站,其中一些页面很长的列表,我不希望在下次启动Opera时重新加载。是的,我知道我可以(如果我记得,请点击红色o关闭Op...

4  歌剧迷你与涡轮增压的流量  ( Traffic of opera mini vs mobile with turbo ) 
opera mini用户与启用turbo的opera mobile相比,流量与insa minia相比?我想它少但我没有看到任何数字。 ...

1  如何删除Opera Mobile的所有默认快速拨号? [关闭]  ( How to remove all of default speed dials of opera mobile ) 
这个问题不太可能帮助任何未来的访客;它仅与小地理区域,特定时刻及时的特定时刻或非常狭窄的情况,这些情况通常不适用于互联网的全球观众。有关帮助提出这个问题更广泛适用,请访问帮助中心。 ...

5  视频直接流到我的默认播放器。想要在歌剧中打开,所以我可以下载它  ( Videos are directly streaming onto my default player want to open in opera so i ) 
我已经在上周使用了Android。 我有歌剧进行浏览。我直接通过歌剧从网站下载视频。下载时,它会问我是否在手机的Opera或默认视频播放器中打开视频。 意外我一旦点击"使其默认" 选项,它一直单击它是直接流传到视频播放器。在此之后,它从未在我的歌剧中打开下载。 因为这个我无法将视频下载到我的手机中。如果我试图搜索视频...

1  如何编辑Opera Mobile中快速拨号按钮的URL?  ( How do i edit the urls of the speed dial buttons in opera mobile ) 
如何编辑Opera Mobile中的快速拨号按钮的URL? 例如,我有一个网址www.economist.com/printedition,它在不同的场合重定向到不同的URL。如果我使用标准拨号功能,我将最终保存重定向的URL而不是打印url。 是否有一些文件,可以编辑这些URL? ...

2  如何通过shell删除Opera Mobile(10.1)中的历史记录和缓存?  ( How to delete the history and cache in opera mobile 10 1 via shell ) 
我在android上运行 opera mobile 10.1 。我的设备植根了。 如何通过shell清除浏览器的历史和缓存? 如su,去除 /data/data/com.opera.browser/opera/profiles/smartphone/cookies4.dat /data/data/com.op...

1  是否可以从“打开”对话框中排除应用程序?  ( Is it possible to exclude apps from the open with dialog ) 
我的设备上有两个浏览器,Chrome和Opera,但通常总是希望使用Chrome。但即使我选择Chrome用于打开WebLinks并按"始终" 按钮,它仍然可以再次向我询问我想要用于一些其他链接的浏览器。 我的手机植根了(这是一部展位)。是否有可能仅排除歌剧一次,并从被建议中征求?当我故意通过抽屉故意启动时,我只希望...

0  一些主屏幕www快捷方式不使用opera  ( Some home screen www shortcuts not using opera ) 
这是运行OS 6.0.1的Google Nexus 7 2013(最新用于该设备)。使用Nova Launcher。 我有opera安装并设置为默认浏览器(因为各种原因,我更喜欢它到Chrome)。 如果我在某个网站上然后点击'添加到主屏幕',它就确实如此 - 添加一个主屏幕图标,当拍摄时会在该页面上带来Opera。...

4  歌剧搜索栏:输入没有搜索  ( Opera search bar enter doesnt search ) 
我在搜索框中写下我的问题(在堆栈交换机或维基百科或谷歌上)。当我按Enter键时,它不会搜索。 这不是键盘的东西,因为我尝试了SwiftKey,Android键盘,三星键盘和Swype。 是一个歌剧事件,自使用默认浏览器,键盘"Enter" 被键盘替换为搜索或圆圈中的圈子,以便"Go" 按预期。 我没有尝试过任何...

1  如何在Android上访问Opera Mobile的浏览器控制台?  ( How can i access the browser console on opera mobile on android ) 
如何在 Opera Mobile上访问浏览器控制台Android ? 浏览器控制台=类似于Chrome上的开发人员控制台窗口的东西,按下键盘快捷键Ctrl Shift J ...

3  是否有可能将Opera Mobile的地址栏和搜索栏中组合成一个  ( Is it possible to combine address bar and search bar of opera mobile into one ) 
我一直在使用股票浏览器。最近,我发现当我双击以放大时,Opera Mobile更快。我想将我的日常用来切换到Opera Mobile。但是,我发现的缺点是,他们没有单个酒吧来搜索和键入地址。我有没有解决方法或插件,可以这样做吗? ...

0  eBay://,Tel:等没有从浏览器中工作  ( Ebay tel etc not working out of browser ) 
我正在使用Opera作为浏览器。我可以记住,在过去,当我忘记一家餐馆时,我可以从搜索结果拨打电话号码。 现在,我在标题栏中看到了 tel:<number> ,但拨号器没有打开。 此外,我刚注意到 ebay:// 链接也没有打开eBay应用程序,但没有任何作用。 任何想法我已配置以实现此行为的原因?甚至更有趣:如何恢复...

1  在歌剧中设置字体大小  ( Set font size in opera ) 
Opera Mini可以选择在小/中/大字体大小之间进行选择。我试图在新的Opera浏览器for Android中找到这个选项,但不能。 根本可以设置Opera的字体大小吗? ...

21  Opera Mini和Opera Mobile之间有什么区别?  ( What is the difference between opera mini and opera mobile ) 
Opera Mobile有哪些功能有歌剧迷你?是否有其他差异,例如速度? ...

1  Urlfilter.ini for Opera Mini  ( Urlfilter ini for opera mini ) 
对于Opera或Opera Mobile,可以通过将文件 urlfilter.ini 添加到用户配置文件来阻止某些URL 。在Opera Mobile上,该文件将放置在 /data/data/com.opera.browser/opera/profiles/smartphone/urlfilter.ini 。 但这种...

2  可以将Movea Mini或Mobile配置为在共享作为电子邮件时将页面标题设置为主题?  ( Can opera mini or mobile be configured to set the page title as the subject when ) 
CAN MINI或MOBILE配置为在共享作为电子邮件时将页面标题设置为主题? ...

0  如何改变Android Opera Lock屏幕新闻?  ( How to alter android opera lock screen news ) 
如何改变Android Opera Lock屏幕新闻? 当我的Android OS7现在解锁时,有Opera浏览器锁定屏幕新闻。如何改变那里显示的内容? ...

0  关掉歌剧新闻故事  ( Turn off opera news stories ) 
我从未使用过歌剧。仍然,每天左右,我收到一些新闻标题的通知。我不必为此开放歌剧,它出现在我的手机上的"仪表板" ,列出了我所有的应用程序,我也可以看到屏幕上的通知,刚刚显示时钟和短信通知等(对不起我真的很了解了很多移动术语)。 这个问题在这里描述了吗? 如何关闭Opera Mini"发现"/" 顶部故事"新闻饲料? ...

0  Opera Off-Road模式:自动打开移动,但为WiFi开启  ( Opera off road mode automatically switch on for mobile but off for wifi ) 
我喜欢歌剧的越野模式,特别是我可以专门禁用加载图像的事实,但是当在wifi上时,我必须手动禁用它,这是一个额外的步骤。 是可以将Opera设置为移动数据的越野模式,但在WiFi上切换它? 注意:我用Opera Mobile标记了这个,因为只有Opera Mobile和Opera Mini标签可用,但我正在谈论Andr...

0  浏览器在滚动时放大和缩小  ( Browsers zoom in and out while scrolling ) 
每次在Chrome,Opera或Firefox中打开页面并尝试使用手指尖滚动时,浏览器似乎突然缩放,同时滚动,将滚动作为捏合和滚动手势。这是f ******令人讨厌的。 此问题根本不会发生在Android的内置浏览器上,因此我必须建议这不是我的触摸屏的问题。 我在我的lg Optimus L3上遇到了这个问题,有An...

0  如何启用Android Opera Mini浏览器越野模式?  ( How to enable android opera mini browser off road mode ) 
最近我发现,在Opera Mini浏览器中启用越野模式是隐藏ISP的浏览数据的好方法。所以我安装了24.0.2254版。但我找不到启用越野模式的选项。似乎这个选项是在旧版本中提供的,但不是最新版本。越野模式现在已经过时或有任何替代选项吗? ...




© 2021 it.wenda123.org All Rights Reserved. 问答之家 版权所有


Licensed under cc by-sa 3.0 with attribution required.