Hello,
I was very tired from the issue in my networks "vodafone and u can see in google hundred reports about that" and some of the countries that I have visited, I saw in the network while you drop and cut off from coverage , and trying to operate a simple ping, its back simply.
This is what I offer here simply :fingers-crossed:
Now Go to test , just install Script Manager - SManager to run shell script
HTML:
https://play.google.com/store/apps/details?id=os.tools.scriptmanager
Now after install SManager go and open and select Browser as root
Copy the file to SD card && for sure rename from "checkinternet.sh.txt" to "checkinternet.sh"
Browse it and when open set "su" and "net" to run when network change like the capture
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Note : not everyone is in need of this code, but some devices htc one x have "HT23.x && HT24.x" have this issue, this solution may be useful
i test this script it's safe and works very well
cheers
Great!!! We need this
Thank you very much:thumbup:
SkyDragon Team© Gente Nueva, El R5
dragonesdenano said:
Great!!! We need this
Thank you very much:thumbup:
SkyDragon Team© Gente Nueva, El R5
Click to expand...
Click to collapse
Under always serve you big master
Will this work on T-Mobile in US?
Sent from my HTC One X using xda premium
-Legion- said:
Will this work on T-Mobile in US?
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Work in any countries so you have problem with signal
Sent from my HTC One X using xda premium
38 download , 200 views no one give feedback?
codexc said:
38 download , 200 views no one give feedback?
Click to expand...
Click to collapse
Thanks mate... I'm testing it now. As always you'll get feedback. All is working fine till now!
Cheers
Gesendet von meinem HTC One X mit Tapatalk 2
Unfortunately it doesn't seem to help here in the US on T-Mobile. My signal is still very bad and drops out a lot. But thank you for your effort.
Sent from my HTC One X using xda premium
My phone is still prepare sim...but it better b4...
Thanks...
Sent from my HTC One X using xda app-developers app
-Legion- said:
Unfortunately it doesn't seem to help here in the US on T-Mobile. My signal is still very bad and drops out a lot. But thank you for your effort.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
If that your problem I think your installed wrong radio
Check radio version in bootloader not in setting to try install anthor one, so tell me are you have error "sim not found"
Sent from my HTC One X using xda premium
codexc said:
If that your problem I think your installed wrong radio
Check radio version in bootloader not in setting to try install anthor one, so tell me are you have error "sim not found"
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
I have no errors and I have tried multiple radios. I can't seem to find one that is working in my area.
Sent from my HTC One X using xda premium
duytrum444 said:
My phone is still prepare sim...but it better b4...
Thanks...
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
Ok I need to test an idea
Please take sim from cover and put layer of tape 1/2 to get more strongly size in cover that fixed my issue b4
Tell me if helpful
Sent from my HTC One X using xda premium
Legion Check my radio theard I post to try somethink
Sent from my HTC One X using xda premium
codexc said:
Hello,
I was very tired from the issue in my networks "vodafone and u can see in google hundred reports about that" and some of the countries that I have visited, I saw in the network while you drop and cut off from coverage , and trying to operate a simple ping, its back simply.
This is what I offer here simply :fingers-crossed:
Now Go to test , just install Script Manager - SManager to run shell script
HTML:
https://play.google.com/store/apps/details?id=os.tools.scriptmanager
Now after install SManager go and open and select Browser as root
Copy the file to SD card && for sure rename from "checkinternet.sh.txt" to "checkinternet.sh"
Browse it and when open set "su" and "net" to run when network change like the capture
View attachment 1887132
Note : not everyone is in need of this code, but some devices htc one x have "HT23.x && HT24.x" have this issue, this solution may be useful
i test this script it's safe and works very well
cheers
Click to expand...
Click to collapse
Hi this is a great post, I own a HTC One X on T-mobile UK. I get weak network signals till it drops sometimes have to restart my phone, been experiencing late or delayed notification my question is aside helping with signal strength will this fix late or delayed notification on HTC?
Hey my friend,
me again
Thank you very much...
You solved my network issue!
He he, guys this person called codexc is rocking!
Cheers
Gesendet von meinem HTC One X mit Tapatalk 2
Newbie question, I ran the script. What happens next? I did not notice any improvement after with signal strength, please advice. I took a screen shot could someone explain what it really means
Thanks
What is this supposed to do?
This is the only part of the script that "does" something (not that it does anything IMO):
Code:
ssss ##echo "shell found."
count=2 # Maximum number to try.
while [[ $count -ne 0 ]] ; do
ping -c 1 8.8.8.8 # Try once.
rc=$?
if [[ $rc -eq 0 ]] ; then
count = 1 # If okay, flag to exit loop.
echo 'say The internet is back up'
fi
((count = count - 1)) # So we don't go forever.
done
if [[ $rc -eq 0 ]] ; then # Make final determination.
echo 'say The internet is back up'
fi
Apart from the first line which only spits an error, it could also be rewritten as:
Code:
ping -c 1 8.8.8.8 || ping -c 1 8.8.8.8
echo 'say Teh script did mugic!'
At first I thought it could be used to wake the wifi, but in my case there's a lot of communication going on even without any interaction (location/lattitude, IM services, background apps, update checks etc.), so apart from some corner cases I dare say this script does exactly nothing, sorry.
zvieratko said:
What is this supposed to do?
This is the only part of the script that "does" something (not that it does anything IMO):
Code:
ssss ##echo "shell found."
count=2 # Maximum number to try.
while [[ $count -ne 0 ]] ; do
ping -c 1 8.8.8.8 # Try once.
rc=$?
if [[ $rc -eq 0 ]] ; then
count = 1 # If okay, flag to exit loop.
echo 'say The internet is back up'
fi
((count = count - 1)) # So we don't go forever.
done
if [[ $rc -eq 0 ]] ; then # Make final determination.
echo 'say The internet is back up'
fi
Apart from the first line which only spits an error, it could also be rewritten as:
Code:
ping -c 1 8.8.8.8 || ping -c 1 8.8.8.8
echo 'say Teh script did mugic!'
At first I thought it could be used to wake the wifi, but in my case there's a lot of communication going on even without any interaction (location/lattitude, IM services, background apps, update checks etc.), so apart from some corner cases I dare say this script does exactly nothing, sorry.
Click to expand...
Click to collapse
yes the script do small ping to reslove the signal when have small drop that issue found in some provider like vodafone , T-Mobile , i know its not do big thinks !! but its reduce the signal drops
maybe your hox not have this issue cuz that not benefited from this script, anyway welcome for your idea for slove network drops
Infoseye said:
Newbie question, I ran the script. What happens next? I did not notice any improvement after with signal strength, please advice. I took a screen shot could someone explain what it really means
Thanks
Click to expand...
Click to collapse
set the script on su / network as my catpure on first page , so when drop try to ping automatic for network to slove it
Related
·:*¨¨*:·..·:*¨☆Jame Bond☆·:*¨¨*:·..·:*¨
straight from The Land of Smiles
Jame Bond kernels have always been about battery efficiency without sacrificing speed...
-latest version-v3.4.6
that thae
-linaro gcc
-some debugging disabled
-undervolted
-interactive governor (default) is recommended
-GPU set to 307MHz
-boots to 1.2 (oc to 1.3)
khlang
-color control
-sound control
-gamma control
new mobile app
Goo-inside.me beta
-Browse Files...
/devs/ogdobber/gnex/kernel
-installation/Tweaks
Click to expand...
Click to collapse
-uv settings
Click to expand...
Click to collapse
-protips
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
note: please "rate" the thread
Thank you to those that have! If you are new to this thread, browse through the pages. I always try to answer questions quickly and thoroughly, as well as provide a stable kernel. If this kernel doesn't have the "features" you are looking for, or you have seen a cool new mod, just ask and I will try to accommodate (or at least give a reason why not)
thanks for your time -og
acronyms, notes, etc.
deprecated kernels
***************************************************************************************************************************************
4.1.x kernel(s)
that thae
1.2/3.5GHz◊GPU 307MHz
☆Jame Bond☆ v3.4
1.2/3.5GHz◊GPU 307MHz
☆Jame Bond☆ v3.3
mirror
khlang
1.2/3.5GHz◊GPU 307MHz
☆Jame Bond☆ v3.4.6
Click to expand...
Click to collapse
_____________________________________________________________________
thanks to coolbho3000 for his patches
support setcpu
» kernel source
» additional source
Control your Android phone's CPU! SetCPU for Root Users
installation
-download to sd card and flash from recovery
tweaks
version 3.1.7 has several "tweaks" that are controlled in system/etc/init.d/007tweaks
-color and v1 control
-vibration control
-volume boost
-high performance sound
-fast charge
everything boots to stock settings, make adjustments at your leisure.
included is system/etc/init.d/007tweaks.bkk which are the settings I use (just rename to 007tweaks)
of course with cm9 and aokp the colors can be adjusted with sliders in rom settings
007tweaks
Code:
echo "60" > /sys/class/misc/samoled_color/red_v1_offset
echo "60" > /sys/class/misc/samoled_color/green_v1_offset
echo "60" > /sys/class/misc/samoled_color/blue_v1_offset
#default 60 60 60
echo "2004318071" > /sys/class/misc/samoled_color/red_multiplier
echo "2004318071" > /sys/class/misc/samoled_color/green_multiplier
echo "2004318071" > /sys/class/misc/samoled_color/blue_multiplier
#default 2004318071 2004318071 2004318071
echo "1450" > /sys/vibe/pwmduty
#default 1450
echo "0" > /sys/class/misc/soundcontrol/volume_boost
#default 0 max 3
echo "0" > /sys/class/misc/soundcontrol/highperf_enabled
#default 0 on 1
echo "0" > /sys/kernel/fast_charge/force_fast_charge
#default 0 on 1
permissions are set on flashing, but if changed with "es explorer" they need to be reset to
for roms that don't have "color slider adjustments" to have the changes take affect without rebooting, open a terminal and run....
Code:
su <enter>
run-parts /etc/init.d/ <enter>
kernels are preset
don't drop more than 75mV under default
one more......
ahh you beat me to it blassilando
oh well, 2 extra should do the trick anyways. hopre you guys enjoy
ogdobber said:
another one jic...
Click to expand...
Click to collapse
YES YES YES.... i cant wait for it! ive always got my device a few months older, so getting it day 1 (actually 2) is pretty crazy seeing the thread slowly build.. thanks for this kernel man!!!!
Just flashed and so far so good
Sent from my Transformer Prime TF201 using XDA Premium HD app
Thanks! Heard nothing but good things about your kernel.
Just a question, does this make the lte radio inoperable? And can someone verify either way. I know that most of the lte towers are locked down but since I live in the Dallas area I would hate to loose the capability of using lte.
Nazrac79 said:
Just a question, does this make the lte radio inoperable? And can someone verify either way. I know that most of the lte towers are locked down but since I live in the Dallas area I would hate to loose the capability of using lte.
Click to expand...
Click to collapse
It shouldn't make lte inoperable. You would have to try and see. I haven't gotten an lte signal in atl yet even though this is suppose to be a city that first gets it. If your really worried, you can backup your rom before you flash and that way there's no worries.
I did a backup as this isn't my first rodeo, but yeah I haven't found a lte signal yet as well. Didn't think it would change the radio settings but really don't know that much.
Hi, just like to say thanks for the amazing kernel.....my battery's loving it.
Nazrac79 said:
I did a backup as this isn't my first rodeo, but yeah I haven't found a lte signal yet as well. Didn't think it would change the radio settings but really don't know that much.
Click to expand...
Click to collapse
OVERLAND PARK, Kan. (BUSINESS WIRE), February 08, 2012 - Sprint (NYSE: S) today announced that Baltimore and Kansas City are expected to receive 4G LTE and upgraded 3G service by mid-2012. Sprint recently announced that 4G LTE and enhanced 3G service are also expected by mid-2012 in Atlanta, Dallas, Houston and San Antonio. Sprint 4G LTE will enable faster speeds for data applications, and the enhanced 3G service promises better signal strength, faster data speeds, expanded coverage and better in-building performance.
PSA. Don't know if anyone has experienced this, but I thought it was worthy of posting http://www.androidpolice.com/2012/0...tion-problems-sprintsamsung-working-on-a-fix/
Sent from my Galaxy Nexus using xda premium
ogdobber said:
PSA. Don't know if anyone has experienced this, but I thought it was worthy of posting http://www.androidpolice.com/2012/0...tion-problems-sprintsamsung-working-on-a-fix/
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Oh yeah, lot's of us have. Sprint keeps telling everyone different stories. I've been told within the same 24hrs that there are no known network issues in my area, that they *are* working on a tower in my area and that I need to return the device as it's probably a hardware issue. Lol, good old Sprint
v3.1.9.4j posted on my twitter https://twitter.com/#!/ogdobber/status/197711450398134275
Added one new feature at the last minute...gamma control. this is different than gamma V1 and color control.
to adjust, change value in 007tweaks and reboot.
or to see an immediate result open terminal emulator on the phone
type su <enter>
echo "1-10" > /sys/devices/platform/omapdss/manager0/gamma
so....
Code:
echo 6 > /sys/devices/platform/omapdss/manager0/gamma
-will slightly darken the screen
protip- because typing in the terminal is tedious, create a file in google drive and name it "gamma"
enter the text echo 6 > /sys/devices/platform/omapdss/manager0/gamma
and save
then when you want to change the gamma value, it is easy to edit in drive, select all and copy and paste to terminal
on a side note, I see that some coward gave my thread a 1 star. pretty disappointed in that
ogdobber said:
on a side note, I see that some coward gave my thread a 1 star. pretty disappointed in that
Click to expand...
Click to collapse
Lol gave it a 5 star vote
bumped it back up to 4 stars total thanks for the kernel bro
Anyone who rated this thread 1 star is a dip****. Does this latest release on twitter have any OC or just stock 1.2?
Also you may have answered this, but why not just have all kernels have an option to overclock. Those who don't want to, leave it at 1.2 those you do can crank it up?
Again I have no clue about anything of this dev stuff besides flashing, just curious as that seems like the best one size fits all type of release.
ferris2375 said:
Anyone who rated this thread 1 star is a dip****. Does this latest release on twitter have any OC or just stock 1.2?
Also you may have answered this, but why not just have all kernels have an option to overclock. Those who don't want to, leave it at 1.2 those you do can crank it up?
Again I have no clue about anything of this dev stuff besides flashing, just curious as that seems like the best one size fits all type of release.
Click to expand...
Click to collapse
The latest does have oc.
Really the only ones that don't have oc are "that thae" , pretty much everything else as of late does
Sent from my Galaxy Nexus using xda premium
Thanks, I thought I was in the GSM forum though. lol New release for that phone as well?
While ago I posted a reply on a thread on how to control the CPU speed and override Tegra 3 controlling it and setting it to dual core mode. I forgot to reply back on that thread, but instead I thought it would be better to create a new thread, since not much people would read it (Credit to k0rner for reminding me... (k0rner thread)
/sys/kernel/debug/tegra_hotplug/max_cpus
This is not touched by the Android OS, and will remain in whatever state we set until reboot (back to 4).
Set this to "1" will make the phone only use 1 core (Doesn't work, only 2,3,4 does)
Set this to "2" will use 2 core
Set this to "3" will use 3 core
Set this to "4" will use 4 core (default)
1) Use Root_Browser (Free) or Root Explorer
2) Go to /sys/kernel/debug/tegra_hotplug/
3) Hold max_cpus
4) 'Open With', Text Editor
5) Change Value (Default 4) to how many cores you want (ie 2 = dualcore)
6) Download Tegrastats and see the result
EDIT: http://forum.xda-developers.com/showpost.php?p=26056320&postcount=48 (Control Core, via App, credit Meltus)
EXTRA: http://forum.xda-developers.com/showpost.php?p=25637797&postcount=10 (credit kolargol)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
http://forum.xda-developers.com/showthread.php?t=1627517
not sure if this is the same mate but if you access the powersave settings there is an option as well were you can switch only one core on and drop the cpu clock speeds to 1GHz. Just check the thread out that i gave the link to
NoobTerminator said:
http://forum.xda-developers.com/showthread.php?t=1627517
not sure if this is the same mate but if you access the powersave settings there is an option as well were you can switch only one core on and drop the cpu clock speeds to 1GHz. Just check the thread out that i gave the link to
Click to expand...
Click to collapse
Thats only when you reach to lower than 10%, thats when it clicks in, correct me if im wrong.
MrPhilo said:
While ago I posted a reply on a thread on how to control the CPU speed and override Tegra 3 controlling it and setting it to dual core mode. I forgot to reply back on that thread, but instead I thought it would be better to create a new thread, since not much people would read it (Credit to k0rner for reminding me... (k0rner thread)
/sys/kernel/debug/tegra_hotplug/max_cpus
This is not touched by the Android OS, and will remain in whatever state we set until reboot (back to 4).
Set this to "1" will make the phone only use 1 core (Single Core Mode + Low Companion Core)
Set this to "2" will use 2 core
Set this to "3" will use 3 core
Set this to "4" will use 4 core (default)
1) Use Root_Browser (Free) or Root Explorer
2) Go to /sys/kernel/debug/tegra_hotplug/
3) Hold max_cpus
4) 'Open With', Text Editor
5) Change Value (Default 4) to how many cores you want (ie 2 = dualcore)
6) Download Tegrastats and see the result
Now enjoy your phone with less heat
NOTE: I will edit later on how to change clockspeed without Tegra 3 controlling it through SetCPU.
Click to expand...
Click to collapse
Sorry for the obvious question, but I am orientating for buying X or S.
Is the heating problem that serious to go back to 2 cores?
JacoA said:
Sorry for the obvious question, but I am orientating for buying X or S.
Is the heating problem that serious to go back to 2 cores?
Click to expand...
Click to collapse
It is a bit of an overkill having four cores, I find than two cores is enough for me and games don't lag on it. It does get quite warm, depending what you do, alot less with two cores.
I wouldn't recommend the One S at all. I would just wait for the S3.
All good great too lol I will add that tegra stats is a massive battery drain.
Also controling the speed will be nice ill be sure to let the setcpu dev know once you let us know
Sent from my HTC One X using xda premium
Do I need to root my phone for this?
luba6ky said:
Do I need to root my phone for this?
Click to expand...
Click to collapse
yes
Hello,
Further to Kolargol's post here : http://forum.xda-developers.com/showthread.php?t=1633245
i set up the tasks in tasker but it's not working
Checking, I don't have tegra_hotplug folder in sys/kernel =(
I'm using root explorer.
What am I doing wrong ?
Thanks for your help
My sys/kernel/debug folder is empty too. I'm on Android Revolution 5.0.
It's there on leedroid have you tried adding the folder to see if it works?
Sent from my HTC One X using xda premium
I also tried with sys/devices/cpu/cpuX/online with 4 commands per task (1 per CPU) but it's not working either =(
treebill said:
It's there on leedroid have you tried adding the folder to see if it works?
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Getting "new folder creation failed" in bought root explorer with su right and r/w enabled. Think I'll install LeeDrOiD tonight.
SAme here
Sure you checked carefully? I've been on both Leedroid and ARHD and they do exist.
/sys/kernel/debug/tegra_hotplug
MrPhilo said:
Sure you checked carefully? I've been on both Leedroid and ARHD and they do exist.
/sys/kernel/debug/tegra_hotplug
Click to expand...
Click to collapse
Quite sure. Nothing there. And can't be created.
Flashed Leedroid and the folder is there, trick with tasker working perfectly well !
ARHD 5.X.X
Originally Posted by mike1986.
ok, my fault this time, sorry!
Open root explorer, go to system/etc/ and open init.post_boot.sh
navigate to line 115 and remove:
umount /sys/kernel/debug
save and reboot!
sorry! BTW what does it allows you to do?
---------- Post added at 08:07 PM ---------- Previous post was at 08:06 PM ----------
rahan95 said:
Flashed Leedroid and the folder is there, trick with tasker working perfectly well !
Click to expand...
Click to collapse
can you share wht you did?
Well, I flashed Leedroid too, and now I'm able to change it no problem. However it doesn't really obey my 1 CPU rule and activates a 2nd core whenever it feels it really needs it. That's ok I guess. Really smooth, though. No lag at all.
I've also played around a bit with the throttle settings in the CPU-tegra folder. It has a throttle_table where you can set individual frequency settings, but so far no matter what I set it to, it seems to throttle to 340Mhz which is slooow.
A reboot sets everything straight. Hopefully this'll be able to save us some sweet battery time.
Little bit where it all comes from:
Code:
mount debugfs debugfs /sys/kernel/debug
is inside init.endeavoru.common.rc in ramdisk
init.endeavoru.common.rc contains also following code:
Code:
write /sys/module/cpu_tegra3/parameters/no_lp 0
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ondemand
write /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor ondemand
write /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor ondemand
write /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor ondemand
chown system /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate_min
chown system /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate
chown system /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate_max
chown system /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor
chown system /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy
chown system /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
chown system /sys/devices/system/cpu/cpufreq/ondemand/touch_poke
chown system /sys/htc/power_save
write /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate_min 10000
write /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate 50000
write /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor 4
write /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy 1
write /sys/devices/system/cpu/cpufreq/ondemand/up_threshold 90
write /sys/devices/system/cpu/cpu1/online 0
write /sys/devices/system/cpu/cpu2/online 0
write /sys/devices/system/cpu/cpu3/online 0
[COLOR="Red"]write /sys/kernel/debug/tegra_hotplug/max_cpus 1[/COLOR]
write /sys/module/cpuidle/parameters/lp2_in_idle 1
So changing /sys/kernel/debug/tegra_hotplug/max_cpus is not permanent, it will be back to the default value each reboot.
Also keep in mind that /sys/kernel/debug contains details about kernel settings, I don't think that changing it can reflect in anything.
I may not be right of course, please feel free to correct me if I'm wrong
I'm thinking the best way to achieve this would be to buy and program an NFC sticker to do whatever you'd want it to do (Bluetooth, GPS, etc.) Could anyone think of a better way?
Yes that's what I do, however without stickers you should be able to say connection to a Bluetooth device and in the setting it should allow you to launch car mode
Sent from my Iconia A500 using Tapatalk 2
There's a car mode???
Bobb_o said:
I'm thinking the best way to achieve this would be to buy and program an NFC sticker to do whatever you'd want it to do (Bluetooth, GPS, etc.) Could anyone think of a better way?
Click to expand...
Click to collapse
It's a pain to get and install but the Google car home app can be set to launch upon connection to a specific bluetooth device.
Edit:
I assume that since this is not a paid app, posting a link is OK. If not, mods please remove.
https://www.box.com/shared/dc3822670881c5db4f3c
Sent from my Galaxy Nexus using Tapatalk 2
Acererak said:
This works http://forum.xda-developers.com/showthread.php?t=1081009
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
So far, so good! Thanks for the link.
I didn't know there was a car mode either..... still no answer to your question (and now, mine)
gravis86 said:
There's a car mode???
Click to expand...
Click to collapse
usafle said:
I didn't know there was a car mode either..... still no answer to your question (and now, mine)
Click to expand...
Click to collapse
Yeah there is. You can enable it quite easily actually:
Code:
adb shell am broadcast -a android.intent.action.DOCK_EVENT --ei android.intent.extra.DOCK_STATE 2
To return to normal mode
Code:
adb shell am broadcast -a android.intent.action.DOCK_EVENT --ei android.intent.extra.DOCK_STATE 0
This simulates entry into the actual car dock. Instead of using an alternate "car" app this allows the home screen to rotate 90 degrees and re-arranges things a bit so the device is usable in this orientation.
1 is the desktop dock (if you're in desktop dock mode all calls answered automatically go on speaker mode for reference).
I'm working on triggering this via an NFC tag, but currently the runtime won't execute this (with or without root) and you can't broadcast the intent manually (permission denied). Hoping to get it working though as I'd, personally, use this quite a bit.
I'd be interested in that as well. For now I just side loaded the old Google Car Dock apk.
Good luck if you get it to work.
krohnjw said:
I'm working on triggering this via an NFC tag, but currently the runtime won't execute this (with or without root) and you can't broadcast the intent manually (permission denied). Hoping to get it working though as I'd, personally, use this quite a bit.
Click to expand...
Click to collapse
You might have trouble with it working if LD_LIBRARY_PATH and BOOTCLASSPATH are missing from the environment (adb shell includes them for you, so that's why it works in adb).
Using Java, something like this works for me (obviously requires root):
Code:
static void setDockModeOn(boolean on) {
try {
ProcessBuilder process = new ProcessBuilder(
"/system/bin/su",
"-c",
"LD_LIBRARY_PATH='/vendor/lib:/system/lib' "
+ "BOOTCLASSPATH='/system/framework/core.jar:/system/framework/core-junit.jar:"
+ "/system/framework/bouncycastle.jar:/system/framework/ext.jar:"
+ "/system/framework/framework.jar:/system/framework/android.policy.jar:"
+ "/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar' "
+ "/system/bin/am broadcast -a android.intent.action.DOCK_EVENT --ei android.intent.extra.DOCK_STATE "
+ (on ? "2" : "0"));
process.start().waitFor();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
xsR1zU said:
You might have trouble with it working if LD_LIBRARY_PATH and BOOTCLASSPATH are missing from the environment (adb shell includes them for you, so that's why it works in adb).
Using Java, something like this works for me (obviously requires root):
Code:
static void setDockModeOn(boolean on) {
try {
ProcessBuilder process = new ProcessBuilder(
"/system/bin/su",
"-c",
"LD_LIBRARY_PATH='/vendor/lib:/system/lib' "
+ "BOOTCLASSPATH='/system/framework/core.jar:/system/framework/core-junit.jar:"
+ "/system/framework/bouncycastle.jar:/system/framework/ext.jar:"
+ "/system/framework/framework.jar:/system/framework/android.policy.jar:"
+ "/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar' "
+ "/system/bin/am broadcast -a android.intent.action.DOCK_EVENT --ei android.intent.extra.DOCK_STATE "
+ (on ? "2" : "0"));
process.start().waitFor();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
Click to expand...
Click to collapse
Excellent, this is what I was missing It was getting frustrating trying to find out whey I couldn't spawn a shell to do what worked perfectly with adb shell. Much appreciated!
no other way via API
xsR1zU said:
You might have trouble with it working if LD_LIBRARY_PATH and BOOTCLASSPATH are missing from the environment (adb shell includes them for you, so that's why it works in adb).
Using Java, something like this works for me (obviously requires root):
Code:
static void setDockModeOn(boolean on) {
try {
ProcessBuilder process = new ProcessBuilder(
"/system/bin/su",
"-c",
"LD_LIBRARY_PATH='/vendor/lib:/system/lib' "
+ "BOOTCLASSPATH='/system/framework/core.jar:/system/framework/core-junit.jar:"
+ "/system/framework/bouncycastle.jar:/system/framework/ext.jar:"
+ "/system/framework/framework.jar:/system/framework/android.policy.jar:"
+ "/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar' "
+ "/system/bin/am broadcast -a android.intent.action.DOCK_EVENT --ei android.intent.extra.DOCK_STATE "
+ (on ? "2" : "0"));
process.start().waitFor();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
Click to expand...
Click to collapse
Is there no other way to fire the broadcast message via API without root?
ischi said:
Is there no other way to fire the broadcast message via API without root?
Click to expand...
Click to collapse
Not for the Galaxy Nexus. Because you're simulating a hardware broadcast (car dock entered) you can't request a permission to broadcast that intent and it's restricted.
For devices that don't use this hardware event broadcast you can use UI manager to implement it quite simply (this doesn't do anything on the Galaxy Nexus though other than put the car mode icon in the left hand corner, it doesn't actually put the device into car mode).
Bobb_o said:
I'm thinking the best way to achieve this would be to buy and program an NFC sticker to do whatever you'd want it to do (Bluetooth, GPS, etc.) Could anyone think of a better way?
Click to expand...
Click to collapse
Search "Car Widget Pro" in the Play Store. It works great.
Sent from my Galaxy Nexus using XDA
I was unable to find "Google Car Home" in the play store, and the .apk like that you posted was unable to install on my nexus
Sent from my Galaxy Nexus using XDA
redugas said:
I was unable to find "Google Car Home" in the play store, and the .apk like that you posted was unable to install on my nexus
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
Do you have settings - security - allow unknown sources checked?
Sent from my Galaxy Nexus using Tapatalk 2
krohnjw said:
Not for the Galaxy Nexus. Because you're simulating a hardware broadcast (car dock entered) you can't request a permission to broadcast that intent and it's restricted.
For devices that don't use this hardware event broadcast you can use UI manager to implement it quite simply (this doesn't do anything on the Galaxy Nexus though other than put the car mode icon in the left hand corner, it doesn't actually put the device into car mode).
Click to expand...
Click to collapse
why is it working with adb? is adb daemon running as uid=0?
GreatBigDog said:
Do you have settings - security - allow unknown sources checked?
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Yea, I've downloaded plenty of other.apk files. This down downloads fine and when I hit install I get this response
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my Galaxy Nexus using XDA
ischi said:
why is it working with adb? is adb daemon running as uid=0?
Click to expand...
Click to collapse
The DOCK_EVENT action is one of a number of "protected" broadcasts in Android. Only certain UIDs can send them: root (0), system (1000), phone (1001), and shell (2000). Also, certain system processes tagged "persistent" in their manifest can send them.
When using adb shell, the UID is 2000, so that's why it works.
FYI, the authorization code can be found here:
androidxref.com/source/xref/frameworks/base/services/java/com/android/server/am/ActivityManagerService.java#12238
redugas said:
Yea, I've downloaded plenty of other.apk files. This down downloads fine and when I hit install I get this response
View attachment 1132198
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
Try downloading the latest gapps and adding the file into the zip under system/ app with the other Google apps then flash the gapps package with cwm. That's what I initially had to do to get it installed. Now, I just keep it backed up with Titanium backup (set to backup system apps) so that I just have to restore after system wipe.
Sent from my Galaxy Nexus using Tapatalk 2
Andromadus
Presents
Andromadus Jelly Belly Beta 1
It has been a long 4 months for all of us. Flinny has been hard at work with all his test builds and we finally agreed to release a beta as we feel it is in a stable state. Flinny will still be releasing test builds dont worry but i will handle all betas as my time at this moment is limited. We hope you enjoy!!!!!!!!
What Works?
Radio ( Phone & Mobile Data, SMS/MMS )
Touchscreen
Wifi
Bluetooth
Physical Keyboard
Audio
Real Full HW Accel
Screen Orientation
GPS
USB - UMS
Camera
Other Things
What Doesn't?
You Tell Us
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Downloads
Jelly Belly Beta 1 & GAPPS 20121011
http://andromadus.codefi.re/
879bb3d9f5a0846d7bc4e2ca23d1adf6 jellybelly1.zip
4e9e7ec3c22b0b3471bd05d62b8a659d gapps-jb-20121011-signed.zip
Change Log
Check 2nd post
Bug Tracker
How to report bugs? Use our Bug Tracker! Be sure to include a logcat and/or dmesg.
Link coming soon
The Team
Darkspadez
Flinny
Flemmard
Synergye
Super
Snadge
Ionic
Jhall
Xep
Fyodor
Blk_Jack
Special Thanks
mdeejay
Tsubus
dh-harold
crowstar
Flemmard
CyanogenMod
Lord Clockan
Twisted Umbrella
OdiemanSAM
Fattire
Google
HTC
Testers
Anyone who I forgot
Changelog:
Beta 1
- Initial Release
- Updated repos from CM since 128
- Kernel Tweaks from fyodor since 128
- Various fixes since 128
- More
just in case
Frickin awesome! Downloading now and report back
Sent from my HTC Vision using Tapatalk 2
nice, will download and try soon
———————————————————
i didn't mean to mock you or to offend you in any kind of way
seriously just love the adromadus team! totally platonic and all - you guys are the best!
and to all out there wondering if an official beta release means a base for othersis now available...
What difference with Flinny?
Downloading.
Sent from my HTC Vision using xda app-developers app
One question,
Beta releases will be deodexed?
Thanks a lot
Enviado desde mi HTC Vision usando Tapatalk 2
So this does look awesome. I have downloaded and installed but the first boot is taking an age......
can I just update my test build 128 to beta 1? or I need to make full wipe?
it's similiar to flinny 128 build, but camcoder is working with sound.
Sent from my HTC Vision using xda app-developers app
reserved for future use!
i'm on 128 now! this release is extremely smooth!!!!
Xardejn said:
it's similiar to flinny 128 build, but camcoder is working with sound.
Sent from my HTC Vision using xda app-developers app
Click to expand...
Click to collapse
Gotta love bugs that go away with nobody being done to fix them...
The glitches when creating a panorama shot with the stock camera are "normal" right? The shot comes out fine, just happens when shooting the image.
jacakk said:
can I just update my test build 128 to beta 1? or I need to make full wipe?
Click to expand...
Click to collapse
can somebody answer me?
jacakk said:
can somebody answer me?
Click to expand...
Click to collapse
I upgrade without any wipe and no problem at all!
For the other : what's the best compromise seetings for OC and governor for you?
I let the Interactive on a high level (1500) to let it smooth and seems better than the 128.
jacakk said:
can somebody answer me?
Click to expand...
Click to collapse
Try an upgrade with no wipe. Do a backup first. If everything works, awesome. But if you have issues, do the full wipe and install again to see if the issues continue before you report them.
Solid but I have a problem with VPN
Hi Guys
I have managed to successfully root my UK Vodafone 2.3.3 Desire Z and get the new Andromadus Jelly Belly build installed no problem.
I am really impressed with the build btw.... It is very stable and very fast
Here is my problem
I have setup an inbound connection on a Windows 7 host for PPTP VPN so that all of my mobile internet traffic is transparent and routes through my personal Fiber connection. The connection itself works great and I can connect my handset via its mobile data connection no problem to the VPN and all traffic from the handset goes through the VPN. However, if I enable WIFI Tethering the handset is still ok however, any devices connecting to the hotspot can connect ok but can't go anywhere. I did notice yesterday that it does seem to resolve internet DNS queries and a tethered device can ping the VPN assign DHCP address of the connected hotspot handset but no other IPs on that subnet
I have tried the following supplimenting tun0 with ppp0 as per the attached screen shot and I tried to attempt doing it the second way too however, when I do an ip rule show I don't get a specific table setting for tethering so that was a no go.
Here are the instructions that I followed from - http://forum.xda-developers.com/show...1766020&page=2
My setup:
- Samsung Galaxy Note Ics 4.0.4
- Openvpn for Android ( does not need root, might work with other vpn)
- Active data connection
- wifi tethering (should work also with usb)
Prerequisites:
- a root-ed phone
- a terminal
You need to issue 3 commands:
0) launch terminal and become root
yourprompt> su
yourprompt#
1) allow FORWARDING of vpn data (this will allow ALL forwarding)
yourprompt# iptables -A FORWARD -j ACCEPT
2) change NAT to MASQUERADE from ALL interfaces
yourprompt# iptables -t nat -A POSTROUTING -j ACCEPT
3) route traffic in specific tethering routing table
3a) see table for tethering (in my setup is table '60')
yourprompt# ip rule show
3b) add your private address (myne is 172.16.0.0/16) to the tethering table
yourprompt# ip route add 172.16.0.0/16 dev tun0 table 60
Think this is slightly overcomplicated. Here is a more simple method that should work for everyone:
Download a terminal client, e.g. ConnectBot and connect to your local shell.
Enter `su` to become root. (Double check with whoami afterwards).
Enable wifi tethering and ensure your data connection is working (connect to VPN)
Run `netcfg` and note your interface names (typically tun0 and wlan0 (ignore m.wlan0 or similar, only take the one with a real mac address), as is on my SGSII)
Double check the subnet for your wlan0 device and enter the following commands:
iptables -A POSTROUTING -s 192.168.43.0/24 -j MASQUERADE -t nat
(setup a postrouting entry for the tethered devices subnet, implementing NAT)
iptables -A FORWARD -j ACCEPT -i wlan0 -o tun0
forward packets from tethered devices across the tunnel
iptables -A FORWARD -j ACCEPT -i tun0 -o wlan0
forward packets from the tunnel to the tethered devices
and here is my netcfg and 'ip rule show'
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Any help would be really appreciated guys.
In a clean installation after the first start, does not subscribe to a Google account.
Guys...was just browsing few forums on XDA and found this ...
This is supported for all android versions(as i realised from reading comments).
Here is link to thread...
All credits to dev..
#me not responsible if flashing bricks device(but don't worry it surely wont )...
Will increase ur graphics score on antutu by +200....
Just try it...
http://forum.xda-developers.com/showthread.php?t=2295010
@iceyhotguy , would like your comment about it...
All here who use it, just lemme know if it butters up something(not a placebo effect at all ..dont worry)... @testerforgrand ..all comments are awaited and welcomed...
Hope i helped...
Sent from my GT-I9082 using Tapatalk
Moderator pls move thread to general section..i mistakenly posted here :-|...
Sent from my GT-I9082 using Tapatalk
raghavsharmaxda said:
@iceyhotguy , would like your comment about it...
Sent from my GT-I9082 using Tapatalk
Click to expand...
Click to collapse
Ok, the build.prop edits he mentions,
busybox echo "debug.sf.hw = 1" >> /system/build.prop ----- renders UI with GPU
busybox echo "video.accelerate.hw=1" >> /system/build.prop ----- Increases responsiveness of the video
busybox echo "ro.HOME_APP_ADJ=1" >> /system/build.prop ---- this is to force the default launcher into memory. I excluded this because most launchers already stay in memory and this tweak is known to fail when the launcher used is heavy. Probably why the line has been striked off in the OP's post but seems to still be there in flashable zip
busybox echo "persist.sys.use_dithering = 1" >> /system/build.prop ----- this is to enable surface dithering, in other words this may improve visual quality but is also known to cause banding in some devices that's why I didn't include it in my post. It's safe enough to try but you know what to remove if it gives you lines across the screen whenever the color contrast is changing.
Other than that the graphics library included is essentially a touchscreen driver to re-calibrate the touch response, this will definitely work, it is not a placebo but I cannot say if it'll actually make it better or less responsive.
As far as the script included goes, there's a good chance that it won't work.
The script is referring to "/sys/class/touch/switch/set_touchscreen" but we don't even have a touch class
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And even if we did, I'm not sure I would use the same values as he has.
As far as the antutu score goes, I don't trust the scoring system even a little bit
It's highly unreliable in terms of accessing the exact performance index, but it is good for dividing the phones performance in quadrants confirming you have a better (or worse) hardware than other phones
Conclusion : You can flash this if you want to, but I wouldn't.
Build.prop tweaks can be manually tested and removed.
You can recalibrate your touch on your own although you don't really need to.
And like I said, the script is referring to an address that doesn't exist at that location in our phone.
iceyhotguy said:
Ok, the build.prop edits he mentions,
busybox echo "debug.sf.hw = 1" >> /system/build.prop ----- renders UI with GPU
busybox echo "video.accelerate.hw=1" >> /system/build.prop ----- Increases responsiveness of the video
busybox echo "ro.HOME_APP_ADJ=1" >> /system/build.prop ---- this is to force the default launcher into memory. I excluded this because most launchers already stay in memory and this tweak is known to fail when the launcher used is heavy. Probably why the line has been striked off in the OP's post but seems to still be there in flashable zip
busybox echo "persist.sys.use_dithering = 1" >> /system/build.prop ----- this is to enable surface dithering, in other words this may improve visual quality but is also known to cause banding in some devices that's why I didn't include it in my post. It's safe enough to try but you know what to remove if it gives you lines across the screen whenever the color contrast is changing.
Other than that the graphics library included is essentially a touchscreen driver to re-calibrate the touch response, this will definitely work, it is not a placebo but I cannot say if it'll actually make it better or less responsive.
As far as the script included goes, there's a good chance that it won't work.
The script is referring to "/sys/class/touch/switch/set_touchscreen" but we don't even have a touch class
View attachment 2537152
And even if we did, I'm not sure I would use the same values as he has.
As far as the antutu score goes, I don't trust the scoring system even a little bit
It's highly unreliable in terms of accessing the exact performance index, but it is good for dividing the phones performance in quadrants confirming you have a better (or worse) hardware than other phones
Conclusion : You can flash this if you want to, but I wouldn't.
Build.prop tweaks can be manually tested and removed.
You can recalibrate your touch on your own although you don't really need to.
And like I said, the script is referring to an address that doesn't exist at that location in our phone.
Click to expand...
Click to collapse
Turns out that this thread was nonsense share :|..sorry..(i realised i do type alot after its 12am in my country(staying awake whole night even when sleepy, which leads to typing mistakes and poor judgements..and sometimes illogical helping answers ..
Sorry for trouble )..
Thanks for always helping and guiding me !!
Sent from my GT-I9082 using Tapatalk
raghavsharmaxda said:
Turns out that this thread was nonsense share :|..sorry..(i realised i do type alot after its 12am in my country(staying awake whole night even when sleepy, which leads to typing mistakes and poor judgements..and sometimes illogical helping answers ..
Sorry for trouble )..
Thanks for always helping and guiding me !!
Sent from my GT-I9082 using Tapatalk
Click to expand...
Click to collapse
Haha, it's no trouble at all. You didn't make poor judgements, you shared something that you thought would improve performance for our phones, and if this was our device specific there might have been improvements in atleast the touch rendering through GPU.
You asked me to comment on it, so I opened the code and explained each part to the best of knowledge . That's what xda is for, to learn new things about the devices we use everyday and explore what more can be done with them!
This is a thousand times better than the usual spam that flows through grand duos community, so keep exploring XDA for useful threads till you know enough to start developing yourself
@raghavsharmaxda icehotguy is Indian too
Sent from my GT-I9082 using Tapatalk
akiratoriyama said:
@raghavsharmaxda icehotguy is Indian too
Sent from my GT-I9082 using Tapatalk
Click to expand...
Click to collapse
oh i didnt knew that
sorry sorry !!