Can't get rom to read custom apns-conf.xml [Solved] - Android Q&A, Help & Troubleshooting

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

Related

[Q] Changing default APNs in custom ROM

Hi all,
I'm creating a custom ROM series (for Android devices with 850/1900/2100mHz network frequencies, i.e, AT&T, Telus, Rogers and Telstra phones) and I need to know how to change the default APNs to the correct Telstra ones. Does anyone know how to do this?
Most devices have the option to add multiple apns for each device. Im not sure how to add default apns in the rom so the end user doesnt have to change them.
Sent from my HTC Glacier using XDA App
the most reliable way would be to pull the apns.xml file out of framework and replace/repack for each.
the apns.xml file is located in the framework-res.apk file, in the xml folder.
some will say that the apns-conf.xml file is needed to be replaced (think that's even how CM does it)... but i find that to not always work well.
replacing the actual file within framework, i've had 100% success on all ROMs, ports, etc... with MMS working perfectly
i can't speak for the Telstra in certainty... but if someone has a "stock" Telstra ROM, kang that framework and have at it!
hope this helps!
tenzomonk said:
the most reliable way would be to pull the apns.xml file out of framework and replace/repack for each.
the apns.xml file is located in the framework-res.apk file, in the xml folder.
some will say that the apns-conf.xml file is needed to be replaced (think that's even how CM does it)... but i find that to not always work well.
replacing the actual file within framework, i've had 100% success on all ROMs, ports, etc... with MMS working perfectly
i can't speak for the Telstra in certainty... but if someone has a "stock" Telstra ROM, kang that framework and have at it!
hope this helps!
Click to expand...
Click to collapse
Thanks for your help! This method works great!
Sent from my HTC Desire with Tapatalk.

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

cricket mms

Hi guys and gals. after many attempts, i have working cricket mms on my evo 3d
So... you root and research a good custom rom for you. You flash it, all goes well, it looks cool, feels nice you are on top of the world... (like I was) then you find your mms does not work...
here you go
1. make sure you have es file explorer downloaded
2. open your es file explorer
3. go to settings and select Root settings
4. check all the boxes and grant for superuser
now you are looking at the files on your sd card
5. click the "slash" icon on the top left
now you are looking at the whole phone
6. scroll down and select "system"
7. scroll down and select " build.prop"
it will ask you which program to use. I used the es note editor
NOTE you will be changing the build properties of you rom from sprint values to Cricket values
BE CAREFUL NOT TO CHANGE ANYTHING ELSE!!!
9. scroll down slowly you will see ro.build.fingerprint=Sprint
delete Sprint and change it to cricket
10. scroll down about 1/2 of the way down and you will see additional build properties
you will be looking for 4 lines
gsm.sim.operator.alpha=(change to Cricket)
gsm.sim.operator.numeric=(change to 310016)
gsm.operator.alpha=(change to Cricket)
gsm.operator.numeric(change to 310016)
and about 3/4 fof the way down
ro.cdma.home.operator.alpha=(change to Cricket)
ro.cdma.home.operator.numeric=(change to 310016)
back out and SAVE
REBOOT TWICE!!!!!!!!
11. now go into you es file explorer again this time to system
12. select etc
13. scroll down to a file called apns-conf.xml
delete it!
download this one and edit it with your phone number with notepad+ on your computer
edit the second one, not the value 45
https://www.dropbox.com/s/mqixefjs829t7jg/apns-conf.xml
put the file on your sd card and copy it to your system/etc folder
REBOOT TWICE!!!
16. using the voice dialer say "open apn"
17. delete the one you see
18. select reset to default
now you should see 2 apns and a little circle beside both
click the circle beside "cricket"
REBOOT TWICE AND WAIT FOR THE SYSTEM TO CATCH UP
download this mms.apk (this is not mine.. i found it for the evo 4g somewhere)
https://www.dropbox.com/s/iq42wk65ifolv8u/Mms.apk
using es file explorer, delete your old mms.apk under system/apps
remember, you have to mount es as root rw every time you reboot
roboot and move the new mms.apk to the system/apps and install
next reboot
go back into es file and (set root rw again)move to the new mms.apk.
long press it and chose permissions.
set your permissions like the screenshot in at the bottom
this has been proven on my evo3d
NOTE. if you are a flashaholic, you will store the mms.apk and the apns-config.xml on your sd card so you can do this with every flash
if this helped you, press the thanks button please!!!
I use cricket and I have never changed the build.prop to get mms working. I change the apn and if it is a jellybean rom the mms.apk.
do you know how to fix mms on htc evo 3d with virgin mobile?
jlmancuso said:
I use cricket and I have never changed the build.prop to get mms working. I change the apn and if it is a jellybean rom the mms.apk.
Click to expand...
Click to collapse
i tried to leave the sprint settings and got it to work (sometimes) it always works for me this way
bosshoss14 said:
do you know how to fix mms on htc evo 3d with virgin mobile?
Click to expand...
Click to collapse
nope... sorry. I only have cricket. but if you search for the apn settings for virgin and put them in, it may work
jaredl45600 said:
nope... sorry. I only have cricket. but if you search for the apn settings for virgin and put them in, it may work
Click to expand...
Click to collapse
Ok thanks :good::good:
Ok so for anyone wondering how to fix mms on virgin mobile/ sprint/ boost follow these instructions provided in this thread http://forum.xda-developers.com/showthread.php?t=1794956
jaredl45600 said:
Hi guys and gals. after many attempts, i have working cricket mms on my evo 3d
So... you root and research a good custom rom for you. You flash it, all goes well, it looks cool, feels nice you are on top of the world... (like I was) then you find your mms does not work...
here you go
1. make sure you have es file explorer downloaded
2. open your es file explorer
3. go to settings and select Root settings
4. check all the boxes and grant for superuser
now you are looking at the files on your sd card
5. click the "slash" icon on the top left
now you are looking at the whole phone
6. scroll down and select "system"
7. scroll down and select " build.prop"
it will ask you which program to use. I used the es note editor
NOTE you will be changing the build properties of you rom from sprint values to Cricket values
BE CAREFUL NOT TO CHANGE ANYTHING ELSE!!!
9. scroll down slowly you will see ro.build.fingerprint=Sprint
delete Sprint and change it to cricket
10. scroll down about 1/2 of the way down and you will see additional build properties
you will be looking for 4 lines
gsm.sim.operator.alpha=(change to Cricket)
gsm.sim.operator.numeric=(change to 310016)
gsm.operator.alpha=(change to Cricket)
gsm.operator.numeric(change to 310016)
and about 3/4 fof the way down
ro.cdma.home.operator.alpha=(change to Cricket)
ro.cdma.home.operator.numeric=(change to 310016)
back out and SAVE
REBOOT TWICE!!!!!!!!
11. now go into you es file explorer again this time to system
12. select etc
13. scroll down to a file called apns-conf.xml
delete it!
download this one and edit it with your phone number with notepad+ on your computer
edit the second one, not the value 45
https://www.dropbox.com/s/mqixefjs829t7jg/apns-conf.xml
put the file on your sd card and copy it to your system/etc folder
REBOOT TWICE!!!
16. using the voice dialer say "open apn"
17. delete the one you see
18. select reset to default
now you should see 2 apns and a little circle beside both
click the circle beside "cricket"
REBOOT TWICE AND WAIT FOR THE SYSTEM TO CATCH UP
download this mms.apk (this is not mine.. i found it for the evo 4g somewhere)
https://www.dropbox.com/s/iq42wk65ifolv8u/Mms.apk
using es file explorer, delete your old mms.apk under system/apps
remember, you have to mount es as root rw every time you reboot
roboot and move the new mms.apk to the system/apps and install
next reboot
go back into es file and (set root rw again)move to the new mms.apk.
long press it and chose permissions.
set your permissions like the screenshot in at the bottom
this has been proven on my evo3d
NOTE. if you are a flashaholic, you will store the mms.apk and the apns-config.xml on your sd card so you can do this with every flash
if this helped you, press the thanks button please!!!
Click to expand...
Click to collapse
why the hell hasn't more people been to directed to this thread with unbeatable mms problems with cricket just changing apn settings DOES NOT WORK for alot of cricket users.
Edit: guess i shoulda seen that it was done on a evo3d as it didn't work for my evo 4g i shoulda known when two lines were missing from the build prop. as soon as i got to the voice dialer with the apns there were no apns listed and hitting reset to default brough nothing. back to the battery sucking no blue tooth everything cricket rom. Ive tried litterally hundreds of roms and mustve edited apns 1000 times and still cant get mms to work except for one rom.
The mms.apk was found on a evo 4g site somewhere. Maybe there is something else. Or maybe it was a 4g LTE. I don't remember now, but I know it will not work on stock versions of sprint ROMs. I tried.....
Sent from my PG86100 using xda premium

Tethering[mod] "build prop edit"vs985

hello fellow xda junkies!
HERE IS A SIMPLE WAY TO GET DATA TETHERING THROUGH BUILD.PROP EDIT
NOTE:MESSING WITH BUILD.PROP COULD MESS YOUR PHONE UP BE CAREFUL
Step 1.) download a text editor.i suggest 920 text editor.
Step 2.) you will also need an root explorer so download that also.
Step 3).open up your root explorer and navigate to system/build.prop. and copy that file to another directory. i.e example sdcard/download.then rename
original build.prop file to build.prop.bak
Step 4).open up your text editor and navigate to the directory where you copied the build.prop file
Step 5.)look for this line [they are both close to the end of the build.prop file] "net.tethering.nonprovisioning=true" [once you find it change the true
to false] so it reads "net.tethering.nonprovisioning=false" NOTEDO NOT TYPE THE QUOTATION MARKS!!!
Step 6.) " look for line "persist.data.tethering_oc=1" change the variable 1 to 0 so it reads "persist.data.tethering_oc=0
Step 7.) move the build.prop file that you copied and edited from location you placed it in to its rightful spot in system/.change permissions to rw--r--r
reboot phone and your good to go!works on my vs985 LIKE A CHAMP.
deathsquad737 said:
hello fellow xda junkies!
HERE IS A SIMPLE WAY TO GET DATA TETHERING THROUGH BUILD.PROP EDIT
NOTE:MESSING WITH BUILD.PROP COULD MESS YOUR PHONE UP BE CAREFUL
Step 1.) download a text editor.i suggest 920 text editor.
Step 2.) you will also need an root explorer so download that also.
Step 3).open up your root explorer and navigate to system/build.prop. and copy that file to another directory. i.e example sdcard/download.then rename
original build.prop file to build.prop.bak
Step 4).open up your text editor and navigate to the directory where you copied the build.prop file
Step 5.)look for this line [they are both close to the end of the build.prop file] "net.tethering.nonprovisioning=true" [once you find it change the true
to false] so it reads "net.tethering.nonprovisioning=false" NOTEDO NOT TYPE THE QUOTATION MARKS!!!
Step 6.) " look for line "persist.data.tethering_oc=1" change the variable 1 to 0 so it reads "persist.data.tethering_oc=0
Step 7.) move the build.prop file that you copied and edited from location you placed it in to its rightful spot in system/.change permissions to rw--r--r
reboot phone and your good to go!works on my vs985 LIKE A CHAMP.
Click to expand...
Click to collapse
You know there is already a flash for this and an apk.
Yes i do know this but some like to do it on there own.but hey nice to meet ya!
deathsquad737 said:
Yes i do know this but some like to do it on there own.but hey nice to meet ya!
Click to expand...
Click to collapse
Just checking.
I'm a tinkerer also which is how I figured out the thermal throttling.
Nice to met you.
tech_head said:
Just checking.
I'm a tinkerer also which is how I figured out the thermal throttling.
Nice to met you.
Click to expand...
Click to collapse
Thermal daemon mitigation?is that what you are referring too?
A.L.B/E.B.B
deathsquad737 said:
Thermal daemon mitigation?is that what you are referring too?
A.L.B/E.B.B
Click to expand...
Click to collapse
Actually not.
Instead of trying to stop the thermal mitigation from working I did just the opposite, I changed the parameters on how it operates.
The file /system/etc/thermal-engine-8974.conf.
This file controls what happens to cpu speed at various temperatures.
That is what you tweak and it just works.
I also used ROM Toolbox to change the governor.
tech_head said:
Actually not.
Instead of trying to stop the thermal mitigation from working I did just the opposite, I changed the parameters on how it operates.
The file /system/etc/thermal-engine-8974.conf.
This file controls what happens to cpu speed at various temperatures.
That is what you tweak and it just works.
I also used ROM Toolbox to change the governor.
Click to expand...
Click to collapse
Wow that's heavy I don't know if I have a high enough pay grade to do that lol
A.L.B/E.B.B
deathsquad737 said:
Wow that's heavy I don't know if I have a high enough pay grade to do that lol
A.L.B/E.B.B
Click to expand...
Click to collapse
I can always get you a copy of the file.
tech_head said:
I can always get you a copy of the file.
Click to expand...
Click to collapse
Yes please I pm you
A.L.B/E.B.B
Thank you but...
First of all, thanks for the post. Although I appreciate the helpful post, my phone is now stuck in boot loop . I hate to be the one to open up an old thread but I'm freaking out at the moment due to brick fever :crying: My current setup was a rooted LG G3 VS98512b. My goal was simple, I didn't want to do anything crazy, I just wanted to enable wifi tether now I'm afraid I've lost everything... Is there a way I can get back into the storage of my phone and delete the modified build.prop, remove the ".bak" from the original and be back to the good life? Any assistance is greatly appreciated, this seemed like such a simple modification that led to such a big headache.
It sounds like you might have used an editor on your build.prop that could not handle the file size, resulting in your editted build.prop being truncated. Otherwise, maybe your permissions were left wrong. Either of these will cause your phone to bootloop.
Sent from my VS985 4G using Tapatalk
trent999 said:
It sounds like you might have used an editor on your build.prop that could not handle the file size, resulting in your editted build.prop being truncated. Otherwise, maybe your permissions were left wrong. Either of these will cause your phone to bootloop.
Sent from my VS985 4G using Tapatalk
Click to expand...
Click to collapse
Thanks for the reply. I used the editor recommended in the tutorial, 920 text editor. I followed the instructions word for word, I don't know what the problem is. Maybe its because I have the newest update and this mod was for 10b???As far as the permissions, the phone asked automatically if I wanted to change the permissions. The original build.prop is still there... is there a way I can delete the modified build.prop and replace it with the original? I really wish I would not have followed this tut, it didn't seem like a popular method. There has to be a way to delete the modified build.prop right?
soundmasterx said:
Thanks for the reply. I used the editor recommended in the tutorial, 920 text editor. I followed the instructions word for word, I don't know what the problem is. Maybe its because I have the newest update and this mod was for 10b???As far as the permissions, the phone asked automatically if I wanted to change the permissions. The original build.prop is still there... is there a way I can delete the modified build.prop and replace it with the original? I really wish I would not have followed this tut, it didn't seem like a popular method. There has to be a way to delete the modified build.prop right?
Click to expand...
Click to collapse
Yes you can reflash the firmware or if you don;t want to restore to stock you can use ADB to fix the files and restore your .bak
Digital_MD said:
Yes you can reflash the firmware or if you don;t want to restore to stock you can use ADB to fix the files and restore your .bak
Click to expand...
Click to collapse
Again, thank you for the response. Do you recommend a specific method or tutorial for trying restore the original build.prop? I did search however, because this scenario is so specific I'm not sure there is an exact solution to my problem.
Again, just in case someone else can chime in, I followed the instructions on the first post of this thread (see first post for detailed info). I copied the original build.prop then changed the name of the original build.prop, edited the copy, moved it to the original directory and restarted the phone. Now my phone doesn't make it to the Verizon screen (I think it is stuck in boot loop), the screen stays black and the small led on the left corner flashes blue and green. If I can just get access to the storage I can replace the modified build.prop with the original that is still in the same directory just renamed. It seems like such an easy task but, I just don't know how to go about it I'm a somewhat of an old school tinker, I'm just now getting back into the swing of Android... Thanks in advance!!
Bump
Bump please
This is crazy... I changed 2 values in build.prop for tethering and my phone wont boot now... I didnt install a ROM, change DPI, or make any major changes WTF???
Do you have a custom recovery (twrp)?
Can you connect to your phone with adb?
If you have twrp, search the board for the startup hardware key sequence to reach twrp, else from adb do a reboot recovery.
In twrp, you can select to mount system, then go to advanced - file manager. You can delete the bad build.prop, rename the good one, then set the permissions on the good one. If your good copy of build.prop is on a PC, put it on a flash drive, and use twrp's file manager to get it into your phone.
If you have a saved copy of build.prop on your PC, you can also use adb's push command. (You may also want to look at the adb shell command. The sequence might be to open a shell, delete the bad build. prop, get the right build.prop into the right directory, then chmod the right build.prop so it has the proper permissions.)

