Related
I want to edit the /system/build.prop on my phone from my recovery because my phone doesn't boot and I know what change led to that.
How can I do this? Can anybody give me nooby instructions on how to do this?
I think I may have to use ADB pull/push, but how do you use it? Also, can I do it via moto-fastboot?
Thanks.
Notorious544d said:
I want to edit the /system/build.prop on my phone from my recovery because my phone doesn't boot and I know what change led to that.
How can I do this? Can anybody give me nooby instructions on how to do this?
I think I may have to use ADB pull/push, but how do you use it? Also, can I do it via moto-fastboot?
Thanks.
Click to expand...
Click to collapse
Boot to recovery, go into mounts and storage and mount /system then use adb to pull build.prop off, edit it, then push it back up.
Speedily sent from CM7 Beta
d3athsd00r said:
Boot to recovery, go into mounts and storage and mount /system then use adb to pull build.prop off, edit it, then push it back up.
Speedily sent from CM7 Beta
Click to expand...
Click to collapse
What's the exact command for ADB pull? My Android SDK is saved on C:\
I copied the commands from adb;
adb push <local> <remote> - copy file/dir to device
adb pull <remote> [<local>] - copy file/dir from device
Open up CMD under administrator privilages (right click the CMD icon and select run as administrator)
type cd c:\
type adb pull /system/build.prop c:\
this should copy the file to the c:\ and when your done editing use the following commands to push it back
adb push c:\build.prop /system/
I accidently pulled all of /system. How do I push it all back? If I don't push it, does it mean that my phone has no /system?
adb push <local> <remote> - copy file/dir to device
adb pull <remote> [<local>] - copy file/dir from device
all you did was make a copy of the files...
Thanks!
Thanks for your advice everybody, but in the end, I ended up reflashing Rom. However, this situation has at least given me experience with ADB commands.
Trying to pull all of my system/app directory to my pc what's the proper command to.get all at once.
Sent from my PG86100 using Tapatalk
Code:
adb pull /system/app/
That will pull all of the apk files from /system/app and place them in your current directory. If you want to direct them somewhere else, here's an example:
Code:
#Windows
adb pull /system/app/ c:\android\apps\
#Linux & Mac
adb pull /system/app ~/Downloads/apps/
Thank u I'm on tapatalk or I would hit the button.
Sent from my PG86100 using Tapatalk
MongooseHelix said:
Code:
adb pull /system/app/
That will pull all of the apk files from /system/app and place them in your current directory. If you want to direct them somewhere else, here's an example:
Code:
#Windows
adb pull /system/app/ c:\android\apps\
#Linux & Mac
adb pull /system/app ~/Downloads/apps/
Click to expand...
Click to collapse
Does moving installed apps require root???
ri123 said:
Does moving installed apps require root???
Click to expand...
Click to collapse
Ofcourse you need rooted phone..
Only rooted phone can mount system and data partition as READ-WRITE
#Windows
This is for full system folder
adb pull /system c:\android\system (blue colour to create folder on desktop)
This is for full data folder (which include all installed apps and your personal data too)
adb pull /data c:\android\data (blue colour to create folder on desktop)
Etc....
Willing to pay someone to show me how to do this command:
Step by step instructions and I'll give you $20.00
-------------------------------------------------------------
You will need modified libraries to take full advantage of this kernel as they override speeds at times, you can find these here.
You'll have to push them over adb for now after flashing the kernel, when CWM is up I will make a CWM zip for it.
From the directory with adb and the three .so files:
Code:
adb remount
adb push libhardware_legacy.so /system/lib/
adb push librpc.so /system/lib/
adb push libandroid_runtime.so /system/lib/
adb shell chmod 0644 /system/lib/libhardware_legacy.so
adb shell chmod 0644 /system/lib/librpc.so
adb shell chmod 0644 /system/lib/libandroid_runtime.so
adb reboot
What does it tell you when you try to run the first command?
You've got to have ADB installed first.
Download the modified files from that post and extract them to a folder lets say C:\
Hit start run CMD now type CD C:\
Now type those commands that you posted one by one with your phone in Dev Mode plugged into the computer.
& give the $ to the man who deserves it Da_G!
sent from AT&T Samsung Galaxy Note Dual Core 1.83 GHz
You,need ti set up adb first .. Click the chat libk in my sig i will help you live..
Sent from my GT-I9000 using xda premium
BrandonPrice31 said:
Willing to pay someone to show me how to do this command:
Step by step instructions and I'll give you $20.00
-------------------------------------------------------------
You will need modified libraries to take full advantage of this kernel as they override speeds at times, you can find these here.
You'll have to push them over adb for now after flashing the kernel, when CWM is up I will make a CWM zip for it.
From the directory with adb and the three .so files:
Code:
adb remount
adb push libhardware_legacy.so /system/lib/
adb push librpc.so /system/lib/
adb push libandroid_runtime.so /system/lib/
adb shell chmod 0644 /system/lib/libhardware_legacy.so
adb shell chmod 0644 /system/lib/librpc.so
adb shell chmod 0644 /system/lib/libandroid_runtime.so
adb reboot
Click to expand...
Click to collapse
enable USB debugging in settings on phone.
Connect phone to your pc.
run 'adb' on your PC from the command line.
If you do not have the USB drivers etc installed, see http://developer.android.com/sdk/index.html and http://developer.android.com/sdk/win-usb.html
once you have adb working (e.g. you can run 'adb devices' and see your phone) just type the command as above.
donbowman said:
enable USB debugging in settings on phone.
Connect phone to your pc.
run 'adb' on your PC from the command line.
If you do not have the USB drivers etc installed, see http://developer.android.com/sdk/index.html and http://developer.android.com/sdk/win-usb.html
once you have adb working (e.g. you can run 'adb devices' and see your phone) just type the command as above.
Click to expand...
Click to collapse
I have all of that but once I get to that part it doesnt work..
He only gives one file:
http://forum.xda-developers.com/showthread.php?t=1504920
maxjivi05 said:
You've got to have ADB installed first.
Download the modified files from that post and extract them to a folder lets say C:\
Hit start run CMD now type CD C:\
Now type those commands that you posted one by one with your phone in Dev Mode plugged into the computer.
& give the $ to the man who deserves it Da_G!
sent from AT&T Samsung Galaxy Note Dual Core 1.83 GHz
Click to expand...
Click to collapse
Problem is there is only one file given?
http://forum.xda-developers.com/showthread.php?t=1504920
BrandonPrice31 said:
I have all of that but once I get to that part it doesnt work..
He only gives one file:
http://forum.xda-developers.com/showthread.php?t=1504920
Click to expand...
Click to collapse
ah, the files are in a tar.gz file.
If you are on windows, open this with winzip and extract.
if u r on linux, do 'tar zxvf modded-libs.tar.gz'
You need to install the SDK for Windows to get ADB installed. That would be easiest
sent from AT&T Samsung Galaxy Note Dual Core 1.83 GHz
There are three files in there. it's a tar.gz file. You have to extract twice. Once to get a .tar file, then you extract the three files from the .tar.
DAGr8 said:
You,need ti set up adb first .. Click the chat libk in my sig i will help you live..
Sent from my GT-I9000 using xda premium
Click to expand...
Click to collapse
Waiting for your response
Okay so I have the three files unzipped, where do I place them so the commands will work?
uh, any old directory will do.
then 'cd' to that directory.
then run adb as above.
the 'adb push' will be copying them to the device.
For some reason the overclock freezes on me I don't get it.
try 1 notch above 1544 speed first.
BrandonPrice31 said:
For some reason the overclock freezes on me I don't get it.
Click to expand...
Click to collapse
Im sorry something came up im afk atm hang around ill help when i get home in about an hour
Sent from my GT-I9000 using xda premium
Currently, if I want to add a new custom wallpaper. I make it on my PC using GIMP, save it, plug in my reZound, switch to disk drive, copy the file to my sd card, unplug my reZound, go to ES File explorer, navigate to ex_sd, copy the file, navigate to /system/customize/resources, paste the file, go to home, change wallpaper. Now, I can do all that faster than I can type out the steps, but is there someway to move the file straight from my PC to the /system/customize/resources folder?
Thanks
pmterp said:
Currently, if I want to add a new custom wallpaper. I make it on my PC using GIMP, save it, plug in my reZound, switch to disk drive, copy the file to my sd card, unplug my reZound, go to ES File explorer, navigate to ex_sd, copy the file, navigate to /system/customize/resources, paste the file, go to home, change wallpaper. Now, I can do all that faster than I can type out the steps, but is there someway to move the file straight from my PC to the /system/customize/resources folder?
Thanks
Click to expand...
Click to collapse
Just put them on your sd card in a folder called /media/images/ and you can apply them with the gallery
NilsP said:
Just put them on your sd card in a folder called /media/images/ and you can apply them with the gallery
Click to expand...
Click to collapse
Or I think he can push with adb. I don't know the exact commands so if anyone can help with the commands...
Sent from my ADR6425LVW using Tapatalk
xxxxxx.png is the name of the image:
adb push xxxxxx.png /system/customize/resource
NilsP said:
xxxxxx.png is the name of the image:
adb push xxxxxx.png /system/customize/resource
Click to expand...
Click to collapse
Probably need to adb remount first. Here's my suggestion, make a batch file/script something like this:
echo off
adb wait-for-device
adb remount
adb push somdirectory/newwallpaper.png /system/customize/resource/
MrSmith317 said:
echo off
adb wait-for-device
adb remount
adb push somdirectory/newwallpaper.png /system/customize/resource/
Click to expand...
Click to collapse
That works great. Thanks everyone. Now, what about the reverse? Is there a way to get the files (default wallpapers, apks, etc.) pushed to my computer? I tried running the same script and reversing the file and destination but that did not work.
Edit: Never mind, found it. adb pull
I haven't used adb commands since I was rooting my eris, thanks guys.
what i want to do is to be able to use adb in any directory in windows instead of having to "cd" to the platform-tools directory and then using it, it makes it easier for when i want to copy a certain file to my tablet, i can just go where the file is at and use adb there. i know how to do it in linux, all i have to do in linux is make a shortcut of the adb file and copy it to the /usr/bin/ directory but when i tried that with windows, making the shortcut to adb and copying it to the c:\windows\system32\ directory, it didn't work. any help would be awesome!!! thanks in advance!