[What] An error apeared - Optimus One, P500, V General

I want to install a custom rom on my Lg Optimus One.I did just like here: http://forum.xda-developers.com/showthread.php?t=971245 but an error apeared: "windows cannot find groot.exe". I saw that there was anotxer member with the same problem but i didn't understood how to fix it.

I found the groot file and i typed the code starting with "su" but when i typed the comand: cat/sdcard/flash_image > /system/bin/flash_image an error apeared: cannot create /system/bin/flash_image: read-only file system. What am i supposed to do?

Type SU, wait for the pop-up, click allow and then hit ENTER button.
L.E: After you type su does the $ change to # ?

Dont bother anymore. I fixed it. Thanks anyway.

Related

android adb push read-only file system error ??

Hi,
I am trying to alter the boot xml file to get my boot sound back. I am on Modaco 2.5.1 now.
Pulled the boot sound xml file, edited. But when I try push back to phone I get the 'android adb push read-only file system' message.
How do I get round this?
Thanks
Phil
Phil_UK said:
Hi,
I am trying to alter the boot xml file to get my boot sound back. I am on Modaco 2.5.1 now.
Pulled the boot sound xml file, edited. But when I try push back to phone I get the 'android adb push read-only file system' message.
How do I get round this?
Thanks
Phil
Click to expand...
Click to collapse
Do a adb remount before doing the push should solve it.
Thanks
That solved it!
Phil
i'm having the same error when i want to delete stock apps. i'm rooted already, but not sure how to get myself to read write rights. any idea?
Get around read-only
I am having the same problem. Have you had any luck??
woowoowooty said:
I am having the same problem. Have you had any luck??
Click to expand...
Click to collapse
adb remount
"remount failed: Operation not permitted"
you cant do it while in recovery,you have to be booted up.
EXAMPLE to remove Sim Toolkit
adb remount
remount successful
adb shell rm /system/app/Stk.apk
Done...
If you still have problems type adb shell, type su,press allow on your phone screen then try again.
If it shows a $ sign when u type adb shell then u got no root son
................ delete post. ....
sorry but i am quite new to android and rootin... can u please tell me what is recovery and what is boot up.. cause i am facing teh same issue and when i try adb remount from my command prompt, i get permission denied error . Can this also be done from terminal emulator in android.. my device is rooted and i have superuser permission..
thanks in advance,
Rejo
rejo_nazi said:
sorry but i am quite new to android and rootin... can u please tell me what is recovery and what is boot up.. cause i am facing teh same issue and when i try adb remount from my command prompt, i get permission denied error . Can this also be done from terminal emulator in android.. my device is rooted and i have superuser permission..
thanks in advance,
Rejo
Click to expand...
Click to collapse
You can try it in terminal emulator after su.
Code:
$ su
# mount -o rw,remount /system
<do what you want>
# mount -o ro,remount /system
thanks for the information!
Hi.
Samsung Galaxy Ace - FroYo 2.2.1 - Rooted with superuser.
Pulled framework.jar from /system/framework/framework.jar
edited it and now pushing back.
I get
failed to copy 'framework.jar' to '/system/framework/framework.jar': Read-only file system.
I know it's a read-only file system, but I need to push that (and other files) back there.
How to allow that process?
My other option is to "FLASH" a .zip file which contains these files, and I think that puts them in their desired location, but:
What is Flashing and how is it done on my device? I've been googling for a couple hours now with no luck. Adobe Flash is taking all the search results, and some found forum entries aren't helping.
Many thanks, I hope for a quick reply.
Hi, same problem trying to push some libs and framework.jar back to where they originally pulled from. I need to do that for Arabization on Samsung Galaxy Ace running Froyo 2.2.1 with Root.
Error returs "failed: read-only file system"
I've beek googling and searching forums for a couple days now with no luck. Tried many things, commands and chmod which all failed.
The other option, which is to use update.zip on stock recovery to send the files home has failed. Got the following:
Finding update package...
Opening update package...
Installing upate...
E:Error in /sdcard/update.zip (Status 0)
Installation aborted.
I couldn't install ClockworkMod to try it there because Rom Manager does not list my phone (Samsung Galaxy Ace) in the options it gives me when I ask it to Flash ClockworkMod Recovery into my phone. I don't know which phone to choose form the list:
- Huawei Pulse Mini
- Dell Streak
- Huawei Pulse
- Commtiva Z71 (Boston, blaze, and more)
- Geeksphone ONE
- Spice MI700, Commtiva Link N700 and more)
- Huawei Ascend
Halp.
Oh just noticed I have both last posts. How progress works.
By the way,
#mount -o rw,remount /system
does not help. Trying to copy files using 'cp' commant in shell now simply brings 'file exists'. Is there an 'overwrite' attribute to add that'll fix it?
adb remount worked for me thanks..
pigfoot said:
You can try it in terminal emulator after su.
Code:
$ su
# mount -o rw,remount /system
<do what you want>
# mount -o ro,remount /system
Click to expand...
Click to collapse
champagne post. tnx!!!
pigfoot said:
You can try it in terminal emulator after su.
Code:
$ su
# mount -o rw,remount /system
<do what you want>
# mount -o ro,remount /system
Click to expand...
Click to collapse
Worked for me, thank you!

