Guide Wifi Ad Hoc Working Samsung 10.1v - Galaxy Tab 10.1 General

Hi Guys,
I have just gotten Wifi Ad Hoc connection working in the Samsung 10.1v (don't see why it won't work on the 10.1 either)
You need to have adb installed and your Tablet needs to be rooted.
I used 2 threads as reference for making this work:
http://forum.xda-developers.com/showthread.php?t=1069569
and
http://forum.xda-developers.com/showthread.php?t=1033314
As a newbie to this i will show you what i did, maybe someone can clean up the process with a simple approach:
You need to turn on Airplane mode to disable wifi, or you will get an error when trying to copy the wpa_supplicant file later on in the instructions...
I had trouble with the adb push command (shown in the above threads) so I did this instead.
Unzip and copy wpa_supplicant file (attached) to Tablet (I used downloads directory)
Get ES File Explorer from Market
Open ES File Explorer and in settings menu select Root options.
Set Root Explorer and use HiAPK
Then Tick Mount File System, then exit menu and navigate to /system/bin and copy wpa_supplicant to somewhere safe (I made backup directory in storage/ sd memory)
Now copy new wpa_supplicant file from where you saved it (downloads directory) to /system/bin
Now in windows command box type:
adb shell
# su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# chmod 755 /system/bin/wpa_supplicant
# chown system.wifi /data/misc/wifi/wpa_supplicant.conf
# exit
Now reboot and turn off airplane mode and enjoy.
Usual conditions if you follow this and something bad happens please don't blame me i used the above method (with trial and error) which worked for me (but maybe i just got lucky)
Also I want to acknowledge the hard working devs that pioneered the process and created the file - great work!!
Good luck...

drnackers said:
Hi Guys,
I have just gotten Wifi Ad Hoc connection working in the Samsung 10.1v (don't see why it won't work on the 10.1 either)
You need to have adb installed and your Tablet needs to be rooted.
I used 2 threads as reference for making this work:
http://forum.xda-developers.com/showthread.php?t=1069569
and
http://forum.xda-developers.com/showthread.php?t=1033314
As a newbie to this i will show you what i did, maybe someone can clean up the process with a simple approach:
You need to turn on Airplane mode to disable wifi, or you will get an error when trying to copy the wpa_supplicant file later on in the instructions...
I had trouble with the adb push command (shown in the above threads) so I did this instead.
Unzip and copy wpa_supplicant file (attached) to Tablet (I used downloads directory)
Get ES File Explorer from Market
Open ES File Explorer and in settings menu select Root options.
Set Root Explorer and use HiAPK
Then Tick Mount File System, then exit menu and navigate to /system/bin and copy wpa_supplicant to somewhere safe (I made backup directory in storage/ sd memory)
Now copy new wpa_supplicant file from where you saved it (downloads directory) to /system/bin
Now in windows command box type:
adb shell
# su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# chmod 755 /system/bin/wpa_supplicant
# chown system.wifi /data/misc/wifi/wpa_supplicant.conf
# exit
Now reboot and turn off airplane mode and enjoy.
Usual conditions if you follow this and something bad happens please don't blame me i used the above method (with trial and error) which worked for me (but maybe i just got lucky)
Also I want to acknowledge the hard working devs that pioneered the process and created the file - great work!!
Good luck...
Click to expand...
Click to collapse
what about the usage of battery after install that wpa_supplicant.conf
Because i used to transfer a similar file like wpa_supplicant.conf to help my samsung Galaxy S i9000 to connect the adhoc WIFI. The usage of battery is horrible, I charged my phone whole night and there is no more battery remaining next morning

I will keep you posted, but been using it on ad hoc for a couple of hours now and nothing out of the usual. Battery seems just same as on wifi.
I will leave it on overnight and report back tomorrow
Sent from my GT-P7100 using XDA App

OK well it has been connected all night to Xperia x10 running barnacle no issues downloading through swarm bittorrent client.
Battery was 78% now at 58% so I would see this as acceptable.
Only 1 issue I have noticed, every time you connect to ad hoc it asks for password and adds it as new connection, so you end up with a few in the list but hold on old connections and 'forget' works fine
Sent from my GT-P7100 using XDA App

