im trying to get rom manager to work and have read the instruction on puttin reboot file in the tools folder of sdk ...ok so far
HERE'S the NOOB bit!
when i type "mount /dev/block/mtdblock3 /system"
i get an error "
whats up with that ....not sure if i should have switched my phone off or hadit in recovery at this point...i did try the whole process with phone in recovery but i couldnt get adb shell going if phone wasnt on
remember,when you dont know...you REALLY dont know
Sorry to be so basic...but if i can just get this to work ,ill be over the finish line!
PS. the Clockwork recovery on RM is 1.8.1.7 (if that helps)
Assuming you have the update.zip already on you SD card.
Power up the phone while holding down volume -.
Connect to USB.
Select recovery using the volume buttons and confirm with power.
On the red exclamation mark; press volume up and power.
Flash the update zip from SD card. (Might be controlled by optical trackpad)
Code:
./adb-linux shell mount /system
Thanks ,
I have already flashed the update and all works fine, I can enter recovery no problem, just not sure why I'm getting the error when trying to to do the above step, ill try again tonight I guess
Because you're specifying an invalid device to mount.
Try only
mount /system (if you are in the shell)
or
./adb-linux shell mount /system
instead.
InspectorFrost said:
im trying to get rom manager to work and have read the instruction on puttin reboot file in the tools folder of sdk ...ok so far
HERE'S the NOOB bit!
when i type "mount /dev/block/mtdblock3 /system"
i get an error "
whats up with that ....not sure if i should have switched my phone off or hadit in recovery at this point...i did try the whole process with phone in recovery but i couldnt get adb shell going if phone wasnt on
remember,when you dont know...you REALLY dont know
Sorry to be so basic...but if i can just get this to work ,ill be over the finish line!
PS. the Clockwork recovery on RM is 1.8.1.7 (if that helps)
Click to expand...
Click to collapse
You can mount /system via recovery menu.. does it give You the same error?
Related
I'm trying to remove some preinstalled apps from /system/app folder. My phone is rooted.
When I'm trying this over adb it says that I only have Read permissions. What am I doing wrong?
Put the phone into recovery mode then do the adb commands.
You only have read access while booted. R/W access while in recovery.
Mh I tried this but I couldn't even open the shell, said something.sh is missing.
You mean the normal recovery and not Clockworkmod or something, right?
You have to put it in the custom recovery. Clockworkmod or whichever one you use.
Ah okay, thank you, I will try that.
Though I need to use the normal recovery.
I tried it with clockwork now. It works but when I do "cd system" and do "ls" it's empty...so I can't see any app-folder?!
Edit: Oh I forgot - do I need to mount system first using the partitions menu?!
Eggcake said:
I tried it with clockwork now. It works but when I do "cd system" and do "ls" it's empty...so I can't see any app-folder?!
Edit: Oh I forgot - do I need to mount system first using the partitions menu?!
Click to expand...
Click to collapse
Code:
mount /system
At the adb shell.
Oy, thanks now I finally got it
Remove worked, pull didn't (or it took >5min for a simple apk file and I aborted it too early).
Okay, i'm trying to modify build.prop
while pulling build.prop to sdcard, then editing it, i've tried cat to put it in /system and it tells me "out of memory"
then i try to cp /system and it tells me "not enough memory"
then i've tried removing it, editing it, then reboot to recovery then adb push to /system and it does it, then i reboot and the files back to /system yet all the changes i did aren't there and its back to the way it was before....
any ideas?
javolin13 said:
Okay, i'm trying to modify build.prop
while pulling build.prop to sdcard, then editing it, i've tried cat to put it in /system and it tells me "out of memory"
then i try to cp /system and it tells me "not enough memory"
then i've tried removing it, editing it, then reboot to recovery then adb push to /system and it does it, then i reboot and the files back to /system yet all the changes i did aren't there and its back to the way it was before....
any ideas?
Click to expand...
Click to collapse
make sure you mount system ("mount system") while in recovery but before you push the file and when you push try have the trailing slash there "push myfile /system/"
do you mean mount while in adb or shell? because mount only works while device is booted.
also if i add the / trail at the end of /system"/" it gives " no directory; /system//build.prop
javolin13 said:
do you mean mount while in adb or shell? because mount only works while device is booted.
also if i add the / trail at the end of /system"/" it gives " no directory; /system//build.prop
Click to expand...
Click to collapse
Do it through clockwork.
Boot into clockwork
go to partitions menu
verify or mount system
(don't shell into the phone yet)
adb shell into your phone and see if that fixes it. Or just adb pull /system/build.prop
edit the one you just pulled in windows and then
adb push build.prop /system/
Try those
History:
A few weeks ago: Used unrevoked3 to root, installed the leaked 2.2 OTA.
Two days ago: Was bored so I decided to try cyanogen mod 6.02. Got it up and running, but upon rebooting, it got stuck in a loop during the blue cyanogen boot animation. I said screw it and found the OTA leak again, loaded it and everything works fine...
Except... Last night I was trying to get a new splash image to load, but it wouldn't load. I can't get PB31IMG.zip to load, either automatically upon entering HBOOT, or manually from within clockworkmod recovery. This is the error that comes up when I click RECOVERY from within HBOOT:
Code:
I can't get any SD Checking...
Loading...[PB31DIAG.zip]
No image!
Loading...[PB31DIAG.nbh]
No image or wrong image!
Loading...[PB31IMG.zip]
No image!
Loading...[PB31IMG.nbh]
No image or wrong image!
[code]
This happens with ANY PB31IMG.zip. It will not load automatically. I tried doing a new splash screen, so I downloaded a couple, already named appropriately, with the appropriate files [and they worked for other people], but still, it reads out the same errors as above.
So, what can I do? I don't mind doing full, rock bottom, format's/reinstalls, etc, I just need to know how or what to do. I really don't want to mess this phone up beyond repair.
Don't know if this has anything to do with it, but I also can't get any bootanimations to work. Actually, I got a download [from the boot animation thread on here] of the stock one working by mount /system, mount /sdcard and adb push from my computer. But, no other animations will work.
From within clockworkmod recovery, when should I, and when should I not mount /system, /data, /cashe, /sdcard, /sd-ext? I understand the mount USB storage, but isn't that the same as mount /sdcard above?
Some of my troubleshooting from last night [in the wrong thread... oops]: http://forum.xda-developers.com/showthread.php?t=753788&page=13
Thanks in advance!
Did you format your SD card to fat32? Only thing I know that could cause it not reading.
blakeem said:
Did you format your SD card to fat32? Only thing I know that could cause it not reading.
Click to expand...
Click to collapse
The card reads perfectly fine any other time. Would that matter?
How should I check? Via windows?
When I plug into this computer [vista], and do properties on the mounted sdcard, it shows File system: FAT. I'm not sure, but that's not the same as FAT32, right? So then, how should I fix that? The normal right-click > format method?
Done.. testing.
EDIT: Nope, that didn't work.
EDIT: Damn.. that DID work! I rebooted into recovery before. Now I just rebooted into HBOOT and it asked if I wanted to update. Damn!
EDIT: Ok, now let me see if I can get a custom bootanimation to work.
EDIT: It did not. Just blank.
OK, I got a new boot animation working. It had to have been my process., I followed this:
Plug in phone
reboot to recovery
Code:
Code:
adb reboot recovery
Once booted in to recovery do
Code:
Code:
adb shell
mount -a
It will give you this error. Thats fine (It's just saying it couldnt mount the sdcard which we dont need right now.)
Code:
Code:
~ # mount -a
mount -a
mount: mounting /dev/block/mmcblk1 on /sdcard failed: Invalid argument
mount: mounting /dev/block/mmcblk1p2 on /sd-ext failed: No such file or directory
now type exit to get back to your computer prompt.
Now push your bootanimation.zip you want to /system/customize/resource
Code:
Code:
adb push bootanimation.zip /system/customize/resource
now now get back in to adb shell and type
Code:
Code:
cd /system/customize/resource
Then we want to rename the new bootanimation to the vzw bootanimation
Code:
Code:
mv bootanimation.zip VZW_bootanimation.zip
OK, i have verified the procedure above works several times. You can close this thread.
Splash problems fix: format SDCARD to FAT32 from within windows [plug in phone, right click on appropriate drive, format, choose FAT32]. Thanks to blakeem!
Boot animations fix: use correct process. *Entirely from within cmd/adb.*
You can condense pushing the bootanimation down to one step by using the following command:
Code:
adb push bootanimation.zip /system/customize/resource/VZW_bootanimation.zip
It'll overwrite the file already there.
Ya, that's actually when I was doing, but decided to leave it spelled out, you know, for the record.
.zip
i had this happen once. when i named it I put .zip on it and that was wrong, i went and found it with astro manager and it .zip.zip so i deleted the extra .zip and it worked. hope this helps. and i hope its that simple for you.
Hello All,
I just updated my ROM to CR_Mod_2.13.531.1_OTA's
And then when I went to reboot into recovery I got the red Triangle exclamation, and thus decided to reflash my recovery image by using the terminal, and even in adb, I get "Flash_image" command not found, and I've tried googling (So please spare me the rude comments about learning to use it) and come with little to luck with finding a method of what went wrong with this. If anyone can shed some light on this, and what I can do to fix it so I can get into my recovery again would be a great help.
-Thanks
soulysephiroth said:
Hello All,
I just updated my ROM to CR_Mod_2.13.531.1_OTA's
And then when I went to reboot into recovery I got the red Triangle exclamation, and thus decided to reflash my recovery image by using the terminal, and even in adb, I get "Flash_image" command not found, and I've tried googling (So please spare me the rude comments about learning to use it) and come with little to luck with finding a method of what went wrong with this. If anyone can shed some light on this, and what I can do to fix it so I can get into my recovery again would be a great help.
-Thanks
Click to expand...
Click to collapse
same here friend when i find teh answer ill be sure to let u know
so when in terminal to try place Flash_image into /system/bin:
cp /sdcard/flash_image /system/bin
I get:
cp: can't create ' /system/bin/flash_image ' cannot allocate memory
When you get to the triangle with the Exclamation point
All you have to do is stay at that screen and click
VOLUME UP and POWER
then it will show you the options.
soulysephiroth said:
so when in terminal to try place Flash_image into /system/bin:
cp /sdcard/flash_image /system/bin
I get:
cp: can't create ' /system/bin/flash_image ' cannot allocate memory
Click to expand...
Click to collapse
You have to have s-off and /system mounted as r/w to do that. Otherwise you have to push it to /system/bin while in clockwork recovery.
@ xologist, I think they're looking to flash the clockwork recovery image, not the update.zip and stock recovery old way.
To mount system r/w within android tyoe mount -o rw,remount /system and try the copy again.
Sent from my T-Mobile myTouch 3G Slide
Well thats problem, I can't even access my recovey, thats why I'm trying to flash a new image. everytime I try I always get
"Error writing recovery: No space left on device"
soulysephiroth said:
Well thats problem, I can't even access my recovey, thats why I'm trying to flash a new image. everytime I try I always get
"Error writing recovery: No space left on device"
Click to expand...
Click to collapse
That means you don't have s-off. There's a stickied thread in the development section, an alpharev live linux CD that you can use to patch your phone's bootloader to allow you to write to protected partitions like /system, recovery, etc.
I've been searching my _ off for two days now to find a solution for my problem, but I can't find one working for me.
What I do have right now:
NO working ROM (I believe because of a failed atempt to revert to a backup in CWM)
Access to my bootloader (unlocked through HTCDev)
Access to my recovery (Which is the latest CWM)
Fastboot/adb working
Phone boots upon the HTC logo screen
NO ROM zipfile on the SD-Card (I accidentilly deleted that, I still hate myself for that)
I've managed to push to ROM file into both /data and /system, which (ofcourse) isn't usefull to flash from because they don't show up in CWM.
What I've tried:
Reverting to a Nandroid backup, I've 2 on the sdcard. Both don't pass the part where /system is being restored.
'asd shell' to push files, or mount the SD card, does not work. First I had the error saying '--exec /system/bin/sh failure: file or dir not found (2)'. I managed to push the sh file into system, (and I believe into /system/bin), and the error changed to '[...] No directory (20)'
asd push /sdcard/; doesn't work because /sdcard is read-only.
In CWM I can't mount as USB storage, is says something about a file which can't be found.
TWRP recovery doesn't work on my device, I can touch whatever I wan't, the only button responding is the power button, which causes a locked recovery, which I can't unlock. (You need to swipe for that, which my phone seems to ignore).
I've read almost every topic on XDA and whatever Google could give me, but most solutions somewhere relied on the asd shell, or pushing into the /sdcard, or simply assume I still can mount as USB storage.
Does anyone have any suggestions left on howto get a ROM into the /sdcard so I can flash it? I would be thanking you forever!
Thanks in advance!
No ADB shell, then adb push *filename* /sdcard?
Maybe sideload a ROM?
Sent from my GT-I9300 using Tapatalk 4 Beta
I can't push files to the /sdcard since it's an read-only directory.
I tried the sideload part, but instead of executing something, it shows me the help of adb.
Any clue how to fix my shell, or get a ROM on it?
Tried typing 'adb remount' a few times and trying again?
Also, you should update your CWM to latest version so you can mount sdcard
tomascus said:
Tried typing 'adb remount' a few times and trying again?
Also, you should update your CWM to latest version so you can mount sdcard
Click to expand...
Click to collapse
I tried using remount, but that is to remount the /system partition right? I can put the ZIP on the /system partition. But CWM can't install from there.
I'm using the last version of CWM, but it gives me an error about a file not being found, so I can't mound as USB Storage device.
I returned the phone, to the store. I pretty much gave up after another few hours of struggling.