yashsingh1/xdaforums huggingface dataset:
[Galaxy S II General] KickerTom:
Never heard of this file before, now took a look and it looks very interesting. I will investigate this option further, thanks for the hint.

Yes, I agree that your approach is also usable. Advantage of your way is that you are not loosing CWM and such. Mine is that it's without ugly hacks in the kernel ;-).

Ultimate goal would be to modify the bootloader parameters, so kernel recompilation is not needed at all, but not sure it is possible - thats my next direction of research :-).

Sorry, not following you here. Custom kernel - you mean kernels compiled by third party, which we can't modify? Well, not sure you need a log for kernel you can't modify, maybe for bug reporting to original author? If the kernel works, you can get most of the log using dmesg... And I am not interested in binary-only kernels...

Maybe that's a better solution for a kernel distributed to users and such. What I was trying to achieve is to have serial log of a booting kernel so you can troubleshoot kernel which does not boot, or which hard-locks or oops. AFAIK, ram console is useless in such cases (correct me if I am wrong, I have very little experience with ram console).

As far as I am interested, the description above does exactly what I need :-).
[Galaxy S II General] Entropy512:
That was a brainfart - meant it won't work with stock kernels! :)

The ramconsole approach was just meant as an example - but instead of hooking loglevel to do ramconsole stuff, you could hook it to do other stuff. Of course here, since there's already a serial cmdline entry but it's just wrong, it's easy to just override.

As an example, I abused the "overload the loglevel handler" trick to try and enable profiling. (However, profiling didn't let me get any info on which interrupt handler is eating our IRQ time on suspend/resume.)
[Galaxy S II General] KickerTom:
Just for reference, here is the cable I am using. There is a stock prolific PL-2303 based USB to serial converter (the grey cable), then a RS232 to 3.3V TTL level shifter (home made, built into the DB9 conector), and then there is a stock micro USB cable. The connection between these two is on this connector for easy re-configuration, as I am using the level shifter for other purposes as well.

The micro USB cable is stock microUSB to USB-A, but I cut off one end to connect it to the level shifter, and I have also cut the micro USB conector to connect a cable to the ID pin. That one and ground are on the blue/white cable, for easy resistor switching.

Except for the ID resistor (523K according to the table, some 507K in my case), all electronic parts are SMD :-).
[Galaxy S II General] Entropy512:
A good source for USB-to-TTL/LVTTL cables is FTDI - they sell FT232-based cables. Adafruit is a good vendor for these in the USA.
[Galaxy S II General] XpLoDWilD:
Just noticed you can get bootloader output by booting the phone and shortly pressing Volume Down (shortly so that it doesn't boot into Download mode). I did it by accident and saw some Samsung PBL logging on my screen.
[Galaxy S II General] KickerTom:
Cool. If you can get the bootloader prompt, we are maybe a step closer to being able to even unbrick phones :-).

So far, I was not able to reproduce this, can you, please, describe better the steps? Also, what version of bootloader do you use?
[Galaxy S II General] XpLoDWilD:
I did it once by accident, I haven't retried. Basically when I booted phone I mistakenly pressed the Volume Down button with the Power button, but not long enough to make it boot in download mode.

I'm not sure which bootloader I'm running, I think it is some LPx one (if flashing KI4 PDA doesn't overwrite it).

Here's the log of it:

http://pastie.org/3544766
[Galaxy S II General] KickerTom:
Following up on Odia's hint (thanks :-) ), I decoded the structure of the params.blk file and wrote an utility to deal with it. The file contains parameters normally visible in SBL. With this utility, you can manipulate then from within normally booted phone.

Run it without parameters, it will display current values for all parameters. With parameter name (case insensitive), it will display just that one parameter, run it with param name and value, it will set the new value.

WARNING: no checking on validity of the values is done. If you brick or fry your phone, I take no responsibility and it is your brick!

Put the utility somewhere where you can execute it, e.g. /data. Then to set e.g. a kernel command line to start logging on console, issue:

sblparam command_line "loglevel=4 console=ttySAC2,115200"

From my experiments it looks like the SWITCH_SEL parameter is ignored by the HW, at least I haven't observed any real effect. But you can change the UART switch by modifying a file next to the param.blk, /mnt/.lfs/sw_sel. It contains an ASCII number, by default 1. That is modem uart. Change it to 3 to get PDA uart connected, by e.g. "echo -n 3 > /mnt/.lfs/sw_sel".

Please, be careful about files in /mnt/.lfs, the j4fs is a strange filesystem. You can create files there, but you can't delete them. If you grow a file, you can't trim it back down. I tried longer numbers in sw_sel, and I broke the output completely, and I had to restore the whole .lfs partititon from backup (which reminds me - do a backup first :-), e.g. with dd).

