I've got a droid razr; rooted, stock rom
I broke the screen accidentally and now the screen isn't showing anything and touch isn't working.
I'd like to recover all the data off my device, but since it's locked, it won't budge. Drives won't mount when I plug it into my PC.
I've got a previous backup which is a little older, but i'm interested in backing up the actual databases (texts, call logs, etc) and system data too, along with my images and personal data.
Is there any way I can perform a whole backup while the system is locked like this?
I've already searched the forum for previous threads with similar issues, but I couldn't find one with a viable solution.
Any help is appreciated, thanks in advance.
Partial Update
Hey all-
I've partially solved my problem.
I was able to get ADB working miraculously. I downloaded the Motorola Device Manager and installed it, also downloaded the Android SDK/Java SDK;
Using the sdk manager i installed the google usb drivers (im not sure it helped any way, but just in case)
after that I ran through the process of adb
Code:
adb kill-server
adb start-server
**plug in device**
adb wait-for-device
adb get-serialno
From there I was able to use "adb shell" and navigate around the file system; used su, went to /data/system/ and did "mv gesture.key gesture.key.bak"
I then restarted my phone and did a repeat of wait-for-device, and get-serialno just to verify the phone was connecting properly.
I then browsed to my computer and amazingly, the drives mounted, my sdcard, and sdcard-ext as removable drives and I was able to view the contents.
-------
So now, I'm stuck here with a device that's NOT locked, I can view my files, and I can navigate the file system.
My end goal is to be able to copy everything from /data/ to /etc/ /system/ /root/ /sdcard*/ /vendor/ /xbin/ and any other system file that's not available through the mounted drives.
I'll keep this thread updated, and if anybody has any help or clue on how I'd do this, it'd be greatly appreciated.
So far I've tried variations on "adb pull" using / as a root dir; trying to find a way to use the shell to invoke scp, ssh, or some other file transfer, but I get no network connection. While in the adb shell and doing any file operations, I get an error stating that it's a read-only file system as well.
Fixed
I just wanted to let you all know that I've resolved my problem.
Let me state the issue again.
- Screen and touch broke.
- Device locked with pattern
- Rooted
- ICS - Stock Verizon ROM
- USB Mode was UMC, not PTP/MTP
- USB Debugging enabled
I used ADB to delete /data/system/gesture.key and rebooted, effectively removing the device lock, and allowing drives & data on my SD cards to show up in explorer after a reboot of the phone.
After futzing around for a bit, I realized the phone was tied to my Google account, and I remotely installed "Droid VNC Server" (app name org.onaips.vnc)
From there I found a way to activate the VNC server through the ADB command line
Source: android.stackexchange.com/a/31957
Code:
Application located in
/data/data/org.onaips.vnc/files
With a root shell, run this
chmod 766 /data/data/org.onaips.vnc/files/androidvncserver
Then you can execute the vnc server from the command line
/data/data/org.onaips.vnc/files/androidvncserver
Run this to forward the port
adb.exe forward tcp:5901 tcp:5901
On your VNC client, connect to localhost:5901
From there I was able to get access to my home screen and pulled the notification drop down and changed from USB Mass Storage to Camera/Media Mode
Rebooted the phone, started the vnc server again, connected to it and moved some files around to my SD Card
In another adb shell as root, I was able to copy files from /data/data/ (or anywhere else I wanted) and write them to anywhere on /sdcard-ext/
From there in another command shell, I ran adb pull /sdcard-ext/datafolderfile
=========================================================================
I believe this to be the overall gist of things, though I ran into hiccups along the way, while I was messing around, I changed some permissions which caused my su executable to break and only be allowed to run shortly after booting the phone; and also because of the broken screen, something would cause the phone to reboot every so often, breaking my connections, backups, file transfers, and etc
There's also a cool option in adb
Run
"adb backup" and it'll give you all the switches, you'll have to confirm the backup on your phone, so be sure to be running VNC and confirm it, but adb backup should be able to grab everything you need. Like I said it didn't work for me because my phone would reboot;
I hope everybody that sees this can benefit from it
Annafunny said:
So did you extract your data from your Razr with adb finally?
Click to expand...
Click to collapse
This thread is really old (4 years)... and the answer was provided.
To avoid further issues, closed.
Related
This post is meant to be the beginning of a FAQ to prevent the same questions from being posted over and over again in the other threads.
How do I write the nooter/auto-nooter/super-nooter image to my sd card?
Under linux, first determine which device your sd card shows up as. Then make sure to unmount that device completely. For example, if your device shows up mounted as /dev/sdc1, as root or using sudo, execute the following command:
unmount /dev/sdc1
You now know that the base device is /dev/sdc.
As root or using sudo, now issue the following command:
dd if=image-file of=/dev/sdc
After the dd command has completed, be sure to issue the sync command. Outerwise, there is the possibility that the data has not been flushed to the device. Do not remove the SD card until after you have synced.
How do I mount the /system partition as read-write?
Using adb, the command is:
./adb mount -o remount rw /system
From a terminal emulator on the NOOKcolor, the commands are:
su
mount -o remount rw /system
My [n]Gig sd card is only showing up as 39M! What do I do?
Power your NOOKcolor up WITHOUT the SD card inserted. After it has completed booting, insert the SD card. Then launch "Settings". Click on "Device Info". Click on "SD Card". Click on "Unmount SD card". After the SD card is unmounted, the "Format SD card" option will be available. Click on "Format SD card." Your SD card will now show up as its full capacity.
(a)My youtube has stopped working. How do I fix it?
(b)How do I uninstall/reinstall youtube?
Connect your NOOKcolor to your computer. Verify that it is seen by ADB.
Using ADB, execute the following commands from the directory where your adb binary is located:
./adb pull /data/app/com.google.android.youtube.apk
./adb uninstall com.google.android.youtube.apk
./adb install com.google.android.youtube.apk
What you just did was pull a copy of the youtube APK to your computer, uninstall youtube from your NOOKcolor and then reinstalled youtube to your NOOKcolor. It is not necessary (and not recommended) that you log into youtube from the youtube app after this.
(a)How do I install ADB on my computer?
(b)ADB isn't working on my computer!
(c)I can't find the adb binary in the android SDK! Help!
From r08 forward, the Android SDK does not include the adb binary. I have archived the last version of the Android SDK that did include the adb binary. This version is for x86 Linux and is what I personally use under Ubuntu 10.04 LTS.
You can download it from:
http://www.op-sec.us/adb-archive/android-sdk_r07-linux_x86.tgz?attredirects=0
You will also need adb_usb.ini which can be found at:
http://www.op-sec.us/adb-archive/adb_usb.ini?attredirects=0
Under Linux, you can use the following commands to get a functional copy of adb running.
cd ~
mkdir .android
cd .android
wget http://www.op-sec.us/adb-archive/adb_usb.ini?attredirects=0
cd ~
wget http://www.op-sec.us/adb-archive/android-sdk_r07-linux_x86.tgz?attredirects=0
tar -zxf android-sdk_r07-linux_x86.tgz
cd ~/android-sdk-linux_x86/tools/
Plug your rooted (nootered/auto-nootered/supernootered) NOOKcolor into your computer.
From within the ~/android-sdk-linux_x86/tools/ directory, issue the following commands:
./adb kill-server
./adb devices
When you run the second command, you should see output that looks very similar to the following:
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
1234567890123456 device
The number in the output will be the actual serial number of your NOOKcolor.
You now have a functional copy of adb located in ~/android-sdk-linux_x86/tools/
(a)How do I reset my NOOKcolor back to factory?
(b)How do I unroot my NOOKcolor?
(c)Help! I bricked my NOOKcolor!!!
Putting your NOOKcolor back to factory state is a two-step process.
Step-1: reflash
If you for some reason think you bricked your NOOKcolor or otherwise want to get back to factory fresh just like when you unboxed your NOOKcolor, follow these steps:
If your NOOKcolor will not boot completely and/or you can't get ADB access to it, just keep powering it on until you see the splash screen and then hold the power button until the NOOKcolor powers off. You must do this eight times in a row. After eight unsuccessful boot attempts, the NOOKcolor will automatically reflash itself.
If you have ADB access to your NOOKcolor, it is easier to do the following:
adb shell
echo -n -e "\x08\x00\x00\x00" > /rom/devconf/BootCnt
reboot
Step-2: wipe /data
With your NOOKcolor completely powered off, hold the "n" button (home button) while at the same time holding the power button. As soon as you see "Touch the future of Reading" on the screen, release both buttons. Shortly after, you will see a Factory Reset screen. At this screen, press the "n" (Home) button to Factory Reset your NOOKcolor.
After completing these two steps, your NOOKcolor will be just as it was when you unboxed it.
I am not seeing any of my installed aps in Extras!
Apps you install will not show up in the "Extras" section until after a reboot. Simply reboot your NOOKcolor and your new apps will show up for you.
Alternatively, you can install an alternate launcher program. ADW Launcher and Zeam Launcger are two popular choices and are both available in the market.
How do I install an alternate keyboard?
The following will show you how to install the Droid-X multitouch keyboard on the NOOKcolor. Be sure to read through the thread and get the latest APK for the keyboard. I am personally running the one from http://forum.xda-developers.com/showpost.php?p=9837580&postcount=16
The instructions for install are in the first post of the thread at:
http://forum.xda-developers.com/showthread.php?t=872470
I'm only seeing a few apps in the Market! What gives?
If you are not running the latest Vending.apk, you will need to rotate to Landscape mode for scrolling in the market to cause it to load additional results.
(a)How do I get the NOOKcolor to connect to my ADHOC network?
(b)My NOOKcolor won't connect to the wifi tether on my phone!
The stock wpa_supplicant on the NOOKcolor does not support ADHOC mode. There is a version of wpa_supplicant that does support both ADHOC and Infrastructure (AP) modes at the same time. It does have one bug: You must reset the wifi (turn wifi off and then back on) if the NOOKcolor goes into sleep mode.
Here is a link to the procedure to install both versions of the wpa_supplicant file along with scripts that will allow you to switch between them. By default, the procedure activates the stock wpa_supplicant file that shipped with the NOOKcolor.
http://forum.xda-developers.com/showthread.php?t=872521
(a)How do I install system apps?
(b)How do I install APKs in /system/app?
http://forum.xda-developers.com/showthread.php?t=875797
How do I install VNC Server on the NOOKcolor
http://forum.xda-developers.com/showthread.php?t=876213
(a)How do I install system apps?
(b)How do I install APKs in /system/app?
http://forum.xda-developers.com/showthread.php?t=875797
Click to expand...
Click to collapse
link appears to be broken
(a)How do I install system apps?
(b)How do I install APKs in /system/app?
http://forum.xda-developers.com/showthread.php?t=875797
Can someone fix this link, pleezz!
How do I write the nooter/auto-nooter/super-nooter image to my sd card with Windows?
Download & use Win32diskimager to create the bootable sd card.
Really? Another thread like this? This is all in the wiki.
http://nookdevs.com/Portal:NookColor
Use it.
Question: I cannot register to my google account
I have a NC, 1.0.1. Rooted flawlessly yesterday. I yet had great problems to register with my Google account. The NC works a long while with signing in... and then says: can't establish a reliable data connection to the server. At the same time I could reach my Google account via the Web on the NC without difficulty, so there are no Wi-Fi problems obviously. Finally, after some hours, I managed it somehow, don't really remember what I did. Market etc, all worked.
This morning, when starting the NC it went to a reset by itself. After that, I had to setup the NC and register at B&N again, without problems, and then to connect to my Google account again. WHICH DOES NOT WORK THIS TIME AT ALL. But again, I can reach Google via the Web. But that does not help for setting up my account, or. Cannot reach Market and all this.
What shall I do? Root again?? Is this problem known?
Many thanks for any help,
wernerml1
can't register with market
wernerml1 said:
I have a NC, 1.0.1. Rooted flawlessly yesterday. I yet had great problems to register with my Google account. The NC works a long while with signing in... and then says: can't establish a reliable data connection to the server. At the same time I could reach my Google account via the Web on the NC without difficulty, so there are no Wi-Fi problems obviously. Finally, after some hours, I managed it somehow, don't really remember what I did. Market etc, all worked.
This morning, when starting the NC it went to a reset by itself. After that, I had to setup the NC and register at B&N again, without problems, and then to connect to my Google account again. WHICH DOES NOT WORK THIS TIME AT ALL. But again, I can reach Google via the Web. But that does not help for setting up my account, or. Cannot reach Market and all this.
What shall I do? Root again?? Is this problem known?
Many thanks for any help,
wernerml1
Click to expand...
Click to collapse
Having the same problem, except that I have not been able to connect to the market at all. No ideas yet.
I'm kind of become both numb and amused with all the suggestions for the problem "market isn't showing all apps" ends up being "get the new market, or rotate to landscape."
That's not my problem, I can scroll in portrait just fine, but I am using the latest version of the market app.
But I am most definitely NOT seeing all the apps. Free and paid, there are numerous apps that do not show up (and direct links give an error like "what, this doesn't exist at all, 404 dude", yet they show up normal on my Droid).
Getting to be a real bummer, I don't want to rely on backing up apps from my Droid... or worse, not seeing an app and basically just going on without ever knowing it exists.
So i have been trying to root my tprime for about a couple days now and i really need some help. Im trying to use Vipers tool (option 1), however every time i try to use it it just gets stuck on "daemon started successfully". Every now and then the script will flip out and tell me that it isnt connected, but that is pretty rare. I'm on 9.4.2.15, have debugging checked, no lockscreen (saw it helps somewhere), device manager recognizes it as "asus transformer prime ADB interface". I have tried 2 different scripts and restarted both my tablet and computer (windows 7 x64) several times. I am at a total loss about what to do next. Any help would be great =).
Also i have deleted splashtop from my computer and made sure that and asussync are not running on my tablet
lotsofllamas said:
So i have been trying to root my tprime for about a couple days now and i really need some help. Im trying to use Vipers tool (option 1), however every time i try to use it it just gets stuck on "daemon started successfully". Every now and then the script will flip out and tell me that it isnt connected, but that is pretty rare. I'm on 9.4.2.15, have debugging checked, no lockscreen (saw it helps somewhere), device manager recognizes it as "asus transformer prime ADB interface". I have tried 2 different scripts and restarted both my tablet and computer (windows 7 x64) several times. I am at a total loss about what to do next. Any help would be great =).
Also i have deleted splashtop from my computer and made sure that and asussync are not running on my tablet
Click to expand...
Click to collapse
Update your ADB drivers in device manager with the following
http://forum.xda-developers.com/showthread.php?t=1426502
Make sure USB Debugging is enabled within your TFP's settings (Developer options)
If that does not work then you have done something wrong.
Have a nice day
that didnt work >< but i have no idea where i couldve done something wrong...especially since i have had to re-do most steps anyway
lotsofllamas said:
that didnt work >< but i have no idea where i couldve done something wrong...especially since i have had to re-do most steps anyway
Click to expand...
Click to collapse
Well if you really want this, I would suggest the following:
We want to verify that your devices is correctly connect with ADB,(assuming you dont have adb set up) so lets set up Android SDK (which is good to do anyway).
http://developer.android.com/sdk/index.html
Download the .exe. Run it. It should create a folder in a location of your choosing, named something like "android-sdk". Browse to that folder, then to the 'tools' sub folder and run the SDK manager, install packages.
Next open the Command Prompt.
For example sake, lets say the location of your AndroidSDK is in the path
Code:
C://users/mike/android-sdk-win/
(Not sure what the sdk folder is actually called)
In the command prompt, enter
Code:
cd /users/mike/android-sdk-win/tools
(again replacing the location and name with the correct ones)
This will change the cmd location to the tools folder.
Then enter
Code:
adb devices
It will then list a device if one exists, if not then your adb drivers are probably not installed correctly.
If you need me to clear anything up, let me know
you were right i wasnt connected, im not quite sure how im doing anything wrong
installed the drives said to
unzipped
went into device manager -update driver software -browse -lemme pick -have disk-android_winusb -ok -comes up as ADB interface -next -finishes installing
try to run viperMOD PrimeTime v4.5 (option 1)
stalls on daemon started successfully
i figure if i go into as much detail as possible maybe this can get solved =(
lotsofllamas said:
you were right i wasnt connected, im not quite sure how im doing anything wrong
installed the drives said to
unzipped
went into device manager -update driver software -browse -lemme pick -have disk-android_winusb -ok -comes up as ADB interface -next -finishes installing
try to run viperMOD PrimeTime v4.5 (option 1)
stalls on daemon started successfully
i figure if i go into as much detail as possible maybe this can get solved =(
Click to expand...
Click to collapse
Hmm, I am really not sure. Sounds like you have done everything right.
adb devices is showing no devices which means viperMOD will not work.
When you plug the prime into your computer, on your prime,go to the notification bar and hit on the usb notification (not pc sync, the usb one), and when the settings menu opens up, which box is checked? MTP or PTP? if ones not working, try the other
if all else fails,
try it on another computer maybe?
lotsofllamas said:
you were right i wasnt connected, im not quite sure how im doing anything wrong
installed the drives said to
unzipped
went into device manager -update driver software -browse -lemme pick -have disk-android_winusb -ok -comes up as ADB interface -next -finishes installing
try to run viperMOD PrimeTime v4.5 (option 1)
stalls on daemon started successfully
i figure if i go into as much detail as possible maybe this can get solved =(
Click to expand...
Click to collapse
I rooted last night on latest version of primetime. I used a very old computer to do it. I had it stall on daemon started successfully at first also. I just unplugged the prime connection to PC and plugged it in again. then restarted the primetime program. worked for me. seems like everything you did is right. I guess sometimes the program acts funny. try to run and if it stalls just unplug connection to PC. close out app. then plug back up. open program and try again. it'll catch. I notice it'll stall if you keep trying to root after repeated ffailed attempts. close out the exe. then try again.
demandarin said:
I rooted last night on latest version of primetime. I used a very old computer to do it. I had it stall on daemon started successfully at first also. I just unplugged the prime connection to PC and plugged it in again. then restarted the primetime program. worked for me. seems like everything you did is right. I guess sometimes the program acts funny. try to run and if it stalls just unplug connection to PC. close out app. then plug back up. open program and try again. it'll catch. I notice it'll stall if you keep trying to root after repeated ffailed attempts. close out the exe. then try again.
Click to expand...
Click to collapse
It has nothing to do with the Prime time. As he has said, he got the android sdk setup and confirmed that "adb devices" shows no device, which lends itself to his device or drivers not being installed correctly.
Again, nothing to do with vipermod
everything to do with how he is connected (and i think he tried 'unplugging and replugging')
-------------------------------------
Lets Try this. The following may look intimidating but its very straight forward and after its done you will be more adept at adb and everything else (and hopefully be rooted)
1) Start=> Right Click "My Computer" => Properties => Advance System Settings => Advanced Tab=> Environmental Variables
---In the top box, there should be a "PATH" variable, if so hit edit and go to the end of whatever is there (make sure there is a ';' after whatever is there) and type the path to your android SDK tools folder (same folder you browsed to before in cmd)
My PATH Field looks like this
Code:
C:\Users\Mike\Downloads\android-sdk_r16-windows\android-sdk-windows\platform-tools\; C:\Program Files\Java\jre7\bin
(I also have java linked, this is okay if you do not)
If there is no PATH, just hit 'new'
The above allows you to, from command prompt, type "adb" from anywhere (ie, you dont have to be in the sdk folder which is nice)
EDIT: FLAW: the following app required root womp. I guess keep trying with the USB{
-Go to Device Manager, Uninstall Your TFP, before hitting refresh go to add new devices and select the drivers and what not.
-I will continue to try to think of an alternate method.
}
2)Download and Install this on your prime (NOTE THIS STEP REQUIRES BOTH PRIME AND PC TO BE ON SAME NETWORK)
-This method is ADB over wireless, so you dont need USB to be connected (infact just unplug it for this)
https://market.android.com/details?...251bGwsMSwyLDEsInNpaXIuZXMuYWRiV2lyZWxlc3MiXQ..
Open the app and enable it. Note the "IP: port"
type in your command prompt (again if you did step 1, you can do this from anywhere)
Code:
adb connect <yourip:port>
your ip and port should be listed in that app
=> after that, try
Code:
adb devices
It should be there! this allowed you to bypass usb issues. I dont think you can use vipermod, but there is a more manual method we can use
3) Memphroid Root
(information taken from link below)
http://forum.xda-developers.com/showthread.php?t=1461736
memphroid binary
su binary
save both those files somewhere.. for example sake, make it your desktop in a folder called 'memphroid'
Open command prompt and change to the folder memphroid on your desktop
Code:
cd Desktop/memphroid
(the above assumes command prompt defaults at c:\Users\<yourname>\. if not just type in "dir" to get a list of directories that you can cd to)
you are now in the memphroid folder
assuming you did step 2 correct, you should have already connected with "adb connect"
now enter the following in cmd
Code:
adb push mempodroid /data/local
adb push su /data/local
adb shell
One line at a time, the first 2 push the files to the correct locations, the third one puts you into the 'shell' (basically terminal) of your prime (you should see a # now before where you type)
Then enter
Code:
chmod 777 /data/local/mempodroid
/data/local/mempodroid 0xd9ec 0xaf47 sh
Copy all of that and just paste it at once (i think its both at once, not one line at a time)
then type
Code:
mount -o remount,rw -t ext4 /dev/block/mmcblk0p1 /system
And then here is the rest from that thread. I would just do all of the following except the first two lines starting with 'rm' because you havent rooted before
** IF you have previously rooted your Prime, run the following two commands. They may throw an error that the file a file was not found.
rm /system/bin/su
rm /system/xbin/su
cat /data/local/su > /system/xbin/su
chown 0.0 /system/xbin/su
chmod 06755 /system/xbin/su
rm /data/local/mempodroid
rm /data/local/su
exit
exit
adb reboot
After your Transformer Prime comes up, install Superuser from android market.
Click to expand...
Click to collapse
look to that thread linked for reference. if you neeed anything clarified or help, just post here. Please read my post carefully, following the step. I tried to be as clear as possible. I have never done the memphroid root before but it looks easy enough
Please hit 'Thanks' button, as I have taken the time to help
Still not able to get root...just tried Debugfs automated root tool and it stalled at "daemon started successfully" im seriously stumped here...
Hey all. So i'm running the newest version of RootBox with crpalmer's kernel. I haven't tried any adb access or just folder access through windows on my computer. I use Ubuntu 12.04. I have adb set up perfect, always have, it works like normal. I can't access my files through the computer, so I tried so through adb. I have tried adb shell [commands] and adb shell to just login to a shell. When I try to ls storage/sdcard0 I get nothing. it acts like there is nothing there, as if my storage is mounted somewhere else. When I pull down statusbar on phone it says connected as Media Device (MTP) or teh option for Camera (PTP) and I can't disable them, I can only choose one or the other. So idk if that's causing my computer to read it as storage mounted elsewhere or what, but it sucks and I was seeing if anyone could help me find teh solution. adb is so buggy sometimes its aggravating. for instance, just to try, I pulled an app from /data/app and it worked fine, but I tried to push a ROM zip to storage/sdcard0 and I couldn't, with the usual error in one of these cases, cannot stat file: "xxx" is not a directory. so I have no way to get these files onto my device other than through dropbox or something, or maybe an FTP or LAN connection and I will probably do so, but I wanna figure out what's going on as I need to move some stuff. And just for the sake of knowing how to fix another crappy adb bug. If anyone can help I'd appreciate it.
Are you sure /sdcard0 is the actual sd mount point?
Sent from my liquid glowing bomb shell
yeah. on mine it is. I was pretty sure it was same on all DNA's. mine is /storage/sdcard0 or /mnt/storage/sdcard0.
Check if permissions on all files in the sd card are set to at least 444 (readable by everything)
Sent from my liquid glowing bomb shell
Hi, I hope I am posting in the right section? I found the site really difficult to navigate having never used the site before. If its in the wrong place please can a mod move it.
Ok so I have an Android Set Top Box (STB) and I am trying to extract all the data from it. It is an mxp pro 4k. I don't want a backup of the data I want to extract full images of the device for analysing with forensic tools. The problem is I can't seem to communicate with it. I have the full SDK that is up to date, once navigated to the platform tools folder I opened a command line and typed
Code:
adb devices
after plugging in a USB cable to the OTG port. No prompts appeared on the screen to trust any connections like my iPhone does when I connect it. Adb devices returns no results. So I tried wireless adb, I typed
Code:
adb connect 192.168.x.x
and it said connected. Then when running the devices command I had the ip and port then the word device. I then get a shell by using
Code:
adb shell
Which i then elevate to root by using
Code:
su
. Then when i try an adb pull or adb backup I get a message saying error device offline.
Im new to Android so not even sure I am doing it right. I have done a lot of reading and research but seem to be stuck with the basics. To confirm USB debugging is turned on.
Hey Guys,
Been lurking for a while. I want to get into some Android development. I bought a cheap Galaxy Tab s SM-T800 from ebay. It was a retail unit, so came with the usual retail protection, but that was no issue, I've reflashed it and rooted it, it is now running 6.0.1 with build number MMb29K.T800XXU1CRJ1.
The issue is, there are a bunch of apps and files that appear to be left over from the retail demo mode, and I can't remove them. The apps won't uninstall, it just says "uninstall unsuccessful", and the files, when I try to delete them, it just says "failed to delete".
Even after freshly restoring the new firmware, the storage on this device is pretty much zero, a lot of the space being taken up with the files and apps that I can't remove.
There was just about enough space remaining to install System App Remover, but that couldn't delete the files and apps either.
How are these files being write protected? How do I go about removing the write protection? I'm wondering if this device, because it was a retail demo unit, was configured with some kind of write protected partition, which is why the storage is so low, and why I can't delete the apps?
Any thoughts, this is driving me nuts.
Thanks
Install a file manager that allows to mount the partitions in question as READ-WRITE, thus folders/files can get deleted
jwoegerbauer said:
Install a file manager that allows to mount the partitions in question as READ-WRITE, thus folders/files can get deleted
Click to expand...
Click to collapse
Thanks, but I can't install any of the file manager apps, as there is not enough free space. I'll need to do it by connecting from Windows. What android partition/file manager would be a good one to use from Windows?
DotNetDude said:
Thanks, but I can't install any of the file manager apps, as there is not enough free space. I'll need to do it by connecting from Windows. What android partition/file manager would be a good one to use from Windows?
Click to expand...
Click to collapse
Because your device is rooted, you use ADB ( read: Android Debug Bridge ) - what you've to install on your Windows computer - to manage this device - you must have turned on Developer options -> USB Debugging on it, of course: IMHO the only the chance you have.
Once done so, you connect your device via USB cable with Windows computer, then in Windows command prompt run the commands as follows - one after one:
Code:
adb devices
adb root
adb shell mount -o rw,remount / -t auto
If success then your Android device completly is switched to READ-WRITE mode, you then via further relevant ADB commands can remove folders/files which you consider dispensable, even apps if you know their package name, and so on ...
jwoegerbauer said:
Because your device is rooted, you use ADB ( read: Android Debug Bridge ) - what you've to install on your Windows computer - to manage this device - you must have turned on Developer options -> USB Debugging on it, of course: IMHO the only the chance you have.
Once done so, you connect your device via USB cable with Windows computer, then in Windows command prompt run the commands as follows - one after one:
Code:
adb devices
adb root
adb shell mount -o rw,remount / -t auto
If success then your Android device completly is switched to READ-WRITE mode, you then via further relevant ADB commands can remove folders/files which you consider dispensable, even apps if you know their package name, and so on ...
Click to expand...
Click to collapse
Thanks for your details.
So I tired this but the adb root command wasn't working. It was coming up with the message:
adbd cannot run as root in production builds
So after a bit of research, I found the adp insecure app from Chainfire, that apparently resolves this exact problem. So I've deployed that to the tab and run it, but now when I connect the tablet to my PC, the PC doesn't connect. I get the charging symbol on the tab, so the connection is in place, but it is not detected by the pc, so I can't connect using adb.
Any suggestions would be much appreciated?
Thanks
DotNetDude said:
Thanks for your details.
So I tired this but the adb root command wasn't working. It was coming up with the message:
adbd cannot run as root in production builds
So after a bit of research, I found the adp insecure app from Chainfire, that apparently resolves this exact problem. So I've deployed that to the tab and run it, but now when I connect the tablet to my PC, the PC doesn't connect. I get the charging symbol on the tab, so the connection is in place, but it is not detected by the pc, so I can't connect using adb.
Any suggestions would be much appreciated?
Thanks
Click to expand...
Click to collapse
I realise I am responding to my own message!
Now that I am running with adb insecure, I have realisd that the USB debugging mode from developer settings is working in reverse. That is, if I enable it, the tab detaches form the PC. If I disable it, the tab reconnects to the pc. However with that setting disabled, and the pc connected, when I then run the command adb devices, it says there are no devices connected (even though I can browse to the tablet through windows explorer)
From within the adb insecure app on the tablet, when I enable the app, I can see it displays a message that says USB debugging is disabled.
I have no idea what is going on here...
Any help much appreciated?
Thanks
@DotNetDude
May be reading this helps.
jwoegerbauer said:
@DotNetDude
May be reading this helps.
Click to expand...
Click to collapse
Thanks for this. Actually, adbd insecure was just causing more problems. In the end I have resolved this by extracting the PIT file and re-partitioning. Firmware then restored correctly and all the problems are now gone, and there is plenty of free space remaining.