yashsingh1/xdaforums huggingface dataset:
[Nexus 7 3G Android Development] TheRift:
SPECIAL NOTE for all my Italian fellows!

After you unlock/root/custom recovery your nexus 7 and then flash the tethering .zip as suggested by other users in this thread, you would recover your tethering functionality. IF it happens to you to subscribe a Internet 3G carrier like "TIM" (Telecon Italia Mobile), it would also happens that all the devices that you try to connect via wifi tethering to your nexus 7 would do that BUT you without the possibility to navigate properly.

Apparently the problem is specific to the nexus 7 (no problem with apple devices for example) and consist in the "blocked" APN provided by TIM. This app seems to resolve the problem (surely worked for me and other users around italy).

https://play.google.com/store/apps/details?id=com.tetherunlocker&feature=also_installed[/url]

Take care! :cowboy:
[Nexus 7 3G Android Development] naeco:
Wifi & bluetooth work, USB tethering does not

Thanks for the zip! I got it working!

However, I can only activate Wifi Hotspot and Bluetooth tethering (their boxes can be checked). USB tethering does not working for me. When I try checking the box, it loads for 2 seconds then nothing happens.

Does anyone else have this problem with USB tethering? Just FYI, I have USB debugging enabled and StickMount installed for USB OTG. The device connect to the computer as Media Device (MTP).
[Nexus 7 3G Android Development] eme2:
Same problem here with StickMount installed
[Nexus 7 3G Android Development] silverbios:
hi

how to enable hotspot on 4.2.2 jdq39?

tnx
[Nexus 7 3G Android Development] cmstlist:
I don't suppose it'd be possible to make a module for Xposed that would enable tethering?
[Nexus 7 3G Android Development] angeleo02:
add for jwr66v :D please
[Nexus 7 3G Android Development] UtianG:
What? They didn't include Tethering in 4.3? Dammit Google.This should be standard functionality!!!
[Nexus 7 3G Android Development] cmstlist:
It was disabled for 4.2.x as well on tilapia devices.
[Nexus 7 3G Android Development] UtianG:
I know, I was hoping they would add it back in 4.3 :( Oh well ...
[Nexus 7 3G Android Development] PVL_93_RU:
Can anybody port it over from CM once 4.3 based version is out? AFAIK there's only a framework edit needed...
[Nexus 7 3G Android Development] 3andala:
[MENTION=3033727]stridger[/MENTION] wish u make it available for 4.3 too

Thanks in advance

Cheers
[Nexus 7 3G Android Development] bociaan:
4.3 tether

I really would appreciate flashable zip to enable tethering for 4.3.:sly:

Thanks in advance !
[Nexus 7 3G Android Development] Matteo 88:
Hi i just pulled the file decompressed it and it works for me i will aditionally put a small guide here:

after pulling framework-res.apk and decompiling modify the following lines in /res/values/arrays.xml

<array name="config_tether_usb_regexs" />

<array name="config_tether_wifi_regexs" />

<array name="config_tether_wimax_regexs" />

<array name="config_tether_bluetooth_regexs" />

<array name="config_tether_dhcp_range" />

<array name="config_mobile_hotspot_provision_app" />

<array name="config_tether_upstream_types" />

to

<string-array name="config_tether_usb_regexs">

<item>rndis\\d</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" />

<integer-array name="config_tether_upstream_types">

<item>0</item>

<item>1</item>

<item>5</item>

<item>7</item>

</integer-array>

recompile the framework-res.apk sign it and u are ready to go.

Here are the links for the stock framework and the tether mod:

Stock Framework 4.3

Tether enabled

U can flash them with sideload and i recommend a cache wipe after it.

HF
[Nexus 7 3G Android Development] Adrixan:
As I failed to get this right:

Could you please post instructions on how to do the recompiling and signing. I already tried it last week with APK tool but failed miserably.
[Nexus 7 3G Android Development] Matteo 88:
i use the apk multi tool it has a sign option ;P
[Nexus 7 3G Android Development] cmstlist:
Would anyone here have the smarts to turn the tether mod into an Xposed Framework module? That would make it more portable - e.g. it would work on new firmware versions and on the Nexus 7 II LTE when that comes out too.
[Nexus 7 3G Android Development] Adrixan:
ok, then the guide I used was simply misleading, they said not to sign it, if it's a system apk
[Nexus 7 3G Android Development] d4md:
N00b here

Hi Matteo, thanks for sharing. I am, however, not proficient with modifying stuff in the framework. I need some further assistance.

Will this work after I manually flash a stock 4.3 ROM, then flash the tether enable zip you made? Or after the update, I would need to recompile the framework-res.apk, then flash the zip?

Thanks in advance.
[Nexus 7 3G Android Development] Matteo 88:
in my original thred are the links for the stock framework and for the tether enabled one just download.

First u need to flash 4.3 then u flash the zip, i sideloaded it but should work if u flash from cwm or twrp as well.
[Nexus 7 3G Android Development] Adrixan:
Could you please create the framework for JSS15J as well?
[Nexus 7 3G Android Development] Matteo 88:
doesnt it work for that one ?

i built it for jwr66v and i wont upgrade my system anytime soon so i wont do another mod sry
[Nexus 7 3G Android Development] Adrixan:
Guess I'll have to give it another shot myself then. For the newer one it just keeps hanging on the boot screen, so presumably there is a difference between the two builds.
[Nexus 7 3G Android Development] d4md:
close but no cigar.

I was able to install the zip, however, it does get stuck on the nexus 'X' boot screen. I flashed the stock framework and it booted up normally. Maybe I missed something?

I'm running on CWM custom recovery, it did ask me if I wanted to revert to the stock recovery. Maybe it will work only on stock recovery, then just re-flash CWM? Also I am running on the 2012 Nexus 7 GSM.
[Nexus 7 3G Android Development] Matteo 88:
Did u whipe chache and dalvik cache after installing zip?
[Nexus 7 3G Android Development] ScanaX:
THX for all! It works great. Installed with TWRP 2.6, rebooted and everything is OK!

Grazie mille compà :)