Now there is no need to flash samsung firmware or compile custom kernel to get kernel console anymore! :-).
[Galaxy S II General] Entropy512:
EPIC WIN!!!

This is going to be very nice.
[Galaxy S II General] simone201:
This is amazingly cool!!! Maybe we can get even more...

Inviato dal mio GT-I9100 usando Tapatalk
[Galaxy S II General] XpLoDWilD:
My kernel finally boots :)

Seems like I get everytime the bootloader output by booting the phone with Power + Vol Down while having UART cable plugged in, then releasing the buttons when log starts to appear to make it not go into Download mode.
[Galaxy S II General] KickerTom:
Wow, congratulations! Looking forward to try out your kernel with CM9 :-).

Hmmm, must be really something with your kernel. I was not able to get any bootloader messages, and my unit always turn on as soon as I insert the cable.

AFAIK, the resistor is "read" and attach interrupt asserted by the FSA9280 switch. So it looks like your kernel "programs" the switch not to wake up the CPU? Maybe the switch has interrupt assert masked out? I will check the switch sources, when I get some time, maybe I find something interesting...
[Galaxy S II General] Entropy512:
I'm wondering if maybe he uses a different resistor value than you do. If I recall, there were multiple values that could trigger UART mode.

The difference in behavior being seen goes earlier in the boot process than kernel boot.
[Galaxy S II General] KickerTom:
No, he does not (apart from the fact that no two resistors are exactly the same ;-) ). I know, because I made both cables ;-).

Moreover, I tried couple of different resistor values, and found none which would not trigger the boot on my unit. You can get e.g. car mode active together with UART with slightly different resistor, but AFAIK, you can not prevent the boot trigger.

Yes, for sure. But don't forget that "turning off" the phone does not mean all ICs in the phone are really powered off. E.g. the switch IC is, AFAIK, always on (unless you pull the battery). So you can set the interrupt mask in the switch and then turn off the main CPU. When UART cable is detected by the switch, it uses the mask to trigger or not trigger interrupt to the CPU.

Which brings another idea - XpLoDWilD, can you, please, try pulling out the battery, put it back and then connect the cable? The switch does not have any means of persistent storage, according to the spec sheet, so if there is no hidden easter egg, then the cable should trigger boot in this case, I believe.
[Asus  Eee Pad Transformer Prime] Blairware:
I asked Skygunner why he though that 9 separate Primes had WiFI issues and if he thought that the common link MIGHT be his E4200 Cisco/Linksys Router.

Since he had already abandoned the Prime, selling his FREE Prime and Keyboard that Asus sent him, I guess we will never know, but his last comment to me was "There is NO WAY that this is about the E4200. ALL my other devices work with it perfectly. Okay. Fair enough, but 9 Primes, ALL failing to get decent WiFi indicates otherwise. There is just no way that those numbers make any sense whatsoever.

Here is something that may explain it. Interesting, in any case. This article came out on Decrypted Tech's Site, here are two key paragraphs. Link follows:

"Although we are not 100% certain of the issue it does seem to be more about compatibility than an actual hardware or software problem. We took a look at the issue and it seems that the largest percentage of problems appear to be with Linksys wireless routers. This is not to say that there is an issue with Linksys, but it is more of a compatibility issue with the wireless controller and the way they implement their wireless handshake. We tested our TF101 with TRENDNet, D-LINK and also with a TP-Link Access point without any issues at all.

Unfortunately Linksys is a much more common brand due to pricing (and the Cisco logo) than the other three in the US so you are more likely to see this and have it reported.

Most owners will also not think that their router (that works with everything else) could be the potential source (or part) of the problem

."

Link:

http://www.decryptedtech.com/index....they-are-not-replacing-the-tegra-3&Itemid=138
[Asus  Eee Pad Transformer Prime] chamberc:
I too have an E4200 v1, but haven't had any real Wi-Fi issues with either my wife's 32gb or my 64gb. I have an Asus n66u on order so will see if that makes a difference.
[Asus  Eee Pad Transformer Prime] demandarin:
Very interesting to say the least. Good find. Will check out the link soon also ;)
[Asus  Eee Pad Transformer Prime] jdbaker82:
Ive used 3 different Primes on multiple different routers (Dlink, Linksys, Netgear all different model #s) the only consistant in everything is that every single Prime hits its WiFi deadspot range sooner then any other WiFi device I own (Laptops (2), cell phone, and a Galaxy 10.1 tablet) this all leads me to with 99% certainty that the biggest problem with the Primes WiFi is simply the aluminum backing not a magic handshake.......Basically the range on the Prime would not work outside in the McDonalds parking lot but if I moved 10 ft closer just outside it would for example we are talking 5-15 maybe 20ft difference in range difference with the Prime in most scenarios.
[Asus  Eee Pad Transformer Prime] poofyhairguy:
Lol, can't be a problem with an E4200.

I actually bought one of those (a V1 model) to fix my Prime's weak wifi as it has the best 2.5ghz support you can buy. It boosted my speeds in all areas but it didn't increase the range.
[Asus  Eee Pad Transformer Prime] Timberline:
Linksys routers are fine, it's their firmware that stinks. Flash the DD-WRT firmware.
[Asus  Eee Pad Transformer Prime] PolishPoet:
You've got that right. For something with the Cisco name on it, their software and support sucks far worse than another company that we know and love.
[Asus  Eee Pad Transformer Prime] wifesabitch:
Then how come my Prime with the exact same aluminum backing has perfectly fine wifi performance? Can't be the backing.
[Asus  Eee Pad Transformer Prime] jdbaker82:
Because you dont know how to test the wifi deadspot range or you didnt bother to test it. The WiFi in most scenarios will work just fine for most people doesnt mean the range doesnt fall off before other WiFi devices.
[Asus  Eee Pad Transformer Prime] chamberc:
Wrong. The N66U and the 4200v2 blow the V1 away.
[Asus  Eee Pad Transformer Prime] wifesabitch:
haha, nice try. ;)

I tested it fine. Nothing wrong with the aluminium backing.
[Asus  Eee Pad Transformer Prime] Rumpelteazer:
I've got a Linksys Access Point WAP610N in the doorway between my office and bedroom because reception of the extender often falls away, the extender is one wooden floor down and two foot thick walls away from my rooms.

My notebook and Blackberry have no problem connecting to the AP, my internet radio has problems connecting but once it's connected it's good, my Kindle refuses to connect and my first Prime (waiting for the replacement) rather connected to the extender than the AP, occasionally it did connect but mostly it connected to the far away extender without any problems.

The most annoying thing is that with the latest firmware the AP keeps resetting itself to channel 11 (the busiest channel) every couple of days I have to change it back to channel 4 which is the one with the least interference/other networks on it. I'm now trying to find out what a good replacement AP is but that's harder than I thought.
[Asus  Eee Pad Transformer Prime] =jon=:
I've got a Linksys WRT610N router under my desk at work - having just bought my new Prime into work for the first time, it refuses to see it at all.

Disabling 'mixed mode' (802.11B/G/N) for 2.4GHz and setting it down to just B/G and now the prime sees the network and has full strength. Looks like the Prime has issues with Linksys and mixed mode networks - it works fine at home on my mixed mode airport extreme.
[Asus  Eee Pad Transformer Prime] rdalev:
Apparently, you have one of the magic one out of one-hundred primes, that performs as advertised, with the exception of GPS, of course !
[Asus  Eee Pad Transformer Prime] Ride525:
How do I get Asus to send me a FREE Prime and Keyboard that I can sell?
[Asus  Eee Pad Transformer Prime] Bender B. Rodgriguez:
Yeah lets blame it.on everything except the real problem....

Shotty design and poor quality control. Myself and 3 of.my friends all bought primes around Xmas. Wifi sucked on EVERY single one no matter what make, model of access.point was used. Tested.on netgear, dd-wrt firmware routers, REAL Cisco WAPs, trend net ,zyxel, Linksys, and others.

Sent via smoke signal
[Asus  Eee Pad Transformer Prime] wifesabitch:
Yup, most Primes don't work, need to be lucky to have the magic ones.
[Asus  Eee Pad Transformer Prime] Justin_Thyme:
Putting it in laymans terms that everyone can understand.....THATS 100% BULL****!

I have an E4200 V1 and it works just fine. My prime works with it, my TF101 worked with it, all other wireless devices work with it. I do know it went through a firmware update but thats about it. I can connect to it with anything but the prime out in the street and get 450Mbps on my N devices.

