Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Gingerbread and USSD QuD fix

OP hunderteins

21st March 2012, 06:15 PM   |  #1  
OP Senior Member
Thanks Meter: 335
 
181 posts
Join Date:Joined: Sep 2009
TL;DR: It works for me. Try it. If it works, good for you.

I patched libril-qc-1.so in a way, that it sends a fixed length of 32 bytes instead of 4. (position 0xa8fc2).

Good luck,
hunderteins
Attached Files
File Type: gz libril-qc-1.so.gz - [Click for QR Code] (594.5 KB, 3342 views)
The Following 23 Users Say Thank You to hunderteins For This Useful Post: [ View ]
21st March 2012, 06:26 PM   |  #2  
Wiki Admin / Recognized Contributor
Thanks Meter: 1,597
 
3,547 posts
Join Date:Joined: Dec 2010
I packaged it up into a flashable zip

Quote:

Requirements:

  1. A custom recovery:
    • Streakmod
    • Clockwork Mod [Untested]
    • Team Win Recovery Project [Untested]
  2. A compatable rom (see below)

Compatable devices and roms:
  • Streak 5
    • 407 based roms
      • Stock/deodexed 407
      • DSC 0.74

    • MIUI
      • 2.2.1.7
      • 2.3.2
    • CM7
  • Venue
    • 408 based roms
      • Stock/deodexed 408 (untested)
      • SD4 250 (untested)

Quote:

Install instructions:

  1. Download: update-USSDfix-2.zip
  2. Copy update zip to SD card
  3. Reboot into custom recovery mod
  4. Select "update from update.zip"
  5. Navigate to superuser.zip
  6. Flash
  7. Finished

Quote:

Credit:

  • hunderteins for making the mod

(Original post)
Quote:
Originally Posted by TheManii


Could you make a new summary of how the patch works? I remember seeing the explaniation of it in the other thread, but it would be better if it was posted again here so we dont have to dig though it to find the techincal details.

I'm gonna package it up as a flashable zip if you dont mind, who should be listed in the credits? Anyone besides you?

Finally I'm gonna also release it for the venue, as it uses the same libril-qc-1.so (it's byte identical) and could benefit from the same fix

Last edited by TheManii; 22nd July 2012 at 05:01 AM.
The Following 7 Users Say Thank You to TheManii For This Useful Post: [ View ]
21st March 2012, 06:31 PM   |  #3  
lordmorphous's Avatar
Senior Member
Flag Clermont, FL
Thanks Meter: 397
 
1,243 posts
Join Date:Joined: Mar 2009
More
I can confirm that this works for me on MIUI 2.2.1.7
Thanks
The Following User Says Thank You to lordmorphous For This Useful Post: [ View ]
21st March 2012, 06:35 PM   |  #4  
_n0p_'s Avatar
Senior Member
Flag Kiev
Thanks Meter: 1,827
 
2,557 posts
Join Date:Joined: Apr 2009
More
Works!
You rock!
The Following User Says Thank You to _n0p_ For This Useful Post: [ View ]
21st March 2012, 06:38 PM   |  #5  
Senior Member
Thanks Meter: 77
 
281 posts
Join Date:Joined: Dec 2011
Works, so fuc#####g cool.
101 , you are great.
Thank you.
21st March 2012, 06:39 PM   |  #6  
_2bad4u_'s Avatar
Senior Member
Thanks Meter: 129
 
358 posts
Join Date:Joined: Aug 2011
More
I can confirm that is working with dsc 0.74 Thank you very much.
21st March 2012, 06:54 PM   |  #7  
Member
Flag Viet nam
Thanks Meter: 9
 
50 posts
Join Date:Joined: Feb 2011
Donate to Me
More
Confirm it works in CM7 "copy/paste in root explorer"



regards from VN
ramski
Last edited by ramski; 21st March 2012 at 06:58 PM.
21st March 2012, 07:31 PM   |  #8  
OP Senior Member
Thanks Meter: 335
 
181 posts
Join Date:Joined: Sep 2009
Quote:
Originally Posted by TheManii

Could you make a new summary of how the patch works? I remember seeing the explaniation of it in the other thread, but it would be better if it was posted again here so we dont have to dig though it to find the techincal details.

That was just analysing the bug: GB-roms on the 5treak send only the first 4
bytes of a USSD-code you put into the dialer. This fix is done directly in the
libril-qc-1.so of 407. Just replace the binary-files. There is only one byte
changed. The fixed length of 0x04 -> 0x20. Look into the original post.

Quote:
Originally Posted by TheManii

I'm gonna package it up as a flashable zip if you dont mind, who should be listed in the credits? Anyone besides you?

Good idea. Thank you. Credits got to TheManii for his file-space and the
deodexed roms. They are very useful. Than there is the gnu-gcc collection
especially objdump and strace. And my mommy of course.
All the rom-cooks for making the 5treak useful. And qualcomm for beeing
such dickheads with qmi so I was forced to play needle in a haystack in arm
assembler.

Quote:
Originally Posted by TheManii

Finally I'm gonna also release it for the venue, as it uses the same libril-qc-1.so (it's byte identical) and could benefit from the same fix

I keep my fingers crossed for you and the venue.

Reg,
hunderteins
The Following 2 Users Say Thank You to hunderteins For This Useful Post: [ View ]
21st March 2012, 07:33 PM   |  #9  
advant1985's Avatar
Member
Flag jakarta
Thanks Meter: 8
 
85 posts
Join Date:Joined: Dec 2011
Donate to Me
More
Quote:
Originally Posted by ramski

Confirm it works in CM7 "copy/paste in root explorer"



regards from VN
ramski

explorer in the folder in the root where I copy the pacth?
whether you can explain to me,, sorry I was not too much about the process

thanks u very much
21st March 2012, 07:34 PM   |  #10  
Edrill's Avatar
Senior Member
Thanks Meter: 43
 
217 posts
Join Date:Joined: Nov 2010
More
/system/lib

The Following 3 Users Say Thank You to Edrill For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
gingerbread, ussd
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes