FORUMS

Top Forum Discussions

[FIX] Working wifi, usb and bluetooth tether!

14 posts
Thanks Meter: 25
 
By Creeplays, Junior Member on 28th July 2014, 07:05 AM
Post Reply Subscribe to Thread Email Thread
Hey guys, i am found way to fix wifi, usb and bluetooth tether!
  1. Copy framework-res.apk from device (adb pull /system/framework/framework-res.apk)
  2. Back up apk.
  3. Decompile it (apktool d framework-res.apk)
  4. browse to framework-res/res/values and open arrays.xml
  5. Find "<string-array name="config_tether_usb_regexs">"
  6. Replace from "<string-array name="config_tether_usb_regexs">" to "<array name="config_mobile_hotspot_provision_app"/>" with
    Code:
        <string-array name="config_tether_usb_regexs">
            <item>rndis0</item>
        </string-array>
        <string-array name="config_tether_wifi_regexs">
            <item>wlan\\d</item>
        </string-array>
        <array name="config_tether_wimax_regexs" />
        <string-array name="config_tether_bluetooth_regexs">
            <item>bnep\\d</item>
        </string-array>
        <array name="config_tether_dhcp_range" />
        <array name="config_mobile_hotspot_provision_app" />
  7. Save
  8. Compile (apktool b framework-res)
  9. COPY META-INF AND ANDROIDMANIFEST.XML FROM OLD APK!
  10. Copy this file to /system/framework using RootExplorer
  11. Reboot phone
  12. Done
The Following 3 Users Say Thank You to Creeplays For This Useful Post: [ View ]
 
 
28th July 2014, 08:33 AM |#2  
Member
Flag Belgrade
Thanks Meter: 44
 
More
Can anyone confirm this or at least give us required apk changed and ready to be included in rom (cm, or others?)
28th July 2014, 10:53 AM |#3  
OP Junior Member
Thanks Meter: 25
 
More
Quote:
Originally Posted by calinorg

Can anyone confirm this or at least give us required apk changed and ready to be included in rom (cm, or others?)

http://forum.xda-developers.com/htc-...c-rom-t2828714
The Following User Says Thank You to Creeplays For This Useful Post: [ View ]
28th July 2014, 01:58 PM |#4  
h1gh1's Avatar
Senior Member
Thanks Meter: 1,384
 
More
EDIT: my mistake... Tested working on cyanogenmod!!! Placed META-INF and replaced AndroidManifest.xml with 7zip GUI in new framework-res.apk, pushed it with adb push /system/framework, phone reboots and it works!
Last edited by h1gh1; 29th July 2014 at 07:01 AM.
29th July 2014, 02:57 AM |#5  
OP Junior Member
Thanks Meter: 25
 
More
Quote:
Originally Posted by h1gh1

Tested fix on cyanogenmod - not working, wifi never turns on... Was working with PAC rom and same kernel...

Give me apk
13th August 2014, 12:52 PM |#6  
h1gh1's Avatar
Senior Member
Thanks Meter: 1,384
 
More
<string-array name="config_tether_usb_regexs">
<item>rndis0</item>
<item>usb0</item>
</string-array>

You removed usb0 from regexes, and USB tethering did not work for me, however, when I changed only wlan, everything is working on Cyanogenmod.
5th September 2014, 01:30 PM |#7  
nemanjsb's Avatar
Member
Flag Sokobanja
Thanks Meter: 8
 
More
Unhappy
How to "COPY META-INF AND ANDROIDMANIFEST.XML FROM OLD APK!" I skip it and get in boot loop...
6th September 2014, 05:04 PM |#8  
h1gh1's Avatar
Senior Member
Thanks Meter: 1,384
 
More
Quote:
Originally Posted by nemanjsb

How to "COPY META-INF AND ANDROIDMANIFEST.XML FROM OLD APK!" I skip it and get in boot loop...

You can open new apk with 7zip and just drag them.
8th November 2014, 11:29 AM |#9  
Junior Member
Thanks Meter: 1
 
More
thanks
Thanks
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes