[Q] Replacing build.prop? - HD2 Android Q&A, Help & Troubleshooting and Genera

hi!
in order to test something, i need to replace the build.prop in root/system with a modified one. but trying to delete this file with astro manager displays an error message, and just copying the modified build.prop over the old one doesn't work too (nothing happens).
so my question is: how do you replace such a file?
thanks in advance for your help

are you serious!?!?!?
If the build.prop is located on the Android folder IT HAS TO BE A SYSTEM FILE !!!
if you mod the system files you could break android or the system just won't let you do it, you will need R and W privileges to do that.
edit the system files from your PC or just boot up in to windows mobile.
use some common scene next time.
hope it helps!
Sent from my HTC HD2 using XDA App

Do you use a cyanogen build?

yes and there is already a cyanogen rom posted with the proper build.prop fixed, so you won't have to edit anything, just search for it.
Sent from my HTC HD2 using XDA App

mmmh actually cyanogen made things easy to replace a system file, just copy your file into sdcard/android/root/system and reboot.

thanks for your help / posts. but unfortunately they're not helpful.
yes, i am serious! and yes, of course it's a system file. i know as well that modification might brick android.
there are reasons for modifying this file. some people seem to be able to, e.g. for chaning screen point density or modify the data passthrough.
so, please tell me, how can i edit/modify a system file from pc or windows mobile when its within the data.img-file?
thanks for any tips / hints on this.

use root explorer

Sichroteph said:
mmmh actually cyanogen made things easy to replace a system file, just copy your file into sdcard/android/root/system and reboot.
Click to expand...
Click to collapse
Thank you VERY much for your help - I finally got it to work by listening your instructions. It is simply different if you have HD2 and plus CM mod. That figures why it was going back all the time to 180 instead of changing it - because it runs from sd card and that's where it needs to be replaced as well ...

Droid Explorer

Related

Is it possible to move/install any .apk to /system/app

sorry for the double post
Curious..........when we install .apks do they alreadly know where to install its self. some apks i can completely move to the /system/app/ and others go straight to /data/app where most apks go and cannot be moved without FCing
IS there a way to force all data that i want to system/app/
just wanted to know if this is possible...would be sweet
TIA
As far as I know if you install them manually you can install them wherever you want. System or data.
While rom building I've put non-standard apps into the system/app folder with no problem.
If you put them in the system/app folder you might need to make sure the permissions are set right.
bp328i said:
If you put them in the system/app folder you might need to make sure the permissions are set right.
Click to expand...
Click to collapse
Well here is my situation.........
i want to use the HTC_IME_lo.apk mod found here http://forum.xda-developers.com/showthread.php?t=624416
then I would like to Remove the stock HTC_IME.apk im sure everyone does this...
then i cook
bake and
flash but it doesnt install
how do i edit the permissions or maybe there is another solution ???????
TIA fellow chefs
DS36 said:
Well here is my situation.........
i want to use the HTC_IME_lo.apk mod found here http://forum.xda-developers.com/showthread.php?t=624416
then I would like to Remove the stock HTC_IME.apk im sure everyone does this...
then i cook
bake and
flash but it doesnt install
how do i edit the permissions or maybe there is another solution ???????
TIA fellow chefs
Click to expand...
Click to collapse
I'm probably out of my league here, but I would guess that you should be able to add in the new keyboard (to the SYSTEM folder), select the new keyboard as your default keyboard (using an SMS app or something), then once it's selected you're good to go. You may be able to even delete the old one at that point without any errors?
However, you mentioned cooking and baking so this is what's over my head. Sorry if this doesn't help you.
Also, like that other dude said... "other" apps like the ones installed from the Market usually go in DATA. I noticed that when some ROMs have Maps installed in SYSTEM and you go to update it, it will install the newer version in DATA. I remember seeing in the logcat during boot that the phone detects both versions and just ignores the older version in the SYSTEM folder.
DS36 said:
Well here is my situation.........
i want to use the HTC_IME_lo.apk mod found here http://forum.xda-developers.com/showthread.php?t=624416
then I would like to Remove the stock HTC_IME.apk im sure everyone does this...
then i cook
bake and
flash but it doesnt install
how do i edit the permissions or maybe there is another solution ???????
TIA fellow chefs
Click to expand...
Click to collapse
I have used that exact keyboard on ROMs in the past. I did a straight install from the SD card using a file explorer, Astro to be exact.
Maybe I'm missing what you are trying to accomplish, but that's how I installed it. I'm not up on the cooking and baking, but maybe it's different if you are trying to add it to the ROM prior to flashing?
To remove the standard HTC_IME.apk, I would install the new one first then go into adb shell and remove it that route.
The only way I know how to change permissions is by using the Root Explorer app. If you have that you mount r/w and navigate to the apk you wanna change. Then you long press it and go to permissions. It looks like all the ones in /system/app are "User: Read, Write; Group: Read; Others: Read". Hope this helped!
zwade01 said:
The only way I know how to change permissions is by using the Root Explorer app. If you have that you mount r/w and navigate to the apk you wanna change. Then you long press it and go to permissions. It looks like all the ones in /system/app are "User: Read, Write; Group: Read; Others: Read". Hope this helped!
Click to expand...
Click to collapse
Great info guys but actually im trying to build a Rom from scratch in the Rom Kitchen.......
when i flash the Rom to my Phone i want the keyboard i want and not the stock one built in at all....i actually remove it while in the kitchen....
so basically if you were to flash this rom to you phone the stock is gone and the custom will be there.....
P.S. I already know about removing the htc ime_mod via ADB after i flash but i want it gone before
TIA everyone great info
ANYBODY ??????