drnackers said:
OK well it has been connected all night to Xperia x10 running barnacle no issues downloading through swarm bittorrent client.
Battery was 78% now at 58% so I would see this as acceptable.
Only 1 issue I have noticed, every time you connect to ad hoc it asks for password and adds it as new connection, so you end up with a few in the list but hold on old connections and 'forget' works fine
Sent from my GT-P7100 using XDA App
Click to expand...
Click to collapse
woooo! Wonderful!
I had used the ad hoc wifi and knew that issue already. Anyway, thank you for remining!!
Maybe something should do with the usage of battery, because there is 20% drop during the whole night.........
well, in that case, my cellphone cannot tolerate it

just installed the JuiceDefender app on my 10.1v.
before that, the wifi/3G standby overnight will consume about 10% of battery.
after installing it, and the night more, it went down by 4%.
2nd day of using it and battery life SEEMS better.

I created a zip flashabile on recovery, we'll post it and put it in the first thread?

Anyone try this on 10.1?

DroidHam said:
Anyone try this on 10.1?
Click to expand...
Click to collapse
I haven't tried but it works

I cant seem to get it working right...
After following these steps my wifi drops every 10 seconds... It will see the adhoc though ;-D
I have to disable wifi and re-enable then it will auto join a network for another 10sec before it drops. any advice?

I used adb and it worked "MAKE SURE THAT YOU LOCK THE PERMISSION with CHMOD 755 or it will not work"
put the tablet in airplane mode
I download the file put into C:\ of desk top
I had backup my original by using adb pull /system/bin/wpa_supplicant
these are commands and responses
>adb shell
[email protected]:/ # su
su
[email protected]:/ # mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
[email protected]:/ # chmod 777 /system
chmod 777 /system
[email protected]:/ # chmod 777 /system/bin
chmod 777 /system/bin
[email protected]:/ # chmod 777 /system/bin/wpa_supplicant
chmod 777 /system/bin/wpa_supplicant
[email protected]:/ # exit
exit
[email protected]:/ # exit
exit
>adb push c:\wpa_supplicant /system/bin/wpa_supplicant
1267 KB/s (295964 bytes in 0.228s)
>adb shell
[email protected]:/ # su
su
[email protected]:/ # mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
[email protected]:/ # chmod 755 /system/bin/wpa_supplicant
chmod 755 /system/bin/wpa_supplicant
[email protected]:/ # chmod 755 /system/bin
chmod 755 /system/bin
[email protected]:/ # chmod 755 /system
chmod 755 /system
[email protected]:/ # exit
exit
[email protected]:/ # exit
exit

Tried the flashable zip using cwm 4.0.0.4 but I keep getting installation not successful message. The installation starts, file is opened but the result is unsuccessful. Any suggestions?
10.1v /unlocked / rooted / cwm 4.0.0.4
Edit: Just saw the manual push method above. It will just be so much easier if the flashable version would work.

pushed to system/bin w/ root explorer and edited permissions with RE too.
works so far on my 10.1 retail rooted

nick7920 said:
1267 KB/s (295964 bytes in 0.228s)
Click to expand...
Click to collapse
Works perfectly. The only thing different is the file size reported. Typo?
1762 KB/s (295964 bytes in 0.164s)

