I will love you forever! - Droid Eris Android Development

******-MacBook-Pro:tools Zargle$ ./adb push recovery.img /sdcard
failed to copy 'recovery.img' to '/sdcard/recovery.img': Read-only file system
******-MacBook-Pro:tools Zargle$ sudo ./adb push recovery.img /sdcard
Password:
failed to copy 'recovery.img' to '/sdcard/recovery.img': Read-only file system
******-MacBook-Pro:tools Zargle$
OS: Snow Leopard 10.6.3
Any ideas why it is saying Read-only file system? It seems like it shouldn't I followed all of the steps.

do you have the phone set in charge only mode or USB transfer?

*******-MacBook-Pro:tools Zargle$ ./adb push flash_image /system/bin
955 KB/s (9640 bytes in 0.009s)
*******-MacBook-Pro:tools Zargle$ ./adb shell chmod 755 /system/bin/flash_image- exec '/system/bin/sh' failed: Not a directory (20) -

vinylfreak89 said:
do you have the phone set in charge only mode or USB transfer?
Click to expand...
Click to collapse
I set it to Disk Drive....
and Debugging

Zargle said:
I set it to Disk Drive....
and Debugging
Click to expand...
Click to collapse
dont. charge only is what u need.

charge only mode, if its in disk mode you cant use it

Thank you.. I love you all.

Is this the same great Zargle that rooted the leak?

jcase said:
Is this the same great Zargle that rooted the leak?
Click to expand...
Click to collapse
No, I rooted it actually. But since all the people keep posting and asking about if its been rooted yet, I have decided to sit on it until I feel like giving it out.

jcase said:
Is this the same great Zargle that rooted the leak?
Click to expand...
Click to collapse
There was no point to this post other than to stir up trouble.

subiewrex said:
There was no point to this post other than to stir up trouble.
Click to expand...
Click to collapse
what noobs questioning the great jcase? someones gonna get it

subiewrex said:
There was no point to this post other than to stir up trouble.
Click to expand...
Click to collapse
Thank you Captain Obvious!!

Related

Need help with this..

PatF said:
From the terminal
Code:
# su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3
# cp /sdcard/download/MyFaves.apk /system/app
Click to expand...
Click to collapse
keeps saying mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 not found anyone help?
what are you trying to do/why are you trying to run that command? Theres a few ways to do the same things thats why...
pack said:
what are you trying to do/why are you trying to run that command? Theres a few ways to do the same things thats why...
Click to expand...
Click to collapse
....well tell me how to do it..... I get it on the phone but force closes...
pack said:
what are you trying to do/why are you trying to run that command? Theres a few ways to do the same things thats why...
Click to expand...
Click to collapse
He's trying to figure out how to get myFaves onto his Cyan rom
Kush.Kush™ said:
....well tell me how to do it..... I get it on the phone but force closes...
Click to expand...
Click to collapse
Next time, just tell him what you're doing because he's not a mind reader and he probably knows another way to put it on your phone
try from recovery mount card
and put file in sdk tools folder
adb shell mount
adb push MyFaves.apk /system/app
or try
adb push MyFaves.apk /data/app
sitimber said:
try from recovery mount card
and put file in sdk tools folder
adb shell mount
adb push MyFaves.apk /system/app
or try
adb push MyFaves.apk /data/app
Click to expand...
Click to collapse
I don't have sdk or adb I'm noob!!!!! I have android 1.6 and cyan 4.2.4.
I had it working fine on 4.2.3.1 obvously I had 1.6
Kush.Kush™ said:
I don't have sdk or adb I'm noob!!!!! I have android 1.6 and cyan 4.2.4.
I had it working fine on 4.2.3.1 obvously I had 1.6
Click to expand...
Click to collapse
how did you get the recovery on the phone fastboot??
if so you have sdk tools and adb
sitimber said:
how did you get the recovery on the phone fastboot??
if so you have sdk tools and adb
Click to expand...
Click to collapse
I downloaded the recovery and a flash app and loaded the recovery.
http://www.4shared.com/file/151592077/bf889ae/SetupinstallAPK.html
ok i found this tool on xda not sure where
if your running windows unzip install program move your file from the sd card to the pc
double click your MyFaves.apk hopefully your connect via usb and click install give it 30 sec and see if it installs
also go here and download sdk tools cause your gonna need them
http://developer.android.com/sdk/index.html
sitimber said:
also go here and download sdk tools cause your gonna need them
http://developer.android.com/sdk/index.html
Click to expand...
Click to collapse
Can't do it now no comp but ill try wen u go home in 5days.

Help with Recovery Image

Everytime I try to flash Amons Recovery Image I get to the "push flash_image /system/bin" command line and I get an error message saying the file is read-only. Someone please help, I'm running ROOTED 2.1.
Steve4TIS said:
Everytime I try to flash Amons Recovery Image I get to the "push flash_image /system/bin" command line and I get an error message saying the file is read-only. Someone please help, I'm running ROOTED 2.1.
Click to expand...
Click to collapse
adb shell
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
then try to push
Spencer_Moore said:
adb shell
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
then try to push
Click to expand...
Click to collapse
or adb remount its shorter
T.C.P said:
or adb remount its shorter
Click to expand...
Click to collapse
but my way is more fun!!
Spencer_Moore said:
but my way is more fun!!
Click to expand...
Click to collapse
true but my way is for the lazy people out their that dont want to type all that in
T.C.P said:
true but my way is for the lazy people out their that dont want to type all that in
Click to expand...
Click to collapse
or flash threw fastboot! less prone to the problems that way has.
Could you post steps to do this with fastboot?
Tried and still get "read only file system" message. Using a PC if it makes a difference. Any more help would be great
Steve4TIS said:
Tried and still get "read only file system" message. Using a PC if it makes a difference. Any more help would be great
Click to expand...
Click to collapse
try this:
open up cmd
type in
cd\
cd androidsdk\tools
adb remount
and u should be good bro

Writing to /system/app...

I'm trying to push a file to /system/app but it's read-only. I know there's a command to allow me to write to it, but do I need to be rooted to do so? I'm attempting to put SprintZone.apk back in /system/app so I can update firmware. Feel free to PM me on this, too...I'm not doing so well hahaha.
Thanks,
-Rob
TheRob44 said:
I'm trying to push a file to /system/app but it's read-only. I know there's a command to allow me to write to it, but do I need to be rooted to do so? I'm attempting to put SprintZone.apk back in /system/app so I can update firmware. Feel free to PM me on this, too...I'm not doing so well hahaha.
Thanks,
-Rob
Click to expand...
Click to collapse
You need to mount r/w
Sent from my Epic 4G
...
Thanks for the tip. Can you let me know the proper adb commands to get this done? Also, after I'm finished, what are the commands to unmount?
Thanks!
-Rob
TheRob44 said:
Thanks for the tip. Can you let me know the proper adb commands to get this done? Also, after I'm finished, what are the commands to unmount?
Thanks!
-Rob
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=719542
I'm not taking credit for the answer just the time it took to search for it.
TheRob44 said:
Thanks for the tip. Can you let me know the proper adb commands to get this done? Also, after I'm finished, what are the commands to unmount?
Thanks!
-Rob
Click to expand...
Click to collapse
Put the file in the android sdk tools folder
Use adb commands
Adb remount
Adb push exactfilename.apk /system/app
Sent from my SPH-D700 using Tapatalk
I think its something like this...
adb shell
su
mount -t rfs -o remount,rw /dev/block/stl9 /system
Click to expand...
Click to collapse
then what I had to do was instead of the usual:
mv /sdcard/yourfile.ext /system/app/yourfile.ext
Click to expand...
Click to collapse
I had to type this:
busybox mv /sdcard/yourfile.ext /system/app/yourfile.ext
Click to expand...
Click to collapse
it was either MV or CP
Sorry, I am not a programmer....
None of theese work for me and i have driver installed,sdk folder im using the right path but nothing it says adb not found 8(
I'm pretty sure you can just do this:
Adb shell
Su
Remount rw
That was enough to let me edit my build.Prop when root explorer wasn't remounting correctly.
Although I would recommend root explorer for stuff like this... remounts on the epic now and it let's you Remount in the application without adb. I think it's $0.99 in the market and we'll worth it.
Sent from my superphone using the XDA App
I second the suggestion of root explorer.
Sent from my (rooted) SPH-D700 using Tapatalk
I've noticed weirdness using mv or cp sometimes even using -f.
This always worked for me without fail:
cat dir/file.ext > /system/app/file.ext
Of course, you'll need to type the proper dir(s) and file.
Sent from my SPH-D700 using Tapatalk
Thread moved to General.
What I had to type was
cd\
cd android-sdk-windows\tools
adb devices
Adb shell
Su
Then it dropped me to the #
Hope that helps. Btw, I'm running windows vista 64bit
Sent from my SPH-D700 using my fingures.

Need System files from Kindle Fire HD 2013 model (no camera)

Hello Everyone. I bricked my device and need the following files to fix that. Please, can someone with a rooted device provide this files?
Thanks much:
/system/framework/services.odex
/system/app/DownloadProvider.apk
/system/app/DownloadProvider.odex
/system/app/DownloadProviderUi.apk
/system/app/DownloadProviderUi.odex
Thanks again
MarcoJoo said:
Hello Everyone. I bricked my device and need the following files to fix that. Please, can someone with a rooted device provide this files?
Thanks much:
/system/framework/services.odex
/system/app/DownloadProvider.apk
/system/app/DownloadProvider.odex
/system/app/DownloadProviderUi.apk
/system/app/DownloadProviderUi.odex
Thanks again
Click to expand...
Click to collapse
hey don't feel bad I need boot img and system img to get my running again....or I just need to pop it in the microwave and call amazon and ask for a new one and start over
My Kindle is alive. If someone need this files too, they can be found in the Update.bin at Amazons website.
@crzyjoker13. Good luck with your device.
Here you go, pulled straight from the latest update...
It's just the files you requested, the file structure should be correct.
crzyjoker13 said:
hey don't feel bad I need boot img and system img to get my running again....or I just need to pop it in the microwave and call amazon and ask for a new one and start over
Click to expand...
Click to collapse
You can get them from Amazon's website. That's your best bet at this time.
really lost
NighthawkXL said:
Here you go, pulled straight from the latest update...
It's just the files you requested, the file structure should be correct.
Click to expand...
Click to collapse
ok this is a start but how do I get them to /system/app
crzyjoker13 said:
ok this is a start but how do I get them to /system/app
Click to expand...
Click to collapse
Your need to get the device to be picked up by ADB and then push the files if your not able to boot into the actual system itself. Your have to ask someone else for the commands... but here's a snippet for services.odex the rest the files should be similar pieces of commands.
Code:
adb shell
su
mount -o rw,remount /system
chmod 777 /system/framework
exit
exit
adb push services.odex /system/framework
adb reboot
step in the right direction
NighthawkXL said:
Your need to get the device to be picked up by ADB and then push the files if your not able to boot into the actual system itself. Your have to ask someone else for the commands... but here's a snippet for services.odex the rest the files should be similar pieces of commands.
Code:
adb shell
su
mount -o rw,remount /system
chmod 777 /system/framework
exit
exit
adb push services.odex /system/framework
adb reboot
Click to expand...
Click to collapse
well hey this is a step in the right direction but all I need now Is to gain read write acess to /system and system/app abd I should bea able to push the old files back...my problem lies in the fact that es explorer tried to update and it messed up so I went to remove and just install the new version at the same time I was following the directions to put play market on the dev so now I can download and I have no file explorer
or if anyone know how I can push and execute an apk to the kindle I would be happy
thanks in advance
crzyjoker13 said:
well hey this is a step in the right direction but all I need now Is to gain read write acess to /system and system/app abd I should bea able to push the old files back...my problem lies in the fact that es explorer tried to update and it messed up so I went to remove and just install the new version at the same time I was following the directions to put play market on the dev so now I can download and I have no file explorer
or if anyone know how I can push and execute an apk to the kindle I would be happy
thanks in advance
Click to expand...
Click to collapse
I was having the same problem as you are and was able to fix it by doing the following.
Download and extract the files NighthawkXL has provided.
From within the folder that you saved the files run command and do the following
adb shell
su
mount -o rw,remount /system
chmod 777 /system/framework
exit
exit
adb push services.odex /system/framework
adb push DownloadProvider.odex /system/framework
adb push DownloadProviderUi.odex /system/framework
exit
adb shell
su
mount -o rw,remount /system
chmod 777 /system/app
exit
exit
adb push DownloadProvider.apk /system/app
adb push DownloadProviderUi.apk /system/app
adb reboot
I think this will solve your problem with the downloads not working. Please keep in mind I have small amount of knowledge when it comes to rooting, but figured that it couldn't do more damage to it since it wasn't working.
LinearEquation said:
You can get them from Amazon's website. That's your best bet at this time.
Click to expand...
Click to collapse
can you provide a link to the system images please
thanks cant seem to find them
davethebrave14 said:
can you provide a link to the system images please
thanks cant seem to find them
Click to expand...
Click to collapse
https://s3.amazonaws.com/kindle-fire-updates/update-kindle-11.3.1.0_user_310084920.bin
Just downloaded .bin gonna check this out also. I didn't brick mine its usable but I screwed it up trying to take things off to get more memory and easier on battery. Runs ok now but I took off the system keyboard thinking the android keyboard file would be it the asop or whatever. So had to add Google keyboard which is better and the main navigation is gone with the back and menu key. ROFL. Using all in one gestures and omega status bar as a rig lmao.
adb install package.apk works fine after adb start-server with linux.
Theres app in 1 mobile market for moving .apk to /system/app folder.

Unbrick kfsowi

Alpha Release of Gran PC's Restore Tool
https://peniscorp.com/KindleRoot_dist_windows_0.1.zip
*reserverd*
kyleberry.graphics said:
I have sucessfully unbricked a bootlooped (no adb) kindle KFSOWI. Guide to follow tomorrow
Click to expand...
Click to collapse
lvl 1 - kill the kindle - completed
loading....
lvl 2 - kernel firewall - started
great news
mint-an said:
lvl 1 - kill the kindle - completed
loading....
lvl 2 - kernel firewall - started
great news
Click to expand...
Click to collapse
For the discerning reader, the reason i havent posted a solution yet is that while i managed to get the device to boot, the image resized the partition to the size of the image so the /system cannot hold ANY additional...ANYTHING.
fastboot will not write a sparse image so im trying to figure out how to push the stock 11.3.2.1 .bin and reroot
kyleberry.graphics said:
For the discerning reader, the reason i havent posted a solution yet is that while i managed to get the device to boot, the image resized the partition to the size of the image so the /system cannot hold ANY additional...ANYTHING.
fastboot will not write a sparse image so im trying to figure out how to push the stock 11.3.2.1 .bin and reroot
Click to expand...
Click to collapse
yeah i saw your g+ post about it, posted my thought to but I don't thing they are going to help you
kyleberry.graphics said:
a better guide will follow, but for now, download and unzip this image:
Click to expand...
Click to collapse
I cannot download the tar.gz file from google. It brings up a network error.
j.jacobsen said:
I cannot download the tar.gz file from google. It brings up a network error.
Click to expand...
Click to collapse
Works here.
Thanks to all the devs here for making this possible...
micro17 said:
Works here.
Thanks to all the devs here for making this possible...
Click to expand...
Click to collapse
Working on an automated script now =)
kyleberry.graphics said:
Working on an automated script now =)
Click to expand...
Click to collapse
Restore tool uploading now. see first post..
kyleberry.graphics said:
Restore tool uploading now. see first post..
Click to expand...
Click to collapse
gonna try this now man... fingers crossed
---------- Post added at 10:04 AM ---------- Previous post was at 09:42 AM ----------
PHP:
kyleberry.graphics said:
Restore tool uploading now. see first post..
Click to expand...
Click to collapse
i ran your runme.bat. everything went fine but when i booted it up, it got stuck at the boot logo again but instead of the one with the orange logo i got the grey dull one... please help
davethebrave14 said:
gonna try this now man... fingers crossed
---------- Post added at 10:04 AM ---------- Previous post was at 09:42 AM ----------
PHP:
i ran your runme.bat. everything went fine but when i booted it up, it got stuck at the boot logo again but instead of the one with the orange logo i got the grey dull one... please help
Click to expand...
Click to collapse
The problem is the new.img it worked for me because I dint wipe any data so I kept su. Im trying to get a rooted system.img today
Sent from my SCH-R970 using xda app-developers app
hope you'll get the rooted system.img soon!
So i could try to get my messed up kfsowi back to stock... then root it again.
ikarugaski said:
hope you'll get the rooted system.img soon!
So i could try to get my messed up kfsowi back to stock... then root it again.
Click to expand...
Click to collapse
A new all-in-one program with a user interface is being designed as we speak (but not by myself) =)
Sent from my KFSOWI using xda app-developers app
That sounds gorgeous! So show it to me please. :highfive:
ikarugaski said:
That sounds gorgeous! So show it to me please. :highfive:
Click to expand...
Click to collapse
https://plus.google.com/communities/115612726860884592519
Hello,
by mistake, i flashed the files for KFHD 2012 (Tate).
During my insuccessful operation, i also wiped the cache of the kindle.
I think that's the reason, why the script does not work.
Are there any news about your Factory Restore Tool and a rooted system.img?
Thank you.
Thanks kyleberry for the link! Then i'll have to wait for Gran PC's tool. Hope for a release soon.
kyleberry.graphics said:
https://plus.google.com/communities/115612726860884592519
Click to expand...
Click to collapse
Thanks a bunch for this.
the tool didnt do it, the timing of getting adb to work seems to me very difficult if you are booting with a fastboot cable , and then want to boot to the mini system img.
BUT....
if you let the tool install the minisystem.img
and then can get adb access , the following post on the google group got me back to stock
How to reinstall FireOS
Botched your /system partition beyond recognition? Everything is broken? Dropped your #Kindle in a sea of piss and need to RMA it? Fear not! You can just reinstall FireOS and get it looking just as if we had never touched it!
First of all, you'll have to root your tablet. I'm assuming you know how to do this!
Once that's done, put this file -- https://s3.amazonaws.com/kindle-fire-updates/update-kindle-11.3.1.0_user_310084920.bin -- in /sdcard/ (you can use adb push).
Then run these commands:
adb shell
su
[email protected]:/# cp /sdcard/update-kindle-11.3.1.0_user_310084920.bin /cache/update.zip
[email protected]:/# echo --update_package=/cache/update.zip > /cache/recovery/command
[email protected]:/# exit
[email protected]:/$ exit
adb reboot recovery
If everything went well, you should see the 'installing update' screen -- and once you're booted, we're back to stock! We did it!!!!!!
I did it slightly differently, I just renamed the bin on my pc first, and adb pushed it to /cache
I had to mount rootfs for r/w to do the adb push into /cache
adb shell
su
mount -o rw,remount rootfs /
chmod 777 /cache
mikeataol said:
Thanks a bunch for this.
the tool didnt do it, the timing of getting adb to work seems to me very difficult if you are booting with a fastboot cable , and then want to boot to the mini system img.
BUT....
if you let the tool install the minisystem.img
and then can get adb access , the following post on the google group got me back to stock
How to reinstall FireOS
Botched your /system partition beyond recognition? Everything is broken? Dropped your #Kindle in a sea of piss and need to RMA it? Fear not! You can just reinstall FireOS and get it looking just as if we had never touched it!
First of all, you'll have to root your tablet. I'm assuming you know how to do this!
Once that's done, put this file -- https://s3.amazonaws.com/kindle-fire-updates/update-kindle-11.3.1.0_user_310084920.bin -- in /sdcard/ (you can use adb push).
Then run these commands:
adb shell
su
[email protected]:/# cp /sdcard/update-kindle-11.3.1.0_user_310084920.bin /cache/update.zip
[email protected]:/# echo --update_package=/cache/update.zip > /cache/recovery/command
[email protected]:/# exit
[email protected]:/$ exit
adb reboot recovery
If everything went well, you should see the 'installing update' screen -- and once you're booted, we're back to stock! We did it!!!!!!
I did it slightly differently, I just renamed the bin on my pc first, and adb pushed it to /cache
I had to mount rootfs for r/w to do the adb push into /cache
adb shell
su
mount -o rw,remount rootfs /
chmod 777 /cache
Click to expand...
Click to collapse
Yeah the tool pretty much does just that (the steps on my guide, not your chmod shenanigans.. although that's a nice idea!)
Also, if you're gonna use the tool, please use the latest version (@kyleberry.graphics, update OP please):
https://peniscorp.com/KindleRoot_dist_windows_0.1.1.zip
Gran PC said:
Yeah the tool pretty much does just that (the steps on my guide, not your chmod shenanigans.. although that's a nice idea!)
Also, if you're gonna use the tool, please use the latest version (@kyleberry.graphics, update OP please):
https://peniscorp.com/KindleRoot_dist_windows_0.1.1.zip
Click to expand...
Click to collapse
can you help please I have run the tool everything went fine but when I boot kindle ijust get grey kindle writing still or if I plug fastboot cable in I get fastboot still nothing has chaned kindle still stuck at kindle writing am I ding something wrong what gives can you help me many thanks

Categories

Resources