Safe Apps to Remove - Root Access + custom Recovery Required - Droid Incredible Themes and Apps

I thought I would provide information that I've been compiling and will continue to compile on which apps are safe to remove. I'm going to be testing what other apps can be removed. I suggest pulling your entire app directory before you start removing apps as well as doing a nandroid backup first. I've attached a bat file for windows users.
To mount \system folder:
1. Reboot into recovery mode ( power device down then hold power button + volume -)
2. choose partitions
3. choose mount \system
NOTE: Remove Facebook account from device before remove friendstream widget. Do not remove Friendstream.apk
Code:
adb shell /system/bin/rm /system/app/com.htc.TwitterWidget.*
adb shell /system/bin/rm /system/app/HtcTwitter.*
adb shell /system/bin/rm /system/app/HtcFootprintsWidget.*
adb shell /system/bin/rm /system/app/HtcFootprints.*
adb shell /system/bin/rm /system/app/Stock.*
adb shell /system/bin/rm /system/app/com.htc.StockWidget.*
adb shell /system/bin/rm /system/app/VVM.*
adb shell /system/bin/rm /system/app/Quickoffice.*
adb shell /system/bin/rm /system/app/PDFViewer.*
adb shell /system/bin/rm /system/app/Calculator.*
adb shell /system/bin/rm /system/app/Mail.*
adb shell /system/bin/rm /system/app/htcmailwidgets.*
adb shell /system/bin/rm /system/app/htcmsgwidgets.*
adb shell /system/bin/rm /system/app/HtcRingtoneTrimmer.*
adb shell /system/bin/rm /system/app/Flickr.*
adb shell /system/bin/rm /system/app/CityID.*
adb shell /system/bin/rm /system/app/com.htc.FriendStreamWidget.*
I updated this post with the recovery directory. Just unzip to root of C: drive and run the bat file and it should push all the removed apps back to your device. You must be in recovery mode to do this and you must mount \system directory as well.
Change log
removal_V2.zip
-removed the removal of frienstream.apk
Restore_V2.zip
-First Restore batch file was incorrect. If you downloaded restore_v1 replace with restore_V2

Very nice, just what I've been waiting for.
Thanks!

Talking from previous experience I wouldnt just remove the apps unless you first have a backup to restore from. It is safer to just mv example.apk example.apkback then to rm the apk.
Also when removing VVM.apk I saw on Killa200 that it did something with the sms apk.
Here is killa200's findings so far.
http://bluraynetworks.com/android/

zerf said:
Talking from previous experience I wouldnt just remove the apps unless you first have a backup to restore from. It is safer to just mv example.apk example.apkback then to rm the apk.
Also when removing VVM.apk I saw on Killa200 that it did something with the sms apk.
Here is killa200's findings so far.
http://bluraynetworks.com/android/
Click to expand...
Click to collapse
I 100% agree. Although i was never able to get the mv to work so i just pulled all apps to my desktop and then i push them back if i need to restore them.

Worked great Thanks. I just edited the file for the ones I wanted to keep and then ran the .bat while in recovery.

zerf said:
Here is killa200's findings so far.
http://bluraynetworks.com/android/
Click to expand...
Click to collapse
Excellent list as well. I'm not sure about VVM.apk. I removed it and i still have the htc messaging app. I don't use that message app but its still there and opens just fine.