P.S.: what about a new thread for teethering in new ROM?
[Nexus 7 3G Android Development] Matteo 88:
You can do one if u want to can even copy links i just did it for myself and thought theres nothing wrong with sharing it :D

But i dont want to take the time to manage an thread
[Nexus 7 3G Android Development] d4md:
Re-flashed stock 4.3, flashed root and enabletether zip before booting into 4.3 again. Now it works!

Thanks a lot Matteo!
[Nexus 7 3G Android Development] 3andala:
Thank u bro :)

it works perfect just flashed enable tether then wipe cache & davlick cache

Cheers
[Nexus 7 3G Android Development] PVL_93_RU:
[MENTION=4877139]Matteo 88[/MENTION]

Um, stock (odexed) 4.3 (JWR66V) got stuck in bootloop after flashing tether mod

Did both wipe cache and wipe dalvik cache after flashing - still the same result

Tried doing so from the CWM Touch 6.0.3.1
[Nexus 7 3G Android Development] Serenadier:
Would appreciate a 4.3 mod for tethering. Thanks!
[Nexus 7 3G Android Development] rob973:
it does not work for me. (nexus 7 3g with original 4.3)

I tried to flash with twrp 2.6, after flash I did wipe cache and dalvik.

After reboot, it appeared "updating applications", and after that the X of nexus (bootloop)
[Nexus 7 3G Android Development] psxsnake:
same here, bootloop :(

try with Unsecure boot rooted (original) N73G and both TWRP and CWM recovery (no original recovery)

the one have succeded, on which recovery?

i think the problem are in deodexed/odexed.... framework
[Nexus 7 3G Android Development] zzzTinkoFFzzz:
I made everything according to the instruction. I confirm everything works!
[Nexus 7 3G Android Development] valemax:
First flash enabletether, wipe cache, reboot > bootloop

then flash original framework-res, reboot > ok

reflash enabletether, reboot > ok and tethering enabled.

strange behavior, but...
[Nexus 7 3G Android Development] kenkiller:
Yup...Same sequence to get going.
[Nexus 7 3G Android Development] psxsnake:
it's funny but work with 3 flash mode :)
[Nexus 7 3G Android Development] rob973:
so you did wipe cache only fist time?

I flashed enabletether, wipe cache and bootloop

Then I flashed original framework, wipe cache, but bootloop too.

So I did a full wipe, reflash original jb 4.3 and now my nexus works, without tether
[Nexus 7 3G Android Development] AlvaroJeg:
Thanks

thanks.

it works perfectly, following the suggested sequence
[Nexus 7 3G Android Development] rob973:
it works for me, thank you.

The first time I flashed enabletether, I did wipe cache, but not dalvik cache, > bootllop

Then i flashed original framework, I did not any wipe, > boot ok

The I flashed enabletether, I did not any wipe > boot and tether ok
[Nexus 7 3G Android Development] svs57:
My Nexus 7 3g doesn't boot after installing your enabletether_43.zip

ps

sorry. needs to install twice :)
[Nexus 7 3G Android Development] KatanaLin:
I try it...

First..

Download "Stock Framework 4.3" and "Tether enabled" ....

then..

flash "Stock Framework 4.3"...reboot

flash "Tether enabled" ...reboot...OK

Important...

first=> flash "Stock Framework 4.3"
[Nexus 7 3G Android Development] didi0815:
Sorry for my ignorance, but I'm too far away from all theses things ...

I used this thetering mod with 4.2 for my Nexus 7 3G.

I rooted with this tool: http://xdaforums.com/showthread.php?t=1766475 and also used this tool to flash the old 4.2. version for tethering

Now I'm still on 4.2 and want to upgrade. The main reason for rooting was to be able to install tethering (with the disadvantage of having to set up again a lot of things after it).

Do I also have to root 4.3 to install the 4.3 version as described above using sideload?

BTW. can anybody explain to me, why Google does not include tethering for Nexus 7 in stock :silly:
[Nexus 7 3G Android Development] fralken:
Same for me, but no need to wipe cache after first flash...
[Nexus 7 3G Android Development] mark_girard:
i zipped the files and i followed this instructions and the tablet can be detected by other devices. however, the devices won't connect to the internet. 3g is working fine on the tab. please help. thanks
[Nexus 7 3G Android Development] ptm.android:
Done, thanks :good:
[Nexus 7 3G Android Development] didi0815:
Worked for me in the same way using 2 times Wug's Nexus Root Toolkit v1.6.8 for flashing. Reboots were done automatically.
[Nexus 7 3G Android Development] REALGHF:
What's up guys. I did it. But the USB tether didn't work.

Was it the same for you?
[Nexus 7 3G Android Development] jfmcbrayer:
Works for me. I had to do the bootloop dance one time before I got it working.
[Nexus 7 3G Android Development] lordkrychu24:
Works for me perfect :)
[Nexus 7 3G Android Development] nex86:
I tried this. Bootloop....

Help anyone?

edit: when I flash back the Stock framework it works, but after I flash Tether enabled, I'm stuck in a bootloop again.

clearing dalvik cache does not help.

edit2: okay found the issue:

DO NOT clear the dalvik cache a second time AFTER you reflashed enabletether. it will cause the bootloop.

This sucks because everytime the dalvik cache gets recreated you will get a bootloop and have to reflash the stock framework.
[Nexus 7 3G Android Development] jfmcbrayer:
Could someone rebase the latest version of this patch on JWR66Y, if necessary?
[Nexus 7 3G Android Development] aza510:
I second this.. i couldn't get it working on JWR66V would be good to have a Y release.
[Nexus 7 3G Android Development] GuyAdams:
+1 I miss this loads since 4.3.

Thanks
[Nexus 7 3G Android Development] lee.n:
Hi, I am new to flashing thing. Can you tell me how (detailed) to flash this to my Nexus 7 3G rooted ( JWR66Y) ? What tools I need to use and what file should I edit/ modify ?

Also once this flash, should I still get OTA update from Google ? I haven't install any custom room.

Appreciate your response.
[Nexus 7 3G Android Development] lee.n:
Hello,

My thought of installing the zipped by via sideload as follows. Please correct me if I am wrong. I encounter error device not found.

1. C:\Android\adb\sdk\platform-tools>adb devices

List of devices attached

015d4b100c300419 device

2. adb reboot bootloader

- (once rebooted on bootloader)

3. adb sideload Framework_43.zip

error: device not found

- my thought is after the "adb sideload Framework_43.zip" I will run "adb sideload enabletether_43"

a.) how can I remove that error?

b.) am I doing it right?

c.) do I need to clear cache? if so, what is the effect? do my data will be erase?

Do note, I am running Android 4.3 JWR66Y

thank you.
[Nexus 7 3G Android Development] svs57:
Do anybody have framework-res.apk with enable tether for JWR66Y?
[Nexus 7 3G Android Development] zefiro1492:
Hi, i have the last update JWR66Y and i want add the tethering on my N7. This guide it good for android 4.3 or it need waiting the next update?

thanks a lot
[Nexus 7 3G Android Development] didi0815:
I have updated to JWR66Y and installed thethering using the same files and method as I used in POST #239.

Everything seems to work correctly.
[Nexus 7 3G Android Development] svs57:
Thus you downgrade framework-res.apk
[Nexus 7 3G Android Development] didi0815:
Are you sure it has changed?
[Nexus 7 3G Android Development] svs57:
JWR66Y update contains new framework-res.apk

To install JWR66Y you must have stock framework-res.apk because install script check md5 sum of current file before install new.
[Nexus 7 3G Android Development] didi0815:
Ok., again what I did:

1) Update Nexus to JWR66Y stock (I think it think it doesn't matter which way).

2) flash "Stock Framework 4.3" (using "old" version) ...reboot

3) flash "Tether enabled" (using "old" version) ...reboot...OK

"old" versions are the "old" 4.3 files posted by Matteo 88 in POST #206

System is running now with JWR66Y and tethering enabled.
[Nexus 7 3G Android Development] svs57:
Ok Agian. Now you have old Framework instead of new.

I don't what downgrade Framework. I want to have new Framework and tethering enabled.
[Nexus 7 3G Android Development] lee.n:
Can you give instruction on how to flash ? Im new to flashing..

Thanks.
[Nexus 7 3G Android Development] svs57:
Download flashing zip file, transfer it to devices, reboot device into recovery, choose install and zip file.
[Nexus 7 3G Android Development] didi0815:
Me too, but I prefer (for the moment) tethering enabled and (maybe) old framework to new framework without tethering enabled ;)

Do you know if there is even a difference in "new" Framework of JWR66Y compared to first Version of 4.3?

---------- Post added at 03:45 PM ---------- Previous post was at 03:43 PM ----------

There seems to be 100 ways ;)

I did it using this tool: http://xdaforums.com/showthread.php?t=1766475
[Nexus 7 3G Android Development] svs57:
I'm sure that there is difference because old and new framework have different md5 sum.

Then I don't like that in this case i'll have some files updated and some files don't.
[Nexus 7 3G Android Development] lee.n:
Tried : #1

1. Power down the N7, plug in the cable on computer and N7

2. Hold , Vol up , Vol down + power at the same time for 3 to 4 secs, nothing happen ( i a;so tried to hold for 10 secs, still nothing happen), I only see black screen.

- weird thing is, when I press the power buton, the device wont turn on , unless I press and hold power button for about 15 secs, then it will turn on.

Tried #2

1. adb reboot recovery

2. power and vol up at the same time,

- but I cannot find install from zip. only install from adb

