Questions on customizing Froyo ROM. - Desire Q&A, Help & Troubleshooting

Hi people, 2 questions please.
1) I am trying to personalize a custom ROM by including a few apks into /data/app and signing the zip. Upon flashing, everything boots up fine. However my custom apps do not appear to be installed, same method used to work when I was on custom Eclair ROM. Appreciated if someone can shed some light on this.
2) Also is there anyway I can edit a settings file in a ROM to auto detect the GSM network and retrieve the APNs accordingly immediately after flashing? I have tried editing /system/etc/apns-conf.xml and correcting my provider's APN settings without much success. Solved: Found double entries for my provider's APN in apns-conf.xml
Thanks in advance!
Rooted HTC Desire

Related

Cricket internet and ICS?

Hi evry1,
I am having issues with my Cricket flashed DInc since flashing deck's alpha4 ICS rom. I can't get the Internet to work. In the past, I've used Anycut, APN Backup & Restore, & Root Explorer to change settings and get internet working on other roms that I've flashed. These programs don't seem to work with ICS. I have also tried changing the APN manually, through Voice Dialer. My question is, how can I change the Internet settings for Cricket on my phone with the ICS Rom?
Thanxx
Subscribed...
ymitchell7 said:
Hi evry1,
I am having issues with my Cricket flashed DInc since flashing deck's alpha4 ICS rom. I can't get the Internet to work. In the past, I've used Anycut, APN Backup & Restore, & Root Explorer to change settings and get internet working on other roms that I've flashed. These programs don't seem to work with ICS. I have also tried changing the APN manually, through Voice Dialer. My question is, how can I change the Internet settings for Cricket on my phone with the ICS Rom?
Thanxx
Click to expand...
Click to collapse
You need to use HiAPN Global app from the playstore to set apns on ics

[Q] Getting mms working on Epic 4G flashed to Virgin Mobile