Bxsteez said:
I thought I would provide information that I've been compiling and will continue to compile on which apps are safe to remove. I'm going to be testing what other apps can be removed. I suggest pulling your entire app directory before you start removing apps as well as doing a nandroid backup first. I've attached a bat file for windows users.
NOTE: Remove Facebook account from device before remove friendstream.
Code:
adb shell /system/bin/rm /system/app/com.htc.TwitterWidget.*
adb shell /system/bin/rm /system/app/HtcTwitter.*
adb shell /system/bin/rm /system/app/HtcFootprintsWidget.*
adb shell /system/bin/rm /system/app/HtcFootprints.*
adb shell /system/bin/rm /system/app/Stock.*
adb shell /system/bin/rm /system/app/com.htc.StockWidget.*
adb shell /system/bin/rm /system/app/VVM.*
adb shell /system/bin/rm /system/app/Quickoffice.*
adb shell /system/bin/rm /system/app/PDFViewer.*
adb shell /system/bin/rm /system/app/Calculator.*
adb shell /system/bin/rm /system/app/Mail.*
adb shell /system/bin/rm /system/app/htcmailwidgets.*
adb shell /system/bin/rm /system/app/htcmsgwidgets.*
adb shell /system/bin/rm /system/app/HtcRingtoneTrimmer.*
adb shell /system/bin/rm /system/app/Flickr.*
adb shell /system/bin/rm /system/app/CityID.*
adb shell /system/bin/rm /system/app/FriendStream.*
adb shell /system/bin/rm /system/app/com.htc.FriendStreamWidget.*
I updated this post with the recovery directory. Just unzip to root of C: drive and run the bat file and it should push all the removed apps back to your device. You must be in recovery mode to do this and you must mount \system directory as well.
Click to expand...
Click to collapse
For us noobs, what is the command to mount the /system directory?

you mount it with the recovery on the phone.. click partitions on the custom recovery

WhammyDroid said:
For us noobs, what is the command to mount the /system directory?
Click to expand...
Click to collapse
yojoe600 said:
you mount it with the recovery on the phone.. click partitions on the custom recovery
Click to expand...
Click to collapse
Added mounting information to first post. I'm a NOOB to android as well

I noticed i kept seeing the syncing notification even though nothing was actually syncing so i pushed friendstream(See recovery.bat) back onto the device and that seemed to fix it.

I also removed the Teeter game without any issues using the following:
/system/bin/rm /system/app/teeter.*

Is it just me or is the
adb shell /system/bin/rm /system/app/VVM.*
not working?
No such file or directory everytime =/ and the icon is still on my phone...also want to remove the messaging application. I don't even use messaging

Thanks man i removed a couple apps that bothered me.
Sent from my Droid Incredible

0mie said:
Is it just me or is the
adb shell /system/bin/rm /system/app/VVM.*
not working?
No such file or directory everytime =/ and the icon is still on my phone...also want to remove the messaging application. I don't even use messaging
Click to expand...
Click to collapse
I do not think you can remove the text messaging app. I'm not sure else besides never being able to text will happen. the VVM should remove just fine. Do an " cd /system/app" and then an "ls " and make sure its present. Also son't forget to mount /system
.

havent used it but may later thanks

Can I delete files in the Backup folder of the Restore and then run restore so it will just put back the apps that i want?

GooTz66 said:
Can I delete files in the Backup folder of the Restore and then run restore so it will just put back the apps that i want?
Click to expand...
Click to collapse
sure. It will just error when it hits the push command for that file. What i would recommend is to delete the commands from restore.bat that restore the programs you don't want to restore. Then you will have the backups on ur computer just in case u ever decide to remove them.

Bxsteez said:
sure. It will just error when it hits the push command for that file. What i would recommend is to delete the commands from restore.bat that restore the programs you don't want to restore. Then you will have the backups on ur computer just in case u ever decide to remove them.
Click to expand...
Click to collapse
Awesome. Thanks!

Question regarding FB/FriendStream. So if I remove my FB for HTC Sense then delete FriendStream and re-add my FB account will it work normally or will it still hangup when it trys to sync.

GooTz66 said:
Question regarding FB/FriendStream. So if I remove my FB for HTC Sense then delete FriendStream and re-add my FB account will it work normally or will it still hangup when it trys to sync.
Click to expand...
Click to collapse
Actually you have to keep the friendstream.apk. I didn't have sync issues but i did have a sync icon preset all the time. Others have reported sync issues.

Related

What Sprint Apps are you tired of removing?