Using EVO keyboard with arrows on NON-EVO builds

Im sorry if this is the wrong section for this, I figured this would be the best spot.
The reason im posting this is because a lot of people were asking how to use the EVO keyboard (with arrows) on NON-Evo sense builds. First off, as far as I have tried, the build does have to be a sense build. I have tested this on just about every sense build for the HD2.
I've attached the renamed apk that ive been using. Hopefully it will work since I sent it straight from my phone. If you use it, skip #1.
1.) Rename the HTC_IME.apk to newHTC_IME.apk
2.)Go into the folder where the newHTC_IME.apk is (if you download it from your phone then it will be in the "download" folder) and using "Root Explorer" or another root file explorer long press the apk and select copy.
3.)Go to your system>>app folder and paste the newHTC_IME.apk. Since its not the same name as the original it will not ask you if you want to over ride the original. But it will still be there if you choose you do not want the EVO keyboard later on.
4.) You WILL have to reboot for the changes to take affect, if you do not you will not have a keyboard till you do reboot.
I hope I didnt make this complicated lol, and yes i know....some of you know how to do this. I did it for the ones who did not.
Works perfectly with desire sense mdeejay build. Thanks.
Sent from my HTC HD2 using XDA App
that's really great! sometimes it's pretty hard to navigate in text and this makes it a lot easier. thank you!
Same great result here... Thnx man...
Thank You
U don't know how long ive been searching for this and all the time it was right under my nose!
Im copying the newHTC_IME.apk to, "sd/android/AndroidApps/," then rebooting but nothing!
Ive tried clicking on newHTC_IME.apk in this folder it tries to install but then says, "application not installed".
Please Help.
did not work for me...got a process error. used android commander to push .apk to systems folder
Worked fine for me, really helpfull, no doubt Android is getting better and better for the HD2, im not using winmo since day one on Android
AbuGWM5 said:
U don't know how long ive been searching for this and all the time it was right under my nose!
Im copying the newHTC_IME.apk to, "sd/android/AndroidApps/," then rebooting but nothing!
Ive tried clicking on newHTC_IME.apk in this folder it tries to install but then says, "application not installed".
Please Help.
Click to expand...
Click to collapse
the method you're doing won't work.. follow the OP's instruction on how to do it, or install droid explorer and then copy/paste the newHTC_IME.apk file to system/app folder.
BE VERY WARY ABOUT THIS!!!
I'm going to have to start from scratch as doing this has lost my keyboard, permanently.
I keep getting a "Sorry" message saying that "The application Touch Input has stopped unexpectedly" and my keyboard is unavailable.
This is after installing this new keyboard, as well as after restoring the original one. It's basically just screwed my keyboard so I'm going to have to rebuild my instance of Android from scratch.
AbuGWM5 said:
Im copying the newHTC_IME.apk to, "sd/android/AndroidApps/," then rebooting but nothing!
Please Help.
Click to expand...
Click to collapse
You've got to copy it in sd/Android/root/system/app>
and reboot!
this should work for you.
hellraiser-rh said:
You've got to copy it in sd/Android/root/system/app>
and reboot!
this should work for you.
Click to expand...
Click to collapse
mine doesnt even have app folder in my root folder can i just make a folder in the root and do it like that? and after i put it in the folder where do i go to select the evo keyboard sorry for acting like a noob lol
Yes thanks a lot but I was very afraid because I had to erase and save elsewhere the old file . I could not copy the new file in root system app as it was saying that i had not enough place in the rom.
Thanks for the apps . It work great !
Sent from my HTC HD2 using XDA App
has any one had a success in getting this keyboard working on non sense builds? Eg cyanogens?
abrise said:
Yes thanks a lot but I was very afraid because I had to erase and save elsewhere the old file . I could not copy the new file in root system app as it was saying that i had not enough place in the rom.
Click to expand...
Click to collapse
use supermanager to gain the root access
leo-HD2 said:
use supermanager to gain the root access
Click to expand...
Click to collapse
My friends, i'm not able to write the file newHTC_IME.apk into /system/app/.
I've installed "Root Explorer" and I also cannot, it tells me that there's no space to copy the file... even i use mount r/w
i'v also tried to access superuser but i dont know how it works... superuser2.3.6 app screen shows me there's no apps, log shows me there's no log, and i don't know how can i give root privilegies to "root explorer"
thnx!
SOLVED: I was able doing the same, deleting HTC_IME.pak and copying newHTC_IME.pak. Thnx!!!
Hi motoman234,
Do you happen to have a copy of the cm6 themed keyboard used in shu8i's first batch of builds?
Thank you
Sent from my HTC HD2 using XDA App
so much thanks
Thanks a lot
Had some problems figuring out the permissions, but workt great with Root Explorer.
thanks for the app. Really enjoying the arrows

