Boost the Brightness of Your Sony Xperia Z1’s LED

I think the last time anyone has ever used a physical torch to find their earphones, … more

XDA Xposed Tuesday: Modify the Look of Your Volume Control – XDA TV

How many screenshots have you seen with a volume status bar in the … more

Prepare Your Nokia X2 for Battle with Nokia X2 Tools

Unveiled in June this year, the Nokia X2 is the Finnish companys second crack at an … more

Increase the Speaker Volume of Your Samsung Gear 2 with Tool and Tutorial

I think its pretty safe to say that any sound coming out of a … more
Post Reply

[Hack] Working native hotspot

6th April 2014, 05:10 AM   |  #1  
OP Member
Thanks Meter: 33
 
67 posts
Join Date:Joined: Oct 2010
Not for the faint of heart!
I'm not responsible for damage to your device as this requires root to work.

1)you have to remove htcresetnotifer.apk and htcresetnotifer.odex from system/app/ - this will allow you to edit system without the phone resetting itself

2)open system/customize/ACC/default.XML in a file editor

3)You need to find "<app name="Tethering_provision"> <item type="integer" name="TetheringGuard_Rule">1</item> </app>" its near the bottom

4) change the "1" to a "0" and save

5) I used sense toolbox to soft reset. Don't do a full reboot or setting will go back as we don't have s-off yet

Be advised this is a hack. Bugs may exist. I do know that if you turn off the hotspot another soft reboot will be necessary as the hotspot hangs when trying to turn it back on.


Sent from my Nexus 7 using Tapatalk
Last edited by murryrulz; 6th April 2014 at 06:08 AM. Reason: updating verbage
The Following User Says Thank You to murryrulz For This Useful Post: [ View ]
6th April 2014, 05:32 AM   |  #2  
Senior Member
Flag Mankato, MN
Thanks Meter: 182
 
597 posts
Join Date:Joined: Oct 2010
Donate to Me
More
I assume you would need s-off for this to stick?

Sent from my HTC M8, Verizon style.
6th April 2014, 05:51 AM   |  #3  
David 617's Avatar
Senior Member
Thanks Meter: 237
 
557 posts
Join Date:Joined: May 2011
Yah, how does this work if system is still write protected?

Sent from my HTC6525LVW using Tapatalk
6th April 2014, 05:55 AM   |  #4  
OP Member
Thanks Meter: 33
 
67 posts
Join Date:Joined: Oct 2010
Yes but to make it easier I've just uploaded an XML to drive that also has a fix for the bug that made the hotspot hang when restarting.

https://docs.google.com/file/d/0Bwzz...p=docslist_api

You can move to and overwrite system/customize/ACC/default.xml

Just make sure you remove the previous apps and then soft reboot


Sent from my Nexus 7 using Tapatalk
6th April 2014, 06:27 AM   |  #5  
OP Member
Thanks Meter: 33
 
67 posts
Join Date:Joined: Oct 2010
So you can make changes to system but normally a hard reboot will revert those changes. The htcresetnotifier is supposed to hard reboot the phone when a change to system is discovered hence why its the first thing we remove then we can edit system. The soft reboot allows the services to restart without reverting the changes. Same as in the way we can get xposed to work without full system rw. This will work as perm solution as soon as s-off is achieved.

Sent from my Nexus 7 using Tapatalk
6th April 2014, 03:38 PM   |  #6  
Senior Member
Thanks Meter: 78
 
325 posts
Join Date:Joined: May 2007
Quote:
Originally Posted by murryrulz

So you can make changes to system but normally a hard reboot will revert those changes. The htcresetnotifier is supposed to hard reboot the phone when a change to system is discovered hence why its the first thing we remove then we can edit system. The soft reboot allows the services to restart without reverting the changes. Same as in the way we can get xposed to work without full system rw. This will work as perm solution as soon as s-off is achieved.

Sent from my Nexus 7 using Tapatalk

What about using
Code:
pm disable com.htc.resetnotify
The disable stays even through a hard reboot.
6th April 2014, 03:42 PM   |  #7  
OP Member
Thanks Meter: 33
 
67 posts
Join Date:Joined: Oct 2010
Haven't tried but you will still have to modify the xml after reboot

Sent from my HTC6525LVW using Tapatalk
Last edited by murryrulz; 6th April 2014 at 03:45 PM.
6th April 2014, 03:51 PM   |  #8  
Senior Member
Thanks Meter: 78
 
325 posts
Join Date:Joined: May 2007
Quote:
Originally Posted by murryrulz

Haven't tried but you will still have to modify the xml after reboot

Sent from my HTC6525LVW using Tapatalk

Right, disabling the reset apk will only eliminate the reboots when you edit a system file.

Just confirmed that you can disable the resetnotify apk, restart, and it will stay gone. You can modify system .xml files without having the phone restart on you. You will still need to do a soft reboot to enable the changes. A hard reboot will wipe out the changes but the resetnotify apk will stay disabled. One could get clever and use tasker or another automation service to automate the process of copying the modified xml file. Looks like this could be done with an xposed module as well.
Last edited by l7777; 6th April 2014 at 05:14 PM.
6th April 2014, 05:35 PM   |  #9  
Junior Member
Thanks Meter: 2
 
4 posts
Join Date:Joined: Apr 2014
working
First post here. Wanted to confirm that this working. I used the pm disable notify code. I did have to reenable the the tethering guard I had disabled beforehand. I also downloaded the xml doc provided. For soft reboot I used the feature provided in the xposed framework. Not the sense toolbox.
6th April 2014, 06:09 PM   |  #10  
OP Member
Thanks Meter: 33
 
67 posts
Join Date:Joined: Oct 2010
Yea I'm pretty sure an xposed module can do it too. Just not sure how to code that. Not 100% sure how those hooks work.

Sent from my Nexus 7 using Tapatalk

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

Advanced Search
Display Modes


Top Threads in Verizon One (M8) General by ThreadRank