yashsingh1/xdaforums huggingface dataset:
[Xperia Arc Q&A, Help & Troubleshooting] im_iceman:
Hotspot Wifi Tethering?? as in...

Nothing to do with you're APN's etc if that' not working... if you're getting a data connection (GPRS/ 3G/ HSDPA) then this should work fine...

if it's not then suggest trying to reflash the firmware using SEUS or Flashtool.
[Xperia Arc Q&A, Help & Troubleshooting] BluechipJ:
Weird. Most of that doesn't make sense. Adobe Flash is unaffected by APN settings. Unlocking has nothing to do with 3G either.

A quick Google search turns up:

APN Settings for Fido: http://forums.fido.ca/t5/forums/forumtopicpage/board-id/Smartphones/thread-id/768/page/1

Like im_iceman said, if 3G works, hotspot should also.

Have you set the password? SSID? etc.?

Hotspot works fine on my arc. And X10.
[Xperia Arc Q&A, Help & Troubleshooting] kentayl:
Portable Hotspot Doesn't Work For Me Either

I purchased an Xperia ARC from Mobicity in Australia. In order to work on the NextG 850 MHz network I purchased the Model LT15a which is described at dudubdub.xperiablog.net/2011/04/17/xperia-arc-lt15a-sold-on-ebay/ (replace dubdubdub with www). This is built for and branded Rogers. If I switch on Portable Wi-Fi hotspot it works so that I can connect my laptop to it but turns off my data connection so it is useless. If I turn the hotspot off the data connection comes back on. I can't have the data connection and the wi-fi hotspot on at the same time.

I've interpreted this as a Rogers special build that doesn't allow tethering to satisfy Rogers commercial requirements. Telcos in Australia don't mind tethering but some others do and I guess Rogers is one of them. Its a guess though because I don't know Rogers policies.
[Xperia Arc Q&A, Help & Troubleshooting] XTCrefugee:
Sounds like Rogers have added some power saving app, and this is automatically disabling your data connection when WiFi is on (JuiceDefender does this I think, but might be intelligent enough to notice when you're using the phone as a hotspot - I've not tried yet).

If that's the case, you'll either need to track down the app and remove it (there's a guide on here somewhere for removing pre-installed system apps) or flash your phone with more generic firmware that doesn't have it.
[Eee Pad Transformer General] daniel9522:
my TF wont connect to pc:confused:

it says usb device not recognised

and the device status is

[Windows has stopped this device because it has reported problems. (Code 43)]

thanks in advance
[Eee Pad Transformer General] makec3rt:
Install Asus PC Sync, it have usb driver for your TF101.
[Nexus One General] nick_taco:
Tried installing a trackball notification app and now I keep getting thrown into hboot. I can access recovery, ADB doesnt know i exist.

Trying to revert to an old backup just puts me in the same place

Running CM 7.0.3

HALP ME PLZ!
[Nexus One General] liam.lah:
If you have a backup, give a wipe and fresh install a go.

Also, CM7 has trackball colour options built-in.
[Nexus One General] behelit:
if your backup doesn't work, try a fresh rom install

adb should work even during boot loops unless something is crashing it before it sets up the adb component?
[Atrix 4G General] ethantarheels123:
The front facing camera doesn't really work. It stretches the picture and distorts it. Is there gonna be a fix soon?
[Atrix 4G General] CaelanT:
Yeah, I think we need more info........................What firmware, mods, etc.

This post is like "Hey, I bought a car and it won't start............what's wrong with it?".
[Atrix 4G General] ethantarheels123:
Oops. Forgot to say. I'm running 2.3.4. My question was mainly if this is normal.
[Atrix 4G General] klub242:
Yeah, seems to what other people are experiencing. It's a leaked, international build, so no surprise.
[Atrix 4G General] graemegb:
Yes, this is one of the known bugs of the HKTW build
[Nexus S Android Development] shabbypenguin:
nice work man

now if only we could make em brighter too >.>

:D

also here for everyone

www.multiupload.com/CHFDDBV6BP Kernel for 2.3.3 Custom ROMs

www.multiupload.com/0RPO16QCN0 Kernel for 2.3.4 Custom ROMs

www.multiupload.com/823MR3UZVD Kernel for 2.3.4 Stock ROM (unlock and root required)

www.multiupload.com/WYBGK5N3H9 Cron Backlight Dimmer for all ROMs (root and busybox 1.17 or higher required)

source changes

www.pastie.org/2122063

op if you want these removed just say the word, just figured id help others out with your work til you earn your wings round here :D
[Nexus S Android Development] kevlars9:
Haha exactly, mine are very dim as well.
[Nexus S Android Development] shabbypenguin:
any chance of a ns4g edition? :)
[Nexus S Android Development] Optic2:
I use Adjbrightness to turn off the button lights on my Aria. Works wonders.
[Nexus S Android Development] Ezekeel:
The 2.3.4 kernels should work for ns4g. If you run into problems I will look into it again.