Hey Guys, what sprint apps are you tired of removing? I am going to remove whatever the consensus shows, and upload a flashable zip of dc2.06... nothing else will be different and the only credit I will take is for removing the apps, all else goes to the original people who worked on dc.
So, let me know and I will be removing them!
Flickr
Twitter
NFL
Navigation
TV
Stock
NASCAR
I will keep count of who requests what to be removed in the next post. I'll only wait for bout an hour then remove whatever you guys want removed.
Remove:
03 - NASCAR
01 - Sprint TV
01 - NFL
01 - Peep
01 - IM
NASCAR
please
Normally removed, so all good...
- Nascar
- NFL
- SprintTV
Tired of removing...
- Peep
- IM
Tired of having to add back in...
- Footprints
- Stocks
- Teeter
- Sprint Navigation - it rocks and better than Google Nav in my opinion. Works (and sounds) much more like a Garmin.
Ceger
NASCAR
What a waste of time to uninstall....
S
Ceger said:
Normally removed, so all good...
- Nascar
- NFL
- SprintTV
Tired of removing...
- Peep
- IM
Tired of having to add back in...
- Footprints
Click to expand...
Click to collapse
Agreed with this, but also tired of having to add voice recorder back...not sure why all devs delete it.
you know what though guys. It's easier just to create a script of our own with our own selection and it's a matter of just running that. That's simple enough i think. Just create a DOS bat file.
Create a text file and save it as RemoveStock.bat and save it where ever it's accessible easily via command prompt. Have these lines in it:
adb remount
adb shell rm system/app/*Stock*
adb shell rm system/app/IM.apk
adb shell rm system/app/*Facebook*
adb shell rm system/app/Flickr.apk
adb shell rm system/app/Mail.apk
adb shell rm system/app/htcmailwidgets.apk
adb shell rm system/app/Sprint_Navigation.apk
adb shell rm system/app/Sprint_NFL.apk
adb shell rm system/app/Sprint_Nscar.apk
adb shell rm system/app/HTCNew.apk
if you already have adb in your path, just double click this file to run it. If not, place this in the adb tools directory and double click from there.
jackal424 said:
you know what though guys. It's easier just to create a script of our own with our own selection and it's a matter of just running that. That's simple enough i think. Just create a DOS bat file.
Create a text file and save it as RemoveStock.bat and save it where ever it's accessible easily via command prompt. Have these lines in it:
adb remount
adb cd /system/app
adb rm *Stock*
adb rm IM.apk
adb rm Facebook.apk
adb rm Flickr.apk
adb rm Mail.apk
adb rm htcmailwidgets.apk
adb rm Sprint_Navigation.apk
adb rm Sprint_NFL.apk
adb rm Sprint_Nscar.apk
adb rm Stock.apk
adb rm HTCNew.apk
anything missing?
Click to expand...
Click to collapse
Anything else you want to do to crash what I am up to? Thanks kid.
Remove-
- Nascar
- NFL
- SprintTV
- Peep
- IM
Keep in, user optional
- Teeter
- Sprint Navigation
- Ringtone Trimmer
jerry43812 said:
Anything else you want to do to crash what I am up to? Thanks kid.
Click to expand...
Click to collapse
nah dude. Intention was not that. I'm sure you figured out by now that if you were to create a common ROM that with the most unwanted apps removed, it would only consist of the NFL, Nascar, and Navigation wiped. The rest are a toss up for almost all users. It'll be hard for you to please all. So I was just suggesting this, thats all.
Any efforts for help are appreciated. So more power to you.
jackal424 said:
you know what though guys. It's easier just to create a script of our own with our own selection and it's a matter of just running that. That's simple enough i think. Just create a DOS bat file.
Create a text file and save it as RemoveStock.bat and save it where ever it's accessible easily via command prompt. Have these lines in it:
adb remount
adb cd /system/app
adb rm *Stock*
adb rm IM.apk
adb rm Facebook.apk
adb rm Flickr.apk
adb rm Mail.apk
adb rm htcmailwidgets.apk
adb rm Sprint_Navigation.apk
adb rm Sprint_NFL.apk
adb rm Sprint_Nscar.apk
adb rm Stock.apk
adb rm HTCNew.apk
anything missing?
Click to expand...
Click to collapse
Yep, best way to do it, or use Android Commander.
Ceger
jerry43812 said:
Anything else you want to do to crash what I am up to? Thanks kid.
Click to expand...
Click to collapse
He's just giving other options...
And my rom is gonna have that stuff out too, but that doesn't mean you shouldn't make what you're making, because I know a lot of people who DO want a slimmed down version of DC 2.06 and don't know how.
Keep doin it man
jerry43812 said:
Hey Guys, what sprint apps are you tired of removing? I am going to remove whatever the consensus shows, and upload a flashable zip of dc2.06... nothing else will be different and the only credit I will take is for removing the apps, all else goes to the original people who worked on dc.
So, let me know and I will be removing them!
Flickr
Twitter
NFL
Navigation
TV
Stock
NASCAR
I will keep count of who requests what to be removed in the next post. I'll only wait for bout an hour then remove whatever you guys want removed.
Click to expand...
Click to collapse
You can consider adding a poll to this thread. That'll be easy way to see what everyone doesn't want.
jackal424 said:
you know what though guys. It's easier just to create a script of our own with our own selection and it's a matter of just running that. That's simple enough i think. Just create a DOS bat file.
Create a text file and save it as RemoveStock.bat and save it where ever it's accessible easily via command prompt. Have these lines in it:
adb remount
adb cd /system/app
adb rm *Stock*
adb rm IM.apk
adb rm Facebook.apk
adb rm Flickr.apk
adb rm Mail.apk
adb rm htcmailwidgets.apk
adb rm Sprint_Navigation.apk
adb rm Sprint_NFL.apk
adb rm Sprint_Nscar.apk
adb rm Stock.apk
adb rm HTCNew.apk
anything missing?
Click to expand...
Click to collapse
+1. This is what I do.
jackal424 said:
you know what though guys. It's easier just to create a script of our own with our own selection and it's a matter of just running that. That's simple enough i think. Just create a DOS bat file.
Create a text file and save it as RemoveStock.bat and save it where ever it's accessible easily via command prompt. Have these lines in it:
adb remount
adb cd /system/app
adb rm *Stock*
adb rm IM.apk
adb rm Facebook.apk
adb rm Flickr.apk
adb rm Mail.apk
adb rm htcmailwidgets.apk
adb rm Sprint_Navigation.apk
adb rm Sprint_NFL.apk
adb rm Sprint_Nscar.apk
adb rm Stock.apk
adb rm HTCNew.apk
anything missing?
Click to expand...
Click to collapse
jackal, what are the commands to run this file once I've created it?
hoopsdavis said:
jackal, what are the commands to run this file once I've created it?
Click to expand...
Click to collapse
If you put it in the tools folder with adb, just type the name of the file into adb to execute. Or you can just click on the .bat file.
I couldn't get jackals commands to work right so I had to do it a little different.
cd C:\android-sdk-windows\tools
adb remount
adb shell rm system/app/Facebook.apk
adb shell rm system/app/Flickr.apk
adb shell rm system/app/HtcFacebook.apk
adb shell rm system/app/HtcTwitter.apk
adb shell rm system/app/SocialNetworkProvider.apk
adb shell rm system/app/Sprint_NFL.apk
adb shell rm system/app/Sprint_Nscar.apk
adb shell rm system/app/Sprint_TV.apk
adb shell rm system/app/Sprint_TVWidget.apk
adb shell rm system/app/Stock.apk
adb shell rm system/app/com.htc.StockWidget.apk
adb shell rm system/app/com.htc.TwitterWidget.apk
Click to expand...
Click to collapse
seyer0686 said:
If you put it in the tools folder with adb, just type the name of the file into adb to execute. Or you can just click on the .bat file.
I couldn't get jackals commands to work right so I had to do it a little different.
Click to expand...
Click to collapse
Thanks, I appreciate it.
I thought you weren't supposed to delete IM.apk because it had some other dependencies throughout some other apps. is this no longer true?
...because I just killed it based on you guys doing it.
Since this thread got jacked, if anyone wants my work you can contact me. Thanks. I am done here.
Don't let these guys get to you. I and others are very interested in what you are doing!!

ADB Uninstall Failure

I adb pushed some .apks from a Froyo zip onto my mytouch1.2 but they didnt work...
when I try to uninstall them I get a failure message... and when I try adb shell... blah blah blah..."ls" the files arent there...
any help is appreciated
how to uninstall
I've tried a few methods.
The one I've found that works the best is this : mv <source> <destination> ...it's supposed to be a move command but it actually deletes files. rm also likely does the same (eg rm <filename.filetype OR foldername>)
BEFORE using these commands though, type in
adb shell <enter>
cd <foldername> <enter>
cd <foldername> <enter>....to get to folder (directory) of your choice
**TO get to app directory to uninstall apps, do cd system -->cd app -->mv appname.apk
I use the /sdcard as the destination for the mv command - I noticed the files NEVER get moved so this is just a delete command.
You could also delete a whole folder with this command. do cd system
mv app /sdcard
(this would delete the entire app folder/directory from the device).
That's pretty much it. Works for me. Was trial and error though - adb uninstall command ALWAYS resulted in 'failure ' or 'file not found' and the same with adb shell --> # uninstall appname.apk ---> 'failure'.
So I hope this works for you! Good luck .
str8arrow
NOTE: I've had an awful time because my stupid tablet has refused to download things from the market. It stalls in the initial 'starting download' bit and then just hangs, and then says 'download failed'. Apparently there's some problem with the sync'ing but I can't log into Gmail or GoogleTalk to try to resolve this (Gmail won't allow me to enter anything - left it on overnight and it said 'getting mail' / 'sync in progress' and the sync never completed after 12 hrs. The GoogleTalk app just displayed a black screen. So I am getting nowhere.
if anyone knows how to fix this pls let me know. I'm apparently not the only one. Others /various tablets have had similar issues - I have a 7" BPDN (Pandigital black novel).
Please, help!
str8arrow
adb shell <enter>
then
cd system
cd app
mv <filename.apk> <destination> (this should move the file BUT it never shows up in destination or elsewhere, so this is effectively a delete command, you could also do mv <foldername> <destination> to delete a whole folder.
**I usu. use /sdcard as my destination. so mv filename.apk /sdcard
OR
cd system
cd app
rm <filename.filetype> does the same sort of thing.
(eg adb shell <enter>
**I tried the uninstall commands listed but.. (adb uninstall-->'failure', or 'file not found' etc, adb shell --> uninstall --> same error).
Commands for removing apps.
I run as root on all my OS's, so I don't have to navigate to my sdk directory. I just type "adb devices", I don't know how your adb is setup, but get adb running and run these commands.
adb remount
adb shell
rm /system/app/whatever.apk
Or whatever path you pushed the files to. Try running fix_permissions to make your apps run properly and stop FC issues

foobar'd android

Could someone pm a link to framework-res.apk from /system/frameworks/. I am stuck in a boot loop and the drive i had that file backed up to failed.
any help would greatly be appreciated
in droid explorer it shows up as android system
http://www.mediafire.com/?63798kh3vex715o
When you are going to push it follow my instructions
Copy it to the memory/or your memory card
in adb type this
Code:
adb shell
su
cp sdcard/framework-res.apk system/framework/framework-res.apk
if its not on the main memory and its on your memory card type this
Code:
adb shell
su
cp sdcard/_ExternalSD/framework-res.apk system/framework/framework-res.apk
after you do that the phone will recognize the original framework and you will be fine.
PS: Although the root exploring app sees the framework-res.apk it may not be registered with the phone and it gets fixed by pushing it using adb shell
now remember do not do adb shell cp sdcard/whatever.apk because the phone will not allow it for some reason...... FOLLOW MY INSTRUCTIONS
OMG thank you i am going crazy with this drive i am in linux now, so i'll just push this from adb in recovery...
death1246 said:
http://www.mediafire.com/?63798kh3vex715o
When you are going to push it follow my instructions
Copy it to the memory/or your memory card
in adb type this
Code:
adb shell
su
cp sdcard/framework-res.apk system/framework-res.apk
if its not on the main memory and its on your memory card type this
Code:
adb shell
su
cp sdcard/_ExternalSD/framework-res.apk system/framework-res.apk
after you do that the phone will recognize the original framework and you will be fine.
PS: Although the root exploring app sees the framework-res.apk it may not be registered with the phone and it gets fixed by pushing it using adb shell
now remember do not do adb shell cp sdcard/whatever.apk because the phone will not allow it for some reason...... FOLLOW MY INSTRUCTIONS
Click to expand...
Click to collapse
Err no... that won't work.
Code:
adb shell
su
busybox mount -o,remount -rw /system
stop
cp /sdcard/_ExternalSD/framework-res.apk /system/framework/
reboot
Will deliver a much better (working) result...
Since we're not sure how to do this, this is what i did:
Well the system was boot-looping on the kernel level so neither instructions were accurate.
I first installed the test version CWM recovery, from there I mounted system from inside recovery and then i used these commands
Code:
adb push ./framework-res.apk /sdcard/framwork-res.apk
adb shell
cp /sdcard/framework-res.apk /system/framework/
then i rebooted and crossed my fingers till it finally booted
I thought he was doing it through recovery and he knew to mount the system already...
death1246 said:
I thought he was doing it through recovery and he knew to mount the system already...
Click to expand...
Click to collapse
And the file would have gone where?
holy **** lol I seriosuly thought I put in framework folder OMFG......
bare with me it was 6am XD
EPIC FAIL ON ME lol
F.U.B.A.R.

[GUIDE] Asus fonepad 7 k012 - extSDCard write fix & hosts tweak - NO rooting

I wanna post this guide cuz i searched around and couldnt find any method for kitkat and lollipop, get full sd card write WITHOUT permanent ROOTING.
Some may say: just root, make changes with root file manager, and unroot from superSU. BUT, for this device, from what i experienced, the option for full uninstall/complete unroot, in superSU app, will just hang and do nothing .
I use IntelAndroid-FBRL 05-16-2015 Public Trail Release, made by @social-design-concepts - a really big thanks :good:.
http://forum.xda-developers.com/showpost.php?p=60770086&postcount=352
The tweaks may work on other intel based devices, when temporary CWM recovery is triggered.
Reboot tablet in fastboot/droidboot mode - vol+ and power until asus logo apears.
Install intel android drivers - there are over 8mb limit of .7z files, so i cant add them here, just search intelandroiddrvsetup1.1.5.zip.
Connect tablet to pc with usb cable.
Unzip IntelAndroid-FBRL-05-16-2015-PTR.7z from @social-design-concepts and enter launcher.bat
type ACCEPT after reading the warning
Now:
- chose T2 if u are using Kitkat
- chose T4 if u are using Lollipop
Tablet reboots and after some screen artefacts (is normal) you are in temporary CWM recovery, which has a temporary root adb shell.
Keep tablet connected to pc.
Now download ADBfolder.7z, decompress it, and open inside a command prompt/window.
In this window insert commands, each followed by enter:
adb devices
adb shell id
adb shell mount /system
adb shell mv /system/etc/hosts /system/etc/hosts.bak
adb push hosts /system/etc/hosts
adb shell chmod 0644 /system/etc/hosts
adb shell mv /system/etc/permissions/platform.xml /system/etc/permissions/platform.xml.bak
adb push platform.xml /system/etc/permissions/platform.xml
adb shell chmod 0644 /system/etc/permissions/platform.xml
adb shell reboot
The tweaks remain even after factory reset.
For removing the tweaks, in case of installing oficial updates through OTA or manual, trigger again temporary CWM recovery, enter ADB folder, open command window and use these commands, each followed by enter:
adb devices
adb shell id
adb shell mount /system
adb shell rm /system/etc/hosts
adb shell mv /system/etc/hosts.bak /system/etc/hosts
adb shell rm /system/etc/permissions/platform.xml
adb shell mv /system/etc/permissions/platform.xml.bak /system/etc/permissions/platform.xml
adb shell reboot
It can be done, for lazy ones , with pasting these commands in two .bat files (one for install, other for remove), but I wanted ppl to see what is actually happening.
You can use another hosts file, but keep in mind the /system has limited space, so large ones may not fit.
b0by said:
I wanna post this guide cuz i searched around and couldnt find any method for kitkat and lollipop, get full sd card write WITHOUT permanent ROOTING.
Some may say: just root, make changes with root file manager, and unroot from superSU. BUT, for this device, from what i experienced, the option for full uninstall/complete unroot, in superSU app, will just hang and do nothing .
I use IntelAndroid-FBRL 05-16-2015 Public Trail Release, made by @social-design-concepts - a really big thanks :good:.
http://forum.xda-developers.com/showpost.php?p=60770086&postcount=352
The tweaks may work on other intel based devices, when temporary CWM recovery is triggered.
Reboot tablet in fastboot/droidboot mode - vol+ and power until asus logo apears.
Install intel android drivers - there are over 8mb limit of .7z files, so i cant add them here, just search intelandroiddrvsetup1.1.5.zip.
Connect tablet to pc with usb cable.
Unzip IntelAndroid-FBRL-05-16-2015-PTR.7z from @social-design-concepts and enter launcher.bat
type ACCEPT after reading the warning
Now:
- chose T2 if u are using Kitkat
- chose T4 if u are using Lollipop
Tablet reboots and after some screen artefacts (is normal) you are in temporary CWM recovery, which has a temporary root adb shell.
Keep tablet connected to pc.
Now download ADBfolder.7z, decompress it, and open inside a command prompt/window.
In this window insert commands, each followed by enter:
adb devices
adb shell id
adb shell mount /system
adb shell mv /system/etc/hosts /system/etc/hosts.bak
adb push hosts /system/etc/hosts
adb shell chmod 0644 /system/etc/hosts
adb shell mv /system/etc/permissions/platform.xml /system/etc/permissions/platform.xml.bak
adb push platform.xml /system/etc/permissions/platform.xml
adb shell chmod 0644 /system/etc/permissions/platform.xml
adb shell reboot
The tweaks remain even after factory reset.
For removing the tweaks, in case of installing oficial updates through OTA or manual, trigger again temporary CWM recovery, enter ADB folder, open command window and use these commands, each followed by enter:
adb devices
adb shell id
adb shell mount /system
adb shell rm /system/etc/hosts
adb shell mv /system/etc/hosts.bak /system/etc/hosts
adb shell rm /system/etc/permissions/platform.xml
adb shell mv /system/etc/permissions/platform.xml.bak /system/etc/permissions/platform.xml
adb shell reboot
It can be done, for lazy ones , with pasting these commands in two .bat files (one for install, other for remove), but I wanted ppl to see what is actually happening.
You can use another hosts file, but keep in mind the /system has limited space, so large ones may not fit.
Click to expand...
Click to collapse
where can i get this ADBfolder.7z?

How to access data folder from non-rooted device?

A few weeks ago one of my important apps started crashing on open.
Since I have important informaiton saved on that app I need to obtain it.
Is there a way to access that package folder (and that app is not debuggable) with adb or shell?
When I try to access via adb and shell the result it Permission denied.
I can't root the phone, so this is out of the quesiton.
I'm using Google Pixel 1 with Android 10 Build - Build/QP1A.191005.007.A3)
There isn't any way to access /data/data/ as a normal user or shell user, the only user able to access that is root, at least according to the permissions.
You could try to backup using "adb backup package", then you could apply this backup back on another phone or on this same app after reinstalling it.
bystroy said:
A few weeks ago one of my important apps started crashing on open.
Since I have important informaiton saved on that app I need to obtain it.
Is there a way to access that package folder (and that app is not debuggable) with adb or shell?
When I try to access via adb and shell the result it Permission denied.
I can't root the phone, so this is out of the quesiton.
I'm using Google Pixel 1 with Android 10 Build - Build/QP1A.191005.007.A3)
Click to expand...
Click to collapse
Temporarily root phone's Android, means add su cmdlet what is suitable, and then mount the partition in question as RW by means of ADB applying su.
Example:
Code:
adb devices
adb push <SU-BINARY> / data/local/tmp/
adb shell "chmod +x /data/local/tmp/su"
adb shell "/data/local/tmp/su -c 'mount -t auto -o rw,remount <PARTITION-IN-QUESTION>'"
adb pull "<DIRECTORY-TO-PULL>" <LOCATION-ON-PC>

Categories

Resources