Microsoft to Counter “OK Google” with Bing Torque

When Microsoft is making apps for Android, users should be aware that something … more

Google Confirms “Android Lollipop Day” for November 3rd

A little over a week ago, Google announced the latest iteration of … more

Get Your XDA 2015 Custom Avatar and Signature Images Here

As stated in our motto, XDA Developer is for developers, by developers. The … more

Pin Your Photos on Android Lollipop with Photo Pinner

In the last few weeks,we have been talking quite a bit about Android 5.0 Lollipop. This … more
Post Reply

[FIX] Working wifi, usb and bluetooth tether!

OP Creeplays

28th July 2014, 07:05 AM   |  #1  
OP Junior Member
Thanks Meter: 22
 
10 posts
Join Date:Joined: Jul 2014
More
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: 42
 
54 posts
Join Date:Joined: Mar 2010
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: 22
 
10 posts
Join Date:Joined: Jul 2014
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: 512
 
261 posts
Join Date:Joined: Sep 2012
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: 22
 
10 posts
Join Date:Joined: Jul 2014
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: 512
 
261 posts
Join Date:Joined: Sep 2012
<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: 0
 
33 posts
Join Date:Joined: May 2013
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: 512
 
261 posts
Join Date:Joined: Sep 2012
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.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Desire C General by ThreadRank