I also send Netarchy the changes to the kernel I made and asked him if he could integrate it into his kernel, so I do not have to compile my own version each update. If you feel that this tweak is useful, sending him a PM and telling him that you like this tweak might help (but please do not get on his nerves; he has more important stuff to do).
[Nexus S Android Development] shabbypenguin:
ah alright, cool thanks
[Nexus S Android Development] Lowroad:
Thanks!

And yes, these restrictions are retarded :rolleyes:
[Nexus S Android Development] dario3040:
Sadly that doesn't work since the Nexus S button lights are being *****es...
[Nexus S Android Development] theallian:
does this affect bln?
[Nexus S Android Development] Ezekeel:
No. I am using both BLN and this tweak simultaneously.
[Nexus S Android Development] bringonblink:
Ezekeel , thank you for this tweak and taking the time to share it with us. This is one thing that has annoyed me about this phone!

I'm nto sure if you know but Netarchy's latest version is now 1.3.7!

Will you be keeping this thread updated?
[Nexus S Android Development] Ezekeel:
I asked Netarchy if he could include the changes in his kernel but have not received an answer yet.

I am using the latest stable CM, so everytime a new stable CM version using a new kernel will be released I will compile a modified version of corresponding Netarchy kernel (with bfs) including these backlight tweaks for my personal use. So, I can upload these and put the links in here.

However, I am not planning on providing modified kernels for all versions of the Netarchy kernel and for all possible variations (cfs - bfs, custom - stock) anymore. I have published the changes I made to the source code and every kernel dev can easily intregrate these into his custom kernel. So if you want this feature available in your favourite kernel, contact the corresponding kernel dev and ask him nicely to integrate these backlight tweaks.
[Nexus S Android Development] anaglich:
I too would like this option. I love how sleek the Nexus looks as a black slate. Is making just the changed files into a flashable zip possible? That way anyone on any kernel can use this?
[Nexus S Android Development] bringonblink:
Thanks for the reply, will do

Sent from my Nexus S
[Nexus S Android Development] Ezekeel:
I do not see any way one can achieve the same without a custom kernel.
[Nexus S Android Development] anaglich:
Alright, I wish I knew how to compile a kernel. I would love to see this option implemented in Netarchy's or Mathkids kernel. I have attempted to contact both in regards to this.
[Nexus S Android Development] SA-07:
anaglich, I will definitely look into it. Sorry for the late response! :o
[Nexus S Android Development] morfic:
ezekeel: since i only looked at the cron .zip last night after nightshift, i didn't see crond and there is none on my phone. Do you have an arm version to slap on there?

Unless it's part of busybox 1.17, then i'm a victim of old ass cm7 busybox it;s 1.16 and does not have crond either.

Alright, there is also such a thing as "too new", exactly 1.17.1 and there is a crond.

now let's see about installing this. patch is long in.

EDIT: Thanks, seems to work just fine. Can't say it ever bothered me, but i don't watch movies on it either.

EDIT2: Thanks again, users like it. Really appreciate you offering this.
[Nexus S Android Development] Ezekeel:
You are welcome. I am glad some of you kernel devs have already integrated this tweak into your kernels.

It was fun figuring out how to compile a kernel and how to package it properly, but once I knew it, it was quite repetitive and got old fast. So for me personally, I am glad that now I have a broader choice of kernels available without modifying it myself. Yeah I am lazy. ;)

Now if I can get Netarchy to include it too, I would be settled for future updates.
[Nexus S Android Development] rejanmanis:
I'm on superosr and net 1.3.6 cfs. I flashed cron thru recovery. I don't think I get this working. What should i do ?
[Nexus S Android Development] Ezekeel:
For convenience I have updated the initial post with a version of the cron dimmer which includes busybox 1.18.4.

Where did you get your busybox binary from? I downloaded it from xxx.busybox.net/downloads/binaries/ (the busybox-armv6l version). I checked and the latest 1.18.4 still has crond.

You also need a modified kernel - so, either one of the kernels I have posted in the initial post or a kernel from a dev who has already integrated the necessary modifications. I dunno about about the status of mathkid, however I think morfic already put it into his Trinity kernel. Other than that, ask the corresponding dev if he could include it.
[Nexus S Android Development] reddv1:
Thanks for this great mod Ezekeel. Works great on lucid nexus kernel! Any plans of implementing it without the use of cron daemon?
[Nexus S Android Development] anaglich:
Has anybody gotten in touch with Netarchy about thus mod? I have tried but still no response weeks later.
[Nexus S Android Development] Ezekeel:
Hmm, well... as mentioned in my initial post, the backlight turns on automatically once you use the touchkeys (at least on my i9020, no feedback about the behavior of the i9023 yet), so you need something to trigger the off-switch in /sys. Using the cron daemon probably is not the worst choice since it implementation is pretty light-weight and thus the impact on battery life is practically zero - you probably save more juice by turning off the backlights that the cron daemon needs. And you can use it for other nice stuff like clearing your (dalvik) cache in regular intervals, clearing memory, etc. Also, it is part of busybox which most people already have. But I am always open to suggestions, so if you have some better idea, please tell.

I contacted Netarchy shortly after the initial post and asked him if he could include this tweak and he told me he would look into it. However, I have not heard from him since. On the one hand, he probably has other more important stuff to do, however on the other hand, making the modifications only takes 5 minutes maximum (as morfic and reddv1 probably can confirm) and since it does not interfere with anything there essentially is no reason not to include it. Since I did not want to get on his nerves and seem impatient, I have not contacted him again so far, however since a lot of people are asking me about a netarchy kernel with this tweak, I will try to get into contact with again.

UPDATE:

Netarchy wrote me back and he will include this tweak probably in the next version of his kernel. So just be patient.
[Nexus S Android Development] niscrome:
Thank You! Thank You! Thank You! I have been looking for this for looooong time.
[Nexus S Android Development] uansari1:
Is this mod an all or nothing change, or is there an option to turn it on or off?
[Nexus S Android Development] Ezekeel:
You could manually kill the crond from console and restart it with 'crond -c /data/cron'. At the moment, there is not a more convenient way to do this. Maybe you can find someone to put together a small widget or integrate it as a switch into this nice power control widget CM7 has.
[Nexus S Android Development] coloxim:
and change the time?
[Nexus S Android Development] SiL3nTKiLL:
cant wait till i get home to try this out!
[Nexus S Android Development] Ezekeel:
Based on the latest BLN version 9, I made some modifications to implement a backlight dimmer which does not need an external program (like cron) to trigger an off-switch.

To activate the dimmer, just echo the dim interval in ms (this is milliseconds; 1000ms = 1s) into /sys/class/misc/backlightnotification/in_kernel_dimmer. If you pass a value of 0, the dimmer will be deactivated.

Here are the modifications to the source code: http://www.pastie.org/2378721
[Nexus S Android Development] BuglessPete:
Hey, I do not have PM enabled on forums, could you email me with an email address we can talk on, or gtalk me. I am not on forums much.
[Nexus S Android Development] rejanmanis:
THX A LOT

thx men, i get this working with netarchy 1.4.0

by using adb shell from my PC :

# su

# echo "10000" > /sys/class/misc/backlightnotifcation/in_kernel_dimmer ( this is for 10s interval )

Maybe u can edit ur post for in-kernel-dimmer, u can use underscore instead of dash. ( sorry, not my intention to dictate you ) :cool:

edited : shut... underscore displayed as dashes on a post. sorry my bad.
[Nexus S Android Development] Ezekeel:
Good catch. I have corrected it. Yeah, this happens when you spend the night coding instead of sleeping. ;)
[Nexus S Android Development] Ezekeel:
Another day, another backlight dimmer version. :)

The previous implementations had the drawback that the time when the touchkey backlights were switched off was entirely independent of the time the touchkeys were pressed (and thus reactivated) for the last time. Consequently, the time until the backlights were deactivated was essentially random and could vary from practically zero up to the defined interval value.

Some people commented on that and I agree that it would simply look much more elegant if the dimmer would behave more consistently. So I sifted through the source code and found a way to detect the a press of the touchkeys which both works for the i9020 and i9023. This made it possible to link the dimming of the touchkey backlights to a touchkey press and have the backlights switched off with a consistent delay.

Also, this time instead of being lazy and simply hacking the dimmer functionality into BLN, this implementation does not depend on BLN anymore and can be included in the kernel independently of BLN (with CONFIG_BLD=y). This should improve the maintainability in case BLN or this tweak gets updated.

In /sys/class/misc/backlightdimmer, pass 1 or 0 to 'enabled' to enable or disable the dimmer. Pass the delay in ms (this is milliseconds; 1000ms = 1s) to 'delay'. The default state is disabled and a delay of 5000 = 5s.

Changes to the source code:

http://www.pastie.org/2388552

http://www.pastie.org/2388562

http://www.pastie.org/2388614

I have send Netarchy, reddv1 and mathkid a notice (could not reach morfic) about this update, so they aware of this change.
[Nexus S Android Development] reddv1:
Great job Ezekeel! With your latest update this mod is practically perfect. I was going to suggest making the time-out start after last clicking the keys, but I didn't want to bother you with it and it was a godsend just having the mod.

I have one question, do I have to echo the value 1 to enable the dimmer then again the ms to set the timer or just the ms value?

Thanks again for the mod, I love it.
[Nexus S Android Development] morfic:
Use my username here @gmail.com

Email works over xda, but I just remembered not in tapatalk.

I'll check it after work.

Are the patches incremental or full, can't click links till later.

Thanks again.
[Nexus S Android Development] Ezekeel:
I am glad you like it.

If you echo 1 to 'enabled' the dimmer gets activated. You do not have to pass anything to 'delay' to activate the dimmer; 'delay' is set to 5000 by default and this value will be used until you define a different value. Also, you can change the delay while the dimmer is already activated.

That is a full patch. I started fresh from source files including BLN version 9.
[Nexus S Android Development] reddv1:
Oh OK, thanks. I thought 'to enabled' was a repeat typo on your end, makes sense now :).
[Nexus S Android Development] Ezekeel:
I got reports about the delay not properly working. Found a bug that might have caused this problem.

Bug fix: http://www.pastie.org/2392734
[Nexus S Android Development] reddv1:
Thanks for the quick fix. I'll test it out and let you know how it works.
[Nexus S Android Development] rejanmanis:
Lol...

And also... if u have more spare time.

If u can find a way to turn off screen without locking, and turn on screen with touching the screen. U see what I mean?

Just exactly what you did on touchkeys,

But also to the screen as well.

So the battery life will be incredible. And save the usage of the power button.
[Nexus S Android Development] Ezekeel:
Turns out the implementation of the Backlight Dimmer was potentially unstable. I have made some changes to avoid possible problems.

Bug fix: http://www.pastie.org/2403815

I exactly know what you mean. I was quite surprised that Android did not have such a power saving feature integrated since a simple screen blank is a standard feature with every OS for laptops and quite important for saving battery. With Android you either have to unlock the screen each time which is annoying or set the timeout to a higher value.

I have searched for an app which could switch off the screen and re-enable it once you touch the screen, but I could not find any. After some digging I found out that there is no way with the current Android API to switch off the screen and retain the touch input controls.

So I again took a close look at the kernel source and it seems I have found a way to implement such a screen dimmer. Actually, right now I am running a modified kernel on my i9020 with these new changes implemented and everything seems to be running just fine.