[GUIDE] Changing your bootanimation and delete those ugly sound

*EDITED*
This is very easy now after having the permanent ROOT -- thanks to PAUL for wonderful Visionary+, Evostance for brilliant guide, and those geniuses who make this happened (you know who )
First you need to get permanent root. Here is the link to the guide:
http://forum.xda-developers.com/showthread.php?t=834427
(If you read till page 10, you will definitely know how to do it and what to expect).
Second, go buy ROOT EXPLORER from the market. (Best explorer for rooted phone period).
Go to /system/customize/resource
Make sure you enable the r/w (read write option), other wise you cant do modification.
You will see both the audio and bootanimation there.
If you hated that sound (just like me), just delete the audio.mp3. If you want to change the bootanimation, just copy your bootnimation.zip to overwrite the default one.
That's all....reboot the phone....and you will have your peace...and enjoy the new bootanimation.
kuailan said:
I am just wondering is the good old way of adb pushing the bootanimation.zip work for HD? I do noticed the stock animation are located in /customize/resource folder in the system ROM. Has anyone try changing the bootanimation? Just hated those sound in bootup (prefer no sound).
Click to expand...
Click to collapse
firstly i'd like to state, this is development and not Q & A not being mean just stating.
secondly if you had read the ref guide which is pinned to the top you might have got your answer.
finally your answer...
NO
you can not write on the nand with the temp root. no can you adb push.
permanent root is on its way and i believe the nand will be unlocked on that so you may have write permissions. once this has been obtained then you can push a custom boot animation if required.
El_Nino9 said:
firstly i'd like to state, this is development and not Q & A not being mean just stating.
secondly if you had read the ref guide which is pinned to the top you might have got your answer.
finally your answer...
NO
you can not write on the nand with the temp root. no can you adb push.
permanent root is on its way and i believe the nand will be unlocked on that so you may have write permissions. once this has been obtained then you can push a custom boot animation if required.
Click to expand...
Click to collapse
First of all thank you for the answer (actually I also thought so, and your answer just confirmed that)
And as for posting in develeopment, I DO believe that changing bootanimation is part of Android development (anything that involved creating/modifying and changing of the default system files). Just like recovery or flashing tools, people also develop bootanimation changer application to make life easier for others.
Also I did some search, and this is the first post for any bootanimation for Desire HD. I hope once "root" has been accomplished. People can just use this thread to put the guide to changing those animation.
Therefore I do read and follow the guidelines.
-----------------edited---------------------
kuailan said:
First of all thank you for the answer (actually I also thought so, and your answer just confirmed that)
And as for posting in develeopment, I DO believe that changing bootanimation is part of Android development (anything that involved creating/modifying and changing of the default system files). Just like recovery or flashing tools, people also develop bootanimation changer application to make life easier for others.
Also I did some search, and this is the first post for any bootanimation for Desire HD. I hope once "root" has been accomplished. People can just use this thread to put the guide to changing those animation.
Therefore I do read and follow the guidelines.
Click to expand...
Click to collapse
well glad you're a happy bunny
but several things,it isn't development as you were asking a question at time of writing.
secondly themes section deals with bootanimation and things like that. sound can be disabled by just renaming the file i.e. add a .bak after mp3 just for back up purpose or you can delete the file entirely up to the user.
with customs roms, they may be in a different location. i do believe that AOSP builds are located in media where as in sense builds /customize/resource
it can change depending on the developers choice really. thats why when a person releases a theme, it states what rom the user must be using to avoid problems.
anyways there's no need to carry on with that as you have got what you wanted, full root so you can do w.e. you like know
my personal favourite boot animation was the original hero one, but since that doesnt work anymore/havent found 1 that has been converted to work with the new roms, i like "making fro-yo" it just draws a pic of a frozen yoghert and colours it in.
I purchased Bootanimation changer by Andres Schomis a while back when I was still using the original Desire. There are quite a few nice and interesting ones there. My fav so far is the pissing droid (to piss off some of my iphone mate ) and the alienware. I am sure they are also available in this forum (just do a search). There is no option for desire HD yet, but seem like the one that work for Desire also work just fine in HD. To make the app work, you will need to set the custom path. I highly recommend that app for bootanimation.
Somehow I feel this thread should be in the Themes/Apps subforum instead Since it basically has to do with customization. Anyway, thanks a lot for the instructions.
phunkycow said:
Somehow I feel this thread should be in the Themes/Apps subforum instead Since it basically has to do with customization. Anyway, thanks a lot for the instructions.
Click to expand...
Click to collapse
Agreed with you there mate
I do like the instructions, always helpful for those not browsing the development threads (which do take up a lot of reading time )
Ok can some one tell me what i'm i doing wrong?? it's been more then 6 hours since I started working on this.
Here is my anamtion
Download me please
I cant figure out whats wrong with it....
I even saved it as store with winrar even tried copying the files inside the HTC stock zip and still same problem
can someone help me please?
Bump any one can help?
Just delete the bootanimation.zip inside the /system/customize/resource
Then just copy your animation to the same path /system/customize/resource.
Make sure your animation is also named bootanimation.zip
For some reason I'm not able to enable the r/w function in the resource folder. The only place I can do it is in the root directory (with system, sdcard etc). Any idea of why this is happening? (my phone is perma-rooted and I have granted Super user permissions).
kuailan said:
Just delete the bootanimation.zip inside the /system/customize/resource
Then just copy your animation to the same path /system/customize/resource.
Make sure your animation is also named bootanimation.zip
Click to expand...
Click to collapse
I did my animation that made with Photoshop dont work any idea why? any other animation works fine
Sylpher said:
For some reason I'm not able to enable the r/w function in the resource folder. The only place I can do it is in the root directory (with system, sdcard etc). Any idea of why this is happening? (my phone is perma-rooted and I have granted Super user permissions).
Click to expand...
Click to collapse
This drove me mad for a while too.
I uninstalled root explorer then re-installed and I could the select r/w for all folders.
hi
do i need s-off for this or is just permanent root enough??
thnx
anyone got any good animation zips and sounds?
combat goofwing said:
anyone got any good animation zips and sounds?
Click to expand...
Click to collapse
yeah, thats what i wanna know too
Does anyone know what would happen if you removed the boot animation entirely? Will the phone still boot ok?
I'm happy not to have one at all if it speeds things up
Guys
first I didn't find the bootanimation in system ressource i found it in data/local/
along with the android-audio.mp3
second I tried to change these file it worked but the animation doesn't show up and I have just a small android when I boot up
What can I do ?
PS : my file may be too big 27 megabite for the bootanimation.zip
I tried already, but why whenever I reboot, the bootanimation.zip would revert to the original one?

[Q] System files modification

Hi all actually i'm running DFT NAND ROM and i'm just wondering how can i modify the system files as they are read only (for istance i'd like to edit build.prop or gps.conf).
Sorry for the noob question
Thanks all
NO GPS
I'm not able to get GPS to Work no matter what Nand Rom I Use, I edited my GPS.conf with the us.pool.ntp.org still not locking on SATs
thesniffer said:
Hi all actually i'm running DFT NAND ROM and i'm just wondering how can i modify the system files as they are read only (for istance i'd like to edit build.prop or gps.conf).
Sorry for the noob question
Thanks all
Click to expand...
Click to collapse
You need to get root explorer. Google it for the apk. Then set your permissions to read/write in the app. Then you can easily modify those files.
Ok - other question, is there a way to modify or replace the file
/proc/calibration
I can replace the same file in two other locations (/system/etc and /etc) but not the one mentioned above. I tried with root explorer and adb - no success.
If not, i'll live with the generic mac-address
EDIT: i also tried a modified batch from mdj (I updated my kernel today with this one).

[Q] Fix DNS Facebook, we need an developer to help

Hi everybody.
I'm come from Vietnam, where the Facebook is now banned.
We need someone to write a program to update the host file in /system/etc/ by just a touch.
Please copy the IP from http://armabloggin.com/2009/07/facebook-dns-block-fix/
to the host file (like AdFree program).
We cannot edit this file by Astro because it read-only. We don't know how to S-OFF our Android.
Thank you so much.
I thought that AdFree is for rooted phones only.
Here's the host file
I've modified the host file for you but I don't think you can get much further until you root your phone, giving yourself access to system/etc/ where the "hosts" file is for replacement.
Remove the .txt extension and replace it with your hosts file in /system/etc/ after rooting.
If your phone cannot be rooted at http://unrevoked.com/ have a look on the sub forum here for your phone.
As previously stated, changing any system file is impossible without root.
Why can't you use a one-click-rooting program? There are plenty around that work for quite a lot of phones. If that doesn't work there will be device specific guides available, unless it's a phone that can't be rooted (is there any?).
Sorry, I've already root the HTC Desire by Unrevoked.com and have RA-recovery.
I mean that I don't have S-OFF in my device.
I also used Astro to copy the host file to SD Card and edited it. But I cannot replace the host file to system/etc/.
So I need you help write a mini-soft like AdFree.
Have you tried using adb to push the hosts file (in recovery) or root explorer? No need to S-OFF.
I think a soft will easy to use for everyone, don't need experiment in adb, root or s-off.
Anyone developer can make it easy?
Sent from my HTC Desire using Tapatalk
I think the problem is that you didn't mounted the system partition. Try ES FileExplorer, it can work as root and can mount partitions
Sent from my GT-I5700 using XDA Premium App
Hi,I am vietnamese too,if you can't root your phone you can follow the full instruction on tinhte.vn forum.
I whipped this up for you.
It doesn't look great but it does the job. Put the 'hosts' file on your sdcard (not in any folder) that you want to move and rename it 'hosts.txt'. Then run the app and press the button. You'll probably need to reboot afterwards.
Enjoy.
This doesn't back up the hosts file on your phone so you may want to do that manually.
[YOU NEED ROOT ACCESS]
Thank you so much.
Meltus said:
I whipped this up for you.
It doesn't look great but it does the job. Put the 'hosts' file on your sdcard (not in any folder) that you want to move and rename it 'hosts.txt'. Then run the app and press the button. You'll probably need to reboot afterwards.
Enjoy.
This doesn't back up the hosts file on your phone so you may want to do that manually.
[YOU NEED ROOT ACCESS]
Click to expand...
Click to collapse
Dear Meltus,
Firstly, I thank you very much to write this apk for me. You're so kind.
But it's maybe something wrong!
I install your apk, put the hosts.txt in SDCard (in the root, not in any folder).
Then run the app and press the button, reboot afterwards.
I used Astro to view the hosts file. But this file is error. It has 0 byte and can be read.
Please fix it. Thank you so much, again.
P/S: Maybe you make an options to chose folder of hosts file.
Further, you can develop this apk to change any file of system by chose the source and destiny paths.

Categories

Resources