Could anyone help me out? I wanted to use this bootanimation i edited from a cm10 rom. Using the CM10 file manager, when I attempt to move the file it tells me "the operation is not permitted in current folder." When I use ES File manager it tells me that the move failed. Ive tried changing permissions on the file but it tells me permission change failed. I am rooted and have enabled root access on the file managers. I've also tried to preview the bootanimation using Rom Toolbox Pro but it says "failed loading the animation."
I have also attempted to use adb to push the file. I go into adb and first thing I do is make sure my device is found with "adb devices" then I do
adb shell
su
adb push bootanimation.zip /system/media/bootanimation.zip <--- at this step it tells me there are no devices even though doing "adb devices" shows my device.
Is this a problem with my bootanimation or something else entirely? Not sure what it could be with my phone, Im currently on CM10.0. Can anyone please help?
anyone??
Have you tried moving it using root explorer app?
Sent from my SGH-T999 using xda app-developers app
Does adb shell, su give adb root access?
Try
Abd root is a command and will restart adb in root. Try that instead
Sent from my SGH-T999 using xda premium
---------- Post added at 04:10 PM ---------- Previous post was at 04:02 PM ----------
Oh, it's because adb shell runs adb inside ur phone, so you can't push the file from your computer. Don't so adb shell. Just so
Adb devices #check ur device is there
Adb root
Adb push bootanimation.zip /system/media
Sent from my SGH-T999 using xda premium
dudds4 said:
Does adb shell, su give adb root access?
Try
Abd root is a command and will restart adb in root. Try that instead
Sent from my SGH-T999 using xda premium
---------- Post added at 04:10 PM ---------- Previous post was at 04:02 PM ----------
Oh, it's because adb shell runs adb inside ur phone, so you can't push the file from your computer. Don't so adb shell. Just so
Adb devices #check ur device is there
Adb root
Adb push bootanimation.zip /system/media
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
thanks I will try this when I get home. I am still wondering why I cant change permissions or move files using es file manager or the CM file manager? They both have SU access
Best method is root explorer
Zephyron said:
thanks I will try this when I get home. I am still wondering why I cant change permissions or move files using es file manager or the CM file manager? They both have SU access
Click to expand...
Click to collapse
I believe those other file managers, even with SU, still won't let you write to the system folder. Root Explorer has an option to use it as read only or read write.
dudds4 said:
Does adb shell, su give adb root access?
Try
Abd root is a command and will restart adb in root. Try that instead
Sent from my SGH-T999 using xda premium
---------- Post added at 04:10 PM ---------- Previous post was at 04:02 PM ----------
Oh, it's because adb shell runs adb inside ur phone, so you can't push the file from your computer. Don't so adb shell. Just so
Adb devices #check ur device is there
Adb root
Adb push bootanimation.zip /system/media
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
Just tried this and it says "failed to copy 'bootanimation.zip' to '/system/media/bootanimation.zip' : read-only file system.
Romcrazguy said:
Best method is root explorer
Click to expand...
Click to collapse
CrazyCharlie said:
I believe those other file managers, even with SU, still won't let you write to the system folder. Root Explorer has an option to use it as read only or read write.
Click to expand...
Click to collapse
Just tried Root Explorer and it still gives me the same error message when I try to move it "cannot move because file-system is read-only" and when I attempt to change permissions it gives me this error "permission change was not successful, please note that some file systems (e.g. sd card) do not allow permission changes"
I am at a complete loss as to why I cannot change the permissions for my files even though I was able to do it before in the past (same sd card). Anyone know a solution to this problem?
To make it easier for you just go to YouTube and click on change boot animation root explorer you will see detailed instructions
Hit thanks if this helps
My ParanoidKang Android Tmo S3
Okay.. so I figured out why I couldnt replace the boot animation. I used ES File manager to mount the sdcard as r/w and it worked after. Now Im faced with the problem of getting a blank boot animation. When I restart my phone it just shows a blackscreen as my boot animation until it loads into the OS. Could someone mind checking my bootanimation zip and let me know if I have done anything wrong?
Related
I have a request with a small donation as a reward. I'm not rich, but I can reward with some beer money.
I have managed to somehow delete my build.prop file while rooted and then managed to un-root my device. Naturally, I rebooted.
My request is for anyone with a bit of extra time to modify zergRush so that it does not look to a build.prop file to verify the android version.
If there are any other ideas on how to root a bricked Fire without a build.prop file, be my guest.
My hope is that once I am able to re-root my device, I will be able to mount /system/ as writeable and then be able to push in a build.prop file. However, obviously, until that happens I cannot put in a build.prop file.
If you have any questions I pretty much let it all out on the "How to unblock your kindle" thread.
If no one is able to do this I would understand. This is obviously beyond my technical expertise but I do appreciate any efforts or even suggestions. Even if there's no attempts made here, it is still shocking how much help is given on this forum.
EDIT: I was able to get my hands on a valid system.img and then flashed the system.img to my system partition. Doing so corrected my build.prop and my device became bootable. Thanks for all the help.
Did it update to 6.2 while in the midst of your needing around?
what does your device do?
Does it show under adb devices?
ajq said:
Did it update to 6.2 while in the midst of your needing around?
Click to expand...
Click to collapse
I updated to 6.2 on Tuesday. I have followed the directions on the "UNBRICK your kindle" thread. I have done that successfully. However, because my build.prop is missing, I can no longer re-root using zergRush. I believe that fastboot as directed in that thread restores the kindle to factory settings. I'm not quite sure if factory settings is 6.2 or if it goes all the way back to 6.0.
death2all110 said:
what does your device do?
Does it show under adb devices?
Click to expand...
Click to collapse
This is the post I created in the "How to unbrick your kindle" thread. It should answer most questions. I can use adb shell on the device but I cannot mount anything and SU responds "permission denied".
----from the other thread----
I am in a similar situation and am trying to work through it. I thought I rooted my device but when I restarted it, it didn't fully load. I've successfully done all of the steps listed in the OP but am still suck in a black screen (it's lit...but it's black) loop.
I believe I have deleted my build.pop file but have a backup listend as build.prop.bak. However, the device is trying to load and is failing. I need to rename my build.prop.bak as the primary build.prop. I have tried to access SU through ADB but am getting "permission denied" almost as if my device wasn't rooted.
I have tried to mount system as RW but I am also getting permission denied.
Any advice. Here is my /system/
:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Admin>cd \KindleFireRoot\files
C:\KindleFireRoot\files>adb shell
adb server is out of date. killing...
* daemon started successfully *
$ cd /system/
cd /system/
$ ls -l
ls -l
drwxr-xr-x root root 1970-01-01 00:00 lost+found
drwxr-xr-x root root 2011-12-01 19:03 app
drwxr-xr-x root shell 2011-12-01 19:03 bin
drwxr-xr-x root root 2011-11-30 01:16 etc
drwxr-xr-x root root 2011-11-30 01:16 fonts
drwxr-xr-x root root 2011-11-30 01:16 framework
drwxr-xr-x root root 2011-11-30 01:16 lib
drwxr-xr-x root root 2011-11-30 01:16 media
drwxr-xr-x root root 2011-11-30 01:16 tts
drwxr-xr-x root root 2011-11-30 01:16 usr
drwxr-xr-x root shell 2011-11-30 01:16 vendor
drwxr-xr-x root shell 2011-12-01 19:03 xbin
-rw-r--r-- root root 2143 2008-08-01 12:00 build.prop.bak
$
EDIT: I have tried to re-root through the method provided as well as superoneclick root, but both have failed because no android system is being recognized. This may have to do with the lack of a proper build.prop on my device.
EDIT2: I figure the above might not be enough information so I will now post what I have done so far to get it bricked, and what I have already tried.
1. I tried the rooting method on rootkindlefire.com and it seemed successful. I then was able to set /system/ as RW via root explorer. I copied a modified build.prop file that is available in the android development forums. However, unfortunately, I believe I may have edited the name of this file or done something wrong in handling it accidentally. Regardless, I pasted this file in the /system/ folder and renamed my original build.prop file to build.prop.bak. I then restarted my kindle fire. Now, it shows the kindle fire screen for a second and then goes black entirely. It is still on (the screen is lit), but the screen is black. It then remains like this until I do a hard reset and then it repeats this process.
2. I have tried to access SU but have been unable to do so. I have been unable to mount system as RW using the instruction a page back. In both situations I get the "permission denied" response from the command line.
3. Everytime I try to root using the method provided in the OP, I get a message saying that it can't find android 2.2 or 2.3
4. I am unable to root again using super click for the same reason.
5. I have otherwise been able to follow all of the steps in the OP successfully, but to no avail. My screen goes black after it shows the kindle fire screen for a couple seconds.
6. Any suggestions would be very very helpful. From my amateur amount of knowledge, it seems to me that I don't have a build.prop in my /system/ but am unable to rename or access my build.prop.bak so that I can set it as the regular bootable build.prop. This is because, even though I thought I had it rooted, I am unable to set the /system/ directory as writable.
7. ANY SUGGESTIONS OR HELP WOULD BE GREAT!
Just as a disclaimer: I acknowledge I'm a moron for not verifying everything when I pushed in a build.prop file into my /system/ folder and restarted. No need to call me names
For those who know a bit more than me...
Would pushing the 6.2 update (or any of the downloadable firmware) to the kindleupdates folder in the sdcard and then rebooting fix my problem? I remember reading that the updates re-writes the build.prop which would fix my situation.
Of course, do you need root permissions to be able to write to the sdcard? I only ask this because I can not get the sdcard to actually show up on my desktop. I would need to push it via terminal or adb shell.
Anyone know if this would work?
I am beginning to realize that I may actually still have root, but since I can't boot up the phone, I can't fill out the superuser access dialog that usually comes up when a program tries to access superuser. I had root before I caused the build.prop problems, but figured that I had somehow lost it when I tried to access SU from ADB. Anyone know of a way to bypass this access dialog?
I checked the root status with OneClickRoot after OTA reported my KF was still rooted (just to be sure) and then re-installed Superuser and pushed the necessary Android APKs back to /system/app and it was working again.
damianarnold said:
I checked the root status with OneClickRoot after OTA reported my KF was still rooted (just to be sure) and then re-installed Superuser and pushed the necessary Android APKs back to /system/app and it was working again.
Click to expand...
Click to collapse
How did you re-install Superuser if you're not able to fully boot up the KF? To be clear, when I try to root with superoneclick it says i'm rooted (and if i try and continue it fails...) but whenever I type in adb shell and then su I get "permission denied."
ejrubin said:
How did you re-install Superuser if you're not able to fully boot up the KF? To be clear, when I try to root with superoneclick it says i'm rooted (and if i try and continue it fails...) but whenever I type in adb shell and then su I get "permission denied."
Click to expand...
Click to collapse
My Fire was fully booted up. Did you remove and reinstall Superuser?
damianarnold said:
My Fire was fully booted up. Did you remove and reinstall Superuser?
Click to expand...
Click to collapse
Don't think our KF were in the same state. I don't have a build.prop to boot my KF into so I can't manage superuser at all (I do, however, have a totally useless build.prop.bak that is sitting there in the directory. ) I have the superuser.apk in there so it seems as though I'm rooted but I still can't get into SU via adb.
Can't get Write access to /System or /SDCard
ejrubin said:
Don't think our KF were in the same state. I don't have a build.prop to boot my KF into so I can't manage superuser at all (I do, however, have a totally useless build.prop.bak that is sitting there in the directory. ) I have the superuser.apk in there so it seems as though I'm rooted but I still can't get into SU via adb.
Click to expand...
Click to collapse
Still having the exact same problem! Was able to get the build.prob.bak pulled from /system but can't rename it and push it back to hopefully get this working again.
I am starting to think I may have to send this KF back soon if I don't get it working again.
Any help anyone can provide would be great.
I'm thinking since we are able to get into fastboot, do any developers know if it is possible to push in a new system.img via fastboot? This would solve our build.prop problems no? Any developers know if this is possible?
I would like to compile zergRush myself, but I don't know how to compile Android binary.
It seems require linux to do so.
Can you adb push to the sdcard?
Sent from my DROID Pro using XDA App
JackpotClavin said:
Can you adb push to the sdcard?
Sent from my DROID Pro using XDA App
Click to expand...
Click to collapse
No , I think the sdcard is not yet mount. Tried cd sdcard and it's not possible.
Is it possible to mount it without root? Cause when we try to mount system folder it's permission denied.
And I'm afraid the system won't run the official update even the patch is inside the sdcard folder.
I think ejrubin's idea on how to fix our bricked kindle fire is completely right , we just need either one of the following :
1. A zergRush binary won't check the build.prop to let us run root and mount the system folder
2. Since we can get into fastboot, I think we need a correct update.zip or system.img to fix it. Any idea to build it from kindle's official update?
Well try "mount sdcard" in the shell. If you can push the update, you can idme bootmode into 0x5001 and it'll take the update in recovery mode
If that doesn't work I'll give a custom zerg a shot
Edit: I got it. If you wanna flash my clockwork build in fastboot and set the fastboot to boot into recovery, you can access your /system through recovery, I do it all the time
It'll be a fastboot flash recovery <the name of the recovery.img I'll post later when I get home>
From there you will have to:
Adb shell
Mount system
Mv /system/build.bak /system/build.prop
Sent from my DROID Pro using XDA App
JackpotClavin said:
Well try "mount sdcard" in the shell. If you can push the update, you can idme bootmode into 0x5001 and it'll take the update in recovery mode
If that doesn't work I'll give a custom zerg a shot
Edit: I got it. If you wanna flash my clockwork build in fastboot and set the fastboot to boot into recovery, you can access your /system through recovery, I do it all the time
It'll be a fastboot flash recovery <the name of the recovery.img I'll post later when I get home>
From there you will have to:
Adb shell
Mount system
Mv /system/build.bak /system/build.prop
Sent from my DROID Pro using XDA App
Click to expand...
Click to collapse
If i just type "mount sdcard" it cannot recognize the command.
if try to mount it with -t and mount it to other folder, it just say permission denied.
Of course I wanna flash your clockwork build!!
Would you mind to guide us with all the step when you're ready? Because I'm quite new to root android machine.
Really thanks for your help!!!!!!!!!!!!!!!!
Yeah **** sorry guys can this wait till tomorrow? Sorry I said tonight, I got side tracked tonight
Sent from my DROID Pro using XDA App
I have rooted my HTC One X and want to copy files in /system/xbin folder. My phone shows S-ON. And Eclipse is not able to copy files to /system and adb push from shell is also not working. Is there a way I can copy files to /system/xbin?
I am running stock ROM.
My phone is NOT associated with any vendor.
adb remount
adb push filename /system/xbin
Sent from my HTC One X
You can also use es file explorer and go into the options tick up to root and the request root and then tick mount as r/w.
Then just move files as you will.
Sent from my HTC One X using XDA Premium HD app
realunited123 said:
adb remount
adb push filename /system/xbin
Sent from my HTC One X
Click to expand...
Click to collapse
The above way does not seem to work. Whenever I use adb remount(or adb mount) it says operation not permitted and I am trying to this from root privileges
My OS is :- Ubuntu 12.04
ADB(platform-tools) -> Rev 20
If you need anything more please ask me .
Additional Question
treebill said:
You can also use es file explorer and go into the options tick up to root and the request root and then tick mount as r/w.
Then just move files as you will.
Sent from my HTC One X using XDA Premium HD app
Click to expand...
Click to collapse
First of all thanx it worked. I think I will have to live with this way A ADB/Eclipse based would have been cool
Will the files moved from SDcard to phones root in anyway lose and privileges(like losing executable)? If yes, please suggest a way to restore it.
KillerTheLord said:
The above way does not seem to work. Whenever I use adb remount(or adb mount) it says operation not permitted and I am trying to this from root privileges
My OS is :- Ubuntu 12.04
ADB(platform-tools) -> Rev 20
If you need anything more please ask me .
Click to expand...
Click to collapse
When doing adb shell su do you get any toast notification on your phone? Or does it just say denied ?
Strange it works perfectly here Also are you using SuperSU or any other superuser app?
---------- Post added at 03:37 PM ---------- Previous post was at 03:36 PM ----------
KillerTheLord said:
First of all thanx it worked. I think I will have to live with this way A ADB/Eclipse based would have been cool
Will the files moved from SDcard to phones root in anyway lose and privileges(like losing executable)? If yes, please suggest a way to restore it.
Click to expand...
Click to collapse
Yes you need to change the permissions after moving from sdcard. Use Root Explorer(Long press on the file--> Change permissions)
realunited123 said:
When doing adb shell su do you get any toast notification on your phone? Or does it just say denied ?
Strange it works perfectly here Also are you using SuperSU or any other superuser app?
---------- Post added at 03:37 PM ---------- Previous post was at 03:36 PM ----------
Yes you need to change the permissions after moving from sdcard. Use Root Explorer(Long press on the file--> Change permissions)
Click to expand...
Click to collapse
I am using SuperSU as Super User App. And I think I am doing something wrong here. You mentioned about adb shell su. I think I might be wrong here. Here is how I tried to execute the command.
[email protected]: <path to platformtools> ./adb remount
remount failed: Operation not permitted
do I have to raise ADB shell to SU level. If yes, how?
KillerTheLord said:
I am using SuperSU as Super User App. And I think I am doing something wrong here. You mentioned about adb shell su. I think I might be wrong here. Here is how I tried to execute the command.
[email protected]: <path to platformtools> ./adb remount
remount failed: Operation not permitted
do I have to raise ADB shell to SU level. If yes, how?
Click to expand...
Click to collapse
Strange. Are you using the stock kernel ? If that is the case then it does not have insecure adbd (ro.secure=0) so remount will not work. Try a custom kernel.
Does adb has SU permissions from recovery ? Try booting into recovery, mounting the system partitions and try to push something from adb. Check the SuperSU app to update binary but that should not be a problem.
realunited123 said:
Strange. Are you using the stock kernel ? If that is the case then it does not have insecure adbd (ro.secure=0) so remount will not work. Try a custom kernel.
Does adb has SU permissions from recovery ? Try booting into recovery, mounting the system partitions and try to push something from adb. Check the SuperSU app to update binary but that should not be a problem.
Click to expand...
Click to collapse
Yes I have rooted the phone but the ROM is stock(I was thinking to put in CM9 Alpha).
About the second thing. I know how to boot my phone into recovery(Vol Down + Power -> From Screen -> Recovery(ClockwerkMod))
But about the rest I don't know.
Sorry about my annoying questions this is my first time I am dealing with rooting and stuff.
KillerTheLord said:
Yes I have rooted the phone but the ROM is stock(I was thinking to put in CM9 Alpha).
About the second thing. I know how to boot my phone into recovery(Vol Down + Power -> From Screen -> Recovery(ClockwerkMod))
But about the rest I don't know.
Sorry about my annoying questions this is my first time I am dealing with rooting and stuff.
Click to expand...
Click to collapse
I guess you are using stock kernel then. Try franco's or faux's kernel.
adb remount wont work from os on stock boot.img.
After rebooting into recovery go to mounts and storage-->mount /system and then push something from adb. See if that works.
KillerTheLord said:
Yes I have rooted the phone but the ROM is stock(I was thinking to put in CM9 Alpha).
About the second thing. I know how to boot my phone into recovery(Vol Down + Power -> From Screen -> Recovery(ClockwerkMod))
But about the rest I don't know.
Sorry about my annoying questions this is my first time I am dealing with rooting and stuff.
Click to expand...
Click to collapse
I think this app does exactly what you want :
http://forum.xda-developers.com/showthread.php?t=1687590
realunited123 said:
I guess you are using stock kernel then. Try franco's or faux's kernel.
adb remount wont work from os on stock boot.img.
After rebooting into recovery go to mounts and storage-->mount /system and then push something from adb. See if that works.
Click to expand...
Click to collapse
Well this didn't work either. I hope to switch to some other ROM in future(I hate HTC Sense ). But as of now Root Explorer did the job. I mounted my sdcard and copied files to it and used Root Explorer to move files to /system and then changed permissions.
Thanks for help it really made it easy .
make sure your path devs are oke for su.
in terminal run:
sudo su
adb kill-server
adb devices
you should see your HOX HTxxxxx nr.
and here you should be able to connect eclipse to HOX by adb.
NikMel said:
make sure your path devs are oke for su.
in terminal run:
sudo su
adb kill-server
adb devices
you should see your HOX HTxxxxx nr.
and here you should be able to connect eclipse to HOX by adb.
Click to expand...
Click to collapse
The problem was not accessing the device using ADB. The problem was I was not able to write to root system. ES Explorer and Root Explorer both did the job for me. I will be putting the final instructions for the process(detailed ones) soon.
Instructions onw how to copy files to root file system on HTC One X with S-ON
1) Unlock and Root your phone. Follow instructions below
http://www.youtube.com/watch?v=gIeq8Jx28cs
and then
http://www.youtube.com/watch?v=80lMHUgxwww
2) Install ES Explorer(File Manager) Link :- https://play.google.com/store/apps/details?id=com.estrongs.android.pop&hl=en
3) Connect device to computer(even if it is not recognized by ADB/Computer)
4) In Phone select Disk drive option. Now the phone's storage will be mounted on your computer as removable device.
5) Copy the files you want to send to phone's root system to any folder here.
6) Change phone's mode to charge only and wait for 2-3 secs(let phone remount sdcard)
7) Open ES Explorer and open menu(those 3 dots at bottom and select Settings)
8) Tick the following options
Up to Root
Root Explorer
Mount File System
9) A dialog box for permission will open Grant it.
10) Now copy files from /sdcard/<Folder where u put files> to where ever you want o copy files to.
11) Long press on file to change permissions and stuff.
Post here if you are stuck someone will surely help you.
Hi all,
I have gotten myself into a bit of a dilemma here - I was playing GTA III with the input method set to "Game Keyboard", and then accidentally pressed the power button on my HOX. Now my phone is stuck with a lock screen (with pin code to unlock), but I cannot enter the pin as the damn game keyboard is set as the input method.
Is there any way to uninstall the game keyboard app from recovery, or a way to change the input method before the unlock screen.
I am running out of ideas, and my last resort is to restore a nandroid backup from a week ago ( I really dont want to do this as this means losing all changes since a week ago).
Any urgent help appreciated.
HTC One X
ARHD 21.0
CWM touch recovery
When you reboot it's still there? Try wiping the dalvik in recovery
Try this...
Code:
adb remount
adb shell
rm /data/app/xxxx.apk
XXX=name of app.apk
is there a way to list the contents of /data/app is adb as I dont know what the name of the apk is
carbon5000 said:
is there a way to list the contents of /data/app is adb as I dont know what the name of the apk is
Click to expand...
Click to collapse
I don't remember the command to mount it to PC via recovery... may b someone else can help you with it... Tried remembering, can't recollect...
Or you can give me the link of the app your using? I can install it and tell you the apk file name! :good:
---------- Post added at 02:38 PM ---------- Previous post was at 02:36 PM ----------
Or you can flash this recovery: http://d-h.st/HiV
It has aroma file manager by which you can take a look...
vin4yak said:
I don't remember the command to mount it to PC via recovery... may b someone else can help you with it... Tried remembering, can't recollect...
Or you can give me the link of the app your using? I can install it and tell you the apk file name! :good:
---------- Post added at 02:38 PM ---------- Previous post was at 02:36 PM ----------
Or you can flash this recovery: http://d-h.st/HiV
It has aroma file manager by which you can take a look...
Click to expand...
Click to collapse
Just realised I have the app installed on my tablet as well, so got the apk name from that - but after running the commands you suggested, I got the following error:
C:\Android\SDK\platform-tools>adb devices
List of devices attached
HT266W104018 recovery
C:\Android\SDK\platform-tools>adb remount
remount failed: Success
C:\Android\SDK\platform-tools>adb shell
~ # rm /data/app/com.locnet.gamekeyboard-1.apk
rm: can't remove '/data/app/com.locnet.gamekeyboard-1.apk': No such file or directory
~ #
am i missing something?
carbon5000 said:
Just realised I have the app installed on my tablet as well, so got the apk name from that - but after running the commands you suggested, I got the following error:
C:\Android\SDK\platform-tools>adb devices
List of devices attached
HT266W104018 recovery
C:\Android\SDK\platform-tools>adb remount
remount failed: Success
C:\Android\SDK\platform-tools>adb shell
~ # rm /data/app/com.locnet.gamekeyboard-1.apk
rm: can't remove '/data/app/com.locnet.gamekeyboard-1.apk': No such file or directory
~ #
am i missing something?
Click to expand...
Click to collapse
Everything seems OK...
Maybe try from the recovery....
Sent from my HTC One X using xda app-developers app
Is it a system app? if so then use this directory:
/system/apps
Also if it doesn't work then put a -r after rm... mostly it's in /data/app
SOLVED: just needed to mount the partitions in recovery before doing the adb commands.
Thanks for your help!!!!
Was just wondering if there is a way to replace the framework with just using root without a custom recovery for the stock Rom?
On my s3 I couldn't do it with just root don't know if that would work on this or if I might have missed something.
Sent using xda premium.
re: install apks
TheArtiszan said:
Was just wondering if there is a way to replace the framework with just using root without a custom recovery for the stock Rom?
On my s3 I couldn't do it with just root don't know if that would work on this or if I might have missed something.
Sent using xda premium.
Click to expand...
Click to collapse
All you need is to be rooted, it does not matter if you have custom recovery or not.
You can install any apk's since you do not need to go into recovery to install apks.
When I tried with root only before on a different phone I used root explorer to replace.
But when I went to paste it in the folder the phone locked up and rebooted.
Was that not the right way to do it?
Maybe using adb terminal would be better and not cause it to lock and reboot when I paste over the existing framework-res.apk.
Being in the system directory causes some issue with being that is also a constant used file.
Sent using xda premium.
re: install apk
TheArtiszan said:
When I tried with root only before on a different phone I used root explorer to replace.
But when I went to paste it in the folder the phone locked up and rebooted.
Was that not the right way to do it?
Maybe using adb terminal would be better and not cause it to lock and reboot when I paste over the existing framework-res.apk.
Being in the system directory causes some issue with being that is also a constant used file.
Sent using xda premium.
Click to expand...
Click to collapse
The framework-res.apk should be installed like any other app
unless the OP of wherever you got it from gives instructions
to "copy" it to the /system/app folder.
Why not do it the default normal way? just double click on it
when you are in root explorer and it should install like any
other app. If it gives an error, then you can copy it.
If you "copy" it you have to fix permissions and you have to
change the attributes of the /system/app folder so it's "read and write".
NOTE: if there is an existing framework-res-apk in /system/app
delete it with root explorer before doing any of the above.
Framework-Res.apk must reside in system directory. /system/framework to be exact.
Easiest way to do it without locking up is with adb.
You were right OP that it locks up because it's consistently being used. When I make my mods and such to the framework, this is how I quickly get it to the device.
adb remount (if the kernel supports it in other words, anything but stock)
Turn phone screen on
Adb shell stop (your phone should now have a black screen. This command stops all running threads except the one for adb)
Adb push framework-Res.apk /system/framework
Adb shell chmod 644 /system/framework/framework-Res.apk
Adb shell start
You should now see the boot animation then the prompt "android is upgrading"
If you do not have adb remount option (it returns with permission denied)
Copy new framework Res apk to root of internal sd card.
Adb shell stop
Adb shell mount -o remount,rw /system
Adb shell cp /sdcard/framework-Res.apk /system/framework/framework-Res.apk
Adb shell chmod 644 /system/framework/framework-Res.apk
Adb shell start
Just a pointer, disregard my capitalization. Only capitalize when needed.
This method should get everything copied successfully. Any issues just post back!
Sent from my SGH-M919 using Tapatalk 2
Oh thank you very much.
I will give that a try and sounds exactly like what I was looking for.
Sent using xda premium.
Not sure if this is really relevant but...
When I had the samsung vibrant, I used root explorer to make a copy of my framework-res.apk. I extracted the entire thing, found my battery icon files, replaced them with different images given the same name, then repacked the file. Then I copied it back to the original folder to replace the original apk and my phone immediately shut off and rebooted. When it came back I had my new battery icon working just as I had hoped. I was rooted running stock.
Wait... Are you saying that I can simply copy the framework-res.apk from SlimKat and use it on a Google Play Edition ROM?
I'm going to try it!
My S4 LCD screen cracked and went dead. I have root access and can adb in see it as an adb device. I also have titanium backup as an app but I hadn't run a backup in a while. I want to be able to either run a titanium backup from adb and pull the backup to a PC (to do so right now requires unlocking screen which i can't do), or extract the /data directory to a PC. I've already pulled the SIM card and put it in a new phone. Any help would be greatly appreciated as I have some data in certain apps that I want to recover badly.
You should be able to pull up a terminal or cmd prompt and simply type something like adb pull storage/sdcard0/Android/data or adb pull /data/data
Sent from my SGH-M919 using XDA Premium 4 mobile app
---------- Post added at 08:01 PM ---------- Previous post was at 08:00 PM ----------
Or get an MHL OTG cable and plug your phone to your tv.
Sent from my SGH-M919 using XDA Premium 4 mobile app
xdapowerapps said:
You should be able to pull up a terminal or cmd prompt and simply type something like adb pull storage/sdcard0/Android/data or adb pull /data/data
Sent from my SGH-M919 using XDA Premium 4 mobile app
---------- Post added at 08:01 PM ---------- Previous post was at 08:00 PM ----------
Or get an MHL OTG cable and plug your phone to your tv.
Sent from my SGH-M919 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thanks for the advice. I can get storage/sdcard0/Android/data but this does not pull the same as an adb pull /data/data would. i was also able to pull /system. adb pull /data is not working for some reason, no thoughts why (i.e., it shows 0 files pulled).
re: Android Commander
Launchpad McQuack said:
My S4 LCD screen cracked and went dead. I have root access and can adb in see it as an adb device. I also have titanium backup as an app but I hadn't run a backup in a while. I want to be able to either run a titanium backup from adb and pull the backup to a PC (to do so right now requires unlocking screen which i can't do), or extract the /data directory to a PC. I've already pulled the SIM card and put it in a new phone. Any help would be greatly appreciated as I have some data in certain apps that I want to recover badly.
Click to expand...
Click to collapse
Just download and install "Android Commander" which is a windows utility.
Here is the direct download link for it:
https://docs.google.com/uc?id=0B44Nx1hrRITWOVczc0FzZEt6OFk&export=download
It works just like any other windows explorer but it's made for android and
it has all the adb commands built-in so you won't need to type anything at all.
With that you will be able to access ROOT and copy any files and folders to
an empty folder on your desktop.
The screen does not need to be on in the phone, but if you want root files your
phone needs to be rooted.
It's really excellent and is one of a kind android utility, you
won't need to install anything at all in the phone itself.
Good luck!
Launchpad McQuack said:
Thanks for the advice. I can get storage/sdcard0/Android/data but this does not pull the same as an adb pull /data/data would. i was also able to pull /system. adb pull /data is not working for some reason, no thoughts why (i.e., it shows 0 files pulled).
Click to expand...
Click to collapse
Sounds like it's not mounted. I would recommend using the too Misterjunky mentioned.
Sent from my SGH-M919 using Tapatalk
Misterjunky said:
Just download and install "Android Commander" which is a windows utility.
Here is the direct download link for it:
https://docs.google.com/uc?id=0B44Nx1hrRITWOVczc0FzZEt6OFk&export=download
It works just like any other windows explorer but it's made for android and
it has all the adb commands built-in so you won't need to type anything at all.
With that you will be able to access ROOT and copy any files and folders to
an empty folder on your desktop.
The screen does not need to be on in the phone, but if you want root files your
phone needs to be rooted.
It's really excellent and is one of a kind android utility, you
won't need to install anything at all in the phone itself.
Good luck!
Click to expand...
Click to collapse
Thank you for the suggestion. I installed Android Commander but it is unable to connect. It says "Connected device has status offline and can not be used. Please reboot your device". I did a reboot and it says the same thing. It also has a loading bar that continues to say loading no matter how long I let it run. I don't know if this is because the device connects only as a digital camera (it was the only way to get it to connect to a PC in the beginning) - I can see any image file in windows explorer, including in the root directories. I can see the data/ directories I want in explorer, but I can't see/access the actual files in them via explorer. In explorer, the empty directories are listed under device/Phone/. Is there a way to mount the /Phone directory and then access it, with adb maybe? I've been trying lots of adb protocols and no luck on /data - adb shell ls -R /data gives "opendir failed, Permission denied" and adb root gives "error: device offline". Is there a way to gain permission to this dir (mount?)? Is this because I can't accept the RSA key through the touchscreen? Thanks in advance, I'm a bit clunky with adb.
Launchpad McQuack said:
Thank you for the suggestion. I installed Android Commander but it is unable to connect. It says "Connected device has status offline and can not be used. Please reboot your device". I did a reboot and it says the same thing. It also has a loading bar that continues to say loading no matter how long I let it run. I don't know if this is because the device connects only as a digital camera (it was the only way to get it to connect to a PC in the beginning) - I can see any image file in windows explorer, including in the root directories. I can see the data/ directories I want in explorer, but I can't see/access the actual files in them via explorer. In explorer, the empty directories are listed under device/Phone/. Is there a way to mount the /Phone directory and then access it, with adb maybe? I've been trying lots of adb protocols and no luck on /data - adb shell ls -R /data gives "opendir failed, Permission denied" and adb root gives "error: device offline". Is there a way to gain permission to this dir (mount?)? Is this because I can't accept the RSA key through the touchscreen? Thanks in advance, I'm a bit clunky with adb.
Click to expand...
Click to collapse
Ahhh, yeah, you need to be able to accept the connection. I'd get a cable to hook it up to my TV and transfer over all the important files. This way you can run a full nandroid backup of your phone and restore it afterwards.
Sent from my SGH-M919 using XDA Premium 4 mobile app
xdapowerapps said:
Ahhh, yeah, you need to be able to accept the connection. I'd get a cable to hook it up to my TV and transfer over all the important files. This way you can run a full nandroid backup of your phone and restore it afterwards.
Sent from my SGH-M919 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thanks for the suggestion. I have an MHL cable that goes micro-USB to USB (and then I can get USB Male-Male), but how do I hook it up to a TV, run a nandroid, and then pull the nandroid to PC?