I will test this new tweak a while and if it turns out to be stable I will release it.
[Nexus S Android Development] rejanmanis:
Awesome u are the men. ;)
[Nexus S Android Development] morfic:
Sorry, i tend to be slow, can someone remind me why this is in general section and NOT in the android development section?
[Nexus S Android Development] anaglich:
Is there anyway to keep the lights from turning on when the phone is awoken?
[Nexus S Android Development] reddv1:
It's because Ezekeel had a new xda account and couldn't post in the development section.
[Nexus S Android Development] morfic:
Thanks, since I saw the screen dimmer in the right forum today, I couldn't remember why.

Screen dimmer is immensely cool btw.

Backlight on other hand didn't behave.

Will look into why when I tracked down another issue first.
[Nexus S Android Development] Ezekeel:
At least for the i9020 this seems to be hardwired in the touchscreen firmware which is only available as binary and modifying that is out of the scope of work I am willing to do.

I already asked AllGamer to move the thread.

Did you include both bug fixes for BLD 3?
[Nexus S Android Development] morfic:
I reapplied both bld and sd and will double check i did, otherwise i'd answer yes.

Why don't you make a nice single patch that also creates the new files in future works (diff -Nurp )?

Can the screen dimmer be made to not depend on the back light dimmer?

I haven't looked yet what in input.h it was, but the screen dimmer patch wouldn't apply w/o the backlight dimmer being applied first.

while most will use them together, it'll make it easier for those who do not want to add both.

And the screen dimmer i think will find far more popularity than the more novelty backlight dimmer. (Just my opinion obviously ;)

Thanks,

Daniel

EDIT: BUGFIX and BUGFIX #2 are indeed applied, as patch detects them as such.

Building a new kernel, see if the lights still stay on.
[Nexus S Android Development] morfic:
Ok, the 1 sec for delay works in only one condition i could find.

When i am in the BLN Control Pro app and enable testing.

i press the power button which will be kept on during test, one second later, they turn off

also when i then get a new notification that turns on the lights, it lights up for 1 second

all other times they stay on until the actual screen timeout is reached.

It seems to act on the BLN part with screen off, instead of when it should with screen on.

Can you provide me patches with more context or simply the actual source files?

Just to make sure they didn't apply at the wrong offset with the fuzz needed to apply some sections.

If i can see where the functions were meant to go, i can verify the patches applied ok.

screen dimmer works perfect.

Thanks in advance for your assistance.
[Nexus S Android Development] Ezekeel:
Yeah, I am a total newbie when it comes to git. Personally I still use good old cvs for all my projects which is synced to my SpiderOak account. I know... not the most elegant solution. But these diff switches sure will be helpful. Maybe I should take the time and read a git tutorial.

Screen Dimmer does not depend on BLD - in the sense that you are able to build a kernel with both of these features enabled independently from each other. However they both change the same function in input.h; for Screen Dimmer you have to modify some part of the code which was already modified for BLD before. So for the patch for Screen Dimmer to work you have to apply it to a version which already has been modified for BLD.

http://www.multiupload.com/T1F92TGDA2

I hope I did not forget anything.

You did start with a kernel including BLN 9, did you?
[Nexus S Android Development] morfic:
Thanks, busted, I Double checked, it's 8, going to fetch me 9 now.

Where is 9 from? looking through his repos so far i am still only seeing 8

Created the needed patches from your files, thanks, next kernel building.

I just don't have a bln.h file *hint*

google gave me this

It creates bln.h with the following lines:

--- a/include/linux/bln.h 1970-01-01 09:00:00.000000000 +0900
+++ b/include/linux/bln.h 2011-06-07 11:49:19.587372257 +0900
@@ -0,0 +1,13 @@
+/* include/linux/bln.h */
+
+#ifndef _LINUX_BLN_H
+#define _LINUX_BLN_H
+
+struct bln_implementation {
+ void (*enable)(void);
+ void (*disable)(void);
+};
+
+void register_bln_implementation(struct bln_implementation *imp);
+bool bln_is_ongoing(void);
+#endif

Let me know if your revision is different.

Thanks

EDIT: All working now.
[Nexus S Android Development] jodtalingchan:
This is one of the greatest nexus s features and I love it. Thank you dev. I've tried this on metrix 6.0 and it works nicely. I roll back to nscollab 1.0.39 which runs on metrix 5.5. My question is how could I get this worked on 5.5? any advices much greatly appreciated.