baggenismo said:
I cant seem to get it working right...
After following these steps my wifi drops every 10 seconds... It will see the adhoc though ;-D
I have to disable wifi and re-enable then it will auto join a network for another 10sec before it drops. any advice?
Click to expand...
Click to collapse
I have exactly the same issue. I did this same procedure on my galaxy tab (the original 7" one) and it worked great. Replacing the wpa_supplicant file on my galaxy tab 10.1 has the connections work for 10 seconds and then drop. Incidently, I find this is true for all connections (ad-hoc and regular). Switching back to the original file fixes this. I've played around with the config file in /data/mis/wifi/wpa_supplicant.conf and added ap_scan=1, but I've had no luck. I have the 16 GB retail version. My version also had a locked bootloader. Any suggestions would be most appreciated.
Thanks,
Ben

I don't seem to have this problem of wi-fi disconnecting on my 10.1v. So far working perfectly with Connectify, even when the device has screen off, connection seems to persist - I did select never switch to mobile data from settings. I don't know how long it will stay connected though, haven't done a time test yet.

makbil said:
I don't seem to have this problem of wi-fi disconnecting on my 10.1v. So far working perfectly with Connectify, even when the device has screen off, connection seems to persist - I did select never switch to mobile data from settings. I don't know how long it will stay connected though, haven't done a time test yet.
Click to expand...
Click to collapse
My tablet is wifi only. Perhaps this is the issue. Has anyone gotten this to work who has a wifi only tablet (retail edition)?

does not work...

Left the tablet aside for an hour. I unlocked the screen, and instantly opened the web browser. The connection was working. So maybe it does have something to do with 3G connection even though it is turned off. I am using Connectify (free version) on my notebook.

Just thought of something. I have juicedefender set to turn off 3g when my phones screen turns off. This could cut connectivity without dropping wifi signal. Will test theory tomorrow...
Sent from my Galaxy Tab 10.1 using Tapatalk.

Related

Rooted Hero Fails adb remount, can't move files from SD

I rooted my hero last night and tried out a few different ROMs but eventually decided to revert to stock and make some manual changes. I used nandroid to restore to just after the root (1.56.651.2). I was able to remove some apps using adb, but the adb remount command fails (permission denied), and I'm unable to push a new bootscreen on to the phone. I also tried a Root File Manager and pre-kitchen as alternatives for the bootscreen, and neither one works. The Root Manager won't paste the files from SD into /system/media/ and pre-kitchen just reboots the phone.
Any suggestions?
Any chance this has something to do with downloading only up to SDK Platform 1.5? I'm at a total loss. I RUU'd my phone, did a clean root at startup using adb shell, and I still have the same problem. The adb remount command won't work, and I can't push anything into the system directory. For what it's worth, when I still had Root Manager installed I was able to toggle RO R/W in any directory with no problem, and I could move files around within the ROM... but I couldn't move anything into it from the SD. I'm new at this, so I have no idea what the problem might be. Anyone else had this problem or have any suggestions?
If anyone else runs into this problem, this solution worked for me:
adb shell
# su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# chmod 777 /system (Or any subdirectory you want to push to inside system)
# exit
adb push <local file> <device location>
Restore modified permissions when done.
Though I'm still not sure why this is necessary in place of adb remount.
I'm pretty sure the adb remount command will not work on the stock rom. You should be able to do it with just this command instead:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
dametzg said:
I'm pretty sure the adb remount command will not work on the stock rom. You should be able to do it with just this command instead:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
Click to expand...
Click to collapse
Thanks... didn't realize stock wouldn't accept adb remount. If I use the above line from within shell, that doesn't help me push anything on to the phone though... so I needed to enable global permission and then do the push. Oddly enough I tried the same approach last night using Root Manager, and the transfer from SD still failed, even after I applied 777 to the dir I was trying to modify. The current solution may be kind of tedious, but at least it works.
you really shouldn't do 777 on your filesystem, ANY app can then write to your system, overwrite things, or install malicious code. Just remount manually and you should be able to push anything you want, just remember that w/ the stock rom you also don't get a full busybox either.
I'm not positive, but I would think after you remount, you should be able to "adb push" to /system. I suppose it might be specific to that shell, but I would think not.
You just may have to do it once each time you boot your phone.
Edit - err nevermind... you're having permission errors.... um... change adbd on the phone to run as root? not sure how off the top of my head...

Find you misplaced / lost / stolen Android device

http://lifehacker.com/5522224/itag-...n-the-event-of-theft-or-loss?skyline=true&s=i
Just signed up for it, but thought I would let the community know about it!
MobileDefense.com > that
..and jesus that video is annoying.
Wavesecure as well............
Just took a quick glance at the three iTag/lifehacker, Wavesecure & MobileDefense. Is MobileDefense the only one that has free features on it?
mobiledefense is the ****. And the devlopers support custom roms.
scirio said:
mobiledefense is the ****. And the devlopers support custom roms.
Click to expand...
Click to collapse
I second/third/fourth Mobile Defense.
Here's why...
1) When installed as a system app on a rooted device it will automatically turn on GPS to get an accurate location whereas wavesecure will NOT turn on GPS and only use the cell tower location which is not accurate.
2) Their support forum is FANTASTIC, they support custom ROMs and are aware of those ROMs out there and any problems associated with them. I had a few issues at first (none of which was mobile defense's fault) and they had everything resolved in a few hours.
3) Their GPS ping time is very fast. Instead of just sending a signal every minute, its more like every 10 seconds.
4) No international SMS charges like with Wave Secure (although I know wave secure is getting a US gateway soon, still...)
5) The upgrades they have planned are superb (just check out their site)
Sorry for the n00b question but how do I install MobileDefense as a system app on my rooted Hero?
adb push MobileDefenseNameHere.apk /system/app
mrinehart93 said:
adb push MobileDefenseNameHere.apk /system/app
Click to expand...
Click to collapse
that wont work...
Put the com.neevo.mobiledefense.apk in your ADB tools folder
Code:
adb shell
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
chmod 777 /system/app
exit
exit
adb push com.neevo.mobiledefense.apk /system/app
adb shell
su
chmod 755 /system/app
mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system
reboot
Done.
I disapprove of the program.
Why you ask?
Becuase it has an i as the first letter in name, and it is then followed by a verb which is then captilized.
Reason why they didn't call our phone the iHero is because it sounds stupid. Hence why apple has the iPhone.
Another Mobiledefense user here. Great program. Excellent for tracking your kids.

[Q] Dell Streak and Ad Hoc Network question

I am trying to connect dell streak to my N8 which has wifi tethering but seems like dell streak is not been able to see the connection. Is there a fix for this or can not be done ?
vikramdhani said:
I am trying to connect dell streak to my N8 which has wifi tethering but seems like dell streak is not been able to see the connection. Is there a fix for this or can not be done ?
Click to expand...
Click to collapse
Hey Vikram,
Have you had any luck with this?
the.mister.d said:
Hey Vikram,
Have you had any luck with this?
Click to expand...
Click to collapse
Not really because looks like alot of people in this forum are not too much into android. I am thinking to ask in other sections and hoping someone will come up with a solution
IIRC Froyo cannot connect to adhoc.
You need root first -- would help to have busybox.
http://android.modaco.com/content/d...c-network-connection-for-streak/#entry1381049
Download: wpa_supplicant.zip
Instructions to get Ad-Hoc working:
1. unzip wpa_supplicant out of wpa_supplicant.zip
2. open command terminal
3. adb push wpa_supplicant /sdcard/wpa_supplicant
4. adb shell
5. su
6. mount -o remount,rw -t yaffs2 /system
(steps 7 - 9 is to backup the original file just in case)
7. cd /sdcard/
8. mkdir backup
9. busybox mv /system/bin/wpa_supplicant /sdcard/backup/wpa_supplicant
10. busybox mv /sdcard/wpa_supplicant /system/bin/wpa_supplicant
11. chmod 755 /system/bin/wpa_supplicant
12. mount -o remount,ro -t yaffs2 /system
13. exit
14. exit
15. reboot Dell Streak
kohiiou said:
You need root first -- would help to have busybox.
http:android.modaco.com/content/dell-streak-streak-modaco-com/316049/ad-hoc-network-connection-for-streak/#entry1381049
Download: wpa_supplicant.zip
Instructions to get Ad-Hoc working:
1. unzip wpa_supplicant out of wpa_supplicant.zip
2. open command terminal
3. adb push wpa_supplicant /sdcard/wpa_supplicant
4. adb shell
5. su
6. mount -o remount,rw -t yaffs2 /system
(steps 7 - 9 is to backup the original file just in case)
7. cd /sdcard/
8. mkdir backup
9. busybox mv /system/bin/wpa_supplicant /sdcard/backup/wpa_supplicant
10. busybox mv /sdcard/wpa_supplicant /system/bin/wpa_supplicant
11. chmod 755 /system/bin/wpa_supplicant
12. mount -o remount,ro -t yaffs2 /system
13. exit
14. exit
15. reboot Dell Streak
Click to expand...
Click to collapse
Hey kohiiou, Thanks for reply.
Does it matter which version of Froyo i am running? I am running DJ_Steve's ROM version 1.5.1.
Thanks again
kohiiou said:
You need root first -- would help to have busybox.
http://android.modaco.com/content/d...c-network-connection-for-streak/#entry1381049
Download: wpa_supplicant.zip
Instructions to get Ad-Hoc working:
1. unzip wpa_supplicant out of wpa_supplicant.zip
2. open command terminal
3. adb push wpa_supplicant /sdcard/wpa_supplicant
4. adb shell
5. su
6. mount -o remount,rw -t yaffs2 /system
(steps 7 - 9 is to backup the original file just in case)
7. cd /sdcard/
8. mkdir backup
9. busybox mv /system/bin/wpa_supplicant /sdcard/backup/wpa_supplicant
10. busybox mv /sdcard/wpa_supplicant /system/bin/wpa_supplicant
11. chmod 755 /system/bin/wpa_supplicant
12. mount -o remount,ro -t yaffs2 /system
13. exit
14. exit
15. reboot Dell Streak
Click to expand...
Click to collapse
Awesome i will try it out and will post the results
vikramdhani said:
Awesome i will try it out and will post the results
Click to expand...
Click to collapse
Vikram!
Did you get a chance to try this? Did it work for you?
Please let us know!
Anand D
I haven't tried DJ_Steve's 1.51 rom, but it worked for the following roms for me:
- DJ_Steve's 1.46
- Official 318
I tested the ad-hoc connection by connecting to an iPhone 4 running MyWi HotSpot -- it detects the ad-hoc network and connects (albeit a bit slow, maybe in part to MyWi's DHCP server?) After, it works just like a regular wireless connection.
kohiiou said:
I haven't tried DJ_Steve's 1.51 rom, but it worked for the following roms for me:
- DJ_Steve's 1.46
- Official 318
I tested the ad-hoc connection by connecting to an iPhone 4 running MyWi HotSpot -- it detects the ad-hoc network and connects (albeit a bit slow, maybe in part to MyWi's DHCP server?) After, it works just like a regular wireless connection.
Click to expand...
Click to collapse
Hello kohiiou,
So i follow the steps you mentioned and copied the file to correct folder, gave right permissions.
After I restarted, I was able to connect to my Ad-hoc (Nokia N900 tethered) network for about 2 minutes and then it got disconnected.
After that now, I can not connect to even regular wifi.
After following the same steps couple times, still no luck.
Then I tried putting the backed up file back to system\bin folder and restarted.
I still can not connect to my regular wifi.
And clue? Before I re-flash?
When you tried to connect to the N8, did your streak add it to "remember" in your wifi list? Try "forgetting" all your wifi spots, reboot, and reconnec to the spots again from the beginning.

Rooting Help

Evening all,
I am getting very frustrated with my DroidX, since I cannot seem to get it rooted. I believe the crux of my problem lies in that I cannot seem to keep USB Debugging active, even though its enabled. It seems to show up once in awhile, and then just disappears. This does not allow rooters like Z4 to do its job.
I was running the Moto version 5 USB drivers, but backed down to the 4.9 USB drivers and still no luck. Has anyone run into this and can you guide me in rectifying this?
Thanks,
Steve
stevefxp said:
Evening all,
I am getting very frustrated with my DroidX, since I cannot seem to get it rooted. I believe the crux of my problem lies in that I cannot seem to keep USB Debugging active, even though its enabled. It seems to show up once in awhile, and then just disappears. This does not allow rooters like Z4 to do its job.
I was running the Moto version 5 USB drivers, but backed down to the 4.9 USB drivers and still no luck. Has anyone run into this and can you guide me in rectifying this?
Thanks,
Steve
Click to expand...
Click to collapse
what version of Android you have?
I am running VZW stock 2.2.1 but the problem seems to lie in the fact I cannot keep USB debugging on, even though it is enabled on the phone.
Has anyone seen this?
Root your phone without your computer - This would be the path someone on a Mac could take or someone without access to a computer.
This works for the DX and D2 phone, won't work for the D1
Visit the market and get the free Android Terminal Emulator installed.
Visit the market and make sure you have Astro installed.
Grab rageagainsthecage.zip with your phone http://www.droidforums.net/forum/at...s-root-them-unroot-them-rageagainsthecage.zip
Use Astro to navigate to the /sdcard/download folder
Long press on the rageagainstthecage.zip file and "extract to this directory"
The 4 files, from the zip file should now be in the /sdcard/download folder (rageagainstthecage-arm5.bin, su, superuser.apk and busybox.
What are we going to do?
Steps 1- 5: Change to the /tmp folder on your phone, copy the file to the tmp directory, change its permissions. run it, and wait.
Step 6: make sure we can proceed
Steps 7 - 14: make system read-writable, copy the superuser. su and busybox files to where they need to go, use chmode to change their permissions, then make the system folder read-only, and exit Terminal Emulator.
If you want to know more about the commands being used here: cd, cp, chmod, mount, and exit are all Linux commands you can look up on your favorite search engine.
Okay, let's do it - type the blue parts in Terminal Emulator
cd /tmp
cp /sdcard/download/rage*.bin /tmp/
chmod 777 rage*.bin
./rage*.bin
This will take some time, just wait for the $ to show up so you know it is done.
Go to Settings > Applications > Manage Applications > Terminal Emulator > and Force Stop the application
Sanity check - Go into Terminal Emulator again and make sure you have a # symbol as a prompt. If so you are ready to proceed.
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/download/Superuser.apk /system/app/Superuser.apk
cp /sdcard/download/su /system/bin/su
cp /sdcard/download/busybox /system/bin/busybox
chmod 4755 /system/bin/su
chmod 4755 /system/bin/busybox
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
exit
For USB debugging, it might be your usb connection type. Try changing it to computer, mass storage, etc, until you find what's stable. I used Z4root when I did mine. Took like 2 minutes, and no computer, no terminal commands, true one-click root. Don't have the APK anymore, since I've moved on to the Bolt, sorry. But a google search should pull it up.
Thanks to all. I am now rooted. Woo hoo!

Fix Mobile Data drain.

After 2 days of testing i think i have a clean solution to fix the mobile data drain by setting the preferred network mode to 1 (GSM only). No need to delete or rename anything. Just update the db that is already there .
You need a rooted device for this.
Extract the sqlite3.zip and push to your device with the following commands:
Code:
adb shell mount -o rw,remount /dev/block/mmcblk0p3 /system
adb push sqlite3 /system/bin
adb shell chmod 6755 /system/bin/sqlite3
adb shell
su (to gain root permissions)
sqlite3 /data/data/com.android.providers.settings/databases/settings.db 'update secure set value="1" where name="preferred_network_mode"'
reboot
I'll give this a try. Thanks
Edit: Is it possible I can do this on the device without adb? Adb doesn't want to detect my tablet with debugging enabled.
agentdax5 said:
I'll give this a try. Thanks
Edit: Is it possible I can do this on the device without adb? Adb doesn't want to detect my tablet with debugging enabled.
Click to expand...
Click to collapse
Sure, as long as you have some sort of terminal emulator installed.
agentdax5 said:
I'll give this a try. Thanks
Edit: Is it possible I can do this on the device without adb? Adb doesn't want to detect my tablet with debugging enabled.
Click to expand...
Click to collapse
with root explorer and a terminal app (eg connectbot) you can do it.
What exactly does this do? Is it the same result as renaming the phone and telephone apks?
Sent from my SPH-D700 using XDA App
Thanks! Mine is done. I'll report back later after I charge and give it a go.
mrkrabs said:
What exactly does this do? Is it the same result as renaming the phone and telephone apks?
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
This updates the database configuration setting that causes the phone to not to look for 3G networks only 2G (GSM which includes GPRS and EDGE). I'll let the OP elaborate more, but this config change must reduce the battery usage by causing the phone and telephony services to chill out out a bit when in standy mode.
_motley said:
This updates the database configuration setting that causes the phone to not to look for 3G networks only 2G (GSM which includes GPRS and EDGE). I'll let the OP elaborate more, but this config change must reduce the battery usage by causing the phone and telephony services to chill out out a bit when in standy mode.
Click to expand...
Click to collapse
couldn't describe it better
2g = only poll cell if request is made that needs cell, 3g = poll all the time, which means that if you change to only 2g then it should not check for cell if you are in wifi range.
I am sure thats how the tech works if i remember my time at nokia right LOL
is there a post around here to explain how to get ADB working on this thing? i can ADB shell in but i get "operation not permitted" when i try to mount /system as r/w
(yes i'm rooted)
thanks guys
edit: i got permission to mount the /system as r/w but when i try to push the sqlite3 i get "Device not found"
i suppose i can give a little more info
i'm running windows 7 ultimate 64 bit with an administrator command prompt and the newest iconia a500 usb drivers from acer's support site and i have my SDK up to date
I did this and it doesn't seem to have a big effect. 2 hours on battery mostly in sleep, Display 33%, Cell 31%, Idle 18%, etc.
Richard:
Just out of curiosity (Yes, I fully acknowledge I should have done something like "select * from secure where name='preferred_network_mode'" beforehand! ) what is the default value of "preferred_network_mode" before this modification sets it to "1"?
-----
Doc Kinne
Somerville, MA
kinnerc said:
Richard:
Just out of curiosity (Yes, I fully acknowledge I should have done something like "select * from secure where name='preferred_network_mode'" beforehand! ) what is the default value of "preferred_network_mode" before this modification sets it to "1"?
-----
Doc Kinne
Somerville, MA
Click to expand...
Click to collapse
Default value is 0 (zero).
agentdax5 said:
I did this and it doesn't seem to have a big effect. 2 hours on battery mostly in sleep, Display 33%, Cell 31%, Idle 18%, etc.
Click to expand...
Click to collapse
It's not about what your stats say, but what your mA drain is. i loose only a couple of % in a night (sleep).
edgemaster191 said:
is there a post around here to explain how to get ADB working on this thing? i can ADB shell in but i get "operation not permitted" when i try to mount /system as r/w
(yes i'm rooted)
thanks guys
edit: i got permission to mount the /system as r/w but when i try to push the sqlite3 i get "Device not found"
i suppose i can give a little more info
i'm running windows 7 ultimate 64 bit with an administrator command prompt and the newest iconia a500 usb drivers from acer's support site and i have my SDK up to date
Click to expand...
Click to collapse
@edgemaster191
I am getting the same error; I also am rooted, running ADB from Windows 7 (and Mac OS X - tried both, same error). I also have latest drivers, and latest ADB.
I get "operation not permited error." Did you have any luck on getting further?
try this instead as a work around:
adb push sqlite3 /sdcard/sqlite3
adb shell
$ su
# mount -o remount,rw /system
# cp /sdcard/sqlite3 /system/bin/sqlite3
# chmod 6755 /system/bin/sqlite3
# sqlite3 /data/data/com.android.providers.settings/databases/settings.db 'update secure set value="1" where name="preferred_network_mode"'
# reboot
I've never been able to use root level adb cmnds with this device from outside the adb shell env, I think you need to update the default.prop, but this gets overwritten on reboot, I'm sure there is a way to fix this, and has proabably been discussed in another thread I've been too lazy to go find lol.
nycbjr said:
try this instead as a work around:
adb push sqlite3 /sdcard/sqlite3
adb shell
$ su
# mount -o remount,rw /system
# cp /sdcard/sqlite3 /system/bin/sqlite3
# chmod 6755 /system/bin/sqlite3
# sqlite3 /data/data/com.android.providers.settings/databases/settings.db 'update secure set value="1" where name="preferred_network_mode"'
# reboot
I've never been able to use root level adb cmnds with this device from outside the adb shell env, I think you need to update the default.prop, but this gets overwritten on reboot, I'm sure there is a way to fix this, and has proabably been discussed in another thread I've been too lazy to go find lol.
Click to expand...
Click to collapse
FTFY. 10char.
I am going to have to run some logs....just not seeing any drain that would justify doing this ....will definitely keep an eye out for it though
nycbjr said:
try this instead as a work around:
adb push sqlite3 /sdcard/sqlite3
adb shell
$ su
# mount -o remount,rw /system
# cp /sdcard/sqlite3 /system/sqlite3
# chmod 6755 /system/bin/sqlite3
# sqlite3 /data/data/com.android.providers.settings/databases/settings.db 'update secure set value="1" where name="preferred_network_mode"'
# reboot
I've never been able to use root level adb cmnds with this device from outside the adb shell env, I think you need to update the default.prop, but this gets overwritten on reboot, I'm sure there is a way to fix this, and has proabably been discussed in another thread I've been too lazy to go find lol.
Click to expand...
Click to collapse
such things will be able with kernels that overwrite the default.prop
matguard said:
@edgemaster191
I am getting the same error; I also am rooted, running ADB from Windows 7 (and Mac OS X - tried both, same error). I also have latest drivers, and latest ADB.
I get "operation not permited error." Did you have any luck on getting further?
Click to expand...
Click to collapse
i was able to finally get it, i copied the splite3 to /system/bin using root explorer, ran chmod through terminal emulator then ran the final command from adb shell.
not ideal but it worked

Categories

Resources