Shoot Troubles, Not Users w/ Alex Boag-Munroe – XDA:DevCon 2014

In presenting the various sessions from XDA:DevCon 2014, weve mainly … more

Oppo Releases ColorOS for the Find 5… Poorly

Almost every OEM has taken the liberty of creating its own incarnation of the Android OS. … more

XDA LG Development Challenge Winners

Almost 3months ago, we set out with LGto findtwo amazing apps that developers could put together … more

Wearable Apps w/ Andreas Göransson – XDA:DevCon 2014

XDA:DevCon 2014 in Manchester, UK featured quite a few interesting topics as … more

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

[FIX] Working wifi, usb and bluetooth tether!

OP Creeplays

28th July 2014, 08:05 AM   |  #1  
OP Junior Member
Thanks Meter: 24
 
14 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, 09:33 AM   |  #2  
Member
Flag Belgrade
Thanks Meter: 42
 
64 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, 11:53 AM   |  #3  
OP Junior Member
Thanks Meter: 24
 
14 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, 02:58 PM   |  #4  
h1gh1's Avatar
Senior Member
Thanks Meter: 855
 
493 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 08:01 AM.
29th July 2014, 03:57 AM   |  #5  
OP Junior Member
Thanks Meter: 24
 
14 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, 01:52 PM   |  #6  
h1gh1's Avatar
Senior Member
Thanks Meter: 855
 
493 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, 02:30 PM   |  #7  
nemanjsb's Avatar
Member
Flag Sokobanja
Thanks Meter: 0
 
47 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, 06:04 PM   |  #8  
h1gh1's Avatar
Senior Member
Thanks Meter: 855
 
493 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.
8th November 2014, 12:29 PM   |  #9  
Junior Member
Thanks Meter: 1
 
14 posts
Join Date:Joined: Jan 2013
thanks
Thanks

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

Advanced Search
Display Modes