Bottom line is the prime wifi is flawed regardless of what the reason is. Whether the aluminium back is all of it is anyones guess but its not rocket science that aluminum WILLL attenuate RF signals. My prime works fine at home where I have the E4200 and it pretty much saturates all 3500sqft. It did not work period at a hotel I recently stayed at where my laptop and crackberry had about half signal the prime didnt detect it at all.
[Asus  Eee Pad Transformer Prime] buxtahuda:
How strange. I use the same family of routers in my house and my brother's house, on Mixed (DD-WRT firmware though) and have no issues what-so-ever. After several tests, I actually found that Mixed gives me the most reliable distance and through-put as well, so long as I keep the channels low.

I use a WRT620N (with some D-Link as the Primary, required by our alarm set-up) at my house and WRT610N + WRT150N at my brother's.
[Asus  Eee Pad Transformer Prime] =jon=:
This is running the stock linksys firmware - technically it's the company's router so I've not got around to installing DD-WRT on it yet...
[Asus  Eee Pad Transformer Prime] Geekslayer:
I have the Linksys/Cisco 4200 v2. I love the router, but I'm having the same issue with my TF201 and my wife's TF101 (WPA2/AES). They seem to disconnect from the router, only when sleeping. I'm not sure if it's client side or the router firmware, so I'm waiting for the next version.

In the meantime, I moved the DHCP lease to 60 mins, and that seems to help a little. I'm not sure what the value for the "session timeout" on the router is, but it seems to happen around that time. The disconnects only happen when the tablets are sleeping.
[Asus  Eee Pad Transformer Prime] BTrack:
Apparently I have one too!
[Asus  Eee Pad Transformer Prime] hyee:
I have to agree the the router seem to be part of the problem. In my Berkeley apartment, I get terrible wifi speeds and numerous dropper and degrading connections. The router is no more than 12 feet from my prime. Its a completely different story with the AT&T UVerse router at my parents house, where I get a solid and fast connection from 30-40 feet away, through 4 walls.

I can't tell you what the router in my apartment is because it's my room mate's
[Asus  Eee Pad Transformer Prime] InGeNeTiCs:
I've had the 4200 prior to getting my prime, and I love it! It's in my basement and I've never had anything disconnect or timeout. My stationary devices are hardwired(imac, google tv, xbox), and roaming devices are wifi(ipad, ipod, my laptop, cellphones, prime, galaxy tab 10). Everything works well except for the prime. I haven't had any dropped connections, but signal strength is always low. I also can't see my 5ghz network. I didn't think much of it. It still works great...maybe the prime's wifi is underpowered...
[Asus  Eee Pad Transformer Prime] redpoint13:
I have the E4200 v1 and it has been really nice to have. My prime has had consistently even or higher speed tests than my other devices even in poor signal areas.

Strangely though, I bought the 4200 right when It came out and had not done any software updates. I figured what the hell, and updated to the latest software and left it on CH1 which was the most open in my area. Wifi stopped working basically anywhere in the house randomly with all devices. I switched the channels a few times and eventually landed on CH8 I believe which was busy in my area, but now Wifi throughout the house is better than it ever has been.

Odd stuff..

Also I have two friends that don't report any Wifi issues either.
[Asus  Eee Pad Transformer Prime] PolishPoet:
Those of you who have the 4200V1, get ddwrt or even Tomato. Is far better than what Linksys puts out. Better throughput and more stable. Good luck on waiting for Linksys to get firmware that works that well. Even those of you who say it's working fine will notice and improvement. Neither is available currently for 4200V2.

After doing the Easy WiFi Improvement on my prime, it smokes with the 4200V1 and DDWRT.

Proud Owner of a Transformer Prime on Tapatalk
[Asus  Eee Pad Transformer Prime] buxtahuda:
Correction on my part:

The two routers at my brother's house are DD-WRT. The D-Link and Linksys at my own home are stock.

