I need someone running mi9 to upload there boot.img for a rom i am working on.
open adb terminal on your computer, and do these commands
adb shell
su
mkdir /sdcard/Mi9
dd if=/dev/block/mmcblk0p14 of=/sdcard/Mi9/boot.img
ok now it is on your internal sdcard in a folder called Mi9.
Please upload it
drakeymcmb said:
I need someone running mi9 to upload there boot.img for a rom i am working on.
open adb terminal on your computer, and do these commands
adb shell
su
mkdir /sdcard/Mi9
dd if=/dev/block/mmcblk0p14 of=/sdcard/Mi9/boot.img
ok now it is on your internal sdcard in a folder called Mi9.
Please upload it
Click to expand...
Click to collapse
I have it in a zip! I am just waiting for it to upload!
Awesome. Thanks
Sent from my SAMSUNG-SM-N900A using xda app-developers app
I don't know whats going on but it doesn't seem to want to upload. I can always email it or something if nothing else.
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
---------- Post added at 10:40 PM ---------- Previous post was at 10:36 PM ----------
drakeymcmb said:
I need someone running mi9 to upload there boot.img for a rom i am working on.
open adb terminal on your computer, and do these commands
adb shell
su
mkdir /sdcard/Mi9
dd if=/dev/block/mmcblk0p14 of=/sdcard/Mi9/boot.img
ok now it is on your internal sdcard in a folder called Mi9.
Please upload it
Click to expand...
Click to collapse
I hope this link works instead.
https://www.dropbox.com/s/wel0afz00dxmsof/boot.zip
Yes it does. Thank you.
Sent from my SAMSUNG-SM-N900A using XDA Premium 4 mobile app
Somehow i double posted the link. oops
here is mine if you need from another phone https://www.dropbox.com/s/j7xp8o402mw6l5x/boot.img
Let me know if you still need my boot.img
thats all I need. Will start working on it somemore when I get home.
Sent from my SAMSUNG-SM-N900A using xda app-developers app
Related
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.
I've downloaded redbend_ua and the clockwork recovery image. They're both currently on my sdcard's root. I'm trying to copy redbend_ua, but there's no 'cp' command???
I've been a Linux SysAdmin for over 5 years, so I'm comfortable on the command line. Where's cp? Is there an easy way to install bash 3?
Sent from my SPH-D700 using XDA App
I can't link the post with tapatalk, but detailed instructions are in a post labeled "Clockwork recovery no computer method"
By default the cp command isn't included in android... it is included in busybox. There is an app on the market, and the one click roots install it by default. Without busybox the cat command is used as so: cat > .
Sent from my SPH-D700 using Tapatalk
Wow... I'm embarrassed I didn't try that. I'm usually against piping cats but sfobv that's what is needed.
Sent from my SPH-D700 using XDA App
after a few hours in Irc with fellow continuiniuumers. i tested a gps fix on locking gps in navigation.
Special thank youz:
Imnuts (for source file and cmds)
Samuelhadams (for proof on test)
Logan302 (adb help)
what you need:
adb installed (and working )
gps.conf: here
in adb enter these cmds:
adb shell mount -o remount,rw /dev/block/stl9 /system
adb push gps.conf /system/etc
adb shell reboot
or
what you need:
any file manager app that mounts the system r/w (read write)
aps.conf on sdcard
copy gps.conf from sdcard and go to /system/etc folder,
click mount r/w button or however you are mounting system r/w
paste
reboot
or
flash via CWM: Here
Gps was broken? With ec07 or ec03?
Sent from my SCH-I400 using XDA App
abby_nitewolf said:
Gps was broken? With ec07 or ec03?
Sent from my SCH-I400 using XDA App
Click to expand...
Click to collapse
There were issues with gps unable to lock after the phone had been on for awhile.
Sent from my SCH-I400 using XDA App
The link is down
trailblazer101 said:
The link is down
Click to expand...
Click to collapse
Do you need it?
trailblazer101 said:
The link is down
Click to expand...
Click to collapse
Updated sorry
Sent from my SCH-I400 using xda premium
my gps was working fine on ec07
Bierce22 said:
my gps was working fine on ec07
Click to expand...
Click to collapse
It seems to be a hit or miss thing. Minw does too. Some people have issues, though.
I'm not here for a long time. I'm here for a good time. To hell with the red wine. Pour me some moonshine. - King George
ADB help
Hey, just a few questions. I'm brand new to ADB tools.
I got my cmd prompt to show me the serial of my device using adb devices. Im sure this means my adb tools are working. Ive only installed SDB tools and platform tools.
Do I need to download the 2.2 tools?
The problem is when I type in the first cmd i get a operation error.
2nd question is how do I get all of your gps.config code into the cmd prompt. Do I place the file somewhere on my computer for it to be recognized in your second cmd step.
Thanks in advanced.
minirome said:
Hey, just a few questions. I'm brand new to ADB tools.
I got my cmd prompt to show me the serial of my device using adb devices. Im sure this means my adb tools are working. Ive only installed SDB tools and platform tools.
Do I need to download the 2.2 tools?
The problem is when I type in the first cmd i get a operation error.
2nd question is how do I get all of your gps.config code into the cmd prompt. Do I place the file somewhere on my computer for it to be recognized in your second cmd step.
Thanks in advanced.
Click to expand...
Click to collapse
You can push manually with a file manager. Its in op also.
Also the GPS. Conf is a file.
Sent from my SCH-I400 using xda premium
Why am I getting the operations error anyways? Should I be working off of tools or platform tools?
Sent from my SCH-I400 using XDA App
Ive tried a lot of different ways to get it to work and I think ive gotten to the point where it might be something else other than my commands. I just get a mountperation not permitted. The following is an example of what I typed. The $ sign was created after I typed in adb shell.
1 "adb shell
2 $mount -o remount,rw /dev/block/stl9 /system
3 mountperation not permitted"
Tell me I did something wrong.
You need to "su" before you try and mount -_-
Sent from my SCH-I400 using xda premium
trailblazer101 said:
You need to "su" before you try and mount -_-
Sent from my SCH-I400 using xda premium
Click to expand...
Click to collapse
I messed around with that for awhile and I think I got a little further. I seem to still get a little stuck after I mount.
1. /android-sdk/platform-tools>adb shell
2. $su
3. #mount -o remount,rw /dev/block/stl9 /system
4. mount -o remount,rw /dev/block/stl9 /system
5. #
On line 4 the cmd prompt just spits that back out at me and it ends up back at # again. How do I know it mounted and how do I begin the pushing process. My gps.conf file is in my platform-tools folder. Thanks!
Throw me a bone. Im so close! I can feel it!
How do I get gps.conf file?
link in OP just takes me to a page with a lot of text-No download.
Right click and click save as or save link as. It should automatically name it as gps.conf
Sent from my SCH-I400 using XDA App
Minirome, are you simply he'll Benton pushing this thing via adb? If not, and you just want to get your gps to work, copy the thing to your sd card, download es file explorer, and cnp the thing to the proper dir
Release your inhibitions, feel the rain on your skin, no one else can feel it for you. only you can let it in - Natasha Bedingfield
Works pissah after renaming and replacing using Root Explorer. Grabs the GPS signal wickid quick!
Peace,
Ray
Txwolf1980 said:
Minirome, are you simply he'll Benton pushing this thing via adb? If not, and you just want to get your gps to work, copy the thing to your sd card, download es file explorer, and cnp the thing to the proper dir
Release your inhibitions, feel the rain on your skin, no one else can feel it for you. only you can let it in - Natasha Bedingfield
Click to expand...
Click to collapse
Haha yes I am pretty bent on using adb. I just wanted to gain some experience with it. I might break down soon...unless someone says something. I think I've made progress.
Sent from my SCH-I400 using XDA App
So was helping someone flash ClockworkMod via ADB in another thread, just thought if I made a topic for it, everyone can see it so if people have any issues they can always use this method instead.
Anyway, here are the instructions:
The 'flash_image' is within the attached zip file! Use the file within the zip file, NOT the zip file itself
The 'recovery.img' is your chosen recovery file, get this off ClockworkMods website or if you have a copy use that. Then when flashing the recovery image where ever it says 'recovery.img' replace that with the name of the recovery file.
Put the recovery image and the flash_image on the root of your C drive.
So,
(make sure you're in the command prompt and have changed directory to where the adb file is)
adb push c:\flash_image /sdcard/
adb push c:\recovery.img /sdcard/
adb shell
su
mount -o remount, rw /system
cp /sdcard/flash_image /system/bin
cd /system/bin
chmod 777 flash_image
flash_image recovery /sdcard/recovery.img
It has now been flashed successfully
Hope this is of use to some people
Thanks! Very helpful.
varsaljr said:
Thanks! Very helpful.
Click to expand...
Click to collapse
As repeated in many places, press the thanks button instead of posting thanks
Hello, when i enter abd shell, then su.
I get acces denied..
what to do? :O
MrKiller2010 said:
Hello, when i enter abd shell, then su.
I get acces denied..
what to do? :O
Click to expand...
Click to collapse
u rooted and have superuser on your phone??
No i dont some one told me to do this cause my screen freezes when im trying to root it. Chek the How to root your blade.
Sent from my ZTE-BLADE using xda premium
You must be rooted for this, root using z4root or something
Sent from my ZTE-BLADE using Tapatalk 2
MrKiller2010 said:
No i dont some one told me to do this cause my screen freezes when im trying to root it. Chek the How to root your blade.
Sent from my ZTE-BLADE using xda premium
Click to expand...
Click to collapse
Dude i didn't know u weren't rooted yet. U don't need to use adb to root. Just Google z4root modaco and click on the first link. Install z4root and permanent root it. Don't forget to install rom manager and flash cwm from within it
Oh, well z4root doesn't work for me cause i got 2.3.5 i heard that the only way to root my blade is this: http://forum.xda-developers.com/showthread.php?t=1319257
and that doesn't work, it freezes when i enter the command "adb reboot bootloader" it reboots and stay on the ZTE logo and freezes. :S
MrKiller2010 said:
Oh, well z4root doesn't work for me cause i got 2.3.5 i heard that the only way to root my blade is this: http://forum.xda-developers.com/showthread.php?t=1319257
and that doesn't work, it freezes when i enter the command "adb reboot bootloader" it reboots and stay on the ZTE logo and freezes. :S
Click to expand...
Click to collapse
That's what it is supposed to do. That's it in fastboot mode. You need to go on to the next step at that point.
Well when i enter next command nothing happends.
Sent from my ZTE-BLADE using xda premium
matt4321 said:
You must be rooted for this, root using z4root or something
Sent from my ZTE-BLADE using Tapatalk 2
Click to expand...
Click to collapse
So what's the point in doing it?
Just install rom manager & use that instead.
---------- Post added at 04:17 PM ---------- Previous post was at 04:16 PM ----------
MrKiller2010 said:
Well when i enter next command nothing happends.
Sent from my ZTE-BLADE using xda premium
Click to expand...
Click to collapse
You need to install drivers for fastboot if you use Windows. Sometimes you might need to unplug the usb, then plug it back in again & try fastboot again.
It should at least give an error.
wbaw said:
So what's the point in doing it?
Just install rom manager & use that instead.
Click to expand...
Click to collapse
What's the point in using fastboot to flash clockworkmod, it's just another way of doing it, some may prefer other ways (yeah via rom manager is a lot easier i know) but spread the knowledge, may be of use to some people.
matt4321 said:
What's the point in using fastboot to flash clockworkmod, it's just another way of doing it, some may prefer other ways (yeah via rom manager is a lot easier i know) but spread the knowledge, may be of use to some people.
Click to expand...
Click to collapse
You don't need your phone to be rooted to use fastboot, it's a method for new stock roms that have all the common root exploits fixed.
So, what's the point in this method when using Rom Manager is much easier? If you've already rooted your phone then this has to be one of the hardest possible ways to install clockworkmod.
wbaw said:
You don't need your phone to be rooted to use fastboot, it's a method for new stock roms that have all the common root exploits fixed.
So, what's the point in this method when using Rom Manager is much easier? If you've already rooted your phone then this has to be one of the hardest possible ways to install clockworkmod.
Click to expand...
Click to collapse
I was never able to get fastboot working for my blade, always had driver issues, yet adb was fine. So I was able to use this method to flash and try the clockworkmod recovery touch that was released for us (turned out to be useless haha) but that couldn't be done via rom manager (well yeah, but you had to pay and i'm a poor student) so that's an example of when it could be useful.
point aside this is just another way, I just want people to learn as i am here to learn too.
Permission Denied
I need to flash CWM recovery using this adb method since I dont have data on the phone(Videocon Zeus V7500.. a clone of Commtiva Z51).
I have all the files in the right places but when I put the first command I get the following error :
I:\>adb push c:\flash_image /sdcard/
failed to copy 'c:\flash_image' to '/sdcard//flash_image': Permission denied ,
What permissions do I have to grant?
Try adb push c:/flash_image /sdcard/flash_image
Sent from my RACERII using xda app-developers app
Nevermind I figured it out, the problem was that I had mounted sd card to PC and I guess that was causing the problems.
I got it to work and have flashed CWM recovery now
Code:
I:\>adb push c:\flash_image /sdcard/
751 KB/s (26172 bytes in 0.034s)
I:\>adb push c:\recovery-clockwork-2.5.1.3-z71.img /sdcard
2444 KB/s (3831808 bytes in 1.531s)
I:\>adb shell
$ su
su
# su
su
# mount -o remount, rw /system
mount -o remount, rw /system
# cp /sdcard/flash_image /system/bin
cp /sdcard/flash_image /system/bin
# cd /system/bin
cd /system/bin
# chmod 777 flash_image
chmod 777 flash_image
# flash_image recovery /sdcard/recovery-clockwork-2.5.1.3-z71.img
flash_image recovery /sdcard/recovery-clockwork-2.5.1.3-z71.img
Thanks you very much for this thread
how to??
matt4321 said:
So was helping someone flash ClockworkMod via ADB in another thread, just thought if I made a topic for it, everyone can see it so if people have any issues they can always use this method instead.
Anyway, here are the instructions:
The 'flash_image' is within the attached zip file! Use the file within the zip file, NOT the zip file itself
The 'recovery.img' is your chosen recovery file, get this off ClockworkMods website or if you have a copy use that. Then when flashing the recovery image where ever it says 'recovery.img' replace that with the name of the recovery file.
Put the recovery image and the flash_image on the root of your C drive.
So,
(make sure you're in the command prompt and have changed directory to where the adb file is)
adb push c:\flash_image /sdcard/
adb push c:\recovery.img /sdcard/
adb shell
su
mount -o remount, rw /system
cp /sdcard/flash_image /system/bin
cd /system/bin
chmod 777 flash_image
flash_image recovery /sdcard/recovery.img
It has now been flashed successfully
Hope this is of use to some people
Click to expand...
Click to collapse
friend plss suggest me that how to use this flash_image and where should i put it
in mobile system or in pc drive c
plsss tell me clearly because when i use it in cmd it says su not found whts the mean of this plss tell me clearly one by one step
i am not able to understnd
pls pls pls help me
---------- Post added at 04:09 PM ---------- Previous post was at 03:55 PM ----------
mandloihitesh said:
friend plss suggest me that how to use this flash_image and where should i put it
in mobile system or in pc drive c
plsss tell me clearly because when i use it in cmd it says su not found whts the mean of this plss tell me clearly one by one step
i am not able to understnd
pls pls pls help me
Click to expand...
Click to collapse
heyy plss i m confused in command
i dont know what commnds should i usee
plss help me
plss
---------- Post added at 04:13 PM ---------- Previous post was at 04:09 PM ----------
saaransh9 said:
u rooted and have superuser on your phone??
Click to expand...
Click to collapse
ya i rooted my phone and superuser is also installed on my phone then wht to do
????
clockworkmod is not working in recovery manager also
said unrecognized
thanks for this. Got me out of a jam
I got a new nexus 7 to day and I'm trying to install cwm and when I try to Adb terminal gives Adb command not found. Help please?
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Did you install the Android SDK on your PC first? There are other sources of ADB, too. ADB is not built in on Ubuntu. Or, are you doing this on your N7?
I have all that installed. I have the Adb file and the fast boot file and I cd'd to them and when I try to use the "Adb reboot bootloader" command I get Adb command not recognized.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Are you actually using a capital A as in Adb? That would not work.
No that's just how my phone is correcting it.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Just remembered something... adb is a 32-bit app. You need to install a 32-bit library on a 64-bit machine to get it to run. Can't remember the name off the top of my head...will try to find it.
---------- Post added at 11:55 PM ---------- Previous post was at 11:50 PM ----------
sudo apt-get install ia32-libs ... see if that works for you...it will take a while to install.
Okay, I'll try that when I can. Thanks. Is there a way for me to mount my n7 on here as mtp?
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
spitfire2425 said:
Okay, I'll try that when I can. Thanks. Is there a way for me to mount my n7 on here as mtp?
Click to expand...
Click to collapse
Have had no luck with MTP on Ubuntu myself. To get files to my N7 without adb, I either use a USB stick with an OTG cable or the AirDroid app.
I'd try some kind of cloud storage but I don't have Internet access which makes things that much harder.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
spitfire2425 said:
I don't have Internet access which makes things that much harder.
Click to expand...
Click to collapse
I feel for you as I am in the same boat much of the time. Makes life hard.
Try "./adb ...." etc
Otherwise you will need to "chmod +x adb", then try the above.
Good luck!
./adb worked! Thank you.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app