No Permissions after flashing? - Epic 4G General

Hey guys. So I just flashed the Quantum rom, after a while of holding back, and everything went well. I restored a backup from clockwork, and I had all my apps/data back. The Swype, however, wasn't back to how it was. It was stock Swype, and I had used a MetaMorph Swype theme I modified myself. No big deal, I thought, since I had the modified Swype.apk on my SD card, so I went into Root Explorer and tried to copy the Swype from my SD card over to /system/app. (Which was how I installed it previously) It says it works, but when I open swype again, it's still the old one. I tried restarting my Epic, but it was still the old Swype. So I tried just pushing the Swype.apk to /system/app using ADB, but it gave me an error:
failed to copy 'Swype.apk' to '/system/app/Swype.apk': Read-only file system
Click to expand...
Click to collapse
It never gave me this error before, and I even checked my Root Explorer previously and made sure I had mounted as R/W and not as R/O.
Thanks, guys.

Related

[Q] Where the hell did the "hosts" file go dk28?

I've been trying to get a custom hosts file to the phone but things aren't working out very well. Root explorer is saying that in /system/etc there's not enough free space to complete the operation. I've also tried with other file managers to no avail. I've tried adb push, shell cp and it says permission denied. I know I'm rooted. I looked in /system/etc and there isn't a stock hosts file, in fact a search says there isn't a hosts file in / and sub directories. I've tried su and sudo and it still gives me the finger. Anyone have any suggestions?
I'm doing everything the same way I've done it with my moment, evo, and epic with 2.1 and now it's not working. I thought that maybe there's a update needed for root explorer like was needed when the epic was first released except other file managers aren't working either. Argh
herbthehammer said:
I've been trying to get a custom hosts file to the phone but things aren't working out very well. Root explorer is saying that in /system/etc there's not enough free space to complete the operation. I've also tried with other file managers to no avail. I've tried adb push, shell cp and it says permission denied. I know I'm rooted. I looked in /system/etc and there isn't a stock hosts file, in fact a search says there isn't a hosts file in / and sub directories. I've tried su and sudo and it still gives me the finger. Anyone have any suggestions?
I'm doing everything the same way I've done it with my moment, evo, and epic with 2.1 and now it's not working. I thought that maybe there's a update needed for root explorer like was needed when the epic was first released except other file managers aren't working either. Argh
Click to expand...
Click to collapse
I would try running the rageagainstthemachine exploit and then immediately try to adb push to system- right after the exploit abd should run as root and you should not get the permission denied (after reboot abd will no longer run as root)
I opened up the run.bat and edited it. I added the push of the hosts file after the rage and root files and chmod it for good measure. Saved the bat then ran it. Permission denied. It's not letting me push the file into /system/etc in one click 2.5.2
damn
stubborn bugger!
Is it possible that an updated exploit is needed? I tried and failed to run ryanza's z4root prog too. Some progs aren't showing up in the market either... I'm sure that's in a post somewhere else too
try doing it manually- that exploit should work- I'm assuming for protected apps to show in market u will have to wait till google officially recognizes this rom
Sent from my SPH-D700 using XDA App
Here's what I found out. The version tar I was using was the odin one. I flashed it on top of di18 with everything erased. For some reason there wasn't a hosts file. I got pissed off and clockworked the di18 I had then entered username and password then nandroided a restore point I had before upgrading. It worked fine as it did before. I ran sprint navigation to get the gps working. Then I dl the update 90 mb file that was hosted on google. I applied that in clockwork on top of everything without erasing everything. Then I had to one click and the pus of hosts failed again because it was a read only filesystem. Things didn't look right and it appeared the one click didn't take the first time. I suspect it was because I let the phone lock and turn off screen. Rebooted phone and one clicked again. This time it took. Looked in /system/etc and there was a hosts file. I don't know if it was stock or one lft over from di18. I tried again to copy modded hosts over on top of existing one with root explorer. It took this time. There must have been something wrong with the odin flash. Noobs clockwork modded update locked up my phone hard at the stock recovery screen. Anyways I'm going to give this a try and see what happens. Browsing in stock and dolphin seem much slower putting the page together and moving around. We will have to wait and see if someone runs a diff between this update and the one that comes with sprint and see what's up.
I need to try and remove flash out of here because the web pages are almost bringng the phone to its knees with flash advertisements.
herbthehammer said:
I need to try and remove flash out of here because the web pages are almost bringng the phone to its knees with flash advertisements.
Click to expand...
Click to collapse
You try the ondemand setting for plugins within the browser?
I just checked in stock browser and it was on demand. I will try off and see what happens.
Here... flash this and problems solved
http://db.tt/EDNJNdk
Sent from my VIPERrom [TRiNiTY] DK28 3.0

Ghost Vending.apk

Ill keep this short and sweet. heres my timeline:
1. I noticed that my market magically "demorphed" itself (as in deapplied a metmorph theme)
2. I went into Metamorph to reapply and Metamorph told to cfree up some memory in my system partition so as to avoid any problems.
3. I went into Root Explorer and saw my system memory was at 20kb, so i deleted my enormous shutdown animation, which freed up more than enough space.
4. I then discovered that my Vending.apk had somehow been relocated to /data/app.
5. I deleted it from /data/app, and, just to make sure started from scratch, i attempted to rm Vending.odex from /system/app via ADB but it said the file did not exist
6. Pushed Vending.apk to /system/app to reinstall, and now that its installed, it still wont show up anywhere on my phone (not in the launcher, not anywhere)....even thought i confirmed it is installed in root explorer
so my question is......where in the god damn is my bloody market????
Update: So it turns out this happens with any app i try to push to /system/app.......root explorer shows it as installed yet the app will not show up anywhere
odin then reflash firmware
lralexl said:
odin then reflash firmware
Click to expand...
Click to collapse
That always should be the last option, yet always seems to be everyones first answer
Sent from my pocket rocket!
I recall reading that if the signature of the apk doesn't match, once you connect to the Market and go back it reverts it to an original copy. I can't recall where exactly I read this but it had to do with changing the look of Market, which causes it to revert back.

Cannot for the life of me get system r/w permissions

I've been running cm7 nightlies and now stable 7.0 for some time now. I have the new radio, ladios' kernel, and the sdcard read fix flashed.
I installed super manager and successfully deleted some of the stock cm7 media off my phone last week. Today, I came across the new GPS.conf files and wanted to try them.
Super manager couldn't switch the system to r/w despite saying "ok"
When I try to delete or write in the system with EStrongs file explorer, ghost commander, or android mate, they all give strange errors. The deleted files disappear but reappear after reboot. If I try to paste a file in system/etc I only get an error.
Superuser is successfully allowing permissions. I have the latest busybox. I have r/w enabled in each file manager.
I even tried an adb push test which first said "system is r/o only". The next try was "successful" but didn't do anything.
I'm still new with adb so I probably did something wrong. I typed in that r/w command, mount now shows: /dev/block/mtdblock3 on /system type yaffs2 (rw,relatime)
I can't figure out what changed and what I need to do to get r/w permissions. My only theory is that i had uninstalled and reinstalled super manager earlier and that somehow messed with my permissions.
You cannot permanently modify the system partition while the phone is booted into Android. The only way is to use adb while the phone is in recovery mode. Any changes you make while the phone is booted will be lost after a reboot.
Go check on those media files you thought you deleted. I bet you'll find they are still there.
Yes that worked. Thank you.
I thought I had read somewhere that you had to be booted to adb push.
I also thought that root managers advertising r/w capability would make permanent changes.
Next question:
Can I add and remove files from the cm7 zip before flashing it? Do I have to rezip it in any special or can windows 7 manage it fine?
EDIT: Ok I guess i need to sign it... lets see...
jamus28 said:
Yes that worked. Thank you.
I thought I had read somewhere that you had to be booted to adb push.
I also thought that root managers advertising r/w capability would make permanent changes.
Next question:
Can I add and remove files from the cm7 zip before flashing it? Do I have to rezip it in any special or can windows 7 manage it fine?
EDIT: Ok I guess i need to sign it... lets see...
Click to expand...
Click to collapse
You don't need to sign them on the aria
Sent from my Liberty using XDA App
jamus28 said:
Yes that worked. Thank you.
I thought I had read somewhere that you had to be booted to adb push.
I also thought that root managers advertising r/w capability would make permanent changes.
Click to expand...
Click to collapse
Those programs will work on some phones but not the Aria.
Next question:
Can I add and remove files from the cm7 zip before flashing it? Do I have to rezip it in any special or can windows 7 manage it fine?
EDIT: Ok I guess i need to sign it... lets see...
Click to expand...
Click to collapse
It really is as simple as adding or removing a few files from the zip file if you want to modify it.

