can i rename the file in system using adb Commands? like "su"?
---------------------------------------
i use Root Explorer and rename my build.prop to build.propo, and copy download build.prop(3.1) in to 3.2 xoom system, after reboot allway stay in the honeycomb logo.... is their anyway to change back my build.propo to build.prop using adb Commands?? thanks~
---------------------------------------
no one help =(
take 24 hour fight out,
ADB pull system/build.propo C:
adb push build.prop /system
done , reboot, WORK..... =)
mhz1000a said:
can i rename the file in system using adb Commands? like "su"?
---------------------------------------
i use Root Explorer and rename my build.prop to build.propo, and copy download build.prop(3.1) in to 3.2 xoom system, after reboot allway stay in the honeycomb logo.... is their anyway to change back my build.propo to build.prop using adb Commands?? thanks~
---------------------------------------
no one help =(
take 24 hour fight out,
ADB pull system/build.propo C:
adb push build.prop /system
done , reboot, WORK..... =)
Click to expand...
Click to collapse
Great!
If you're rooted please make a nandroid backup, so if you find yourself in a jam you can just restore...I hate to see tears, when no tears are needed. ;^}
Related
sorry guys forgive my dumpness but i downloaded theme from the topic . after i replaced the apk files through root explorer and made restart to the device after that my x10 couldnt start i reflashed root steps but i really still want to change this stupid blue colore is there any easy way to do it . i wanna use the themes that already made from devlopers it comes like normal apk files........thanks in advance
Sent from my X10i using the XDA mobile application powered by Tapatalk
see Here *10chars*
What files do you have exactly? framework-res.apk? Phonebook.apk? Phone.apk
This thread as given above is taken that you have ADB installed on your computer.
http://forum.xda-developers.com/showthread.php?t=714288
If you do not have ADB, visit this thread first.
http://forum.xda-developers.com/showthread.php?t=532719
Feel free to ask if you have more questions
xGary said:
What files do you have exactly? framework-res.apk? Phonebook.apk? Phone.apk
This thread as given above is taken that you have ADB installed on your computer.
http://forum.xda-developers.com/showthread.php?t=714288
If you do not have ADB, visit this thread first.
http://forum.xda-developers.com/showthread.php?t=532719
Feel free to ask if you have more questions
Click to expand...
Click to collapse
i have framework-res.apk? Phonebook.apk? Phone.apk
and i know about adb commands but i wonder what is the diffrences it's all about replacing apk files and i manged that with root explorer and the guide is too hard it's all about modfications of the system files but it didn't tell us how to use an exsiting theme files ....is it all about the remount command that make us have to use adb ??? thanks in advance
h.boushi1987 said:
i have framework-res.apk? Phonebook.apk? Phone.apk
and i know about adb commands but i wonder what is the diffrences it's all about replacing apk files and i manged that with root explorer and the guide is too hard it's all about modfications of the system files but it didn't tell us how to use an exsiting theme files ....is it all about the remount command that make us have to use adb ??? thanks in advance
Click to expand...
Click to collapse
Not sure if ADB is required but thats the only method I know of. A step by step guide (Might want to double check with advanced users)
1) Install ADB and set the environment variables, etc.
2) Go to the folder (Should be c:/android-sdk-windows/tools) and open adb.exe (If it flashes and auto closes, open up cmd [Start>Run>cmd] and drag the adb.exe into the cmd and press enter)
3) Put Phone In Debugging Mode Settings>Applications>Development>USB Debugging
In ADB, type these commands
*Note that the commands are case sensitive*
Pull the files you are about to replace with the following commands:
cd c:/anrdroid-sdk-windows/tools
adb pull /system/framework/framework-res.apk framework-resk.apk
adb pull /system/app/Phonebook.apk
adb pull /system/app/Phone.apk
4) Now framework-res.apk, Phonebook.apk, and Phone.apk should be in your tools folder where your adb.exe is. Put these files somewhere safe.
5) Now drag your new framework-res.apk, Phonebook.apk, and Phone.apk into the tools folder.
6) Go back to adb and type the following command:
adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
7) Now these commands will move your new theme files to the sdcard:
adb push framework-res.apk /sdcard/framework-res.apk
adb push Phonebook.apk /sdcard/Phonebook.apk
adb push Phone.apk /sdcard/Phone.apk
8) Now these commands will install the new theme files in the sd card from the previous step:
adb shell dd if=/sdcard/framework-res.apk of=/system/framework/framework-res.apk
adb shell dd if=/sdcard/Phonebook.apk of=/system/app/Phonebook.apk
adb shell dd if=/sdcard/Phone.apk of=/system/app/Phone.apk
9) Now your phone will restart (If not, manually restart) and your theme should be installed.
Gary~
thanks a lot man ... you are the best i'll try that and report back but any way you still the best.....
Sent from my X10i using the XDA mobile application powered by Tapatalk
why every time i put the mount command it tells me "the device not found"
and the pull commands don't seems to work
i tried adb devices command but it seems it doesnt found my device
Mmm...maybe its sound dumb, but I'm a noob in this. How do you change the battery icon? Thx
rein_hiryu said:
Mmm...maybe its sound dumb, but I'm a noob in this. How do you change the battery icon? Thx
Click to expand...
Click to collapse
You pull the framework-res.apk file and open it with 7-zip. Inside should be some folders and there should be a folder (forgot which one) with a bunch of pngs. Replace the battery icons with desired ones.
Gary~
Well guys I've been tweaking with this a lot and I've finally got it working. Here are the steps to do so:
First of all you must be ROOTED!
-Open Root Explorer and Mount R/W
-Go to System/Media
-Delete Bootani.qmg
-Reboot (You will hear the sound but will not be able to see the bootlogo. )
-Go to Root Explorer
-Go to System/ etc
-Delete "Power On"
*Big thanks for Austin420 for the help on removing the sound.
-Next Step (Flashing a Bootanimation.zip)
the sound is under system > etc
file is called "Power On". its the only audio file type in this folder.
austin420 said:
the sound is under system > etc
file is called "Power On". its the only audio file type in this folder.
Click to expand...
Click to collapse
Thank you for the contribution.
Edit: Apparently the file cannot be deleted.
Now, to delete the shutdown will be a little harder.
ive got a blank .wav file (10 seconds of silence) that can be renamed PowerOn.wav . do you think replacing the original file with the silent one will do anything, i.e. overwriting the old file instead if deleting it since the system wont let you?
I don't think so. Apparrently permission requierments aren't as easy to aquire as I thought. To remove this files is gonna be a PITA and also I don't think we have aquire 100% root. And that's our main problem.
Sent from my SPH-D700 using XDA App
Through adb?
Sent from my SPH-D700 using XDA App
Doesn't work. Says we don't have sufficient privilages. And that is a read-only file. I've tried every method I know and nothing seems to be working.
herbthehammer said:
Through adb?
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Sent from my SPH-D700 using XDA App
root explorer...did you try mounting the /system folder in root explorer with r/w
bubby323 said:
root explorer...did you try mounting the /system folder in root explorer with r/w
Click to expand...
Click to collapse
When I enter the System Folder, root explorer automatically enters RW.
Not sure the issue but this seems to not be working for me.
Root explorer will delete the file but it comes back on reboot.
Root explorer not currently working w epic. Its not mounting properly.
Sent from my PC36100 using XDA App
same issue here root explorer is already showing R/W and sound and animation comes back on boot
has anyone tried to replace this file with a GIF or ZIP image file?
I want the Bootani.qmg from the unlocked Galaxy S
STEP-BY-STEP instruction
Fixter said:
Well guys I've been tweaking with this a lot and I've finally got it working. Here are the steps to do so:
First of all you must be ROOTED!
-Open Root Explorer and Mount R/W
-Go to System/Media
-Delete Bootani.qmg
-Reboot (You will hear the sound but will not be able to see the bootlogo. )
-Go to Root Explorer
-Go to System/ etc
-Delete "Power On"
*Big thanks for Austin420 for the help on removing the sound.
-Next Step (Flashing a Bootanimation.zip)
Click to expand...
Click to collapse
These instructions were kind of vague. Actually, VERY vague, haha. So here are the steps that I did to make it work:
(I'm assuming you have ADB and know how to use it, and you're in your operating system's terminal or DOS window)
1. Make sure you're connected.
Code:
adb devices
2. Connect to your Epic through SHELL.
Code:
adb shell
3. Connect as root.
Code:
su root
4. Remount /system with read/write ability.
Code:
remount rw
6. Go to /system/media folder.
Code:
cd /system/media
7. Change the security settings of the video file so that you can rename it or delete it (I renamed it). This video file is the boot up video (Sprint + Galaxy S).
Code:
chmod 777 bootani.qmg
8. Rename or delete bootani.qmg
To rename, type:
Code:
mv bootani.qmg bootani.qmg.bak
to delete, type:
Code:
rm bootani.qmg
9. Now to do the sound. go to /system/etc directory.
Code:
cd /system/etc
10. Change the security settings of the audio file.
Code:
chmod 777 PowerOn.wav
11. Rename or delete PowerOn.wav.
To rename, type:
Code:
mv PowerOn.wav PowerOn.wav.bak
to delete, type:
Code:
rm PowerOn.wav
12. Exit SU mode.
Code:
exit
13. Exit ADB.
Code:
exit
Now reboot your phone, and the video that plays will be gone!
I HAVE CONFIRMED that this does NOT make your device boot faster! Side by side with another Epic 4G, on boot, He has the nice Sprint + Galaxy S video, and mine just stays BLACK and both login screens show up exactly at the same time.
BOOOOOOOOOOOOOO
Thanks QuietFreak, your method did work, although on my Epic it took down the Galaxy S animation too, which seems strage as there's that SamsungBootLogo.qmg or whatever. Maybe the first one calls the second or something. Either way, cheers.
Maybe it's one long boot animation?
Here's what I did:
I wanted to silence the boot sound before I flashed a ROM, so...
1. Open ROM with 7zip (DON'T EXTRACT IT!)
2. rename /system/etc/PowerOn.wav to PowerOn.wav.bak
3. close 7zip and transfer zip to your SD card.
4. Flash and have fun! No sound, even on the first boot.
Perfect! Now where is the power off sound at?
Edit: found it.
Use root manager to mount as rw then use root explorer then mount that as rw then delete bootani.qmg and playlogo and power.wav this will remove sprint and samsung galaxy boot screens and boot sound. but i heard that the root method uses the boot sequence to start the script so i dont know if it is wise to remove the boot with root or if it starts even before the sprint screen.
Im trying to push a file over using the adb and Im getting a read only file system error. I check to see if I have SU permission and I do. Googling it but its getting me no where. Heres a screenshot to show you what I mean. Any ideas? I have an updated MMS.apk, but I cant get it pushed.
Idk if this would help, but have you tried root explorer or es file explorer to change system from read only to write?? Again, not sure if that would help, I am still, and always will be, a noob .........
ahhhhh...........gone todash..............
1. Use Root Explorer or adb shell to check and/or modify your (root)/default.prop to say:
Code:
ro.secure=0
2. Run the command:
Code:
adb remount
3. Push your app again.
suksit said:
1. Use Root Explorer or adb shell to check and/or modify your (root)/default.prop to say:
Code:
ro.secure=0
2. Run the command:
Code:
adb remount
3. Push your app again.
Click to expand...
Click to collapse
Very strange. I have root access but the ro.secure=1, I changed it to ro.secure=0, I wont have time to check it again until I get home, but I'm sure that was the problem. Thanks.
suksit said:
1. Use Root Explorer or adb shell to check and/or modify your (root)/default.prop to say:
Code:
ro.secure=0
2. Run the command:
Code:
adb remount
3. Push your app again.
Click to expand...
Click to collapse
I think this will not work b/c the default.prop file gets regenerated every boot. Is this correct?
skola28 said:
I think this will not work b/c the default.prop file gets regenerated every boot. Is this correct?
Click to expand...
Click to collapse
It will work until the next boot
Sent from my Nexus S using XDA App
Can't seem to get it to save after i restart the emulator.
Heres my command on cmd:
adb remount
adb push build.prop /system/
adb reboot (note it gets frozen so i just close it and restart in avd manager)
Any help guys?
bump
kaswar said:
bump
Click to expand...
Click to collapse
Why can't you manually edit it? Its fairly easy. Use root explorer or is file manager to mount system and you can edit all you want.
Sent from Mount Olympus via Hermes
I use ES File Explorer. Check "mount file system as writable" in settings and you're good to go!
Thanks for the resposnes but I've already tried all that, after mounting as R/W and editing the file, it doesn't stay that way. It always reverts back to default
hey!
I try to backup my backup. So I want to copy my nandroid-files from internal-SD to my computer. everything is working fine, but the two big files from data (810MB) and system (1200MB) cant be copied. If I try it with normal USB-MTP windows just ignores my copy-attempt. With adb pull I get an error:
adb pull sdcard/TWRP TWRP
results in copying everything instead of system and data: "failed to copy FROM to DEST: Permission denied"
any ideas?
I'm using JMZ-kernel, dev-unlock, root.
forgot to say: Also no access via Airdroid and ES Explorer/Root Explorer. I tried to copy those files somewhere on the SD-card, also tried to put them in a zip file.
The backup is in a special folder with protection, so you need to set the correct rights to copy the files, I think.
You may use these commands in Adb console:
adb shell
su
chmod -R 777 data/media/0/TWRP/
exit
After this it is possible to copy the files
Sent from my HTC One mini using xda app-developers app
THANKS!!!