FORUMS

CloudPlayer: DIY HiFi Music Streaming Solution

In our Helpful Guide to Music Streaming Services, we mentioned several different services … more

Optimize Battery Life with This Useful App

Battery life is an important aspect of your smartphone, especially if you use it for more … more

The OnePlus 2 & The Year of Smartphone Compromises

We are very close to entering the last third of 2015, and we have now seen many of … more

OnePlus 2 Teardown, Major Android Vulnerability – XDA TV

The OnePlus 2 has been officially released. That and much more news is … more

Gingerbread and USSD QuD fix

190 posts
Thanks Meter: 346
 
By hunderteins, Senior Member on 21st March 2012, 05:15 PM
Post Reply Subscribe to Thread Email Thread
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, 3910 views)
The Following 23 Users Say Thank You to hunderteins For This Useful Post: [ View ]
 
 
21st March 2012, 05:26 PM |#2  
Wiki Admin / Recognized Contributor
Thanks Meter: 1,611
 
More
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 04:01 AM.
The Following 7 Users Say Thank You to TheManii For This Useful Post: [ View ]
21st March 2012, 05:31 PM |#3  
lordmorphous's Avatar
Senior Member
Flag Clermont, FL
Thanks Meter: 400
 
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, 05:35 PM |#4  
_n0p_'s Avatar
Senior Member
Flag Kiev
Thanks Meter: 1,829
 
More
Works!
You rock!
The Following User Says Thank You to _n0p_ For This Useful Post: [ View ]
21st March 2012, 05:38 PM |#5  
Senior Member
Thanks Meter: 77
 
More
Works, so fuc#####g cool.
101 , you are great.
Thank you.
21st March 2012, 05:39 PM |#6  
_2bad4u_'s Avatar
Senior Member
Thanks Meter: 129
 
More
I can confirm that is working with dsc 0.74 Thank you very much.
21st March 2012, 05:54 PM |#7  
Member
Flag Viet nam
Thanks Meter: 9
 
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 05:58 PM.
21st March 2012, 06:31 PM |#8  
OP Senior Member
Thanks Meter: 346
 
More
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, 06:33 PM |#9  
advant1985's Avatar
Member
Flag jakarta
Thanks Meter: 8
 
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, 06:34 PM |#10  
Edrill's Avatar
Senior Member
Thanks Meter: 44
 
More
/system/lib
The Following 3 Users Say Thank You to Edrill For This Useful Post: [ View ]
21st March 2012, 06:46 PM |#11  
Senior Member
Flag Tarsus
Thanks Meter: 131
 
Donate to Me
More
Works on MIUI 2.2.17 Thanks!

Read More
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes