[Q] Can anyone please post their Default Build.prop File - Verizon HTC Droid Incredible 4G LTE

as the title states i am wondering if anyone can post their default build.prop file, i kinda messed mine up while tweaking some of the settings

Here is one for the rooted stock rom by Hasoon. Just remove the .txt extension.

Related

How phone specific is services.jar?

I saw where someone had modified the services.jar file for Droid X that removed the Clock from Notification Bar. Is the services.jar file really specific for every phone? I was wondering if I could rename my present services.jar file and place this modified file on my phone to test to see if it worked. Or would doing this cause my phone not work at all to where I couldn't easily go back and replace the file with my previous one? I assume if things did turn bad I could go to download mode and redo stock ROM but thought I ask first to hear thoughts
Thanks

[Q] (Solved?) Change DEFAULT Homepage on Cooked Rom

Ok, got a bit of a problem here... I need to change the default homepage of the browser in a Rom I'm cooking... that means the homepage you get after a full factory reset, not that you set in the menu.... Please don't tell me how to set it in the browser menu....
A bit of background... I'm using a leaked Rom to build from. It was leaked from a Tracfone "LG-L95G" which is identical in every way to the LG-P999 aka T-Mobile G2X. Everything is working 100%. The only problem left from the "porting" is removing Tracfone as the default browser homepage.
This has turned out to be harder than I expected.
What I have done:
Browser.apk - the xml lists Google as the homepage. The word "tracfone" appears NOWHERE in the entire structure of the decompiled xml or values or even in the smali code.
SystemUI & framework-res - I've seen suggestions the homepage hides here. Can't find anything suggesting a setting to "tracfone"
flexdb - I really thought I had it kicked here. /system/etc/flex.db listed m.tracfone.com as the homepage for T-Mobile US. I changed all occurrences here to about:blank. I have also tried simply copying the flex.db from a P999 itself. Ie, removed ALL references to tracfone service and made it identical to a P999 in every way.
Ran grep -R tracfone * on the entire ROM.
Dug through tons of files by hand looking for any clue.
Unfortunately, even with all of that, do a wipe, open the browser, and you GET M.TRACFONE.COM again!
The word "tracfone" does not appear in build.prop, it does not appear in any init scripts, not even in the kernel scripts! Yet it comes back like Christine...
Does anyone have a clue where I could look next? Or failing that, even some way from an init.d script that I can overwrite the setting myself?
EDIT
Okay, I hate giving myself clues like this, but maybe this will help others (if I'm on the right track)...
Instead of doing a grep on the ROM from my PC, pre-install, I decided to actually hit up the RUNNING copy... so from adb into a Bash prompt on the phone itself, I ran a grep -r tracfone * and got the following result:
Code:
data/data/com.android.browser/databases/browser.db:Web page not availablehttp://m.tracfone.com/
data/data/com.android.browser/shared_prefs/com.android.browser_preferences.xml:<string name="homepage">http://m.tracfone.com</string>
data/data/com.lge.providers.flex/databases/flex.db:M77BRW_SETTINGDB_CURRENT_HOME_URL_Ihttp://m.tracfone.comhttp://m.tracfone.comI#
data/data/com.lge.providers.flex/databases/flex.db:=77BRW_SETTINGDB_HOME_URL_Ihttp://m.tracfone.comhttp://m.tracfone.como"
data/data/com.lge.providers.flex/databases/flex.db:=;;DATACOM_ACCOUNT_MMSC_0_Ihttp://mms.tracfone.comhttp://[email protected]
data/data/com.lge.providers.flex/databases/flex.db:;%%DATACOM_ACCOUNT_APN_0_Iwap.tracfonewap.tracfone:?
data/data/com.lge.providers.flex/databases/flex.db:M77BRW_SETTINGDB_CURRENT_HOME_URL_Ihttp://m.tracfone.comhttp://m.tracfone.comI
data/data/com.lge.providers.flex/databases/flex.db:=77BRW_SETTINGDB_HOME_URL_Ihttp://m.tracfone.comhttp://m.tracfone.como
data/data/com.lge.providers.flex/databases/flex.db:=;;DATACOM_ACCOUNT_MMSC_0_Ihttp://mms.tracfone.comhttp://mms.tracfone.com6%
data/data/com.lge.providers.flex/databases/flex.db:;%%DATACOM_ACCOUNT_APN_0_Iwap.tracfonewap.tracfone:$
Which is very odd.... considering that is NOT the content of the actual flex.db that was flashed to the phone. That leads to 1 question: Why isn't the phone respecting the flex.db? I've noticed other edits to the file (such as bookmarks) do not apply either. So it is being ignored at somepoint. FlexProvider.apk maybe? Or is something in the ROM still identifying the phone to T-Mobile as an MVNO device and they're pushing out an OTA flex update?
EDIT 2:
AHA! There's a flex.db *INSIDE* the FlexProvider.apk file! So it *IS* ignoring the one placed in /system/etc/flex/! Editing this should solve it - but I'm going to test test test to make sure.
lotherius said:
Ok, got a bit of a problem here... I need to change the default homepage of the browser in a Rom I'm cooking... that means the homepage you get after a full factory reset, not that you set in the menu.... Please don't tell me how to set it in the browser menu....
Click to expand...
Click to collapse
firstly to say interesting question!!
but I think it it not possible to change programmatically default homepage
this is a system app so will be signed by your provider let us suppose you find homepage location in code (could by result of a script parsing) by modifying source of that apk package how to solve signature problem ?!
if in .db file ...this file is created after flashing as a result of script parsing
not framework-res.apk better browser-res.apk if you have one
ruscan.calin said:
firstly to say interesting question!!
but I think it it not possible to change programmatically default homepage
this is a system app so will be signed by your provider let us suppose you find homepage location in code (could by result of a script parsing) by modifying source of that apk package how to solve signature problem ?!
if in .db file ...this file is created after flashing as a result of script parsing
not framework-res.apk better browser-res.apk if you have one
Click to expand...
Click to collapse
man use a ... editor...I can show you for fifty bucks
I was just curious about this tricky change (from your post) so thinking about Google motto don't be bad finally I have found but should recognize that I am bad at this time
here is solution
Actually, you can use an sqlite editor to change the values in the flex.db file... the problem I was having in the OP is that on an LG phone (maybe others?) the flex.db file is ignored and the one inside FlexProvider is used instead, so you have to edit both. You can add new locales the same way. No need to use a hex editor, as that would be much more difficult.
lotherius said:
Actually, you can use an sqlite editor to change the values in the flex.db file... the problem I was having in the OP is that on an LG phone (maybe others?) the flex.db file is ignored and the one inside FlexProvider is used instead, so you have to edit both. You can add new locales the same way. No need to use a hex editor, as that would be much more difficult.
Click to expand...
Click to collapse
maybe you are right regarding your phone... but also I prepare a custom rom for Alcatel ot-908 also to change default homepage was a problem for me but I did and simply works !

Can't get rom to read custom apns-conf.xml [Solved]

Hi I'm running a Roggers rom for the LG P925 and I'm trying to use a custom apns-conf.xml file but I can't seem to get the rom to read these values.
By default the APNs that are displayed are the Roggers APN.
These APN values are not in the default apns-conf.xml but seem to be set via a apk called Flexprovider.apk. If I replace the default apns-conf.xml with a custom apns-conf.xml and select “reset to default” it always reloads the Roggers APN list.
If I remove the Flexprovider.apk and reset to default then the APN list is blank. Putting the apk back gives the APN list again.
I have also replaced the Flexprovider and apns-conf.xml with ones from a similar rom that gives me the APNs I’m after but still the APN stay blank.
I don’t know much about this (only want I have research on the web) but it look almost to me that there is a switch that is telling this rom not to read the apns-conf.xml file and use the Flexprovider files instead.
Has anyone else seen this before?
After a bit more digging and playing I found the answer, I needed to copy another directory over.
so to get this to work I needed to
Replace the flexprovider in \system\apps
Replace Flex folder in \system\etc
Replace apns-conf.xml in \system\etc
attached in the replacement app, folder and config if anyone else needs it
johnw230873 said:
After a bit more digging and playing I found the answer, I needed to copy another directory over.
so to get this to work I needed to
Replace the flexprovider in \system\apps
Replace Flex folder in \system\etc
Replace apns-conf.xml in \system\etc
attached in the replacement app, folder and config if anyone else needs it
Click to expand...
Click to collapse
A little bit late here....
how did you find out that the apns were set from the flexprovider.apk?
xiltepin said:
A little bit late here....
how did you find out that the apns were set from the flexprovider.apk?
Click to expand...
Click to collapse
he is wrong
u do not need any apk's and ****
just copy/replace the apns-conf.xml and then go to APN and from menu choose : "restore to default"
it will force load your new xml.reboot the phone

[REQUEST]Transformer Prime stock build.prop

Hi I changed the stock build prop and want to change it back to before, so I was wondering if someone can post the stock build.prop, thanks
lolololten
Here you go (had to zip it, wouldn't accept .prop file)

[REQ] TouchWiz30Launcher

Hi guys, I'm new to this forum and if its possible I'm gonna ask for help here.
I'm losing hope with this, I followed all the guides regarding in modifying touchwiz however whenever I edit an xml file even just a letter and recompile it again, it won't work. I set the permissions to rwx-rxx-rxx in the /system/app but still its not listed as an installed application in all application lists. TB shows it as an uninstalled app/orphan. I already managed to deodexed my touchwiz so I don't know the problem anymore. What I'm trying mod with my touchwiz is as follows:
*5 icons dock (original icons) /no dock background or some line above dock just like original
*5 rows homescreen
*application_name=Samsung home to Home
*transparent menu_background
*fly in effect
*launcher:defaultScreenCount = 1
*automatically sorting apps to alphabetical
*disable homescreen app labels
I downloaded an already modded touchwiz3 to set as my model for editing, its perfect however what I don't like in it is the line above the dockbar and whenever I set the homescreen number to only 1, the homescreen icons/widgets are scrolling. I uploaded the 3 files (original/downloaded/my modded), could someone check what I'm missing in my work? BTW, I'm on a stock S5300DXLF2.
I'll appreciate all the help in advance, thanks.
set permission to.rw-r--r--.
MANYGREEEEEEEETZ!!!
---------- Post added at 01:05 AM ---------- Previous post was at 12:59 AM ----------
edit.how did u named the apk?
MANYGREEEEEEEETZ!!!
Yes, I set the permissions to rw-r--r-- but still its not showing up as an installed application. I deodexed the original touchwiz using this guide http://forum.xda-developers.com/showthread.php?t=1600805 but still it won't let me edit a single line in an xml file. What could be the problem?
Regarding your question about how did I named the apk, are you talking about the filename.apk (TouchWiz30Launcher.apk)? I didn't change that in the /system/app directory.
try to sign the apk
I finally managed to make it work, I copied all the files I edited from the new compiled apk to the original apk and I pushed back the original apk. However the application name and the menu background transparency didn't change at all. Since I don't know where the values folder goes after recompiling an apk, I don't know where to copy it from the new apk to paste to the original apk.
DarkEyes23 said:
I finally managed to make it work, I copied all the files I edited from the new compiled apk to the original apk and I pushed back the original apk. However the application name and the menu background transparency didn't change at all. Since I don't know where the values folder goes after recompiling an apk, I don't know where to copy it from the new apk to paste to the original apk.
Click to expand...
Click to collapse
This is the problem of signing the app... use vts to compile, decompile and signing... I guess it will work...
Sent from......... I guess you know it...
I tried using VTS, but that didn't help either changing the application name. I'm having another problem adding rows to homescreen, I changed the longaxiscells to 5 but I'm getting FC.
how is it .. is it good ?
Any of this is like the one in JellyBlastV3 rom??? With the transperant dock and stuff??? And I just push it using root explorer??? And set permissions??
Sent by a Payphone

Categories

Resources