Even at my own home, I see the connections and do just fine; I reach my bedroom which is not possible for the D-Link where it's located, about thirty feet and two walls from the Linksys.
[Asus  Eee Pad Transformer Prime] DThor:
I just wanted to throw my prime experience in. I previously had a WRT310Nv2 and the prime had no problems whatsoever. I did have a few irritating problems with my Razr, when it would disconnect occasionally and lose the password, I needed to re-enter, was a hassle. So partly as a way to address the Razr and also to upgrade the overall network at home, I just picked up an E4200v2. Now, absolutely everything is awesome, network performance is up significantly, the Razr has lost it's problem and is stable as a rock, and the prime is fine *except* if I leave it untouched for over an hour, the bars are still there, it's connected, but no network traffic. All I have to do is turn the prime wifi off/on, or switch to another network, and it's fine. This tells me it's not about which piece of hardware sucks, it *is* related to some sort of compatibility. I just need to figure out what option on the 4200 seems to be causing a problem with the prime. Anyone had those symptoms specifically? The bars are still strong, but the blue 'connected to google' is gone and there's no actual traffic. It's as if the connection has timed out on the router end, like a certificate expiring. I've scanned the area, I'm using pretty clear channels, while it's working, it's gangbusters, and I've left most of the security options as-is. I'm currently trying 'mixed b/g' since that's what I had the WRT set to previously, to see if that makes a difference.

DT
[Asus  Eee Pad Transformer Prime] ssjgesus:
I have a E4200 (tried on both dd wrt and stock ) and have gone through 2 primes ( BK and C2 ) and both had really poor speeds ( dropping to 2 - 5mbps actual throughput ) after moving beyond ~ 8m and a wall or two. My Iphone 4S maintained speed > 16mbps

Even when 2m away from router, the signal is around -45

I can't believe I specifically bought this router for the prime!
[Asus  Eee Pad Transformer Prime] buxtahuda:
And that just honestly sounds to me like the lease is timing out. DD-WRT and unlimited DHCP leases anyone? Or does it support that in stock? If so, it may just be more operational with a more rounded firmware still.

And let me say that I see no repeatable results from changing my routers from G or dual mixed or fully mixed modes (B/G;G/N;B/G/N). But some do say the G offers them the best range, but that sacrifices through-put on better connections.

VVVVVVVVVVVVVVVVVVVVVVVVVV​

Your point? I tried not to reply in any fashion, but the more I try to navigate away from the page the more I feel compelled to argue with you or at least point out what a douche of a p(erson)ost.
[Asus  Eee Pad Transformer Prime] jdbaker82:
I guess being in the IT field and working on computers for so long understanding WiFi range and deadspots is easy to me seems like alot of people have trouble understanding the concept and or what it means.

Like the other guy said : example works fine in his house but he took his Prime to a hotel and could not see the WiFi network with his Prime but his other WiFi devices saw it and connected just fine... AKA the RANGE is not AS good in the Prime as MOST other WiFi devices because of the Aluminum sheilding (degrades signal) which usually will also effect the speeds depending how far you are from your router. Not that difficult folks feel free to test your range limit on the Prime and you will find your laptop or cell phones WiFi will connect at a FURTHER distance then the Prime can manage.
[Asus  Eee Pad Transformer Prime] Itaintrite:
Another question is why doesn't a $600 device have 5ghz wireless N?
[Asus  Eee Pad Transformer Prime] jdbaker82:
5ghz wireless N sucks range is even worse then B/G its only good if your routers in the same or next room.
[Asus  Eee Pad Transformer Prime] skygunner27:
I received another Prime(64GB this time) and a dock....long story. I also have a WNDR4500 in addition to my E4200 ver. 2. The Prime sucks equally with the WNDR4500. At this point the only problem I have is wifi range on my C2 +my Prime was free...so I have no more complaints. I've learned to just leave my Prime in the living room.:)

I Love my ATP:D
[Asus  Eee Pad Transformer Prime] rdalev:
Just as I'm sure the 4200v3 will blow the doors off the 4200v2 !

Get a grip Dude !
[Asus  Eee Pad Transformer Prime] skygunner27:
I've owned both. The only difference is both 2.4Ghz and 5ghz allow up to 450mbps via wifi. Other than that they are almost the same router. Currently the ver. 1 model is more stable if you go by the threads at linksys.
[Asus  Eee Pad Transformer Prime] RoosterX:
I must admit i didn't read the article, but it is not uncommon that AP's and wireless routers do have some compatibility problems with some(or many) devices, i've had many of these and i must say that the best i've ever had is an Apple Extreme router that i now use as a AP, i've always had some problems with compatibility or just performance on all other brand that i have had, but not a single problem with Apple Extreme!
[Asus  Eee Pad Transformer Prime] Newfe:
i have a E3000 running tomato firmware no problem here
[Asus  Eee Pad Transformer Prime] foolydooly:
Frightening thought, but this is possibly true. I actually tried logging on my university public Wi-Fi, but wouldn't connect... Works fine everywhere else. Was Gingerbread build though.

haven't had chance to try out on newer build yet.