need stock media_profiles.xml for 47a

Hello,
I flashed a different media_profiles.xml (found in the latest camera thread in the developer section) to try out open camera and see what it could do to see if i wanted to venture from stock based roms (with all the LG camera features) to an AOSP based rom but i forgot to back up the stock media_profiles.xml file first.
does anyone have copy of this file from 47A that they could share? I dont think i lost any functionality with xcamlg as 60fps 1080p video still looks correct but id rather have the file in case i do run into any issues.
i tried to browse system.img from the 47A rom on my PC with 7zip and extract media_profiles.xml and copy to my G3 and reset the permissions and reboot but there is something about the file that solid explorer isnt happy with and im guessing its the program i extracted it with or windows or something that isnt linux/android friendly.
anyone know the proper way to do this in addition to posting the file?
thanks
brian
Here's the one from my running ROM, which is stock 47A so it shouldn't be different than what's in the system.img. If you have trouble with this one, I'd guess there's some other problem going on and maybe try a different root file manager. Or maybe you just can't replace that file while the ROM is running.
You could take zip you had flashed which had the one your current running, delete the .xml file out of it, place this .xml (or the one you extracted from the system.img) in the zip in the same place as the other was, then flash this new zip file.
For what it's worth, I've never had any problem using any file I extracted from the system.img with 7-Zip - but since I've never fooled with that one...
thank you.
ill try it in a few min.
yeah i remembered someone saying use 7-zip rather than other utilities (cant remember if it was you or stang5litre or muniz_ri over in the vzw galaxy s4 forum) to edit/extract android images.
great idea on swapping files in the zip. if i cant copy this one in ill try the zip swap method.
Brian
problem solved.
turns out it was my fault. i was able to copy the file that i extracted into system/etc/ no problem but was not able to change permissions so i figured that it was something wrong with the file.
nope...
when i copied in your file, i couldnt change permissions..... it gave me the same error.
i was using solid explorer and i had the phone sideways so i could have two directories selected for super easy copying.
downloads on the left, system/etc/ on the right.
once the file copied into the right window, i tried to scroll down to the bottom of the list where it now was placed and edit the permissions in the right window and it gave me the error.
i rotated the phone vertical so there was only one window and selected system/etc/ and the file and was able to change the permissions no problem. then rebooted the phone and everything was back to normal.
oops....
Brian
reliant_turbo said:
problem solved.
turns out it was my fault. i was able to copy the file that i extracted into system/etc/ no problem but was not able to change permissions so i figured that it was something wrong with the file.
i rotated the phone vertical so there was only one window and selected system/etc/ and the file and was able to change the permissions no problem. then rebooted the phone and everything was back to normal.
oops....
Click to expand...
Click to collapse
Ha! What an interesting bug! Wonder if the dev of Solid Explorer knows? Glad you solved it. Thanks for sharing the solution.
roirraW "edor" ehT said:
Ha! What an interesting bug! Wonder if the dev of Solid Explorer knows? Glad you solved it. Thanks for sharing the solution.
Click to expand...
Click to collapse
Yeah it's weird. I guess you have to "refresh" the window before you can edit permissions of the file. I just tried to set permissions in both the left and right window when in landscape rotation just to check and you can.
Its just that you can't immediately after pasting a file. You seem to have to select that directory again.
I'll try to contact them.
Brian

Categories

Resources