Here is what I have been working on, and the thoughts that I have just been thrown out there, and if anyone has any thoughts, ideas or recommendations please add:
I am currently using an unrooted samsung galaxy s sph-D700 flashed to VM with no mms.
Most of the credit goes to Brooksyx for the ideas posted here
My initial thought is that it can't be that complicated to alter the apn settings within any rom to get mms rocking for a sprint phone flashed to Virgin Mobile and things seem overcomplicated.
From this following thread what are the limitations of apn manager? Could apn manager be used on any ROM that doesn't have secured apn settings, and is there a way to find out which ROMs for any phone have unsecured apn settings? Is there a way to unsecure your apn settings and change them to fit the VM settings
http://forum.xda-developers.com/showthread.php?t=1404270&page=19
From this same previous thread at the bottom, would it be possible to just edit the cdmasmsdispatcher.smali file to fit the specific ROM and phone you are trying to enable mms? This one, I am currently working on comparing the cdmasmsdispatcher.smali file from the stock optimus v, the epic 4g sleeper ROM and and Brooksyx's cm7's to see what exactly are the changes that need to be made to enable mms without messing up the functionality of the ROM.
Thirdly, and the most complicated route would be to use the following thread and basically cook the ROM itself and enable mms.
http://forum.xda-developers.com/showthread.php?t=1081239
I will continue to edit this thread as my thought process progresses.
The hardest part about Virgin Mobile MMS reception is the way in which it is sent. Essentially, it is "encrypted". This is why you will receive messages from "9999999999" with a bunch of incomprehensible characters in the message. There is information sent within the message that has to be stripped ahead of time and then the message can be interpreted correctly. All of the Virgin Mobile roms have an edited framework that makes this work. Essentially, even if the rom's APN settings are "unlocked", merely editing the APN settings would only allow for you to send MMS, not receive.
For receiving, you are on the right track with the editing of the APNs and the CDMAdispatcher.smali file, but every time the rom is updated, if there are changes to the framework, (which there inevitably are), the fix no longer works. That's why, as of now, there is only a fix for Cyanogen for Virgin flashed Epics. Now that we know what's going on and which files to edit, it's entirely possible to edit all of those files for each specific rom, but I wouldn't hold out much hope for having a universal flashable fix. There really isn't an "easy" fix as of now to get this working.
I guess I am lacking a bit on how apn manager works as well. My interpretation is that apn manager essentially changes your active apn configuration to "send" mms based on carrier? Couldn't the apn manager.apk essentially be modified to send VM mms. I guess I would think the protocol for sending through VM would be standardized while the receiving would be specific to device?
Also I am curious about mmsdispatcher.smali code, as code editing is extremely tedious per each ROM trying to find the parts specific to mms, which segments need to be edited just to enable mms, so it can be copied and pasted from ROM to ROM and device to device, if even possible?
Sent from my Xoom using xda premium
All that APN manager does is allow you to edit the APN so that the phone can communicate with the MMS server of the specific carrier you want. For certain carriers, just using APN manager or editing the APN settings from the standard APN menu will be more than enough to send and receive MMS. The problem lies with the way in which VM dispatches MMS, (which requires framework edits.) The other issue is that some roms don't allow 3rd party edits to the APN, much like CM9, so APN manager doesn't necessarily work all the time. It is fairly easy to edit the APN settings in Android, so as long as you have the settings, you shouldn't really need APN manager. (If you don't have the settings, APN manager won't help you very much anyway.
The CDMAdispatcher.smali issue is a bit more complicated. The code that decrypts the MMS from Virgin is the same no matter what, but it needs to be written into the rom-specific CDMAdispatcher.smali file, making sure that you don't break any dependencies. Then you have to recomple classes.dex, put it into the framework. If the framework changes, your fix breaks. The framework changes from one version of CM9 to another require a review, patch, and re-build of framework.jar. If you couldn't go from one version of a single rom to another without having to recompile, then you wouldn't be able to go from one rom to another.
You can do a universal APN edit to get send to work, but receive requires more custom work. A lot of that is explained in detail in the original flash to VM thread that you posted. Thankfully, Brooksyx created his own thread for the MMS fix a while ago. It has the flashable fix for CM7 CM9. He updates the CM9 one as soon as the new version of CM9 drops. You can find it here He may have more insight into creating for different roms, but the code has to be added to the .smali file, which is rom-specific, then you recompile, place it in the framework, and then edit the framework within the rom. It's a big job, and there's no generic fix, (at least not yet.)
I am making some headway here although I am a bit confused about some of the scripting. Can anyone tell me what ".line xxx" in the script of the cdmasmsdispatcher.smali file represents or what it references, so if I reedit I correctly script this.

CM11 Android 4.4 Villuminati Issues

Hello,
I have a couple issues
1) MMS doesn't seem to work. Tried to restore APN's but didn't work.
2) How can I change the color temperature/scenario?
jonathan1204 said:
Hello,
I have a couple issues
1) MMS doesn't seem to work. Tried to restore APN's but didn't work.
2) How can I change the color temperature/scenario?
Click to expand...
Click to collapse
as for the color...in most roms it is under settings/display/screen mode...but it might not be in that rom. i have not ran it...back in the 4.2.2 days with slim bean....those of us that wanted that option,installed the apk ourselves.i would imagine you could do the same,but it might need to be changed for 4.4. i guess you could download a 4.4 rom for our device that has it and pull the apk out and then push it into villumination 4.4 as a system app and set permissions...0644. but make a backup...you might bootloop after you push it to system and set permissions and reboot.
as for mms...make a shortcut with nova launcher or pull the apn config file from a rom you had mms on and replace the current apn config file..if i was you i would go the nova route..if try to change the apn config file...make a backup first,i mean a nandroid..always have one..
sorry i couldnt be more helpful...ive been on tw based roms for a while now...good luck..

[Q&A] [ROM][4.4.4 TouchWiz][Note 4 Features] RainBow OS V6

Q&A for [ROM][4.4.4 TouchWiz][Note 4 Features] RainBow OS V6
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [ROM][4.4.4 TouchWiz][Note 4 Features] RainBow OS V6. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
No Data!
This ROM is really good but data is not working! I try to update my prl and nothing happens, I try to dial ##72786# and doesnt work! But this ROM looks really amazing!
ArieleGiron said:
This ROM is really good but data is not working! I try to update my prl and nothing happens, I try to dial ##72786# and doesnt work! But this ROM looks really amazing!
Click to expand...
Click to collapse
https://mega.co.nz/#!V5JFjAJT!Li5cUjTw1PDGUgPWuYaJlrG3iAtpPRb6YhN9YePPdHc
PLS Try this to change the network. Thanks for vonlunteering!
Let me knw if this works for u
Sent from my SPH-L900 using Tapatalk 2
sumeetpingale said:
Let me knw if this works for u
Sent from my SPH-L900 using Tapatalk 2
Click to expand...
Click to collapse
What?
This question was to Airele
Sent from my SPH-L900 using Tapatalk 2
Not working!
I install the apk but doesn't work, do you have another option?
Sorry for my english!
Yea, the attached apk not working for me too. So, i tried downloading the Phone Infor apk for Samsung from Google Play store. But, i don't know what parameters to be changed. @952599993 could you please let me know.
sumeetpingale said:
Yea, the attached apk not working for me too. So, i tried downloading the Phone Infor apk for Samsung from Google Play store. But, i don't know what parameters to be changed. @952599993 could you please let me know.
Click to expand...
Click to collapse
https://mega.co.nz/#!kkBU2QBS!x_TpVakVQnB9v6kSTxLCG1itYIooVlwIeeTISn92D3w
Try this one pls.
But what parameters needs to change so that data will work.
Sent from my SPH-L900 using Tapatalk 2
Nop! Nothing happens! Maybe its the kernel, because everything its working so far so good!
Just wanted to say I like the rom. I hope the small things here and there get fixed.
Data
Chinese to English
Anyone have solution to start data working on this ROM??
I would love to make this as my DD, just waiting for the data thing
Sent from my SPH-L900 using Tapatalk 2
sumeetpingale said:
Anyone have solution to start data working on this ROM??
I would love to make this as my DD, just waiting for the data thing
Sent from my SPH-L900 using Tapatalk 2
Click to expand...
Click to collapse
I too am waiting for the data to get fixed. Looks like a nice ROM, and it sounds like everything is working great except for the data...too bad.
Same i had same issue
I'm running it on my galaxy note 2 l900 and all working great thanks to this team ....but all u do is install and just make Shur u jest download all USA confirm. And don't the Chinese key board. ..when it asks for adding the extra apps ...it will say on one Chinese ui and keyboard just don't that one and all works great and then of course select your language when all starts up ...have fun ... this rom is awesome
MizterMan. ....
Data works for you??
I dont think only with that, data will start working.
Sent from my SPH-L900 using Tapatalk 2
Guys I found the two files the Dev was referring too to try to fix the data portion of this rom! I'm using sprint note 2 flashed to straight talk, and have tinkered for several hours on getting my data to connect via the rom.... It don't have nothing to do with the kernel or other files referring to getting data to work. I DON'T know how to upload the files the dev said to use to get your data working. All I can tell you is I now have my data up and running, on this rom! The issue lies within the settings via APN'S and the configuration within the hidden menus on our Note 2's. The problem is when you try to use the ##data# menu it won't allow you to do it. So via one of the files the dev mentioned allowed me to check current settings on 4.4.4 rom I was using with working data,and the rom I was using was Alliance Rom. So when I finally figured out that when you install this Rainbow OS the settings are preconfigured to be used with a foreign configuration. Yes the APN will also need to be changed via APN & Backup apk. But the main thing is several settings via the hidden menu are changed when this rom is installed. You really need to know what your doing when your messing with the strings, because you can lose data, and voice and a simple reset or flashing another rom and or Installing a backup via Twerp will not bring back the original configuration. The files the dev mentioned are also paid APK files I don't know if I can upload or link because of the rules on XDA. After getting data working this rom is truly one of the best roms I've ever used on my note 2. I've had no errors or even fc. The strange thing was my mms works via the stock messenger, sending and receiving.
Remember Messing with the network strings can cause your phone too become useless if you don't know how to put your proper settings back. Even flashing the phone using Odin back to factory won't fix the problem. Trust me I know I did it 3 times and it still gave me no data or talk. So always backup your orginal settings using APN backup.
---------- Post added at 03:41 PM ---------- Previous post was at 03:17 PM ----------
Guys I found the two files the Dev was referring too to try to fix the data portion of this rom! I'm using sprint note 2 flashed to straight talk, and have tinkered for several hours on getting my data to connect via the rom.... It don't have nothing to do with the kernel or other files referring to getting data to work. I DON'T know how to upload the files the dev said to use to get your data working. All I can tell you is I now have my data up and running, on this rom! The issue lies within the settings via APN'S and the configuration within the hidden menus on our Note 2's. The problem is when you try to use the ##data# menu it won't allow you to do it. So via one of the files the dev mentioned allowed me to check current settings on 4.4.4 rom I was using with working data,and the rom I was using was Alliance Rom. So when I finally figured out that when you install this Rainbow OS the settings are preconfigured to be used with a foreign configuration. Yes the APN will also need to be changed via APN & Backup apk. But the main thing is several settings via the hidden menu are changed when this rom is installed. You really need to know what your doing when your messing with the strings, because you can lose data, and voice and a simple reset or flashing another rom and or Installing a backup via Twerp will not bring back the original configuration. The files the dev mentioned are also paid APK files I don't know if I can upload or link because of the rules on XDA. After getting data working this rom is truly one of the best roms I've ever used on my note 2. I've had no errors or even fc. The strange thing was my mms works via the stock messenger, sending and receiving.
Remember Messing with the network strings can cause your phone too become useless if you don't know how to put your proper settings back. Even flashing the phone using Odin back to factory won't fix the problem. Trust me I know I did it 3 times and it still gave me no data or talk. So always backup your orginal settings using APN backup.
---------- Post added at 03:51 PM ---------- Previous post was at 03:41 PM ----------
Guys I found the two files the Dev was referring too to try to fix the data portion of this rom! I'm using sprint note 2 flashed to straight talk, and have tinkered for several hours on getting my data to connect via the rom.... It don't have nothing to do with the kernel or other files referring to getting data to work. I DON'T know how to upload the files the dev said to use to get your data working. All I can tell you is I now have my data up and running, on this rom! The issue lies within the settings via APN'S and the configuration within the hidden menus on our Note 2's. The problem is when you try to use the ##data# menu it won't allow you to do it. So via one of the files the dev mentioned allowed me to check current settings on 4.4.4 rom I was using with working data,and the rom I was using was Alliance Rom. So when I finally figured out that when you install this Rainbow OS the settings are preconfigured to be used with a foreign configuration. Yes the APN will also need to be changed via APN & Backup apk. But the main thing is several settings via the hidden menu are changed when this rom is installed. You really need to know what your doing when your messing with the strings, because you can lose data, and voice and a simple reset or flashing another rom and or Installing a backup via Twerp will not bring back the original configuration. The files the dev mentioned are also paid APK files I don't know if I can upload or link because of the rules on XDA. After getting data working this rom is truly one of the best roms I've ever used on my note 2. I've had no errors or even fc. The strange thing was my mms works via the stock messenger, sending and receiving.
Remember Messing with the network strings can cause your phone too become useless if you don't know how to put your proper settings back. Even flashing the phone using Odin back to factory won't fix the problem. Trust me I know I did it 3 times and it still gave me no data or talk. So always backup your orginal settings using APN backup.
Can you attach those files here
Can you give us the names of the apps you used to get data working, maybe take a screen shot of the settings that were changed? Would really appreciate it.
Sent from my SPH-L900 using XDA Premium HD app
chris48603 said:
Guys I found the two files the Dev was referring too to try to fix the data portion of this rom! I'm using sprint note 2 flashed to straight talk, and have tinkered for several hours on getting my data to connect via the rom.... It don't have nothing to do with the kernel or other files referring to getting data to work. I DON'T know how to upload the files the dev said to use to get your data working. All I can tell you is I now have my data up and running, on this rom! The issue lies within the settings via APN'S and the configuration within the hidden menus on our Note 2's. The problem is when you try to use the ##data# menu it won't allow you to do it. So via one of the files the dev mentioned allowed me to check current settings on 4.4.4 rom I was using with working data,and the rom I was using was Alliance Rom. So when I finally figured out that when you install this Rainbow OS the settings are preconfigured to be used with a foreign configuration. Yes the APN will also need to be changed via APN & Backup apk. But the main thing is several settings via the hidden menu are changed when this rom is installed. You really need to know what your doing when your messing with the strings, because you can lose data, and voice and a simple reset or flashing another rom and or Installing a backup via Twerp will not bring back the original configuration. The files the dev mentioned are also paid APK files I don't know if I can upload or link because of the rules on XDA. After getting data working this rom is truly one of the best roms I've ever used on my note 2. I've had no errors or even fc. The strange thing was my mms works via the stock messenger, sending and receiving.
Remember Messing with the network strings can cause your phone too become useless if you don't know how to put your proper settings back. Even flashing the phone using Odin back to factory won't fix the problem. Trust me I know I did it 3 times and it still gave me no data or talk. So always backup your orginal settings using APN backup.
---------- Post added at 03:41 PM ---------- Previous post was at 03:17 PM ----------
Guys I found the two files the Dev was referring too to try to fix the data portion of this rom! I'm using sprint note 2 flashed to straight talk, and have tinkered for several hours on getting my data to connect via the rom.... It don't have nothing to do with the kernel or other files referring to getting data to work. I DON'T know how to upload the files the dev said to use to get your data working. All I can tell you is I now have my data up and running, on this rom! The issue lies within the settings via APN'S and the configuration within the hidden menus on our Note 2's. The problem is when you try to use the ##data# menu it won't allow you to do it. So via one of the files the dev mentioned allowed me to check current settings on 4.4.4 rom I was using with working data,and the rom I was using was Alliance Rom. So when I finally figured out that when you install this Rainbow OS the settings are preconfigured to be used with a foreign configuration. Yes the APN will also need to be changed via APN & Backup apk. But the main thing is several settings via the hidden menu are changed when this rom is installed. You really need to know what your doing when your messing with the strings, because you can lose data, and voice and a simple reset or flashing another rom and or Installing a backup via Twerp will not bring back the original configuration. The files the dev mentioned are also paid APK files I don't know if I can upload or link because of the rules on XDA. After getting data working this rom is truly one of the best roms I've ever used on my note 2. I've had no errors or even fc. The strange thing was my mms works via the stock messenger, sending and receiving.
Remember Messing with the network strings can cause your phone too become useless if you don't know how to put your proper settings back. Even flashing the phone using Odin back to factory won't fix the problem. Trust me I know I did it 3 times and it still gave me no data or talk. So always backup your orginal settings using APN backup.
---------- Post added at 03:51 PM ---------- Previous post was at 03:41 PM ----------
Guys I found the two files the Dev was referring too to try to fix the data portion of this rom! I'm using sprint note 2 flashed to straight talk, and have tinkered for several hours on getting my data to connect via the rom.... It don't have nothing to do with the kernel or other files referring to getting data to work. I DON'T know how to upload the files the dev said to use to get your data working. All I can tell you is I now have my data up and running, on this rom! The issue lies within the settings via APN'S and the configuration within the hidden menus on our Note 2's. The problem is when you try to use the ##data# menu it won't allow you to do it. So via one of the files the dev mentioned allowed me to check current settings on 4.4.4 rom I was using with working data,and the rom I was using was Alliance Rom. So when I finally figured out that when you install this Rainbow OS the settings are preconfigured to be used with a foreign configuration. Yes the APN will also need to be changed via APN & Backup apk. But the main thing is several settings via the hidden menu are changed when this rom is installed. You really need to know what your doing when your messing with the strings, because you can lose data, and voice and a simple reset or flashing another rom and or Installing a backup via Twerp will not bring back the original configuration. The files the dev mentioned are also paid APK files I don't know if I can upload or link because of the rules on XDA. After getting data working this rom is truly one of the best roms I've ever used on my note 2. I've had no errors or even fc. The strange thing was my mms works via the stock messenger, sending and receiving.
Remember Messing with the network strings can cause your phone too become useless if you don't know how to put your proper settings back. Even flashing the phone using Odin back to factory won't fix the problem. Trust me I know I did it 3 times and it still gave me no data or talk. So always backup your orginal settings using APN backup.
Click to expand...
Click to collapse
Great!
can you make a update zip for the Rainbow OS? thank you very much!

apns-conf.xml location in LOS 16?

I've spent the last day or so looking here on xda and across the web for an answer to this, and I can't seem to find it.
I just freshly installed the Nightly from 2/20 onto my T-Mobile OP7P, and one of the things I always do first is edit the APN settings, including adding 'dun', so I have the option of tethering when I travel. You can't do it through the Settings, so you have to edit the .XML file if you want that.
However, I noticed that the list of APNs in Settings doesn't match the normal file that I would edit in stock. The one in stock being in /system/etc/apns-conf.xml, searched that file for some of the ones showing in the APN list in Settings, and they're nowhere in that file, including my own.
So, obviously Lineage OS is pulling the APNs from a different file, but for the life of me, I have no idea where that file is. Anyone here have any idea?
otrap said:
I've spent the last day or so looking here on xda and across the web for an answer to this, and I can't seem to find it.
I just freshly installed the Nightly from 2/20 onto my T-Mobile OP7P, and one of the things I always do first is edit the APN settings, including adding 'dun', so I have the option of tethering when I travel. You can't do it through the Settings, so you have to edit the .XML file if you want that.
However, I noticed that the list of APNs in Settings doesn't match the normal file that I would edit in stock. The one in stock being in /system/etc/apns-conf.xml, searched that file for some of the ones showing in the APN list in Settings, and they're nowhere in that file, including my own.
So, obviously Lineage OS is pulling the APNs from a different file, but for the life of me, I have no idea where that file is. Anyone here have any idea?
Click to expand...
Click to collapse
What carrier are you currently using? I can send you mine. I had to use my stock apns-conf.xml with lineage and havok
Sent from my moto g(6) play using Tapatalk
Sands207 said:
What carrier are you currently using? I can send you mine. I had to use my stock apns-conf.xml with lineage and havok
Sent from my moto g(6) play using Tapatalk
Click to expand...
Click to collapse
Hey man. I use T-Mobile. I'm good on editing it. I'm not good on actually locating it in the root file system. The APNs reflected in the settings aren't the same as the ones reflected in the /system/etc/apns-conf.xml file, so they've gotta be pulling from somewhere else.
otrap said:
Hey man. I use T-Mobile. I'm good on editing it. I'm not good on actually locating it in the root file system. The APNs reflected in the settings aren't the same as the ones reflected in the /system/etc/apns-conf.xml file, so they've gotta be pulling from somewhere else.
Click to expand...
Click to collapse
What i did to get around that was pretty easy on my end. I deleted the current apns in android settings so none were listed. Then i used fx root browser and copied my stock apns-conf.xml and then went back to apns settings and reset to default. I rebooted and my carrier was there, I am using LTE so i had to enable it as it was set by default to global initially. I also screenshotted my stock apn settings values in case i got lost in the process. I do have a master apns-conf.xml with t-mobile included for some of the ROM's i make. Let me know if you get stuck. Good luck!
Sent from my moto g(6) play using Tapatalk

Categories

Resources