Jump to content


Photo

Universal MVNO patch

- - - - -

  • Please log in to reply
49 replies to this topic

#41
leromarinvit

leromarinvit

    Regular

  • Members
  • PipPip
  • 77 posts
This would certainly be a more elegant solution. It would probably be possible, but almost certainly quite hard to do. The framework is usually customized by the device manufacturers, so I don't think you can just compile it from source and replace it. You'd have to program all this in Dalvik opcodes, which can then be translated back into bytecode by smali.

  • 0

#42
fortunados

fortunados

    Newbie

  • Members
  • Pip
  • 4 posts
  • Devices:p3300

Look at lines 1527 and 1529. Remove and replace with "goto :cond_51".


You sir, are a real Gentleman and there is no words to describe the grateful that I am.

After fighting 2 hours I was able to change tle lines, recompress, recompress and then fighting for 4 more hours to install adb and make it work just to push the framework back to his place.

I am really sure that there is more people interested in this.

I posted this as solution in the spanish forums where more people have the same problem but I am not sure if It will work for different roms with different frameworks.jar

Is it any trick to look for the magical lines and change them ? or It´s necessary to know programming for this stuff ?

Once again Thank you very much.

  • 0

#43
McGiverGim

McGiverGim

    Newbie

  • Members
  • Pip
  • 6 posts
  • Devices:LG Optimus 2x P990
Hi leromarinvit! Finally, I have gone out of my country, and I have tested the mod you made for my O2x. I can say that it works ok. It detects real roaming like roaming.

So thank you very much. Your mod is great!!!

Regards!

  • 0

#44
Florian Lagg

Florian Lagg

    Newbie

  • Members
  • Pip
  • 8 posts
  • Devices:SGH-i900

Open file out\android\internal\telephony\gsm\GSMServieTracker.smali with a text editor of your choice

Hi guys,

Thanks for your explanation. I've a android 2.2 device - does anyone know where to apply a patch like this in Froyo (2.2.1)
I have no out\android\internal nor any file named GSMServieTracker.smali inside the classes.dex.

Thanks in advance, best regards,
Florian Lagg

--- edit ---
i have an out\android\telephony\gsm\GsmCellLocation.smali
I just attached it here. Maybe this is what I'm searching for?
As I do not know how to interpret that code could someone give me a hint?
Thanks.

Attached Files


Edited by Florian Lagg, 29 March 2012 - 09:04 AM.

  • 0

#45
leromarinvit

leromarinvit

    Regular

  • Members
  • PipPip
  • 77 posts
I don't think that's the right file. Can you give me a link to your ROM or upload your framework somewhere so I can have a look?

  • 0

#46
Florian Lagg

Florian Lagg

    Newbie

  • Members
  • Pip
  • 8 posts
  • Devices:SGH-i900

I don't think that's the right file. Can you give me a link to your ROM or upload your framework somewhere so I can have a look?

Oh, I have to say sorry ... I didn't see it's a ZTE Blade forum ... I just tried to find a solution for my mobile. It's not a ZTE Blade.
If you still want to help here is my file:
http://www46.zippysh...95324/file.html

Thanks!

  • 0

#47
leromarinvit

leromarinvit

    Regular

  • Members
  • PipPip
  • 77 posts

Oh, I have to say sorry ... I didn't see it's a ZTE Blade forum ... I just tried to find a solution for my mobile. It's not a ZTE Blade.
If you still want to help here is my file:
http://www46.zippysh...95324/file.html

Thanks!

No problem! Can you try this patched framework?

http://www64.zippysh...11344/file.html

  • 0

#48
Florian Lagg

Florian Lagg

    Newbie

  • Members
  • Pip
  • 8 posts
  • Devices:SGH-i900

No problem! Can you try this patched framework?

Thanks, I am just trying it ...
I still get the R in the symbol, and I have to activate roaming to get online.
Anything else I could try?

  • 0

#49
Florian Lagg

Florian Lagg

    Newbie

  • Members
  • Pip
  • 8 posts
  • Devices:SGH-i900

Thanks, I am just trying it ...
I still get the R in the symbol, and I have to activate roaming to get online.
Anything else I could try?

I'll also try another solution which looks easier to me:
see http://forum.xda-dev...880&postcount=5

According to this, that line should do the trick:

<!-- yesss! - Orange AT -->
<spnOverride numeric="23212" fake_home_on="23205"/>

I will report back.
--> NOPE, it didn't work. No matter what I do there - network shows as roaming.

Edited by Florian Lagg, 03 April 2012 - 09:30 AM.

  • 0

#50
mojones

mojones

    Newbie

  • Members
  • Pip
  • 4 posts
Can you please uploade the patch again? its offline ... Pleas upload to some mirrors not only 1, thanks

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users