bootsound for 2.2 and 2.3

THIS WON'T WORK ON SE SOFTWARE!
download THIS
push all files to your device
in wich map do you need to place the files?
don't worry they are in the right map in the donwload
when you pused them all set all permission to 777 (chmod 0777 /system/*file) or check all checkboxes in rootexplorer
when you've done that open up /system/build.prop
and add this line at the end
ro.config.play.bootsound=1
now reboot
if you are thinking "wtf is he talking about?" then DO NOT TRY THIS! this is for advance user only
Enjoy
Thanks Owain, this is one of the little things that makes u smile XD
I've got just a problem (don't kick me please ):
I've downloaded a terminal emulator but when I type "adb shell" it says "permission denied" with "su" I get the superuser permissions, and again, with the "adb shell" command it says "adb: not found".
I know, there's something I should know, what exactly? Or where can I find infos about this?
Thanks XD
LordSnow said:
Thanks Owain, this is one of the little things that makes u smile XD
I've got just a problem (don't kick me please ):
I've downloaded a terminal emulator but when I type "adb shell" it says "permission denied" with "su" I get the superuser permissions, and again, with the "adb shell" command it says "adb: not found".
I know, there's something I should know, what exactly? Or where can I find infos about this?
Thanks XD
Click to expand...
Click to collapse
you dont have to type adb shell on mobile
that is only when u use terminal from pc
when you open terminal do you see "#" before you typ somthing on the line?
if yes don't typ in su
if not try su
but on terminal emulator don't use adb shell
hi owain,
i tried this one but unfortunately it doesn't seem to work..
after flashing the .zip file with xrec i type this one into terminal emulator:
su
enablebootsound
bootsoundon
but at enablebootsound it says: not found.
when i type bootsoundon it says: boot sound enabled..
but i don't get any sound at boot at all
can someone try
sh ./system/bin/enablebootsound
and not just enablebootsound ??
Owain94, have tried your sh command. Have attached result.
pbezza said:
Owain94, have tried your sh command. Have attached result.
Click to expand...
Click to collapse
can you try to mount /system and /data in rootexplorer
then do this
su
sh ./system/bin/enablebootsound
bootsoundon
reboot
and report back if it works?
thanks in advance
Do you mean mount as r/w? /system and /data are mounted as r/w. There was no option to mount /data as r/w or r/o but it was r/w by default.
Drocap image attached.
Rebooted but still no sound.
owain94 said:
can you try to mount /system and /data in rootexplorer
then do this
su
sh ./system/bin/enablebootsound
bootsoundon
reboot
and report back if it works?
thanks in advance
Click to expand...
Click to collapse
Hey owain,
this is great thanks for this. But it is also not working for me even when mounting system and data as r/w, and i followed you steps that ive quoted. Anyway if you need anything else just let me know.
Oh and heres my screenshot.
Cheers,
Jeremy.
owain94 said:
THIS WON'T WORK ON SE SOFTWARE!
you know the nice boot sound some devices got?
i really liked it and i did want it so badly so i made an script for it wich can be flashed thru xRecovery
download it here!
when you reboot you hear nothing
this is because you can turn it on and off
enablebootsound
bootsoundoff
bootsoundon
newbootsound
to enable do this in terminal ONE LINE EACH TIME
Code:
adb shell
su
enablebootsound
bootsoundon
and if you want another boot sound place the mp3 on you sdcard and rename it to "android_audio.mp3" without quotes ofc and then typ this NOTE: don't do it with a song it will probz not work
Code:
adb shell
su
newbootsound
Enjoy
Click to expand...
Click to collapse
Ok, do you mean :
''enablebootsound
bootsoundoff
bootsoundon
newbootsound
to enable do this in terminal ONE LINE EACH TIME '', OR :
''to enable do this in terminal ONE LINE EACH TIME
Code:
adb shell
su
enablebootsound
bootsoundon
''
I've tried both, but they dont work (terminal emulator) ..
Look at attached pics
excellent,
will try this on droid explorer when I get home.
hi owain,
tried with the newer instructions you gave us but i get the same result as pbezza an jeremyward420
also tried but doesn't work...
Not sure but think I found part of the problem...
If you remove the ! from the first line of the enablebootsound file, when you type enablebootsound it comes up with
Code:
preparing system...
in/proc/mounted /system
mkdir failed for -p, file exists
checking previous boot sound installation...
enablebootsound: 65: syntax error: end of file unexpected (expecting "then")
projectsome said:
Not sure but think I found part of the problem...
If you remove the ! from the first line of the enablebootsound file, when you type enablebootsound it comes up with
Code:
preparing system...
in/proc/mounted /system
mkdir failed for -p, file exists
checking previous boot sound installation...
enablebootsound: 65: syntax error: end of file unexpected (expecting "then")
Click to expand...
Click to collapse
no no no
the ! is supposed to be there
it got an syntax error i will post manually way within a couple hours
owain94 said:
no no no
the ! is supposed to be there
it got an syntax error i will post manually way within a couple hours
Click to expand...
Click to collapse
It's nothing we've done then ? xP
updated first post with working version
owain94 said:
THIS WON'T WORK ON SE SOFTWARE!
download THIS
push all files to your device
in wich map do you need to place the files?
don't worry they are in the right map in the donwload
when you pused them all set all permission to 777 (chmod 0777 /system/*file) or check all checkboxes in rootexplorer
when you've done that open up /system/build.prop
and add this line at the end
ro.config.play.bootsound=1
now reboot
if you are thinking "wtf is he talking about?" then DO NOT TRY THIS! this is for advance user only
Enjoy
Click to expand...
Click to collapse
Don't put the .rar file on sdcard ? extract it and put those in ?
Edit : Sorry, I guess I am that noob that shouldn't try this xD
But I rlly rlly want it! Could you explain a little easier ?
Dumb question ; what does ''push the files'' mean ? is it to move/copy the files from sdcard to system? xP
(the only thing I need help with is :
push all files to your device
in wich map do you need to place the files?
don't worry they are in the right map in the donwload
when you pused them all set all permission to 777 (chmod 0777 /system/*file) or check all checkboxes in rootexplorer)
owain94 said:
THIS WON'T WORK ON SE SOFTWARE!
download THIS
push all files to your device
in wich map do you need to place the files?
don't worry they are in the right map in the donwload
when you pused them all set all permission to 777 (chmod 0777 /system/*file) or check all checkboxes in rootexplorer
when you've done that open up /system/build.prop
and add this line at the end
ro.config.play.bootsound=1
now reboot
if you are thinking "wtf is he talking about?" then DO NOT TRY THIS! this is for advance user only
Enjoy
Click to expand...
Click to collapse
Works fine on CM7 =)
ok and exactly what this do?

[Q] Uruk 1.5 Update (RC to stable)

Hey guys
sorry to bother you with this but since I'm not allowed to post in the developer-forum with less than 10 posts I need to ask here:
I'm running Uruk 1.5RC1 on my 101 and want to upgrade to 1.5 stable.
There's a fix I need to apply first and it says:
lease copy this file to /.upgrade/ directory (if it's not there - create it) - and restart your device (during boot you should see for few seconds update message with progress bar)
Click to expand...
Click to collapse
I don't have that directory and if I want to create it it says that it is already there but I don't see it. So I can't access it to paste the file.
Any help?
Thank you very much!
Do you navigate in your folders as Su?(Super User)
Yep, I'm using ES with su-right and I can see the directories.
Except for the one I need I gues...
Do you have a terminal app?
Try something like this:
su
pwd
ls
Then tell me if you see it
I tried terminal and it's not there.
Try to copy the file with terminal
Code:
Su
cd [where you have the file]
Sudo cp [filename] /../.upgrade
This should work
Greets,
Lenn
Thanks. I guess you meant ".update" instead of ".upgrade"?
Anyways, I tried both (without any errors) but there's no update sequence for the fix when I reboot and the update itself still fails.
Try
Code:
su
Cd /../
sudo mkdir .upgrade
With that you create a folder
"Cannpt create directory '.upgrade': File exists"
Why isn't it visible with ES?!
I dont know...
Try it with
Code:
su
cd /../.upgrade
sudo rmdir -r
This should remove the directory, after that try to create a new one like i wrote above
Ok, this is weird now:
"can't cd to /../.upgrade"
When I try .update it says
"rmdir: invalid option --r"
boert said:
Ok, this is weird now:
"can't cd to /../.upgrade"
Click to expand...
Click to collapse
Try it to do first cd /../ and then cd /.upgrade
When I try .update it says
"rmdir: invalid option --r"
Click to expand...
Click to collapse
hm... try it without -r (-r is a value to delete also the folders in the directory)
Thanks for your help so far, I appreciate it!
It says:
"can't cd to /.upgrade"
Trying the same command in ".update", which obviously exists (I can acess it) is "invalid option" (with -r) or missing operand (without -r).
I dont have so much linux-experience like other guys around here, sorry..
I think the mrdir command is old.. try it with rm -r
I made it.
Did it again from the scratch with some help from a Linux beginners guide (worked with rm -rf /../xyz/) and updated to 1.5 stable.
Thanks for the help guys!

[Q] help with reboot_recovery.sh

Hey im trying to write a reboot_recovery.sh script to reboot to recovery for my i9100 and the OTA.
Anyone know the correct path ?
I added an example from a different device.
up..
Reboot recovery help
Hi, thank you very much for posting the information. I tried to use your script on the RK3066 based TV Box - DroidTV X1 . This script is supposed to be called by the OTA Updater to reboot the box to the recovery mode. It didn't work for me.
When I tried to execute it through the terminal connection on the box I get this error:
dd: can't open '/dev/block/nandf': Permission denied
reboot: Operation not permited.
Could you please advice what these commands supposed to do:
Code:
#!/system/bin/sh
echo -n boot-recovery | busybox dd of=/dev/block/nandf count=1 conv=sync; sync; reboot
and why do I'm getting this kind of messages?
Thanks a lot for your help!

[Q] [MAAAAD] Run Script.sh

Hi brothers
i really don't know what to do
I'm trying to run a script.sh and i think i did everything possible to run it, but yet
it says plz blah blah blah blah be rooted first ( and I'm already rooted )
cd /sdcard << here where is the script located
su
sh script.sh
[now I'm getting the msg about being root first]
..
I'm getting another error too, saying something about permission denied!!
now how to change the permission
I believe that i should use chmod +x script.sh OR chmod +x 755 script.sh OR chmod +x 777 script.sh << error error error
WHAT SHOULD I DO TO RUN THIS FU***** SCRIPT!!!!!!!!!!!!!
what is this .. nobody!!!!
i'll keep posting until somebody response
Me-Nex S said:
Hi brothers
i really don't know what to do
I'm trying to run a script.sh and i think i did everything possible to run it, but yet
it says plz blah blah blah blah be rooted first ( and I'm already rooted )
cd /sdcard << here where is the script located
su
sh script.sh
[now I'm getting the msg about being root first]
..
I'm getting another error too, saying something about permission denied!!
now how to change the permission
I believe that i should use chmod +x script.sh OR chmod +x 755 script.sh OR chmod +x 777 script.sh << error error error
WHAT SHOULD I DO TO RUN THIS FU***** SCRIPT!!!!!!!!!!!!!
Click to expand...
Click to collapse
can you please post that script?
as of changing permission use chmod 0755 script.sh
as android/busybox chmod binary does not uses the chmod +x or chmod a+x notation
and make sure that su binary is installed i.e phone is rooted
here is the script
https://www.dropbox.com/s/8atidhjswrts7qe/yamas.sh
Solution
You need to root your phone.
Also you must have Busy Box Installed.
Here is the link to Google Play of that busybox app: https://play.google.com/store/apps/details?id=com.jrummy.busybox.installer
Don't install the few latest versions because it is in nightlies.
I use Samsung Galaxy Y and I use the version 1.18.2.
Reboot your phone after installation.
Also you must have script manager installed.
Here is the link to Google Play of that manager app: https://play.google.com/store/apps/details?id=os.tools.scriptmanager
Open Script Manager and give super user access.
Tap on Menu > Advanced Options > Config
Scroll down until you see Browse as Root
Tap on it and press the back button to save
Once again grant Script Manager SuperUser Access to save config
Exit Script Manager
Now again open Script Manager and browse for your script file (yamas.sh)
Tap on it and set properties to:
Favorites (Star Icon)
Root (Green Android Skull Icon)
After setting properties, tap on Run to execute the script installer.
When executed, it will do initial test, be patient and wait for it to complete its tasks.
Press thanks if I have helped.
I'm gettingthe same error .. i've done evrything u've said but still .. here is the error msg .. even if i give the script the root permission, still it ask for permission again i dont know why!!
Error resolving interpreter:/bin/sh does not exist
Using default shell
exec sh '/storage/emulated/legacy/yamas.sh'
[email protected]:/ # exec sh '/storage/emulated/legacy/yamas.sh'
You are not running this script as root.
Please become root (e.g. "su") before launching this script
Answer
Me-Nex S said:
I'm gettingthe same error .. i've done evrything u've said but still .. here is the error msg .. even if i give the script the root permission, still it ask for permission again i dont know why!!
Error resolving interpreter:/bin/sh does not exist
Using default shell
exec sh '/storage/emulated/legacy/yamas.sh'
[email protected]:/ # exec sh '/storage/emulated/legacy/yamas.sh'
You are not running this script as root.
Please become root (e.g. "su") before launching this script
Click to expand...
Click to collapse
Download a root checker app from the play store and check whether your phone is really rooted.
If no, try to root again by following tutorials on xda.
If yes, update su binaries.
Also go to settings / preferences of superuser app, and click automatic response and then select 'allow'.
That script was placed in sd card right?
Then it maybe the app which copies to a specified location before executing it.
---------- Post added at 07:21 AM ---------- Previous post was at 06:35 AM ----------
See the link again. I added more information.
http://forum.xda-developers.com/showthread.php?t=2620394

Categories

Resources