sdcard permissions messed up? - Nexus 5 Q&A, Help & Troubleshooting

Ive factory reset several times now, I've reflashed the android l preview image several times, and flashed two 5.0 roms over it even, and i even tried a multiboot with cm11. My device can't take pictures, video, basically anything to do with the camera doesnt work. Pictures seem to take, but don't save. Video or any panorama crashes the camera, and the error logs show something about permission denied to the files they are trying to create. How can i fix this?

Did you copy all your data back to the phone via recovery?
Usually for L, you run
su
restorecon -FR /data/media/0
...which is mentioned in his sticky lots of times.
But If you copied all sdcard data back to your phone via recovery, there's a different approach

rootSU said:
Did you copy all your data back to the phone via recovery?
Usually for L, you run
su
restorecon -FR /data/media/0
...which is mentioned in his sticky lots of times.
But If you copied all sdcard data back to your phone via recovery, there's a different approach
Click to expand...
Click to collapse
I tried that one, it did nothing and camera still acted up. I've tried every app on the store. Nothing seems to be allowed to write to DCIM, even though I can create files with a normal file manager just fine.

rootSU said:
Did you copy all your data back to the phone via recovery?
Usually for L, you run
su
restorecon -FR /data/media/0
...which is mentioned in his sticky lots of times.
But If you copied all sdcard data back to your phone via recovery, there's a different approach
Click to expand...
Click to collapse
I just tried creating a file inside the camera folder inside DCIM and permission was denied. How could I fix that?

dreamwave said:
I tried that one, it did nothing and camera still acted up. I've tried every app on the store. Nothing seems to be allowed to write to DCIM, even though I can create files with a normal file manager just fine.
Click to expand...
Click to collapse
Using a root explorer, go to /data/media/0/Download and set all the permissions to read, write and execute.
Then hopefully you can download stuff.
Please check that. If that works, I'll let you know the next step

rootSU said:
Using a root explorer, go to /data/media/0/Download and set all the permissions to read, write and execute.
Then hopefully you can download stuff.
Please check that. If that works, I'll let you know the next step
Click to expand...
Click to collapse
I can already download stuff. Is it a common problem with L for this to happen? I've looked it up and found little to nothing.

rootSU said:
Using a root explorer, go to /data/media/0/Download and set all the permissions to read, write and execute.
Then hopefully you can download stuff.
Please check that. If that works, I'll let you know the next step
Click to expand...
Click to collapse
I realize I just went full retard thanks to looking in the camera for permission. I had earlier set permissions with chmod from recovery for the DCIM directory to 777, but not the Camera directory within. Thanks for helping, though!

dreamwave said:
I realize I just went full retard thanks to looking in the camera for permission. I had earlier set permissions with chmod from recovery for the DCIM directory to 777, but not the Camera directory within. Thanks for helping, though!
Click to expand...
Click to collapse
One problem I have consistently had however is that my launcher and default camera app are never remembered. How can I fix this?

dreamwave said:
I can already download stuff. Is it a common problem with L for this to happen? I've looked it up and found little to nothing.
Click to expand...
Click to collapse
No it's uncommon. I've only sewn it for people using recovery or adb to push and pull sdcard folders.
Download and flash this zip via recovery.
http://forum.xda-developers.com/attachment.php?attachmentid=2849968&d=1405300107

and it seems that for any kind of panorama or photosphere it still crashes

they crash with an event trace of java.lang.NullPointerException: attempt to invoke virtual method 'void java.io.FileWriter.close()' on a null object reference
at
com.google.android.apps.lightcycle.panoramamodule.stopcapture(panoramamodule.java:802
etc
etc
etc

Its permissions, we know that. Please flash the fix I posted before anything else.

rootSU said:
Its permissions, we know that. Please flash the fix I posted before anything else.
Click to expand...
Click to collapse
Ok, so pushing it to the sd with adb won't break even more permissions?

dreamwave said:
Ok, so pushing it to the sd with adb won't break even more permissions?
Click to expand...
Click to collapse
Why would you need to do that? You can download it direct to your phone.

rootSU said:
Why would you need to do that? You can download it direct to your phone.
Click to expand...
Click to collapse
ok, I flashed it and my phone is rebooting

dreamwave said:
ok, I flashed it and my phone is rebooting
Click to expand...
Click to collapse
Cross your fingers.

rootSU said:
Why would you need to do that? You can download it direct to your phone.
Click to expand...
Click to collapse
thanks so much, that fixed it completely!

dreamwave said:
thanks so much, that fixed it completely!
Click to expand...
Click to collapse
No problem.
The adb (or TWRP MTP) only seems to break permissions if you're pushing folders. Pishing individual files should be fine.

rootSU said:
Cross your fingers.
Click to expand...
Click to collapse
is this problem new to android l or has it been around a while? I'll also admit I do a lot of adb push/pull/commands and such, and for a lot of the time need to because I only have a wired connection with my computer at school, is there a way to avoid this problem in the future?

dreamwave said:
is this problem new to android l or has it been around a while? I'll also admit I do a lot of adb push/pull/commands and such, and for a lot of the time need to because I only have a wired connection with my computer at school, is there a way to avoid this problem in the future?
Click to expand...
Click to collapse
Its not related to L at all. Files should be fine to push. Its just folders I think that cause the issue.

Related

Android Browser build that AutoRotates

Here's a recompiled version of the Browser that supports auto rotate.
Here's the download location for the Browser.apk:
http://www.koushikdutta.com/2008/12/auto-rotate-for-android-browser.html
Run the following from the command prompt to install the new Browser:
Installation Instructions:
adb remount
adb shell rm /system/app/Browser.odex
adb push Browser.apk /system/app/Browser.apk
Now start up the Browser.
You may not have a Browser.odex depending on your phone model.
The change, as I mentioned before, is really trivial. In the BrowserActivity.onCreate, I did the following:
// the next line is the original code
// setRequestedOrientation(mSettings.getOrientation());
// make it use the sensor for orientation instead.
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR);
To restore the original Browser, flash RC30 again.
Koush, thanks so much! I have been waiting for this!
i can't get it to install and now the browser don't work and i can't install the back up
I'm getting no space available when pushing the browser.apk
JF rc30 v1.2
kron2 said:
i can't get it to install and now the browser don't work and i can't install the back up
Click to expand...
Click to collapse
You can't get it to install? Could you be more specific?
saul972 said:
I'm getting no space available when pushing the browser.apk
JF rc30 v1.2
Click to expand...
Click to collapse
Your /system partition ran out of room. Is there something you can delete from there? I've seen this before as well on some of my company's phones; I usually end up deleting some ringtones or other junk files.
took a couple of tries but installed now...thanks!
fyi i rebooted phone to initially install the new Browser. I first got errors w/o rebooting so that may fix the problem
I had the same problems with the new browser crashing and then being told that the file couldnt be copied due to lack of space,
Easiest fix is to just reinstall rc30 or rc8 and install the patched browser again.
Worked fine after that
Koush said:
Your /system partition ran out of room. Is there something you can delete from there? I've seen this before as well on some of my company's phones; I usually end up deleting some ringtones or other junk files.
Click to expand...
Click to collapse
Not sure.
Here's the message
failed to copy 'Browser.apk' to 'system/app/Browser.apk' : no space left on device
SGTDavePwnage said:
I had the same problems with the new browser crashing and then being told that the file couldnt be copied due to lack of space,
Easiest fix is to just reinstall rc30 or rc8 and install the patched browser again.
Worked fine after that
Click to expand...
Click to collapse
Will I need to start the process again?
saul972 said:
Will I need to start the process again?
Click to expand...
Click to collapse
Its basically telling you that it cant copy the file because of lack of space withing the system partition.
As koush advises, if you know how to clear space that will fix the problem.
If you dont know how to remove things and are a bit unsure of what to do, reinstalling the modified rc30 / rc8 will reset the system partition back to its defaults.
Once your back and set to default you can try to install again if you want
I'm assuming this is for those who have root access only?
If so, it would be nice to state that when posting these mods.
Henchman said:
I'm assuming this is for those who have root access only?
If so, it would be nice to state that when posting these mods.
Click to expand...
Click to collapse
Yes this requires root access,
I can see what you are saying about perhaps specifying in the post when something requires root access, but when you look at the instructions in this case its quite obvious that this one does require root.
PS.... Cheers for the upload Koush
SGTDavePwnage said:
Yes this requires root access,
I can see what you are saying about perhaps specifying in the post when something requires root access, but when you look at the instructions in this case its quite obvious that this one does require root.
PS.... Cheers for the upload Koush
Click to expand...
Click to collapse
Obviouse to em...
But probably not to everyone.
And you know the old saying. When you Assume...
where do i put Browser.apk to install it on the sd card and if so how do i use adb to see it or do i push it from like c:\browser.apk \system\app\browser.apk
SGTDavePwnage said:
Its basically telling you that it cant copy the file because of lack of space withing the system partition.
As koush advises, if you know how to clear space that will fix the problem.
If you dont know how to remove things and are a bit unsure of what to do, reinstalling the modified rc30 / rc8 will reset the system partition back to its defaults.
Once your back and set to default you can try to install again if you want
Click to expand...
Click to collapse
Finally got it!!! Thanks for your help
kron2 said:
where do i put Browser.apk to install it on the sd card and if so how do i use adb to see it or do i push it from like c:\browser.apk \system\app\browser.apk
Click to expand...
Click to collapse
Place it in the tools folder of the SDK folder on your PC
thx joshoowa i installed it finally i did have it in the tool folder but would not install but after several tries it did i was starting to think i was installing it wrong
I've deleted most of my .ogg audio related tones in the /media/audio folder but i still get no space left. what else can i delete?
btw i'm using adb shell rm /xxx/xxx/xxx/xx.ogg to delete. is that right?
Hey Hey!!!...
Had to free up some room, but it works great..
Thanks..

[Q] Rebooting to Bootstrap

I have been trolling the forums for awhile and I never post but this is something that I have not been able to come across. Why after I used the bootstrap app and load into the recovery menu that now every time I go to reboot my phone I automatically go into the recovery menu even after a successful boot? Hope I worded that right. Please help and thank you!!
just realized I am in the theme section. Can this be moved to the appropriate board. THANKS!!
That's the way it works, it hijacks the bootloader, trust me its a good thing. Bootloop, battery pull, recovery, restore backup. Several times I've been glad it works that way.
Sent from my DROIDX using XDA App
Wait. I have a normal reboot. Maybe mine is messed up?
Yeah I got that but I thought it was only if I pulled the battery after it bootlooped. It does it every reboot except after I flashed a "rom", but I didn't like the rom so I reverted back to stock. I mean its awesome to have the security blanket but it can also be a bad thing if my 14 yo cousin gets ahold of my phone then formats my system an then reboots. Thanks for the help by the way.
Sent from my DROIDX using XDA App
The recovery works by looking for a file : /data/.recovery_mode
If it's there, then it goes into recovery mode, if not, then it allows for a normal boot.
However, if doing normal boot, it actually places the /data/.recovery_mode file and then erases it once the system is fully booted. I know this is confusing, but this is how it knows to go back into recovery if you did a battery pull (ie, the file was created, but never erased since you didn't complete the boot process).
All of this is supposed to happen automagically, but I've heard of that file sometimes getting 'stuck' and not deleted. Thus, causing you to reboot into recovery every time.
There is nothing inside the file, just an empty marker. You may want to delete that file and reboot. Should help.
-Z
If you want to remove bootstrap, you can do SBF flash, which I did several times and it perfectly works.
Zaphod-Beeblebrox said:
The recovery works by looking for a file : /data/.recovery_mode
If it's there, then it goes into recovery mode, if not, then it allows for a normal boot.
However, if doing normal boot, it actually places the /data/.recovery_mode file and then erases it once the system is fully booted. I know this is confusing, but this is how it knows to go back into recovery if you did a battery pull (ie, the file was created, but never erased since you didn't complete the boot process).
All of this is supposed to happen automagically, but I've heard of that file sometimes getting 'stuck' and not deleted. Thus, causing you to reboot into recovery every time.
There is nothing inside the file, just an empty marker. You may want to delete that file and reboot. Should help.
-Z
Click to expand...
Click to collapse
Ok I understand completely I knew the process but did not quite understand. Now the last question, is the only way to remove it to flash or can I use a file manager to remove it?
Oh and thanks for the help by the way.
UPDATE:
So I think I found it.
Unroot and Remove Recovery Via RootExplorer
jkpair said:
Ok I understand completely I knew the process but did not quite understand. Now the last question, is the only way to remove it to flash or can I use a file manager to remove it?
Click to expand...
Click to collapse
You can just delete it with a file manager (I am not sure about the permissions though .. you may need rootexplorer?)
I generally just do things like that from adb shell.
I KNOW I can delete it that way
Zaphod-Beeblebrox said:
You can just delete it with a file manager (I am not sure about the permissions though .. you may need rootexplorer?)
I generally just do things like that from adb shell.
I KNOW I can delete it that way
Click to expand...
Click to collapse
so for adb shell it would be something like:
Code:
adb shell
cd /system/bin
rm -r hijack
If thats right I won't try unless I know for sure. I don't know why but I have just got into a habit of googling after I ask. Lol I think this is it: Easy way to remove Koush's recovery?
So the logwrapper is the main file that matters not the hijack file and the original logwrapper was renamed to logwrapper.bin so I just replace Koush's recovery logwrapper with the previous one by copying over it.
Once again thanks for the help. Seems the answer is always 42.
jkpair said:
so for adb shell it would be something like:
Code:
adb shell
cd /system/bin
rm -r hijack
If thats right I won't try unless I know for sure. I don't know why but I have just got into a habit of googling after I ask. Lol I think this is it: Easy way to remove Koush's recovery?
So the logwrapper is the main file that matters not the hijack file and the original logwrapper was renamed to logwrapper.bin so I just replace Koush's recovery logwrapper with the previous one by copying over it.
Once again thanks for the help. Seems the answer is always 42.
Click to expand...
Click to collapse
I'm sorry, I misunderstood you goal here. I thought you wanted to keep the recovery, just fix it so it didn't come up on each reboot. If you are looking to completely remove the recovery, then I yes, I would follow the directions in the post you referenced, not the code section.
If you are only looking to 'fix' your reboot issues, I would suggest looking to see if /data/.recovery_mode exists on your phone. If it does, delete it. That's likely what is causing you to reboot into recovery each time.
Zaphod-Beeblebrox said:
I'm sorry, I misunderstood you goal here. I thought you wanted to keep the recovery, just fix it so it didn't come up on each reboot. If you are looking to completely remove the recovery, then I yes, I would follow the directions in the post you referenced, not the code section.
If you are only looking to 'fix' your reboot issues, I would suggest looking to see if /data/.recovery_mode exists on your phone. If it does, delete it. That's likely what is causing you to reboot into recovery each time.
Click to expand...
Click to collapse
Oh wow now I feel dumb. I thought I got it. So this would allow me to reboot and keep the recovery without it going into recovery every time I reboot. I hate asking noob questions lol
jkpair said:
Oh wow now I feel dumb. I thought I got it. So this would allow me to reboot and keep the recovery without it going into recovery every time I reboot. I hate asking noob questions lol
Click to expand...
Click to collapse
Assuming that is the problem. There may be another reason that you are getting dumped into recovery each time, but I suspect this is it. I will say that it's not 'normal' for recovery to come up each time. It should only come up if you somehow stop the boot process mid-way (Battery pull, etc) or use the Bootstrap recovery program to set it to reboot in recovery (which basically just creates the data file in question).
I would suggest you work through fixing this problem rather than just getting rid of the recovery. It's quite a powerful tool.
Zaphod-Beeblebrox said:
Assuming that is the problem. There may be another reason that you are getting dumped into recovery each time, but I suspect this is it. I will say that it's not 'normal' for recovery to come up each time. It should only come up if you somehow stop the boot process mid-way (Battery pull, etc) or use the Bootstrap recovery program to set it to reboot in recovery (which basically just creates the data file in question).
I would suggest you work through fixing this problem rather than just getting rid of the recovery. It's quite a powerful tool.
Click to expand...
Click to collapse
Yeah I really don't want to rid myself of it. I do believe I have an understanding now I am going to give it a shot when I can leave work. I will come back and post results.
Awesome It worked like a charm. Deleted the .recovery_mode file and am now happy.
Thanks for replying so quickly before I decided to just go ahead and remove the recovery menu all together.
jkpair said:
Yeah I really don't want to rid myself of it. I do believe I have an understanding now I am going to give it a shot when I can leave work. I will come back and post results.
Awesome It worked like a charm. Deleted the .recovery_mode file and am now happy.
Thanks for replying so quickly before I decided to just go ahead and remove the recovery menu all together.
Click to expand...
Click to collapse
Where is this file located? Im having the same problem.
Sent from my DROIDX using XDA App
DrewDanger said:
Where is this file located? Im having the same problem.
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
From my earlier post:
The recovery works by looking for a file : /data/.recovery_mode
If it's there, then it goes into recovery mode, if not, then it allows for a normal boot.
However, if doing normal boot, it actually places the /data/.recovery_mode file and then erases it once the system is fully booted. I know this is confusing, but this is how it knows to go back into recovery if you did a battery pull (ie, the file was created, but never erased since you didn't complete the boot process).
All of this is supposed to happen automagically, but I've heard of that file sometimes getting 'stuck' and not deleted. Thus, causing you to reboot into recovery every time.
There is nothing inside the file, just an empty marker. You may want to delete that file and reboot. Should help.
Click to expand...
Click to collapse
I went through Astro and searched "/data/.recovery_mode" but it didnt bring up that file. I guess Im just confused at what exactly Im supposed to be looking for...
Yeah I ended up using a root file manager to do this was really easy. Just go the root menu and browse to data find recovery_mode and delete then reboot.
Oh and astro will not show what is in the data folder you have to get a root explorer app I think the one I used was android mate.
Sent from my DROIDX using XDA App
Ok cool I'll check that out. When I use Astro and go under "system" and scroll down it has a "recovery from boot" folder. Any idea what that is? When I open it there is a bunch of code script in it
Ok I deleted that file and it fixed it. I think Im just gonna un-root it when I get off work. Im over all this, lol. I'll wait until the Droid has more development as far as root access and what you can do. Can I just do the un-root through the one -click-root I used?
DrewDanger said:
Ok I deleted that file and it fixed it. I think Im just gonna un-root it when I get off work. Im over all this, lol. I'll wait until the Droid has more development as far as root access and what you can do. Can I just do the un-root through the one -click-root I used?
Click to expand...
Click to collapse
Yeah it has an option to unroot, but I can't state whether or not this is the best method to remove the root. I acctually am keeping my root and bootloader. Yeah I will be glad when there is a true rom as well but progress is progress.

Rooted now how do I flash a rom?

My buddy got this phone I want to hook it up as he's not great with tech stuff i rooted with z4root and just need to know how to access recovery cause i didn't see a reinstall packages option in standard recovery ? Any help would be awesome thanks guys
I just rooted with Z4root... then I installed Titanium Backup and then ROM Manager, giving both apps root access (which I verified with the SuperUser app). In ROM Manager I did "Flash ClockworkMod Recovery" and chose the Fascinate option and was told that it downloaded the latest ClockworkMod Recovery. What's my next step?... Choose "Reboot into Recovery" within ROM Manager or do it another way. (My goal is to install Voodoo5 using the stock ROM for now. I have the Voodoo5 file on the SD card.)
EDIT: Whoops. I just realized that I had downloaded the two files to get CWM working but hadn't followed the unzipping, etc. instructions. I'd better go back and read that CWM thread again...
First get CWM working
Then check out this ROM
Or this ROM
and if you really wanna get fancy check out this kernel
Just in case you screw up
If you need more help on each specific topic, just ask in the appropriate areas and there is usually someone around that can answer questions.
Thanks for the quick links... really appreciate it.
BTW - Titanium Backup asks for USB Debugging to be enabled... do you have to do this? It creates issues for me when connecting the phone as mass storage to my PC.
ALSO - I'm assuming I should take an initial backup with Ti before I get too far into this, right? Not having done a backup before... is Ti the best to use? (Do I just choose batch and pick an option(s)? Does choosing "Backup user apps + system data" backup game save data?) EDIT: Just did this and it ran fine but it switched my Live wallpaper back to stock?!? WTF?
monthlymixcd said:
Thanks for the quick links... really appreciate it.
BTW - Titanium Backup asks for USB Debugging to be enabled... do you have to do this? It creates issues for me when connecting the phone as mass storage to my PC.
ALSO - I'm assuming I should take an initial backup with Ti before I get too far into this, right? Not having done a backup before... is Ti the best to use? (Do I just choose batch and pick an option(s)? Does choosing "Backup user apps + system data" backup game save data?)
Click to expand...
Click to collapse
Quick links are awesome! They save time, for sure.
Check the box to ask each time for mass storage and kies. Then you can have debugging enabled, and yes you have to have it enabled or TB won't do it's thing properly. You can switch it back and forth also. That's what I do.
I use TB to do my app and system data backups. Just run a batch backup on user apps and system data, like you said. That's the best option to start with. This isn't the same as a nandroid backup, but it's a good second choice for if you need to wipe data and restore apps quickly like a ROM install that requires you to wipe data/factory reset.
phidelt82 said:
Check the box to ask each time for mass storage and kies. Then you can have debugging enabled, and yes you have to have it enabled or TB won't do it's thing properly. You can switch it back and forth also. That's what I do.
Click to expand...
Click to collapse
Perfect. Thanks! Only thing is... USB dubugging doesn't stay ticked, it's ticked and Ti says it's not, or the connection still triggers a missing driver error message with Vista on the PC. Oh well.
phidelt82 said:
This isn't the same as a nandroid backup, but it's a good second choice for if you need to wipe data and restore apps quickly like a ROM install that requires you to wipe data/factory reset.
Click to expand...
Click to collapse
Easiest way to do a Nandroid backup? BTW - Ti backup ate up 5GB of my sd card?!? Yikes!
Also, regarding this thread:
phidelt82 said:
First get CWM working
Click to expand...
Click to collapse
I get "adb: not found"?
monthlymixcd said:
Perfect. Thanks!
Easiest way to do a Nandroid backup?
Also, regarding this thread:
I get "adb: not found"?
Click to expand...
Click to collapse
Nandroid backup will be there once you get CWM working.
You can do everything from the phone, just read down through the pages to find the people that have done it. They have left instructions using terminal emulator and root explorer. You will find that in a lot of instances many problems will have different ways of dealing with them. You probably don't have the Android SDK which is how you get ADB working on your computer. This isn't critical, it just makes it so that you will have to either install it or use the other means available. (ie terminal emulator and root explorer)
Still getting errors after trying several of the things in the thread... Q:I never did get a robot voice when I ran Z4root and never saw a place to choose permanent... should I run Z4root again? I mean, I was able to install Ti, etc. so I must have root, right? But I think my issues stem from not being able to get redbend_ua into the /system/xbin folder. Astro can't paste it there, Root Explorer can't paste it there, but in the terminal it appears like chmod worked... thoughts?
monthlymixcd said:
Still getting errors after trying several of the things in the thread... Q:I never did get a robot voice when I ran Z4root and never saw a place to choose permanent... should I run Z4root again? I mean, I was able to install Ti, etc. so I must have root, right? But I think my issues stem from not being able to get redbend_ua into the /system/xbin folder. Astro can't paste it there, Root Explorer can't paste it there, but in the terminal it appears like chmod worked... thoughts?
Click to expand...
Click to collapse
Root explorer needs to be mounted RW. There is a button at the top that will say RO or RW.
Sent from my SCH-I500 using XDA App
phidelt82 said:
Root explorer needs to be mounted RW. There is a button at the top that will say RO or RW.
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
"Mounted as r/w"
I tried this. Used root explorer to finally get redbend_ua into system/xbin but when I try to run the commands in the post it cannot find redbend_ua. I also cannot cd into xbin within the emulator to ls ... says xbin not found. Explorer can see it there... what gives? do you have to restore redbend_ua inside the xbin directory or will it work to restore it elsewhere?
EDIT: cd to /system/xbin worked and an ls shows the redbend_ua there but the chmod 777 redbend_ua fails to "Unable to chmod redbend_ua: No such file or directory
EDIT to the EDIT: Hang on... think I may have found where I went wrong. What's the terminal command for delete?
monthlymixcd said:
"Mounted as r/w"
I tried this. Used root explorer to finally get redbend_ua into system/xbin but when I try to run the commands in the post it cannot find redbend_ua. I also cannot cd into xbin within the emulator to ls ... says xbin not found. Explorer can see it there... what gives? do you have to restore redbend_ua inside the xbin directory or will it work to restore it elsewhere?
Click to expand...
Click to collapse
Are you doing /system/xbin? The first / is important. You don't need to cd to xbin, though.
Sent from my SCH-I500 using XDA App
Isn't there anyway to flash a rom using odin ? If not are the codes the same for terminal emulator as they are for adb to get cwm working? I'm from the vibrant section of this site running nero v4 right now I have a good understanding of odin for the most part but this not having an easy recovery is bs lol
willsnews said:
Isn't there anyway to flash a rom using odin ? If not are the codes the same for terminal emulator as they are for adb to get cwm working? I'm from the vibrant section of this site running nero v4 right now I have a good understanding of odin for the most part but this not having an easy recovery is bs lol
Click to expand...
Click to collapse
I've never flashed a ROM using Odin, but that doesn't mean that it can't be done. The process should be the same using terminal emulator or adb, just more of a pain. I agree it would be nice to have full CWM Recovery support (or any full recovery support) but I don't have the money to spend on a phone to send to Koush right now to get that done. As soon as I do, this will be done and then I'll have a tester phone for firmware builds. It really isn't that difficult to get it working, though. I've done it probably 30-40 times now and even the first time the only flub was in a typo for the second to last character (thought it was a 1 and not an L)
So you type this stuff in all in one line or what?
willsnews said:
So you type this stuff in all in one line or what?
Click to expand...
Click to collapse
Depending on which parts you are talking about, yes. Each new line is a line of code. If it moves to a new line, hit enter.
phidelt82 said:
Are you doing /system/xbin? The first / is important. You don't need to cd to xbin, though.
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
Yes. Something's definitely up 'cause when I try to use Astro to copy redbend_ua to /system/xbin the paste option is grayed out for that directory.
monthlymixcd said:
Yes. Something's definitely up 'cause when I try to use Astro to copy redbend_ua to /system/xbin the paste option is grayed out for that directory.
Click to expand...
Click to collapse
I can't remember if Astro has R/W options for the root directory. That may be the problem.
phidelt82 said:
Depending on which parts you are talking about, yes. Each new line is a line of code. If it moves to a new line, hit enter.
Click to expand...
Click to collapse
I just ned to get a custom recovery how did you type it in to terminal emulator? Like extacy how?i just dont want to mess up my buddies phone I want yo hook him up not **** him up lol
monthlymixcd said:
Yes. Something's definitely up 'cause when I try to use Astro to copy redbend_ua to /system/xbin the paste option is grayed out for that directory.
Click to expand...
Click to collapse
You guys are confusing the hell outta me I don't know who's answering me and who's answering you I know this pertains to this thread but im right in the middle of this process and its not even my phone
I apologize for the derail... I got mine working. I had a typo. I'm off to voodoo.

Android symlink errors system/xbin/su PLEASE HELP

I have been trying to for over a week in the captivate forum to get ANYONE to try and help me and so far no one will. So i'm really hoping someone will take the time, i will PAY YOU UP FRONT over paypal to help me. I am DEAD SERIOUS.
Have a captivate, but this problem is not exclusive to this phone. This error has happened on just about any/every android phone there is.
Phone was working fine, have been putting any and all custom roms on that i wanted, but went to install a new custom rom (cog4), and it fails every single time at system/xbin/su. Now ANY rom i install (custom), gives me that same error. NO CUSTOM ROM WILL INSTALL. THEY ALL FAIL. I have flashed back to stock a million times, wiped, re-partitioned the sd card, master cleared, and done all of those in every combination possible. The ONLY rom i can put on here is the one i had RIGHT before this problem started (cog3.04). Only roms that can be flashed via odin will go on my phone now. All zip files fail.
I am not a noob and know my way around a computer. I promise if someone tries to help me i will be very prompt in my responses and will try ANYTHING that you ask me to. I have been googling for over a week hours a day, i am never gonna resolve this issue unless someone with the know-how helps me Every time this topic is brought up on any forum on the internet, the problem never gets solved and it fades away....there is no answers out there. Someone who knows this stuff is my only hope
I will pay you to help me even if your troubleshooting does not work
Just out of curiosity, did you open Rom Manager once you installed it to grant it superuser rights? Also, make sure you Click the top link in Rom Manger and choose your phone. "Flash ClockworkMod Recovery"
Yes tim i have done that.
I sent you a private message -- here is the same:
Have you tried adb root - and then from / rm -rf * and see if you can wipe all clean. Ofcourse if the issue is the partition, then this won't help. Also I have never tried this - as this has never been an issue for me.
http://modmymobile.com/forums/403-m...5-fix-root-eclair2cliq-beta-1-08-06-10-a.html
could something like this work for me?
JoelParke said:
I sent you a private message -- here is the same:
Have you tried adb root - and then from / rm -rf * and see if you can wipe all clean. Ofcourse if the issue is the partition, then this won't help. Also I have never tried this - as this has never been an issue for me.
Click to expand...
Click to collapse
I am definitely rooted and have su permissions, but it will not let me access SYSTEM from recovery or when the phone is on. Says access denied.
xsteven77x said:
http://modmymobile.com/forums/403-m...5-fix-root-eclair2cliq-beta-1-08-06-10-a.html
could something like this work for me?
Click to expand...
Click to collapse
I read that post but the update-script in Cog4 doesn't have those lines. You could in theory edit the script so that it just has those three lines but I'm not sure that would be sufficient to install Cog4. That may be a question for DG.
Do you have the root explorer app?
timbrendelaz said:
I read that post but the update-script in Cog4 doesn't have those lines. You could in theory edit the script so that it just has those three lines but I'm not sure that would be sufficient to install Cog4. That may be a question for DG.
Do you have the root explorer app?
Click to expand...
Click to collapse
Yes i do 10char
xsteven77x said:
http://modmymobile.com/forums/403-m...5-fix-root-eclair2cliq-beta-1-08-06-10-a.html
could something like this work for me?
Click to expand...
Click to collapse
Not sure as this looks like a patch and specifically asks for no wipe. Also my knowledge is limited as to what harm you can do that will make the phone unusable -- BUT you are already into that realm . Perhaps someone with deeper specific experience can answer this????
Open Root Explorer and remount R/W. Switch to the system partition and look at the permissions on bin and xbin. They should both be rwxr-xr-x
timbrendelaz said:
Open Root Explorer and remount R/W. Switch to the system partition and look at the permissions on bin and xbin. They should both be rwxr-xr-x
Click to expand...
Click to collapse
K will report back.
Also it looks like the update.zip file is long gone....
JoelParke said:
Also it looks like the update.zip file is long gone....
Click to expand...
Click to collapse
??? 10 chars
xsteven77x said:
I am definitely rooted and have su permissions, but it will not let me access SYSTEM from recovery or when the phone is on. Says access denied.
Click to expand...
Click to collapse
using adb remount will set the /system partition as read/write. This may help.
xsteven77x said:
??? 10 chars
Click to expand...
Click to collapse
I attempted to look at the original link your posted and tried to download the patch -update.zip - which was missing on the thread. Sorry this wasn't clear.
JoelParke said:
using adb remount will set the /system partition as read/write. This may help.
Click to expand...
Click to collapse
I have been doing that within sgs tools, not the same thing?
timbrendelaz said:
Open Root Explorer and remount R/W. Switch to the system partition and look at the permissions on bin and xbin. They should both be rwxr-xr-x
Click to expand...
Click to collapse
Having alot of trouble getting my root explorer installed. Keeps saying parsing error UGH COME THE **** ON!!!!
JoelParke said:
I attempted to look at the original link your posted and tried to download the patch -update.zip - which was missing on the thread. Sorry this wasn't clear.
Click to expand...
Click to collapse
Oh ok sorry i didnt understand. Ty for trying regardless though.
xsteven77x said:
Having alot of trouble getting my root explorer installed. Keeps saying parsing error UGH COME THE **** ON!!!!
Click to expand...
Click to collapse
LOL, of course......
If it doesn't install, try installing Terminal Emulator from the Market
Ok so inside of the system folder they both have the permissions set to what you wrote.... .
There is only a bin in the folder right before the system folder...should there be an xbin there too?

2.3.4: CWM 3.0.0.5 problems

So, I updated to 2.3.4 today, and after a rebbot into recovery, CWM was gone.
No problem, I tought, and used fastboot to flash it back.
fastboot went OK, but when I tried to use CWM from recovery, I got stucked at the "stock" recovery (android with a exclamation mark). Is anyone else facing this?
Click to expand...
Click to collapse
NVM this first part, solved that.
Also, I can´t get adb to work, tried pushing some files and got permission denied; abd remount gave me a "remount failed: Operation not permitted" error.
Yeah, having the same problem here. The 'remount failed..' error is because the update patched our boot.img and now they are no longer 'insecure.' I think I might fix it so we all can have root again. I've also had better luck when running a shell script and physically moving apps, etc to the places i want them...then have to chmod, etc...freaking sucks.
If you need any help with some workarounds shoot me a message..also have some personal scripts that get everything going
du5t3r said:
Yeah, having the same problem here. The 'remount failed..' error is because the update patched our boot.img and now they are no longer 'insecure.' I think I might fix it so we all can have root again. I've also had better luck when running a shell script and physically moving apps, etc to the places i want them...then have to chmod, etc...freaking sucks.
If you need any help with some workarounds shoot me a message..also have some personal scripts that get everything going
Click to expand...
Click to collapse
Thanks, I spent a long time yesterday trying to solve this.
Finally, I gave up and installed Root Explorer. Let me know if you have any progress with this.
Use RootExplorer after flash to rename the recovery.sh to recovery-no.sh its found in the ETC folder.
Try choosing erase recovery in the rom managers settings then flash.
kaizxclusive said:
Use RootExplorer after flash to rename the recovery.sh to recovery-no.sh its found in the ETC folder.
Try choosing erase recovery in the rom managers settings then flash.
Click to expand...
Click to collapse
Hmm, I found a install-recovery.sh, is that one?
I am not using rom manager...
gasparzim said:
Hmm, I found a install-recovery.sh, is that one?
I am not using rom manager...
Click to expand...
Click to collapse
yes, just rename it to something like install-recovery.sh.old
Bajo76 said:
yes, just rename it to something like install-recovery.sh.old
Click to expand...
Click to collapse
Thanks, looks like it´s working now.

Categories

Resources