I am now trying to download the NRT 1.7.1 but will take time. :(

---------- Post added at 10:57 PM ---------- Previous post was at 10:50 PM ----------

1. adb reboot recovery

2. power and vol up at the same time,

3,. update from ADB

4. adb sideload adb sideload Framework_43.zip

sending: 'sideload' 100%

however, I got error

E: signature verification failed

Installation aborted

Any suggestion ?
[Nexus 7 3G Android Development] eiapoce:
Looks like you have signature verification "ON". It's weird that you can't get into fastboot mode. If I were you I'd issue a

adb reboot-bootloader

and then get to the recovery using the volume and power keys.

I have another problem touught. After installing the framework I realized that the created hotspot is not functional. If I connect to that with another device there is no internet connection. Of course my tablet has a data plan and it's currently working so I am puzzled.

Also the USB tethering is not working, when I try to enable it the checkbox is getting back to the unchecked position and no internet is shared with the PC.

Anyone with these issues?
[Nexus 7 3G Android Development] lee.n:
How can I turn off verification?

ohh, you used the zip files from post #206 ?

Anybody was able to make the tethering work on 4.3 JWR66Y ?

Also, by flashing the files , will still be on official stock firmware? even rooted? which means, once google push new updates, we still get them right ?
[Nexus 7 3G Android Development] eiapoce:
You have to install a custom recovery. Then inside the recovery there are options for removing the file verification (usually it's off by default.).

It looks like you need to follow a guide about rooting your device, I advise you do that first by following one of these guides (available on XDA) and then attempt to install the tether framework.
[Nexus 7 3G Android Development] Matteo 88:
Hi Folks,

as far i could tell there are no diferences in the stock framework-res.apk but i think i fixed the bootloop error on first install and i made a new enable tether file for jwr66y anyways hf flashing.

Enable Tether jwr66y
[Nexus 7 3G Android Development] lee.n:
I've already rooted my Nexus 7 3G using - CF-Auto-Root-tilapia-nakasig-nexus7. What's next ?

Custom recovery will replace the stock android 4.3 ?
[Nexus 7 3G Android Development] Matteo 88:
u dont need to root just unlock and with a good tollkit u dont even need to flash custom recovery i still have stock u can tell the toolkit to boot custom image/recovery when bootloader is unlocked
[Nexus 7 3G Android Development] lee.n:
My Tab is rooted , bootloader unlock, stock firmware. And I didnt install any custom recovery yet.

This toolkit is okay? http://www.wugfresh.com/nrt/ Can I use this software to flash the zip directly?

I've installed NRT, and it downloaded two img file.

- modified_boot_nakasig_4.3.0_JWR66Y.img

- openrecovery-twrp-2.6.0.0-tilapia.img

What are the use for that software ?

-sorry for asking too many noob questions. I am really new to this flashing thing and I dont want to mess around and eventually damage the device.
[Nexus 7 3G Android Development] didi0815:
Reading the instructions of WUGs Software ;). But therefore here is the wrong thread.

What do you want to do? If you only want to enable tethering, you have to:

1) unlock your device (e.g. using WUGs tools).

2) flash tethering zip file(s) (e.g. using WUGs tools).

But for step 2 there seems to be is at the moment no clear instructions what files to use for JWR66Y ...

I did it as described in Post #256 and it works, but maybe I have now an older version of Framework 4.3 (whatever that means :angel: :cowboy:)
[Nexus 7 3G Android Development] jfmcbrayer:
Thanks! Backing up right now in preparation for flashing this.

----

And, it works! So far, so good!
[Nexus 7 3G Android Development] svs57:
I did the same with JWR66Y framework-res.apk as Matteo 88 wrote in post 206 but got bootloop.

Apktool v1.5.3.2c5f176a94
[Nexus 7 3G Android Development] Matteo 88:
that was the problem with my framework-res.apk as well as far as i can tell its a problem with manifest.xmf and the meta-inf folder inside the .apk open the modified .akp with 7zip or winrar and copy the manifest.xml and the meta-inf folder from stock apk to the modified and it should work without bootloops or just try the file i uploaded i think in post 266.
[Nexus 7 3G Android Development] lee.n:
Hi Guys

Tethering is enabled on my N7 3G ( I am using it right now)

I used Wugs Toolkit and flash two zips.

- Framework_43.zip

- enabletetherJWR66Y.zip

I haven't cleared any cache, and rebooted automatically.

I just hope that I will still get an update when Goggle pushes new versions. (I did not installed any custom rom)

Thanks so much guys for helping.
[Nexus 7 3G Android Development] svs57:
Thank you. I have installed you framework-res.apk.

But I want to learn to do it myself.

As I understand the problem with aapt or apktool. Don't know are tools compatible with 4.3
[Nexus 7 3G Android Development] Matteo 88:
java -jar apktool.jar d framework-res.apk = decompile (u get a folder with the name framework-res) then change the lines in values/arrays.xml

then to recompile

java -jar apktool.jar b framework-res framework-resnew.apk (the new is to not overwrite the stock framework-res.apk should be renamed later)

then u should get the framework-resnew.apk

now before u push it or flash it u need to open the stock framework-res.apk in 7zip or so and open the framework-resnew.apk and copy the manifest.xml and the meta-inf folder (with its content) from stock to the framework-resnew.apk.

now u are good to go to push or flash the new framework res apk

hf trying backup the stock framework res apk to flash it back for google updates or in case of bootloop to be able to restore (in case of a bootloop trying to flash it u can go in recovery and sideload back the stock and bootloops should be gone)

(typing errors possible just wrote the steps out of my mind im on my (not work) computer now where i dont have the files to try and do a nice step by step guide.)
[Nexus 7 3G Android Development] lee.n:
Since hotspot on nexus 7 is now working, just wondering if there's a way to hide the ssid ?
[Nexus 7 3G Android Development] joselito23:
Hi,

Tethering is enabled on my N7 3G 4.3 (JWR66Y)

I used Wugs Toolkit and flash: Framework_43.zip and enabletetherJWR66Y.zip

Wifi hotspot run perfectfly.

USB dont work for me.

How can i solve it, i really need use tethering by USB cable.

Thanks guys!
[Nexus 7 3G Android Development] didi0815:
I flashed enabletether-JDQ39.zip without having problems on my jwr66y, should I flash the new one now?
[Nexus 7 3G Android Development] Matteo 88:
Its up to you i dont know if there are major differences i would flash the newer ;P
[Nexus 7 3G Android Development] danilo1051:
me too! USB dont work for me.

Wifi work very well
[Nexus 7 3G Android Development] Eve_brea:
Woo! I may have to flash this. Any chance you could do another mod? Ssecifically, CRT on/off animation.

it's bools.xml in framwork-res/values from what i hear, and this is the change

<bool name="config_animateScreenLights">true</bool>

change true to false

---------- Post added at 12:29 PM ---------- Previous post was at 12:27 PM ----------

also, which of these should i use? I'm on android 4.3 JWR66v
[Nexus 7 3G Android Development] magusorel:
Works fine!

JWR66V

flash Framework_43.zip

reboot

flash enabletetherJWR66Y.zip

reboot

no loop

wifi tether work!
[Nexus 7 3G Android Development] aaasss10:
Hi,

can you link the two files you've flashed in your JWR66V Nexus7?

I can't find it in the thread.

Thank you very much.
[Nexus 7 3G Android Development] bully1970:
Works great on JWR66Y

Flashed framework_43.zip and enabletetherJWR66Y.zip

using WUG's toolkit.

Rebooted and WiFi tether working great.

Thank you
[Nexus 7 3G Android Development] Matteo 88:
the stock framework 4.3 is the old one and u dont need to flash this

just flash the enabletether ...

the stock is only to be able to update ota since the updater checks the files and the enable thether dont match so bevore an update u need to go back to stock. i will eventually put the ywr66y stock online as well some day.

but stop flashing stock recovery and then enable tether just costs time.
[Nexus 7 3G Android Development] mla123:
that would be really appreciated.. :good: