SQlite tether hack ICS - Motorola Atrix 2

this is for the att ICS leak 4.0.4
open sqlite
settings storage
settings.db
settings line 113
value is set to 1
edit record to 'disabled"
reboot
should have mobile hotspot!
hit thanks if i helped ya!!

Just a small contribution: if you don't have SQLite you can find the database in the file /data/data/com.motorola.android.providers.settings/databases/settings.db
Open it on any database editor, then go on the section settings and look for the "entitlement_check" field and change its value to zero.
Mine was on line 148.

neither method worked for me, i get the following error:
"Update failed- error code 14: unable to open database file."

fran7382, where did you saw this error?
Here I copied the file /data/data/com.motorola.android.providers.settings/databases/settings.db to my sdcard, edited it with aSQLiteManager on the Atrix 2, and copied it back to the original directory.
By the way, if someone had a problem to configure an APN with DUN type, you can do it editing the file /data/data/com.android.providers.telephony/databases/telephony.db and putting the "DUN" directly in the field.

i get the error right after i try to change it to disabled or 0.

fran7382 said:
i get the error right after i try to change it to disabled or 0.
Click to expand...
Click to collapse
And you're rooted ? Saying allow when superuser asked permission?
It's easy to select deny since the selections are reversed on ICS. I've got to get back in the habit of watching for that myself. Because Jim is a frickin God.
Works like a champ.
NOTE: Do not add quotes on disabled Reboot is mandatory for database change to be recognized !
Mine was line 148 also.

I have changed that line with sqlite and now i can activate mobile hotspot. When i do however i get an error now saying "mobile data link lost" Anyone have any suggestions?
I am using this phone on straight talk and have changed my apn if that has anything to do with it.

I'm definitely rooted, I even uninstalled and re-installed sqlite editor and allowed superuser permission. Oh well lol, maybe this way I can stay under the 2 GB limit.

Lol. You can also go to system/app and rename entitlementservice.apk and it's related file. (one other with a similar name) to .bak files and reboot. This fixes it also, makes it so you can use Webtop 3.0 without it *****ing about the entitlement check and kicking you off either.

Daiskei said:
Lol. You can also go to system/app and rename entitlementservice.apk and it's related file. (one other with a similar name) to .bak files and reboot. This fixes it also, makes it so you can use Webtop 3.0 without it *****ing about the entitlement check and kicking you off either.
Click to expand...
Click to collapse
What is the other one with a similar name? I changed entitlementservice.apk but when I went to start hotspot, settings force closes. Not sure if its because I never found the other file or because I am running SCV7. Any suggestions? Thanks

Daiskei said:
Lol. You can also go to system/app and rename entitlementservice.apk and it's related file. (one other with a similar name) to .bak files and reboot. This fixes it also, makes it so you can use Webtop 3.0 without it *****ing about the entitlement check and kicking you off either.
Click to expand...
Click to collapse
it does "fix" the lapdock kick, but you still cant use mobile hotspot, its a lesser fix than this one.

Stephenxda said:
I have changed that line with sqlite and now i can activate mobile hotspot. When i do however i get an error now saying "mobile data link lost" Anyone have any suggestions?
I am using this phone on straight talk and have changed my apn if that has anything to do with it.
Click to expand...
Click to collapse
I had the same issue at first. It ended up being cuz I had mobile data turned off. I just assumed it would come on automatically. If thats not it then I got nothing.

hello, i found the answer here: http://www.pantz.org/software/sqlite/unabletoopendbsqliteerror.html
you need to change permissions to folder, db and journal files, then edit record with sqlite.

INCORRECT.
souljaboy said:
it does "fix" the lapdock kick, but you still cant use mobile hotspot, its a lesser fix than this one.
Click to expand...
Click to collapse
It ABSOLUTELY enables mobile hotspot on your device. I just did it and connected my GFs Nexus 7 to my Atrix 2 hotspot. You MUST reboot your device after modifying the line in SQLite, (as mentioned above). Now the bad news...your carrier will most likely find out if you abuse the hotspot. Also, it drains the battery like a SOB. Good luck.

eviljonny1 said:
It ABSOLUTELY enables mobile hotspot on your device. I just did it and connected my GFs Nexus 7 to my Atrix 2 hotspot. You MUST reboot your device after modifying the line in SQLite, (as mentioned above). Now the bad news...your carrier will most likely find out if you abuse the hotspot. Also, it drains the battery like a SOB. Good luck.
Click to expand...
Click to collapse
I think it was the statement was referring to the "go to system/app and rename entitlementservice.apk and it's related file. (one other with a similar name) to .bak files and reboot. This fixes it also, makes it so you can use Webtop 3.0 without it *****ing about the entitlement check and kicking you off either."
Not the editing with SQLite. That fix has been around for quite a long time.

Related

[Q] Bumping up 3G download size limit permanently? (SOLVED)

I am on an unlimited data plan and don't care if my phone downloads large podcasts in the background while not on wifi.
I found out that LKG_MOConfig.xml and Downloaded_MOConfig.xml from /My Documents/Zune/PimentoCache/Keepers control this setting. I can bump up from 20MB to 200MB and reset the phone and it indeed works; but just like when changing the OEM store, this appears to reset itself after a day or so. Does anyone know if there is a way to make this change permanent?
ken52787 said:
I am on an unlimited data plan and don't care if my phone downloads large podcasts in the background while not on wifi.
I found out that LKG_MOConfig.xml and Downloaded_MOConfig.xml from /My Documents/Zune/PimentoCache/Keepers control this setting. I can bump up from 20MB to 200MB and reset the phone and it indeed works; but just like when changing the OEM store, this appears to reset itself after a day or so. Does anyone know if there is a way to make this change permanent?
Click to expand...
Click to collapse
Hey this really works. Just downloaded a 82MB file from Marketplace over 3G. Have been looking for this since i got my WP7. This should be in the Dev n Hack section.
Good catch. Unfortunately i have no clue as how to make it permanent.
If you can use the Root Webserver (see my sig) you could try marking the file as Read Only (there are other ways to mark a file RO, this is just an easy one). See if it gets overwritten then... I haven't tried.
Okay, I changed it and set it as read-only. Ill come back in a few days and let you know if it worked
Sent from my PC40200 using XDA Windows Phone 7 App
It's now been two days and they have appeared to stay, so it looks like this is a valid solution
Other files in this directory have updated more recently but the ones marked read-only are as I've left them.
I cant browse my phone with a file manager. I am interop unlocked. Does anyone have this in a XAP that I can install to my phone ?
I'm working on an app that will enable selecting the Marketplace options (OEM and MO marketplaces, max download size, etc.) and setting or removing the ReadOnly bit on the relevant files. It'll take a little time, but hopefully not more than another few days, depending on how much time I can spend on it this weekend (no guarantees).
Awesome! this is my biggest grudge with WP7, I have unlimited data, and my HSDPA connection is faster than my home internet connection! lol
up

[MOD] How to: Remove "attwifi" from your AT&T One X

EDIT: This is meant to resolve the following issue:
http://forums.androidcentral.com/ht...tomatically-connecting-att-wifi-hotspots.html
For this your phone needs to be rooted and you need Root Explorer from the Market:
1) Open root explorer
2) Tap on "Mount R/W" to mount the file system
3) Navigate to /data/misc/wifi
4) Press and hold on wpa_supplicant.conf and select "Open in Text Editor"
5) Delete the following lines from the file:
network={
ssid="attwifi"
key_mgmt=NONE
priority=1
}
6) Once deleted tap on the 3 dot's in the top right hand corner of the app
7) Tap on "Save and Exit"
8) Reboot
After that you will no longer be forced to connect to "attwifi"
good for security, seems stupid to auto connect to those!
When you open the Hot Spot app, the above code to remove does the following:
- Instead of the ssid being "HTC Portable Hotspot" - default; it's "attwifi"
- Instead of using WPA2 (AES Encryption), it sets it use none instead.
These can be changed even without editing the above, before turning on the hotspot ability.
Again, it doesn't remove anything, simply doesnt preset anything.
Cheers Though.. Keep tinkering
JSLEnterprises said:
When you open the Hot Spot app, the above code to remove does the following:
- Instead of the ssid being "HTC Portable Hotspot" - default; it's "attwifi"
- Instead of using WPA2 (AES Encryption), it sets it use none instead.
These can be changed even without editing the above, before turning on the hotspot ability.
Again, it doesn't remove anything, simply doesnt preset anything.
Cheers Though.. Keep tinkering
Click to expand...
Click to collapse
Not on AT&T's version you can't. They force you to connect to it so you don't have to use their sucky network. It has nothing to do with changing the hotspots name.
Can't we just freeze it with TiB?
spyz88 said:
Not on AT&T's version you can't.
Click to expand...
Click to collapse
Edit in regards to my first post: It doesnt remove it, it simply stops the forced connection to the AT&T wifi hotspot instead of your saved personal wifi points (the prority=1 entry).
I was incorrect, but you're still incorrect at saying it removes it. Sorry.
Edit 2: "Remove "attwifi" from your AT&T One X"
nothing is being' removed'. the hot spot is still there, though forced connection to it is not longer occuring. nothing hard to grasp.
Cheers.
Look if you are having an issue grasping the concept of what this does then please move on.
The whole point of it is -> TO STOP THE FORCED CONNECTION TO AT&T <-. NOT instead of, it FORCES you to connect to these wifi spots at&t has all around the US. They do this so you utilize attwifi's bandwidth and it eases their network congestion.
IIRC Rogers doesn't do this type of garbage to manage their network congestion. So, I am not wrong. You are the one who is having a hard time grasping this concept. Cheers, keep tinkering though.
spyz88 said:
EDIT: This is meant to resolve the following issue:
http://forums.androidcentral.com/ht...tomatically-connecting-att-wifi-hotspots.html
For this your phone needs to be rooted and you need Root Explorer from the Market:
1) Open root explorer
2) Tap on "Mount R/W" to mount the file system
3) Navigate to /data/misc/wifi
4) Press and hold on wpa_supplicant.conf and select "Open in Text Editor"
5) Delete the following lines from the file:
network={
ssid="attwifi"
key_mgmt=NONE
priority=1
}
6) Once deleted tap on the 3 dot's in the top right hand corner of the app
7) Tap on "Save and Exit"
8) Reboot
After that you will no longer be forced to connect to "attwifi"
Click to expand...
Click to collapse
I saved a backup of the file just in case anything went wrong, and then deleted those lines. Is there a way to just comment out the lines instead of deleting them?
I also noticed that the keys for all my wifi connections are stored as plain text in this file, including some corporate ones that use my network credentials to log in. Seems a tad insecure to me.
belyle said:
I saved a backup of the file just in case anything went wrong, and then deleted those lines. Is there a way to just comment out the lines instead of deleting them?
I also noticed that the keys for all my wifi connections are stored as plain text in this file, including some corporate ones that use my network credentials to log in. Seems a tad insecure to me.
Click to expand...
Click to collapse
Yeah that's one of the security issues they don't seem intent on fixing. I would assume malware could just snatch that file off our phones.
I'm pretty sure because its a .conf file and its not actual code we can't comment them out. I could be wrong though.
Does this mod work for anyone? Granted I tried it on the HTC One X+ phone and if I remove that entry I can no longer enable wifi, it shows "Error". Any other changes that need to be made? I also found /etc/wifi/wpa_supplicant.conf, made the same change there and still no luck.
Does it work reliably on the HOX phone?
Ah, ES File Explorer screwed me! First time I use it to edit a file and what it did it saved the original file as a .bak and created a new file with my changes. The problem is that the new file is owned by root and rw by root only, but the original conf file is owned by system:wifi and 660 perms. Once I fixed ownership and perms, wifi starts even without the attwifi entry.
So yes, we can remove the attwifi entry, but there's still a problem: once you manually connect to attwifi once, the entry is put back in and cannot be removed via the UI, you have to edit the file all over again. It seems that we need a proper fix from a ROM developer to allow the UI to forget the attwifi entry, it must be hard-coded that the attwifi entry is not editable.
sirxdroid said:
Does this mod work for anyone? Granted I tried it on the HTC One X+ phone and if I remove that entry I can no longer enable wifi, it shows "Error". Any other changes that need to be made? I also found /etc/wifi/wpa_supplicant.conf, made the same change there and still no luck.
Does it work reliably on the HOX phone?
Click to expand...
Click to collapse
I saw your other post too, but quoting this one.
This is a very old thread and this method is dated. Root your phone, get a proper ROM, and then try.. I just tested with a One X+ using Viper XL+ ROM and it works no issues.
YOUR SECTION
sirxdroid said:
Does this mod work for anyone? Granted I tried it on the HTC One X+ phone and if I remove that entry I can no longer enable wifi, it shows "Error". Any other changes that need to be made? I also found /etc/wifi/wpa_supplicant.conf, made the same change there and still no luck.
Does it work reliably on the HOX phone?
Click to expand...
Click to collapse
I tried this on my SGN2 and had the same problem. .. My wifi would no longer work and I had to restore the phone from a backup as even restoring a backup of the file wouldn't enable wifi.
Wow, I looked inside that file and lo and behold the password for my home network is stored there as unencrypted ascii text. How stupid is that... The moment my phone is compromised so is my home network.
GroovyGeek said:
Wow, I looked inside that file and lo and behold the password for my home network is stored there as unencrypted ascii text. How stupid is that... The moment my phone is compromised so is my home network.
Click to expand...
Click to collapse
You could encrypt your phone and set a PIN/password. If someone steals your phone I'm sure they would be more interested in wiping it clean so they can sell it than in your data, so they would not bother to get past your PIN. If you are thinking of a different type of compromise, e.g. someone remotely connecting to your phone while you are using your phone, or a rogue app/virus, then the encryption won't help.
GroovyGeek said:
Wow, I looked inside that file and lo and behold the password for my home network is stored there as unencrypted ascii text. How stupid is that... The moment my phone is compromised so is my home network.
Click to expand...
Click to collapse
Same thing would happen if you lost your laptop.
barry99705 said:
Same thing would happen if you lost your laptop.
Click to expand...
Click to collapse
Um . . you realize you are replying to a thread that has been dead for 7 months?
redpoint73 said:
Um . . you realize you are replying to a thread that has been dead for 7 months?
Click to expand...
Click to collapse
Yea, sorry about that. The stupid rubbed off on me. :laugh:

Mav.ROM No signal!!!

First off I want to sat that the Mav.Rom4.5 Rox!!!!
Its Super smooth and very nicely put together!
The only problem i'm having is I am receiving no signal.
I am on the droid 3 on at&t's network.
If anyone could give me some hints. I edited the build.prop. For the =7 changed to=3
as well as the =1 to=0 but nothing after that. So throw a Marine a life preserver!!!!
Thanks!!!
Try this
voodoonightmare13 said:
First off I want to sat that the Mav.Rom4.5 Rox!!!!
Its Super smooth and very nicely put together!
The only problem i'm having is I am receiving no signal.
I am on the droid 3 on at&t's network.
If anyone could give me some hints. I edited the build.prop. For the =7 changed to=3
as well as the =1 to=0 but nothing after that. So throw a Marine a life preserver!!!!
Thanks!!!
Click to expand...
Click to collapse
Hey, don't try to fool anyone we all know marines don't need life preservers I'm army so I figured Id atleast try to help ya out. I ran into quite a few build.prop issues too. Depending on what rom your on depends on wat build.prop tweaks could screw up your gsm. I personally don't use Mavrom so I cant just upload a mavrom one for you. My first suggestion is to use the one you used after you flashed the xt883 radio to get on att in the first place. If that doesnt work/you dont have it/or just want to edit it yourself. Try any some of these:
Try my build.prop see if that works, you never know so ill attach that(remove ".ZIP" from the filename before using)
Make sure you are editing everything properly for your current rom not just for the gsm features.
Downloading a build.prop from someone who has Mavrom already working with a xt883 radio.img
Make sure your permissions are set right and stay after a reboot(this one is often overlooked and is the issue).
If none of that works, you might try downloading a newer xt883 radio compatible with the D3, flashing back to the stock of whatever you started with, reflashing the new radio.img. installing the newest safestrap for D3, activating it, installing your Mavrom again THEN pushing your build.prop after your modifications and rebooting.
Hope I've helped Voodoo
.....dont take this the wrong way I dont believe for a second your thick but im going to over explain things for those a little less droid informed who may end up in this thread searching for solutions to their similar problem.
One of the first problems I ran into was not properly pushing the build.prop to the system folder. Partially cuz at first I had NO freaking clue what "Push" was supposed to mean in that context...which ended up meaning just mounting the system R/W(Read and Write), overwriting the original file, saving unmounting the system then rebooting. My solution to this problem was getting my hands on the full version of Root Explorer. Navigating to the modified gsm capable build.prop, long pressing and selecting "MOVE", navigating to the "/system" folder, Tap the button at the top labeled "Mount R/W" and then tapping "PASTE".
Another problem I ran into was not properly assigning the right permissions to the file. Which was an easy fix by going into Root Explorer again, navigating to the folder I placed the build.prop in and mounting R/W once again, long pressing and selecting "PERMISSIONS" and assigning as so:
Read Write Execute
OWNER (ֻ/) (ֻ/)
GROUP (ֻ/)
OTHER (ֻ/)
And the biggest problem I had was incorrectly editing the buil.prop in the first place which I fixed by just googling up and downloading a build.prop from someone else who had the same rom I had.

[Q] I would like to disable my cell radio completely. Help?

I am no longer using the g2x as a cell phone.
I am keeping in service, however, as a PMP. I like the sound quality, and because the DAC on my new phone is vastly inferior and noisy, I kept my g2x for music.
However, I removed the SIM card and now the battery is drained as the phone seems to still be searching for a signal.
Is there any way to mitigate the battery losses or disable cell function altogether without activating airplane mode?
Activating airplane mode effectively kills battery stats and leaves me vulnerable to a dead battery.
Thank You for your help. :good:​
I would google search what system apps are responsible for cell/radio function. Wouldn't simply removing them do the trick?
I see. Thanks for the help.
Exactly how would I go about doing this? I'm no expert, by any means. Thanks.
Well, you would need access to your System/App directory. Which means the phone needs to be rooted. Are you rooted?
EDIT- After a quick google search I came across this solution.
"Rename phone.apk to phone.apk.bak and telephony.apk to telephony.apk.bak thus disabling these two packages. You have to reboot your phone to finalize the changes. If it doesn't work, you should remove the .bak from each file name and they should be available again."
Pain-N-Panic said:
Well, you would need access to your System/App directory. Which means the phone needs to be rooted. Are you rooted?
EDIT- After a quick google search I came across this solution.
"Rename phone.apk to phone.apk.bak and telephony.apk to telephony.apk.bak thus disabling these two packages. You have to reboot your phone to finalize the changes. If it doesn't work, you should remove the .bak from each file name and they should be available again."
Click to expand...
Click to collapse
Hey Pain, still rocking the G2x?
Long time no see. I'm back!
Still rocking the g2x man. Heading over to the Nexus 5 soon though!