[Q] Why can I not delete my /sdcard/clockworkmod folder?

So I've installed a custom ClockworkMod recovery and ROM on my Nexus 7 tablet. Life was good. Recently, I was running out of space and decided to delete my CWM backup (after saving it to my computer). And then, I realized I couldn't.
I went into ES File Explorer to try. I couldn't do it there.
I went into the ADB shell as root to try to remove it. No luck again, just the message when I finally DID try to remove one file:
Code:
# rm boot.img
rm failed for boot.img, Operation not permitted
What am I doing wrong?
Edit: This looks like it's ClockWorkMod (5.8.??)'s fault, but besides reading that another backup won't make the current one much larger, I don't actually know how to delete the current one.
Try "rm -rf ddd" (where "ddd" is the directory name) on the directory containing the files.
Sent from my Nexus 7
BillGoss said:
Try "rm -rf ddd" (where "ddd" is the directory name) on the directory containing the files.
Sent from my Nexus 7
Click to expand...
Click to collapse
in the development section there is a cwm flashable.zip that will delete them.. Then upgrade to latest cwm or TWRP.. its a bug from older version of cwm.. its talked about in the dev cwm thread..
good luck..
I did this in a way not mentioned here that still deserves mentioning... First I updated to the latest version of CWM available (via the Nexus 7 Toolkit) and then booted into recovery, opened the backup option, deleted the backup that was there, then cleaned the nandroids.
I could not find the aforementioned flashable zip, and because of the new CWM I had, I wanted to attempt a proper method of removal before running another rm command via the terminal. Therefore I could not verify the other methods mentioned here, my apologies.
erica_renee said:
in the development section there is a cwm flashable.zip that will delete them.. Then upgrade to latest cwm or TWRP.. its a bug from older version of cwm.. its talked about in the dev cwm thread..
good luck..
Click to expand...
Click to collapse
primetechv2 said:
I could not find the aforementioned flashable zip, and because of the new CWM I had, I wanted to attempt a proper method of removal before running another rm command via the terminal. Therefore I could not verify the other methods mentioned here, my apologies.
Click to expand...
Click to collapse
Sorry for re-opening an old thread, but I am having a problem where I have files that I cannot delete from the clockworkmods/blobs folder on my external sd card. So far, I have tried deleting them from a file explorer, deleting them as root from a file explorer, root and non-root deletes from terminal emulator, deleting through windows, adb shell deletes (with system booted).
I also wanted to try adb shell while booted into cwm, but I could not get the adb connection to work from recovery.
I also tried to find the zip file in the developer section and that's the real reason why I revived this thread...Does anyone know where the thread is with the zip file to remove these files?
I think the only way to delete them is through cwm.Boot to recovery and use the menu to delete them.
Sent from my SGH-I927 using xda app-developers app
Kodiack99 said:
I think the only way to delete them is through cwm.Boot to recovery and use the menu to delete them.
Sent from my SGH-I927 using xda app-developers app
Click to expand...
Click to collapse
When I booted to recovery, I am able to delete each of the backups that I created. These all deleted correctly. I then went to Free unused backup files (to delete the files/folders in the blobs folder) and ran that and most of the files are gone. When I boot back into the phone, there are still some files/folders there and they seem to be taking up about 4-5 GB on the card. When I try to delete them through the file manager apps (either as root or not) they will not delete and the manager reports an error (before clicking delete, the manager displays a statistics report that says that the size of the files are over 2TB so obviously something is very messed up about them). I have also tried to delete them through the terminal (again as root and regular user) and they will not delete there either and they totally mess up the terminal window with unprintable characters (the only way to recover is to exit out of the current window and start a new one).
I finally fixed this problem last night by backing up all of my stuff (except the clockworkmod folder) to my computer. I then rebooted into recovery (latest version of CWM non-touch) and formatting the ext SD Card. When I rebooted there were still some folders there (including the clockworkmod folder). I did a format from within the OS and that cleared everything out. I copied all of my stuff back from my computer and I'm now good to go. Not sure how it got messed up to begin with, but the problem is fixed now. I think I'm going to stick with TWRP from now on.

[Q] Can't move several Titanium Backup .gz files to PC. Permission issues?

Most of the files in my TiBU folder will copy. All the properties files, and ~half of the .gz files. Most of these are game backups for progress purposes.
Dragging and dropping using Windows explorer doesn't work (nothing will happen at all)
Using ES File Explorer from the phone doesn't work.
adb from the PC doesn't work (command line has entries saying something about permissions on the failed files)
Help? I'm aware I could try backing up to cloud, but that's a workaround vs actually solving the problem. Plus it takes a while.
deusfaux said:
Most of the files in my TiBU folder will copy. All the properties files, and ~half of the .gz files. Most of these are game backups for progress purposes.
Dragging and dropping using Windows explorer doesn't work (nothing will happen at all)
Using ES File Explorer from the phone doesn't work.
adb from the PC doesn't work (command line has entries saying something about permissions on the failed files)
Help? I'm aware I could try backing up to cloud, but that's a workaround vs actually solving the problem. Plus it takes a while.
Click to expand...
Click to collapse
I think TIBU needs a big update....I have same issue but my biggest problem is I can´t uninstall any system apps (there a some I don´t need) when I tap the uninstall button always same thing...."Cannot find the .apk file .....no problem whith my personally apk´s..?
Somebody same issue?
I ran into the same issue and solved (?) it by rebooting into recovery and doing an adb pull from there. It doesn't work from within Android like you said but once you're in the recovery partition things are different.
I think this not a problem with TiBu (or maybe it just needs an update like shivasrage said), because I can't copy my Nandroids to my PC either. I had to do a adb pull from recovery as well in that case. In fact, now that I remember, yesterday I tried to copy some backups I did in ES Explorer and some of them failed.
Android 4.3 is secure but that's messing with our old habits and making things more difficult.
Yeah but I had this problem before updating to 4.3
deusfaux said:
Yeah but I had this problem before updating to 4.3
Click to expand...
Click to collapse
Oh, that's weird. I never had this problem before 4.3.
I just went through this exact same problem with my TWRP backup files yesterday (Except in that case it was an issue with the latest 2.6 version of TWRP, not the Android OS). For Titanium Backup, I am going to have to go back today and count the files that I copied over to my PC using Windows Explorer and compare it to an adb pull under Recovery. There are so many files as part of the backup that I would never have noticed a couple of missing ones like I did on TWRP.
EDIT: Just checked and 427 files were copied over doing it each way with a full Titanium Backup (Windows Explorer or an adb pull), so it works fine for me. I am on Android version 4.2.2.
I solved the problem by installing BusyBox from Play Store (Normal install). Then, opened a command window (you can also do it using Terminal Emulator) from within my platform-tools folder in C and typed:
adb shell
su (grant permission in the phone)
busybox chown -R 1023.1023 /data/media/*
Click to expand...
Click to collapse
Now I can safely copy all files by drag-n-drop or adb pull from within android.
Cheers
Can someone walk me through solving this? I'm wanting to do a factory reset immediately, but I can't before copying over these Titanium Backup'd apps.
Why is this even happening?
ABD, ES File Explorer, everything is giving me a permission error. The latter said EACCES (Permission denied) Refused by system.
edit: nevermind. I narrowed down the offending files, and forced new backups by deleting the old ones and re-doing them. Something about the way TiBu wrote a handful of the backups was not allowing anything to copy the files.

Categories

Resources