Selamat datang di blog ali-mahdali.blogstpot.com, kali ini penulis memposting artikel yang berjudul Restore Android Application Data yang mana artikel ini dapat kalian akses melalui alamat : https://ali-mahdali.blogspot.com/2018/05/restore-android-application-data.html,
tanpa basa-basi yuk disimak artikelnya dibawah ini. Selamat membaca
This tutorial on my root device,...
you mus be have the twrp backup file, like this;
data.ext4.win000
data.ext4.win000.md5
data.ext4.win001
data.ext4.win001.md5
data.ext4.win002
data.ext4.win002.md5
The app data is stored inside the data partition. So the first step is to extract this partition:
tar -xvf data.ext4.win000
use Winrar For Windows, rename data.ext4.win000 to data.ext4.win000.tar
This will result in a folder called data which will eventually contain the application data in the subfolder data (yes, same name). In order to push data from individual application to the phone we first need to restart adb on the phone with root permissions:
adb root
Afterwards, individual application data folders can be pushed to the telephone, e.g.:
adb push data/data/com.example.app /data/data/com.example.app
Now the harder part begins. Android uses a single Unix user per application. First, the pushed files need to become owned bu the user of the application.
For this purpose, first the user id of the application needs to be found out. For this purpose the application needs to be installed already. On the phone, e.g. through adb shell do:
dumpsys package com.example.app | grep userId
This will print out the user id of the app, with which the files can be changed:
chown -R $id:$id /data/data/com.example.app
This is still not sufficient for the app to function properly again. If you try to launch the app now, chances are high that it complains about SQLite databases not being readable. This seems to be caused by SELinux, which is used by Android. The SELinux attributes of the files need to be restore, as described here:
restorecon -Rv /data/data/com.example.app
Finally, the app should be restored
Sebelum melanjutkan membaca artikel ini, berikut adalah artikel yang berkaitan dengan judul artikel Restore Android Application Data :
ok, silahkan lanjut membaca.
Terimakasih atas kunjungan Anda dan Karena telah sudi membaca artikel yang berjudul Restore Android Application Data .Tak Lengkap Rasanya Jika Kunjungan Anda di Blog ini Tanpa Meninggalkan Komentar, untuk Itu Silahkan Berikan Kritik dan saran Pada Kotak Komentar di bawah. Anda boleh menyebarluaskan atau mengcopy artikel Restore Android Application Data ini jika memang bermanfaat bagi anda, namun jangan lupa untuk mencantumkan link sumbernya. Terima Kasih, Happy Blogging :)
EmoticonEmoticon