[펌] Android에서 rooting 없이 앱 폴더 접근하는 방법
I got my new galaxy s3 and I am all excited doing new android development. I fire up the adb shell to look around and I see this:
dennis@foofive ~ $ adb shell
shell@android:/ $ ls -al
...
drwxrwx--x system system 2012-09-24 23:38 data
...
shell@android:/ $ cd data/
shell@android:/data $ ls
opendir failed, Permission denied
Grrrr. Ok so I can’t access the data folder because it is read protected. What do I do now? I can root the phone, but I don’t really want to do that for various reasons. All I really want is to see into my data folder application directories, be able to remove test files such as databases and preferences.
Turns out there is a simple solution, the run-as command.
run-as com.your.package ls -l /data/data/com.your.package
run-as com.your.package rm /data/data/com.your.package/databases/mydatabase.db
That will allow you to run commands as your app. You can also use run-as in interactive mode.
run-as com.your.package
shell@android:/data/data/com.your.package $ ls
cache
databases
lib
shared_prefs
rm databases/mydatabase.db
Interactive mode will drop you into the data folder for your app. You can navigate from there.
For the run-as command to work the app must be debuggable. This means that run-as will work for apps that you are developing and have deployed through eclipse and for any apps that have been released with the debuggable flag turned on. It will not work for most android system and commercially released apps. Sorry, no hacking your favorite app this way.
shell@android:/ $ run-as com.android.backupconfirm
run-as: Package 'com.android.backupconfirm' is not debuggable
Hope this helps save you some time and frustration.
услуги по продаже аккаунтов https://birzha-akkauntov-online.ru/
продажа аккаунтов магазин аккаунтов
купить аккаунт с прокачкой гарантия при продаже аккаунтов
продать аккаунт купить аккаунт
продажа аккаунтов площадка для продажи аккаунтов
безопасная сделка аккаунтов https://kupit-akkaunt-top.ru
магазин аккаунтов https://pokupka-akkauntov-online.ru/
Account Catalog Account Selling Service
Secure Account Sales Guaranteed Accounts
Account Buying Platform Buy accounts
Website for Buying Accounts Sell accounts
Account Exchange Service Account Buying Service
Profitable Account Sales https://socialaccountsstore.com
Secure Account Sales Account Buying Platform
Secure Account Sales https://socialmediaaccountsshop.com
Social media account marketplace Accounts marketplace
Account Trading Service Accounts market
Buy accounts Account Acquisition
account sale account sale
account trading service account sale
account trading platform website for selling accounts
secure account sales account marketplace
sell accounts account buying platform
account trading platform accounts market
accounts market account market
accounts market gaming account marketplace
buy and sell accounts accounts marketplace
account trading platform https://accounts-marketplace.xyz/
purchase ready-made accounts accounts marketplace
sell accounts https://social-accounts-marketplaces.live
verified accounts for sale https://accounts-marketplace.live
account acquisition https://social-accounts-marketplace.xyz
account marketplace account marketplace
secure account purchasing platform https://buy-accounts-shop.pro
find accounts for sale https://accounts-marketplace.art
database of accounts for sale https://social-accounts-marketplace.live
sell accounts https://buy-accounts.live
gaming account marketplace account marketplace
account exchange https://accounts-marketplace-best.pro
маркетплейс аккаунтов akkaunty-na-prodazhu.pro
маркетплейс аккаунтов https://kupit-akkaunt.xyz
маркетплейс аккаунтов rynok-akkauntov.top
продажа аккаунтов https://akkaunt-magazin.online/
маркетплейс аккаунтов соцсетей https://akkaunty-market.live/
площадка для продажи аккаунтов kupit-akkaunty-market.xyz
купить аккаунт https://akkaunty-optom.live
маркетплейс аккаунтов соцсетей https://online-akkaunty-magazin.xyz
продажа аккаунтов https://akkaunty-dlya-prodazhi.pro/
биржа аккаунтов https://kupit-akkaunt.online/