Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,770,471 Members 42,057 Now Online
XDA Developers Android and Mobile Development Forum

Gingerbread and USSD QuD fix

Tip us?
 
hunderteins
Old
#1  
Senior Member - OP
Thanks Meter 327
Posts: 173
Join Date: Sep 2009
Angry Gingerbread and USSD QuD fix

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, 2988 views)
The Following 23 Users Say Thank You to hunderteins For This Useful Post: [ Click to Expand ]
 
TheManii
Old
(Last edited by TheManii; 22nd July 2012 at 04:01 AM.)
#2  
Wiki Admin / Recognized Contributor
Thanks Meter 1512
Posts: 3,383
Join Date: Dec 2010

 
DONATE TO ME
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
XDA Wiki Moderator
Nexus 4: Stock 4.4.4 (KTU84P) 2013 N7: Stock 4.4.4 (KTU84P)
iTouch 5G: 6.1.2 (10B146) Surface Pro 2: Win8.1u1 (6.3.9600.17085.amd64fre.winblue_gdr.140330-1035)
The Following 7 Users Say Thank You to TheManii For This Useful Post: [ Click to Expand ]
 
lordmorphous
Old
#3  
lordmorphous's Avatar
Senior Member
Thanks Meter 387
Posts: 1,219
Join Date: Mar 2009
Location: Clermont, FL
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: [ Click to Expand ]
 
_n0p_
Old
#4  
_n0p_'s Avatar
Senior Member
Thanks Meter 1824
Posts: 2,557
Join Date: Apr 2009
Location: Kiev
Works!
You rock!
The Following User Says Thank You to _n0p_ For This Useful Post: [ Click to Expand ]
 
abauer
Old
#5  
Senior Member
Thanks Meter 76
Posts: 270
Join Date: Dec 2011
Works, so fuc#####g cool.
101 , you are great.
Thank you.
 
_2bad4u_
Old
#6  
_2bad4u_'s Avatar
Senior Member
Thanks Meter 129
Posts: 358
Join Date: Aug 2011
I can confirm that is working with dsc 0.74 Thank you very much.
Personal attacks and / or superiority complexes are unconstructive, off-topic and unseemly. I would ask you to try and limited them ... With bowing.
--------------------------------------------------------------------------------------------
Samsung Galaxy S3 i9300 - CM11.0 Temasek ( KANG Thread )
Kernel - Boeffla Omni Kernel
 
ramski
Old
(Last edited by ramski; 21st March 2012 at 05:58 PM.)
#7  
Member
Thanks Meter 9
Posts: 50
Join Date: Feb 2011
Location: Viet nam

 
DONATE TO ME
Confirm it works in CM7 "copy/paste in root explorer"



regards from VN
ramski
 
hunderteins
Old
#8  
Senior Member - OP
Thanks Meter 327
Posts: 173
Join Date: Sep 2009
Quote:
Originally Posted by TheManii View Post
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 View Post
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 View Post
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: [ Click to Expand ]
 
advant1985
Old
#9  
advant1985's Avatar
Member
Thanks Meter 8
Posts: 85
Join Date: Dec 2011
Location: jakarta

 
DONATE TO ME
Quote:
Originally Posted by ramski View Post
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
 
Edrill
Old
#10  
Edrill's Avatar
Senior Member
Thanks Meter 43
Posts: 217
Join Date: Nov 2010
/system/lib

The Following 3 Users Say Thank You to Edrill For This Useful Post: [ Click to Expand ]
Tags
gingerbread, ussd
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes