Can't Change Build.prop on Emulator?? - General Questions and Answers

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

Related

adfree android

now that we have an easy way to push update.zip files I was wondering if there was any way to push the host file that adfree android downloads to the sdcard. I know that it doesn't have write access to the system partition when booted but in recovery we do right?
So it should be as simple as creating an update.zip that overwrites the old host right?
I'm going to try to get this working
EDIT: Here's how to get this working
1. Search for Adfree Android on the market
2. Install and run
3. allow it to download and install new hosts file, it will copy it to your sdcard and try to replace /system/etc/hosts but fail (it should reboot the phone shortly)
4. Power off the phone and hold Volume Down and power.
5. Use volume down to select recovery
6. In clockwork recovery volume down to "partitions menu" and hit the track pad to select
7. Select "mount /system" and "mount /sdcard" "mount /data"
8. Plug in your usb cord and open a command line on your pc
9. enter adb shell and type the following commands
cp /sdcard/hosts /data/data/hosts
rm /system/etc/hosts
ln -s /data/data/hosts /system/etc/hosts
10. Reboot your phone and enjoy adfree android.
Thanks to all for help in getting this running.
Just adb push your modified host file to /system/etc/hosts. No need for update.zip
ive already done this doesnt work still have tons of adds
word, I figured it out
junjlo said:
ive already done this doesnt work still have tons of adds
Click to expand...
Click to collapse
what I did was install adfree android, wait for it download and error (the phone will reboot itself) put it into recovery and run the following command from adb shell
cp /sdcard/hosts /system/etc
All my ads are gone
You mind sharing the host file? I'd like to do the same. Now that I can connect as root with 'adb shell' then 'su' after the new Unrevoked^2 root. I'd like to start tweaking with things.
supagene said:
You mind sharing the host file? I'd like to do the same. Now that I can connect as root with 'adb shell' then 'su' after the new Unrevoked^2 root. I'd like to start tweaking with things.
Click to expand...
Click to collapse
just download and install adfree android, it copies the host file to your sdcard.
n0-0ne said:
what I did was install adfree android, wait for it download and error (the phone will reboot itself) put it into recovery and run the following command from adb shell
cp /sdcard/hosts /system/etc
All my ads are gone
Click to expand...
Click to collapse
i may have an older hosts file than but i just used adb push hosts /system/ect/hosts
tryed cp but get a box with busybox info
n0-0ne said:
just download and install adfree android, it copies the host file to your sdcard.
Click to expand...
Click to collapse
I intalled the app and when I hit download and intall I get java/io.FileNotFoundException:/sdcard/hosts
My guess is that it's not downloading.
Tried it on both WiFi and 3G
supagene said:
I intalled the app and when I hit download and intall I get java/io.FileNotFoundException:/sdcard/hosts
My guess is that it's not downloading.
Tried it on both WiFi and 3G
Click to expand...
Click to collapse
ok well here's what was downloaded to my card
https://www.yousendit.com/transfer.php?action=batch_download&batch_id=K0JRUGhYT2JQb0t4dnc9PQ
Thats good for 100 downloads.
Found this. forum.xda-developers.com/showthread.php?t=664532 do you guys know if the zip file with hosts good enough since I can't seem to get the AdFree app to work correctly? Of is there an apk somewhere for this app and I shouldn't have gotten the one in the app store?
host installed still doesnt block ever ad using tikl and fring to test
supagene said:
Found this. forum.xda-developers.com/showthread.php?t=664532 do you guys know if the zip file with hosts good enough since I can't seem to get the AdFree app to work correctly? Of is there an apk somewhere for this app and I shouldn't have gotten the one in the app store?
Click to expand...
Click to collapse
I used the one from the market, it does error but it should copy the hosts file to your SD card (and reboot your phone shortly thereafter).
What now?
Great...
cat /sdcard/hosts > /system/etc/hosts
write: No space left on device
junjlo said:
host installed still doesnt block ever ad using tikl and fring to test
Click to expand...
Click to collapse
I've tested both apps and no ads in either.
The one thing I did different that I didn't post was in recovery under partitions I mounted both system and sdcard. Try that and copy the file over.
Thanks!!
So I downloaded the hosts file, booted in recovery, mounted both /system and /sdcard and then 'adb shell' and 'su' and then 'cd /system/etc' and then 'cat /sdcard/hosts > hosts' and it seemed to have worked.
I go to fring and it displays 'Web page not available', not what I'd like to see but it's better than those retarded ads that I keep clicking on by accident.
can someone post step by step how to get adfree working I installed the one from the market and let it error and reboot then i entered into clockworkmod recovery now what? do i need to mount system and sd how do i enter into adb shell and change host file. thanks in advance for any help.
supagene said:
So I downloaded the hosts file, booted in recovery, mounted both /system and /sdcard and then 'adb shell' and 'su' and then 'cd /system/etc' and then 'cat /sdcard/hosts > hosts' and it seemed to have worked.
I go to fring and it displays 'Web page not available', not what I'd like to see but it's better than those retarded ads that I keep clicking on by accident.
Click to expand...
Click to collapse
Glad it worked out, not sure why your getting page not available, I just get a blank box at the top of my contacts list, other apps show the same as well, a blank box where the ad used to be.
j1000 said:
can someone post step by step how to get adfree working I installed the one from the market and let it error and reboot then i entered into clockworkmod recovery now what? do i need to mount system and sd how do i enter into adb shell and change host file. thanks in advance for any help.
Click to expand...
Click to collapse
Edited OP.
thanks for the quick response everything is good until step 8. I know i sound stupid but i learning fast you say enter adb shell. the way i think you do this is type
1. cd\
2. cd sdk
3. cd tools
4. adb shell
when i do this i get error device not found
can you help from there. thanks

