[R] APN-CONFIG file [DEV] - Sony Xperia P, U, Sola, Go

Here attached at the bottom of the post is an apn config file for all networks
This is for devs to use in their roms to make setup easier for their users
If you're thinking what is this then, you probably don't need it
Belongs in the etc folder btw

wildfire-s said:
Here attached at the bottom of the post is an apn config file for all networks
This is for devs to use in their roms to make setup easier for their users
If you're thinking what is this then, you probably don't need it
Belongs in the etc folder btw
Click to expand...
Click to collapse
Donwloaded and added already in my upcoming KA19
Sent from my LT26i using xda app-developers app

Glad to provide you it matee. just making everything easier on every one

wildfire-s said:
Here attached at the bottom of the post is an apn config file for all networks
This is for devs to use in their roms to make setup easier for their users
If you're thinking what is this then, you probably don't need it
Belongs in the etc folder btw
Click to expand...
Click to collapse
Very useful,I am going to include in my rom too.

Related

AOSP ouptut

Hi all. I have been through the AOSP website and built a basic rom, but I can't find it.
Sorry this is such a basic point - and related to another site - but can anyone point me to the output from the build process. I initiated the build with lunch and then used make to, er, make it, but can't find what I've made.
Thanks
Edit: am I right in thinking the output is a .zip file? If so, think it has failed because there's no .zip anywhere
not in your work folder? (the folder you were in while 'making' the rom) lol
ldrifta said:
not in your work folder? (the folder you were in while 'making' the rom) lol
Click to expand...
Click to collapse
No. I'm assuming it'll be in zip format, and there's nothing like that in the working folder.
Sent from my HTC Desire S using XDA Premium App
If it compiled, you should be able to find it here:
WORKING_DIRECTORY/out/target/product/PRODUCT_NAME/ROM.zip
MongooseHelix said:
If it compiled, you should be able to find it here:
WORKING_DIRECTORY/out/target/product/PRODUCT_NAME/ROM.zip
Click to expand...
Click to collapse
I couldn't find it there, so I'm assuming it didn't compile properly.
Thanks.
Sent from my phone using fingers

[WIP] R800x .368 .42 .62 Service Attempt

I have been trying to get service on the .368 or .42 or .62 firmware. So far I have only been able to boot the systems and play around with the apps and settings. I made a backup of each system and am sharing them here so that other r800x users can flash and mess around with the newer systems and that maybe someone smarter then me can figure out, if even possible, how we can get service on these systems as the cdma patch does not work on these. You will be able to use most of everything minus having no service what so ever.
Below are the links to each backup, Before flashing please make a backup of your current system if you dont have one already. All of these will boot with "Unknown Baseband" and "No Service"
Please read everyting before you install any of these
4.0.A.2.368 (2.3.3)
http://www.mediafire.com/?u04dbhea359gm8w
The [.368] R800x backup was made while on the .368 DoomKernel which you will find here http://forum.xda-developers.com/showpost.php?p=16291835&postcount=3
You will want to use the same kernel or you wont have any hardware buttons
4.0.2.A.0.42 (2.3.4)
http://www.mediafire.com/?ic33qd61ck39up6
4.0.2.A.0.62 (2.3.4)
http://www.mediafire.com/?idihgb2hdn928hf
EDIT : Will update backups
The [.42] and [.62] R800x Backups were made using the "Testing" CDMA DoomKernel V10 which you will find here http://forum.xda-developers.com/showpost.php?p=21948440&postcount=126
~You will want to use the same Kernels as I did or you may not have any hardware buttons~
Maybe someone can help with this part, the cdma patch is already known not to work on these systems, So I decompiled the SemcPhone.apk from the cdma patch zip file and compared all the smali files in smali folder to all the smali files in the [.62] decompiled smali folder I found some differences and I am posting a zip file of:
-all the smali files that were IN the cdma patch smali folder that were not in the [.62] smali folder
-a List of smali files that the [.62] smali folder HAD that the cdma patch smali folder did NOT have.
- the [.62] AndroidManifest.xml because it to had differences
The zip of differences can be found here http://www.mediafire.com/?kuv8x82vhthgp9c
Also Im posting a zip file containing the lib files from the 2.3.3 Verizon system which should be our Baseband files ( I could be wrong on which files are the baseband from our r800x), that can be found here http://www.mediafire.com/?afx0unj80ne1r2z
This is basically where I am at with getting service on newer Uk firmware for our r800x, I would gladly love anyones input and/or ideas. If Im wasting my time and someone who knows more then me already knows this wont ever work please let me know! I hope I made everything clear on what it all is and what Im trying to do, thanks for reading and any insight on service
I'm looking forward to seeing the progress that you'll make here. I hope you can find a working resolution.
Me too, I dont know much about the breakdown of ROMs but I will cross my fingers and think happy thoughts.
I have an ignorant question: what keeps you from flashing only the verizon baseband after flashing these other firmwares?
crono141 said:
I have an ignorant question: what keeps you from flashing only the verizon baseband after flashing these other firmwares?
Click to expand...
Click to collapse
I already tried, I flashed only the baseband from the 2.3.3 verizon ftf and copied over the 2.3.3 lib files manually aswell. Still says "unknown baseband" Did I do anything wrong?
Sent from my Droid using xda premium
Ah, porting a rom from one model to the other is especially a ***** when they have a different baseband. I attempted it myself once, but I failed miserably...
Good luck with this btw, I hope you get somewhere with it
Keiran
Any luck getting it to work?
KeiranFTW said:
Ah, porting a rom from one model to the other is especially a ***** when they have a different baseband. I attempted it myself once, but I failed miserably...
Good luck with this btw, I hope you get somewhere with it
Keiran
Click to expand...
Click to collapse
Thank you , perhaps you can help me with this thought..
~In your [WIP][CDMA] MIUI for the R800x , on page 3, last post on the page, you said you were gonna try a port from the Evo 4g because "it is the only one with the same baseband (htc anyway)"~
Would I be wasting my time downloading / messing around with the baseband files for the Evo 4g to help me out with this project? Or does that not even make sense in my case? Im just trying to "try" everything and anything that may help
216Monster said:
Thank you , perhaps you can help me with this thought..
~In your [WIP][CDMA] MIUI for the R800x , on page 3, last post on the page, you said you were gonna try a port from the Evo 4g because "it is the only one with the same baseband (htc anyway)"~
Would I be wasting my time downloading / messing around with the baseband files for the Evo 4g to help me out with this project? Or does that not even make sense in my case? Im just trying to "try" everything and anything that may help
Click to expand...
Click to collapse
Different chipset, probably won't work
Sent from my R800x using Tapatalk
---------- Post added at 04:15 PM ---------- Previous post was at 03:58 PM ----------
Have you tried entering the have you tried entering the service menu (*#*#4636#*#*) and checked to make sure it was on CDMA (just an idea)
paxChristos said:
Different chipset, probably won't work
Sent from my R800x using Tapatalk
---------- Post added at 04:15 PM ---------- Previous post was at 03:58 PM ----------
Have you tried entering the have you tried entering the service menu (*#*#4636#*#*) and checked to make sure it was on CDMA (just an idea)
Click to expand...
Click to collapse
Yes I tried that already as well. It has "unknown" selected an will not allow me to select any of the other options. Thanks for inputing an idea though
Have you tried pulling the libril files from Verizon 2.3.3, and compared them to the ones on the gsm versions? (librils are located in /system/lib, and there are two of them)
Sent from my R800x using Tapatalk
paxChristos said:
Have you tried pulling the libril files from Verizon 2.3.3, and compared them to the ones on the gsm versions? (librils are located in /system/lib, and there are two of them)
Sent from my R800x using Tapatalk
Click to expand...
Click to collapse
I'm my op I posted a zip containing what I thought were all the 2.3.3 lib files for the baseband, are there more then what I have? I'm going to look again and see if I missed any.
Sent from my Droid using xda premium
216Monster said:
I'm my op I posted a zip containing what I thought were all the 2.3.3 lib files for the baseband, are there more then what I have? I'm going to look again and see if I missed any.
Sent from my Droid using xda premium
Click to expand...
Click to collapse
They might only work on your phone (I know I tried pushing some on a different phone from somebody else's and adb did not like) (I haven't checked your zip yet...)
Sent from my R800x using Tapatalk
paxChristos said:
They might only work on your phone (I know I tried pushing some on a different phone from somebody else's and adb did not like) (I haven't checked your zip yet...)
Sent from my R800x using Tapatalk
Click to expand...
Click to collapse
They should be all the same, but I tried the CM7 ril libs in the .62 rom and I still had service. I think it is more in terms of the phone.apk and stuff
Because the phone app seems to do more than it lets out, I think it also handles communications with the baseband and not just your dialer - but I could be wrong, I have as much knowledge as you do on this
Keiran
i don't know if it's phone.apk as much as /system/app/SemcTelephonyProvider.apk ...
KeiranFTW said:
They should be all the same, but I tried the CM7 ril libs in the .62 rom and I still had service. I think it is more in terms of the phone.apk and stuff
Because the phone app seems to do more than it lets out, I think it also handles communications with the baseband and not just your dialer - but I could be wrong, I have as much knowledge as you do on this
Keiran
Click to expand...
Click to collapse
I think the phone.apk is doing a lot aswell. Its taking some time but I'm going through every smali/xml file in the semcphone.apk looking for anything in regards to a baseband.
Sent from my Droid using xda premium
paxChristos said:
i don't know if it's phone.apk as much as /system/app/SemcTelephonyProvider.apk ...
Click to expand...
Click to collapse
The libs I posted in my zip are from a clean full ftf flash of verizon 2.3.3 firmware on my phone, they should work for all r800x since that's what they are from.
I'm gonna look into the telephonyprovider app it could be a piece of the puzzle I haven't discovered yet, I think the phone.apk is handling most of it because the cdma patch has only a semcphone.apk in it, but maybe the newer firmwares will need a patched phone apk and telephony apk.
Sent from my Droid using xda premium
Hey, I tried this with a little bit of testing, and i thought you might wanna look into this:
pulled the system and ran regrep (recursive grep, a linux script i have):
2.3.4 (62)
Code:
./etc/customization/content/com/sonyericsson/r2r/client/preloaded_config.xml:7780: <preloaded-data mnc="01" mcc="270" operator-name="L LUXGSM" service-provider="P&T Luxgsm" service-provider-id="215">
./etc/event-log-tags:124:50112 gsm_rat_switched (cid|1|5), (network_from|1|5), (network_to|1|5)
./etc/event-log-tags:125:50113 gsm_data_state_change (oldState|3), (newState|3)
./etc/event-log-tags:126:50114 gsm_service_state_change (oldState|1|5), (oldGprsState|1|5), (newState|1|5), (newGprsState|1|5)
./etc/permissions/handheld_core_hardware.xml:58: <!-- GSM phones must also include android.hardware.telephony.gsm.xml -->
./etc/permissions/android.hardware.telephony.gsm.xml:20: <feature name="android.hardware.telephony.gsm" />
regrep cdma (I made some changes)
Code:
./etc/customization/settings/cust.prop:8:ro.cdma.home.operator.alpha=Verizon
./etc/customization/settings/cust.prop:9:ro.cdma.home.operator.numeric=310004
./etc/customization/settings/cust.prop:10:ro.cdma.homesystem=64,65,76,77,78,79,80,81,82,83
./etc/customization/settings/cust.prop:11:ro.cdma.otaspnumschema=SELC,1,80,99
./etc/event-log-tags:122:50110 cdma_data_setup_failed (cause|1|5), (cid|1|5), (network_type|1|5)
./etc/event-log-tags:123:50111 cdma_data_drop (cid|1|5), (network_type|1|5)
./etc/event-log-tags:127:50115 cdma_data_state_change (oldState|3), (newState|3)
./etc/event-log-tags:128:50116 cdma_service_state_change (oldState|1|5), (oldDataState|1|5), (newState|1|5), (newDataState|1|5)
./etc/permissions/handheld_core_hardware.xml:59: <!-- CDMA phones must also include android.hardware.telephony.cdma.xml -->
./build.prop:25:ro.cdma.home.operator.alpha=Verizon
./build.prop:26:ro.cdma.home.operator.numeric=310004
./build.prop:27:ro.cdma.homesystem=64,65,76,77,78,79,80,81,82,83
./build.prop:28:ro.cdma.otaspnumschema=SELC,1,80,99
regrep cdma (2.3.3)
Code:
./etc/customization/settings/cust.prop:12:ro.cdma.home.operator.alpha=Verizon
./etc/customization/settings/cust.prop:13:ro.cdma.home.operator.numeric=310004
./etc/customization/settings/cust.prop:14:ro.cdma.homesystem=64,65,76,77,78,79,80,81,82,83
./etc/customization/settings/cust.prop:15:ro.cdma.otaspnumschema=SELC,1,80,99
./etc/event-log-tags:120:50110 cdma_data_setup_failed (cause|1|5), (cid|1|5), (network_type|1|5)
./etc/event-log-tags:121:50111 cdma_data_drop (cid|1|5), (network_type|1|5)
./etc/event-log-tags:125:50115 cdma_data_state_change (oldState|3), (newState|3)
./etc/event-log-tags:126:50116 cdma_service_state_change (oldState|1|5), (oldDataState|1|5), (newState|1|5), (newDataState|1|5)
./etc/permissions/handheld_core_hardware.xml:59: <!-- CDMA phones must also include android.hardware.telephony.cdma.xml -->
./etc/permissions/android.hardware.telephony.cdma.xml:20: <feature name="android.hardware.telephony.cdma" />
./build.prop:28:ro.cdma.home.operator.alpha=Verizon
./build.prop:29:ro.cdma.home.operator.numeric=310004
./build.prop:30:ro.cdma.homesystem=64,65,76,77,78,79,80,81,82,83
./build.prop:31:ro.cdma.otaspnumschema=SELC,1,80,99
Update:
I know that Verizon downloads the data for APN to your phone for you (stupid Verizon)
When I tried putting in the APN, and clicked save, it didn't save... any ideas?
Just another Idea, does anybody know where it checks for the sim card?
---------- Post added at 08:42 AM ---------- Previous post was at 08:38 AM ----------
Interesting link (stackoverflow is perhaps the awesomest website ever, gave me a link to here)
Telephony manager does do alot of more than just sit there, we might wanna look into that and see what's pointing to it...
link: http://developer.android.com/reference/android/telephony/TelephonyManager.html
paxChristos said:
Just another Idea, does anybody know where it checks for the sim card?
Click to expand...
Click to collapse
I think the baseband does that
Sent from my R800i using Tapatalk

Change the default settings?

Hey, I tried googling and searching this but couldn't find my answer so thought I'd ask.
I just want to change the default settings of a ROM, what files do I edit and what's the basic syntax? I tried looking around Settings.apk but couldn't find the right file, I'm not sure what the structure of the apk is though.
Thanks in advance
Maybe build.prop in /system
Sent from my MB525 using XDA
Can't seem to find the settings in build.prop, just system values. I just want to change what the options under the Settings app are by default in the ROM.
Default Settings are in:
"/frameworks/base/packages/SettingsProvider/res/values/defaults.xml"
See Link
best regards
ExtremeGTX said:
Default Settings are in:
"/frameworks/base/packages/SettingsProvider/res/values/defaults.xml"
See Link
best regards
Click to expand...
Click to collapse
Thanks, that link shows the exact file I'm after. Sadly, however, the HTC ROM I'm working on appears to have a different structure. At least I know the file I'm looking for though, but sadly searching for the name doesn't do much because Ubuntu's search is useless
on Ubuntu i'm using Notepad++ search function (you will need Wine)
it's really awesome, especially with projects like linux kernel, AOSP, etc.
ExtremeGTX said:
on Ubuntu i'm using Notepad++ search function (you will need Wine)
it's really awesome, especially with projects like linux kernel, AOSP, etc.
Click to expand...
Click to collapse
Really? lol
Code:
grep -irn "STRING_TO_FIND" *
A lot of overhead to search eh?
I meant for finding files, not strings within those files, Gedit can do that easily
Hexgore said:
I meant for finding files, not strings within those files, Gedit can do that easily
Click to expand...
Click to collapse
For finding files you can use "find -name <filename>"
Sent from my GT-P1000 using XDA
cdesai said:
For finding files you can use "find -name <filename>"
Sent from my GT-P1000 using XDA
Click to expand...
Click to collapse
I'll try that next time I need it, thanks (just finished my ROM stuff for the day)

[Q] where are touch screen driver and flies

hello i just want to ask where are touchscreen files and drivers because i found cyanogenmod for similar hardware but only the touch screen is not working so i thought to replace with the working rom for my device
PLEASE HELP ME OUT WITH THIS ONE !
icoolguy1995 said:
hello i just want to ask where are touchscreen files and drivers because i found cyanogenmod for similar hardware but only the touch screen is not working so i thought to replace with the working rom for my device
PLEASE HELP ME OUT WITH THIS ONE !
Click to expand...
Click to collapse
please give me an answer
icoolguy1995 said:
please give me an answer
Click to expand...
Click to collapse
go to the root of your filesystem most root browsers do this anyways and dev then input and it should be the event files
hillconnor13 said:
go to the root of your filesystem most root browsers do this anyways and dev then input and it should be the event files
Click to expand...
Click to collapse
what are event files
i checked there are no files
there is no appropriate answers please i need it pls help me out guys
/sys/android_touch/vendor (open it as a text file)
That tells you the make of your touchscreen. First step to seeing if it is compatible at all.
And you can't just make CM for another device work for yours by replacing a few files. It has to be ported to your device or compiled from source with all the right drivers and binaries. This requires a lot of developer knowledge, which you don't seem to have judging by your questions. So don't go messing around changing files in ROMs and trying to make them work. If you're really interested, learn about porting and compiling from source.
Sent from my Desire HD using xda premium
sashank said:
/sys/android_touch/vendor (open it as a text file)
That tells you the make of your touchscreen. First step to seeing if it is compatible at all.
And you can't just make CM for another device work for yours by replacing a few files. It has to be ported to your device or compiled from source with all the right drivers and binaries. This requires a lot of developer knowledge, which you don't seem to have judging by your questions. So don't go messing around changing files in ROMs and trying to make them work. If you're really interested, learn about porting and compiling from source.
Sent from my Desire HD using xda premium
Click to expand...
Click to collapse
i did not find android_touch in sys folder from root explorer

[Q] Help!!! how to add new device in dsixda kitchen

How to add new device in dsxida kitchen?
what do you mean by that ?
we just add new rom as a base in it
in kitchen there is a folder called
original_update
copy the zip file in that folder, open kitchen and select first option of setup working folder
Sent from my GT-S5670 using xda premium
soham jambhekar said:
what do you mean by that ?
we just add new rom as a base in it
in kitchen there is a folder called
original_update
copy the zip file in that folder, open kitchen and select first option of setup working folder
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
You can't just put the zip file in original_update. Kitchen has to be configured for your device, or it will not work. I'd like to know how to do that as well.
klembo1957 said:
You can't just put the zip file in original_update. Kitchen has to be configured for your device, or it will not work. I'd like to know how to do that as well.
Click to expand...
Click to collapse
Nope, there is no such necessity
OK
iamareebjamal said:
Nope, there is no such necessity
Click to expand...
Click to collapse
OK then, if it isn't necessary to configure the kitchen for your device, then how can you make it work with your device? I am just a NOOB, let's make that perfectly clear. However, I followed the directions to the letter, and read up on the kitchen before trying it. I had no success using the kitchen to create a rom that I could successfully flash.
I thought that I would have to do something with the edify defs files first, adding my device before it would work. I just never got that far yet (I only play with this part time, when I have a chance to do so.) If I don't have to add my device, and you have some idea what I may have done wrong, please enlighten me. I obviously need the help. Thanks!
klembo1957 said:
OK then, if it isn't necessary to configure the kitchen for your device, then how can you make it work with your device? I am just a NOOB, let's make that perfectly clear. However, I followed the directions to the letter, and read up on the kitchen before trying it. I had no success using the kitchen to create a rom that I could successfully flash.
I thought that I would have to do something with the edify defs files first, adding my device before it would work. I just never got that far yet (I only play with this part time, when I have a chance to do so.) If I don't have to add my device, and you have some idea what I may have done wrong, please enlighten me. I obviously need the help. Thanks!
Click to expand...
Click to collapse
You put any custom ROM for your device in there, configure it for that file (meaning that show it the file you're working on), replace it's system folder with the stock deodexed system folder.
Now, you're ready. Do your modifications. Add features. Build. Zip
Now, the important part.
Kitchen updater-script doesn't work on our device in some case. Use any custom ROM updater-script (with permission and credit), and voila!
There is a complete guide on it in Development section too.
iamareebjamal said:
Nope, there is no such necessity
Click to expand...
Click to collapse
I have tried the kitchen with my phone before, (LG Spectrum/VS920), and the ROMS generated by it will not work. It has something to do with the "edify defs" file I believe. I read it somewhere before in these forums. If your device isn't supported, it has to be added, or at least that's what I've come to understand. If someone can point me in the right directrion (adding my phone so it is supported by the kitchen), I'd appreciate it greatly.
klembo1957 said:
I have tried the kitchen with my phone before, (LG Spectrum/VS920), and the ROMS generated by it will not work. It has something to do with the "edify defs" file I believe. I read it somewhere before in these forums. If your device isn't supported, it has to be added, or at least that's what I've come to understand. If someone can point me in the right directrion (adding my phone so it is supported by the kitchen), I'd appreciate it greatly.
Click to expand...
Click to collapse
Only thing is that it's updater-script doesn't work
You have to add yours
iamareebjamal said:
Only thing is that it's updater-script doesn't work
You have to add yours
Click to expand...
Click to collapse
That's all? Just add that and it will work? OK, I'll give it a try. Thanks.
klembo1957 said:
That's all? Just add that and it will work? OK, I'll give it a try. Thanks.
Click to expand...
Click to collapse
did it work ?

Categories

Resources