(Rooted)Virgin Mobie Samsung Galaxy J700P turning on hotspot

I have been playing around trying to get my phone to turn on being wifi hotspot since I got this phone (August 2016). When you try to turn on hotspot in settings always got the prompt that I was not subscribed on my plan to use hotspot. Today I was browsing on internet and found a recent youtube video on how to turn on your Boost Mobile phone to be a hotspot. Figured I would give it a try. I have been playing with my APN settings anyway to try to get LTE signal at home because I have terrible coverage here in my house. Basically it was very simple and I can try to walk anybody through the process if they want to try it. I wasn't sure because I changed my plan on the 26th of this month because Virgin changed plans from $40 per month with 4 gb high speed data to $35 per month with 5 gb high speed data. (good thing) My hotspot now works on the phone. Would like someone else to try it out and see if it was the changes I made. Here is what I did. Remember I have rooted phone.
1. I used root browser (ES File Manager) and went to -device/system/build.prop and opened in opened build.prop in a text editor. Be careful not to modify anything, just look or your phone may not reboot when you try to. Go down towards the end of the file and find under ADDITIONAL_BUILD-PROPERTIES a line that reads ro.cdma.default_numeric= 6 digit number. Write this number down and close the text editor, don't save if anything got changed by mistake.
2. Go to Play Store and download an apk called APN Backup and Restore. I had to install it then used an backup apk to backup Apn Backup and Restore somewhere in your phone where you can find it. Un-install Apn Backup and Restore apk again. You have to re-install it as a system apk before it will work.
3. Go to your back up of your apk using root browser and copy the apk to device/System/priv-app folder and set the permissions for the apk to rwx-r-x-r-x. Close root browser and reboot your phone.
4. The apk APN Backup and Restore should now be installed on your phone as a system apk. Open the apk and in the top right corner touch the 3 small dots and on the dropdown touch the disable ICS check. Reboot the phone. Open Apn Backup and Restore and touch the button "Backup APNs". The apk should prompt you to name the file which you can call anything just leave the .xml at the end so you can re-install them after you modify the file. The file should be in your phone in a folder called APNBack-upRestore in your internal storage.
5. I would go to the Apk and backup the APNs again and call it something different so you and re-stall them again if something goes wrong and you can't get your data to work again.
6. Using a text editor open up the first backup of the APNs. In my case at the bottom of the file the last 4 groups of lines that start with <apn name="APN0 for example there will be an entry that says- numeric="311490". This should match the number you wrote down from the build.prop file earlier. This is the APN for Virgin Mobile.
7. At the bottom of each of these groups of apn settings there will be an entry -- type="default,mms,fota". I went in and edited each of the 4 apns to read- default,supl,mms,fota,dun in between the " ". Save the file in the text editor. Remember which one of the backup files you modified.
8. Now in order to install your modified file into your phone the files must be in that folder in phone storage called APNBack-upRestore. Close all your root browser and text editor apks and open the apk APN Backup and Restore. Remember to make sure you have an unmodified copy of your apns before you go any further. In the apk hit the button delete APNS. It will prompt you to make sure thats what you want to do. Then hit the button to Restore APNs. It will ask you which file you want to restore. Click the button next to the modified version of your APNs. It should install your modified version of the APNs.
9. Close the apk and reboot your phone. After reboot go into settings and under Hotspot and Tethering turn on Hotspot. It should bring up a screen you can change the security password if you wish. Once you turn it on when it completes you should get the wifi symbol in status bar left corner.
If you have Wifi turned on it will turn it off. I tested connection with my desktop and laptop and both worked. Good luck and hope it works for you. I can't believe that Virgin Mobile changed their policy when I changed my plan but it could be possible.

Categories

Resources