how do you change folder permissions???

hi
how does one change folder permissions? i have read that you cam do it with the root explorer app but is there a way to do it on the pc using the sdk? i connected my phone to the pc and issued the adb shell command and then attempted to use the chmod command but got a read only file system message.
dsMA said:
hi
how does one change folder permissions? i have read that you cam do it with the root explorer app but is there a way to do it on the pc using the sdk? i connected my phone to the pc and issued the adb shell command and then attempted to use the chmod command but got a read only file system message.
Click to expand...
Click to collapse
1) If you have ADB setup on your computer, hook your phone into the computer and connect into it via ADB.
2) Once in, "chmod" the directory or file(s) you wish to change permissions for.
IF you don't have ADB:
1) Download a terminal
2) su - to root
3) Change your directory
4) "chmod" to whatever pemissions you want
it means that folder/file you're chmod'ing was mounted ro. you cant change anything if its mounted as ro. to check just enter "mount" and you can see what are mounted as rw, ro etc
yantz
I would also suggest changing it back when you're done. This helps prevent you from accidently overwriting or deleting something and have to reflash if you're rooted.

*How to get Remove Sprint BootLogo*

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.

[Q] Can't Overwrite in System/app

Hello, i have a Sensation with InsertCoin 5.3.0 and i would get the old keyboard, so badneewz writes:
baadnewz said:
download
DROBBOXLINK/HTC_IME.apk
push it to /system/app
reboot
enjoy
Click to expand...
Click to collapse
but when i but the HTC_IME.apk in the /system/app Folder with ES-File-Explorer, the Explorer say's Can't Overwrite the File, i try to Delete the old File but it doesn't work.
How can i fix it?
You have to mount it as RW before you can do that. If ES can't do that, then open a terminal and run:
Code:
mount -o remount,rw /dev/block/mmcblk0p22 /system
Where must mount it? on my pc ?
the Terminal in Windows said, der Command doesn't exist
Nooo, a terminal app on the phone, like this
Probably need to su before the command, thinking about it.
How can i put the app to the allowed apps ?
the Terminal say: mount: you must be root
but the app didn't send a request to SU...
As I said above, type su before the mount command.
Berkelgraf said:
Hello, i have a Sensation with InsertCoin 5.3.0 and i would get the old keyboard, so badneewz writes:
but when i but the HTC_IME.apk in the /system/app Folder with ES-File-Explorer, the Explorer say's Can't Overwrite the File, i try to Delete the old File but it doesn't work.
How can i fix it?
Click to expand...
Click to collapse
You can absolutely use ES file explorer to make system partition r/w
Go to ES -menu soft button-settings-root settings-check both "root explorer" and "mount file system" that will give you r/w for system
Njoy
sent from my blazing fast pyramid through sonic waves
Please delete
Sorry, my englisch ist not so good, but it works thanks very much

[Q] cant copy big files (via USB-MTP, ADB)

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!!!

Categories

Resources