Can't get rootacces: error opening recovery_img - G1 Android Development

Little n00b quistion,
Just made a HTCgoldcard and installed RC7.
And want to flash JFv1.3, but got this error:
Installing from sdcard
Finding update package
Opening update package
Vertifying update package
E:No signiture ( 385 files )
E:Vertifycation failed
installation abborted
What to do?

http://forum.xda-developers.com/showthread.php?t=442480
So, put the new recovery image in /system, and after that update to hard spl. After that it's easy to update to new (you can even use JF updater from the market)
You can also use this step-by-step manual:
http://www.multigesture.net/articles/t-mobile-g1-downgrade-rc30rc8-rooting-update-tutorial/
Also, don't use JF1.3, but get JF1.4x
(Hoi Marcel!)

Oke tried this :
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd sdcard
flash_image recovery recovery.img
Click to expand...
Click to collapse
But can't open recovery_img

Related

Read-Only Filesystem?

Hello, all!
I'm trying edit a file in /etc/ and adb says 'Failed to copy: Read-only filesystem'
Now, is this actually true? Or is this simply a permissions issue? I'm doing this on a non-rooted phone, so I can't 'touch' anything without permission errors, but is it a futile task if the filesystem is read only anyway?
I'm trying to do this from a non-rooted environment as I had intended on making this into an application, but I imagine that if I can't touch or push these files from an adb shell then I won't be able to from the application space either.
It's frustrating not to be able to edit the filesystem of my own phone, I'll be rooting if this is just a permissions problem and not an issue of a non-writable filesystem. Perhaps I could still make an application for rooted-only phones.. hrm..
Any thoughts on this?
/etc is an alias for /system/etc, and /system is a partition mounted as ro (you can confirm this yourself by running mount)
Ah, bugger. So this is hopeless (without modifying and then reflashing)?
Thanks very much.
you need to mount it read write,
mount -oremount,rw /dev/block/mtdblock3 /system
then it will be read/write
try adb remount. if it failes you need root sorry.
Hello, i have the same error and I have root. i have tried adb remount and the mount -oremount,rw /dev/block/mtdblock3 /system
still dotn work. I want to move a script to /
so i only have to type sh debian.sh
nvm I figured it out. i just put it on system and then just type sh debian.sh on the terminal and it works
Rafase282 said:
Hello, i have the same error and I have root. i have tried adb remount and the mount -oremount,rw /dev/block/mtdblock3 /system
still dotn work. I want to move a script to /
so i only have to type sh debian.sh
Click to expand...
Click to collapse
what is the error message? saying it dont work doesnt provide enough info for us to help....
it says sh: cant open aw.sh
so i still have to put the path or cd to where the file is. Is there a way to make /system my home?
no you cant make system your home, system is system, home is home. you can make a symlink if you are familiar with linux - might want to read up about shell commands
korndub said:
you need to mount it read write,
mount -oremount,rw /dev/block/mtdblock3 /system
then it will be read/write
Click to expand...
Click to collapse
Thanks it really worked!! for me i had the same problem as the other guy.
Rafase282 said:
Hello, i have the same error and I have root. i have tried adb remount and the mount -oremount,rw /dev/block/mtdblock3 /system
still dotn work. I want to move a script to /
so i only have to type sh debian.sh
nvm I figured it out. i just put it on system and then just type sh debian.sh on the terminal and it works
Click to expand...
Click to collapse
You *CAN'T* modify the / filesystem. It is part of your BOOT partition, which CANNOT be remounted rw. You would have to read, modify, and write the boot partition.
Rafase282 said:
Hello, i have the same error and I have root. i have tried adb remount and the mount -oremount,rw /dev/block/mtdblock3 /system
still dotn work. I want to move a script to /
so i only have to type sh debian.sh
nvm I figured it out. i just put it on system and then just type sh debian.sh on the terminal and it works
Click to expand...
Click to collapse
Maybe you're typing it in too literally. It should actually read like this:
mount -o remount,rw /dev/block/mtdblock3 /system
There was a typo with -oremount, there should be a space after -o.
Hope that helps.
PS. That command worked for me on a device where everything else failed.
dhkr123 said:
You *CAN'T* modify the / filesystem. It is part of your BOOT partition, which CANNOT be remounted rw. You would have to read, modify, and write the boot partition.
Click to expand...
Click to collapse
actually, / can be mounted rw, but changes are lost on reboot
new user
Firerat said:
actually, / can be mounted rw, but changes are lost on reboot
Click to expand...
Click to collapse
Hi I have my Asus Prime rooted and installed a virtuous Rom and I tried to put a fonts on the System/ fonts folder using root explorer using a instructions to fix some error on some games that need that tis fonts exist on the tablet but it said it cant because file system is read only I'm new and I don't know how to do this commands any help on how to do in a easy (explained) form.
egalpr said:
Hi I have my Asus Prime rooted and installed a virtuous Rom and I tried to put a fonts on the System/ fonts folder using root explorer using a instructions to fix some error on some games that need that tis fonts exist on the tablet but it said it cant because file system is read only I'm new and I don't know how to do this commands any help on how to do in a easy (explained) form.
Click to expand...
Click to collapse
I would recommended not posting in the g1 section. The Asus forums would be a lot more helpful.
egalpr said:
Hi I have my Asus Prime rooted and installed a virtuous Rom and I tried to put a fonts on the System/ fonts folder using root explorer using a instructions to fix some error on some games that need that tis fonts exist on the tablet but it said it cant because file system is read only I'm new and I don't know how to do this commands any help on how to do in a easy (explained) form.
Click to expand...
Click to collapse
Download EStrong File Manager and within the settings of it, enable mounting of the system as read/write.
Or, download Terminal Emulator and type this in:
Code:
mount -o remount,rw /dev/block/mtdblock3 /system
Or, try typing this in terminal/cmd:
Code:
adb remount
Or, if you plan on doing it all from recovery you could do:
Code:
adb shell "mount system"
and then you could do it all from there.
Next time, please post in the proper forum.
Read-Only /system... i just deleted the file, tich push should update/replace and then it worked... only had this bug when i was trying to modify Trebuchet.apk (homescreen)
Hi guys
Not being a linux expert, i'm stuck with the following problem..
i'm using a program who uses low level adb commands to write on the phone extSdCard...
problem: this extSdcard is seen as a readonly filesystem.
What has to be done to make this FS RW instaed of RO ?
This does not happen under windows where I can write to the extSd without problems
thks in advance for the tip

[G1]Cannot Apply Any Update.zips (E: No Signature)

I get the:
E: No Signature
E: Verification Failed
Installation aborted
no matter what update I try to apply. (I am also hung up on the G1 screen when I try to regular boot, so right now I am pretty stuck). When I home+power it also goes to the old triangle exclamation point screen rather than the cyanogen recovery (which I just installed). Any thoughts would be appreciated. I am stuck.
Hey, did you have any response to your problem? I am having the same problem with my spl update zip file, it aborts every time. Cheers
i also have this problem
Does anyone have a solution?
just did this
yea just go to the market download telnet
(go to the front of you screen press enter then type telnetd and press enter again so it could open) then
Type the following into Telnet (these commands will give you root access easier in the future):
# # mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# # cd sdcard
# # flash_image recovery recovery.img
# # cat recovery.img > /system/recovery.img
(have a recovery image as well on you sd card)
Stuck Too !!
Sounds like I'm stuck at the G1 boot screen too, also trying too update to new hard spl after updated radio. I'm not able to get to telnet because stuck at G1 screen. I used the original root on Wiki and the recovey never took. But the Android recovery was working and letting me have root and apply updates. I was trying to flash a dRizzle hero. Directions had me update radio and spl using the link from his page it took me to haykuro's sapphire htc dream page where i did what it said, flash radio first (that took) then hardslp.
It never took and stuck at G1. Could it have something to do with the fact that i was doing this all from the downgrade rc29? Any help would great.
youngrony said:
yea just go to the market download telnet
(go to the front of you screen press enter then type telnetd and press enter again so it could open) then
Type the following into Telnet (these commands will give you root access easier in the future):
# # mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# # cd sdcard
# # flash_image recovery recovery.img
# # cat recovery.img > /system/recovery.img
(have a recovery image as well on you sd card)
Click to expand...
Click to collapse
When i try "(go to the front of you screen press enter then type telnetd and press enter again so it could open)" this does not work...do you no why? Thanks!

Trying to remount Archos 5 /system

hello, I have an Archos5 unit with the firmware version 1.7.99 android 1.6 on it. i have managed to root the device but I cant figure out how to remount /system read write on the device.
I checked my root ID and its 0.
i have tried mounting with this command : mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
I get an invalid argument if i try mounting from block.
its the same if i try mounting mtdblock5 where cat /proc/mtd5 shows system being located/
i also tried mounting mtd directly but it spits out an error saying block device required.
i would try through android ADB if i could get it working on linux. the windows archos version wont let me remount (vista).
ignoore this thread. i have succeded in doing what i wanted and now have debian apt working in my archos5. since its quite hard to do I will post a how to in another thread.
Hi;
I'm looking for a safe way to root my new A5, firmware 2.0.38, Android 1.6
I want to use Wifi Helper but it requires rooting. I've yet to find how to do this on this machine. Can you help me?

[Q] some questions about the linux installer

hi there
this is about the "linux installer" app you can find on the marked.
i finally managed to install a debian squeeze into my ext2 partition on the sd card.
i managed to get my ext2 partition mounted on boot thanks to this guy after i read this post.
(actually i had to change line 2 and 7 to "/dev/stl12 /system" since im running his script on a samsung galaxy ace s5830)
in the installer i went to the settings did these changes:
install into: /data/sdext2
devicename: mmcblk0p2
with this configuration the installation process went fine.
using the android terminal app i can run my installation typing "linuxboot" but i
get soum mount errors on startup.
so i looked for the linuxboot.sh from the android terminal and located it in
/system/bin/linuxboot.sh
so far.
did anyone get this far and got the same errors?
i not shure that this is the reason for the mount problems, but the file seems to still contain some standartvalues for some reason.
for example theres this line:
export mnt=/data/data/com.galoula.LinuxInstall/mnt
Click to expand...
Click to collapse
maybe i should change it to "/data/sdext2" ? since this is what i did in the settings as well?
however theres no chance to do any changes on this file anyway since the prompt tells me that i have a readonly filesystem.
my phone runs android 2.3.3 and is rooted using this file (found on in this post), shouldnt i have write acces to the files?
EDIT:
*sigh ..ve been so stupid
to get write acces i need to remount the system folder as i did in the installation process before
su
mount -o remount,rw /dev/stl12 /system
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=16961006
3.3 is out. Please update, and contact me by email if any trouble. [email protected]
Galoula made a huge update; I did all translations and debug. New tutorial, new quick installation guide.
Please update, and send an email if you still get errors.
Do not leave your /system writable; after you have changed what you wanted, you shall remount ro ...

Cannot remount /system partition even when rooted (Sony xperia M2)

I have a Sony xperia M2 D2303 with kitkat 4.4.4 and compilation number 18.3.1.C.1.17.
I have successfully rooted it using KingRoot v4.9.5.
Also I have checked that system is rooted using tools such as root checker and it says rooted.
Now, I am trying to remount /system partition as RW but without succcess.
I have googled and tried several solutions posted here but nothing works for me.
Access to /sys/kernel/security/sony_ric and try to disable sony ric security using:
problem here is that sony_ric folder is empty, I mean, there is no "enable" file and I cannot create it as partition is RO (read-only).
Using ES file explorer or other file explorers as root I have tried to remount partition as RW but it fails.
Code:
echo 0 > enable
Using ROM Toolbox pro, and then from terminal emulator I have tried some commands:
Code:
su
mount -o remount,rw /system
fails.
Code:
su
system/bin/mount -o remount,rw /system
also fails.
Code:
adb shell
su
mount -o rw,remount /system
also fails...
I have tried to install busybox but it fails as well.
I have tried the method explained here but when executing the command:
sh /sdcard/mrw/root.sh
some errors appear as script tries to do things in /system so since it is read-only (not rw) it fails.
Also I have tried the method using SuperSu-me explained here but without success. It completes ok but then SuperSu is executed automatically. SuperSu says to update binaries so I update binaries, then another screen comes saying that another root app was detected, so I press the button to uninstall it and continue installing SuperSu. SuperSu says "Installing ........" and then it crashes, that is, it appears a screen with two buttons, "How to update" and "Reboot". Kingroot, purify apps continued installed and working, and I cannot replace them with SuperSu.
So at this point I have no idea what to do...
My conclusion is that all these tools need to make changes to / and /system but since I have these two partitions set to read-only (cannot make them rw) then all these tools fail. So I think the main cause is that I have / and /system readonly.
Any help will be highly appreciated.
Please, help!

Categories

Resources