yashsingh1/xdaforums huggingface dataset:
[Streak 5 Android Development] _n0p_:
Shane, we can give that a test, though I really doubt of practical value on modern devices.

What I know - on boot time android checks and bulds cache for classes.dex (executable part) for apks, and resources except gfx already have linear structure.

Anyway, it won't hurt to check :)

--

Now i'm again trying to analyze libril-qc-1 code, _2bad4u_ pointed me to patch that makes changes to ussd encoding.

Maybe some of providers equipment doesn't support hex encoding on ussd requests (but so far I don't know in which encoding they are sent now).

What is hard in terms of binary crack methods - code can be replaced or removed, but it's quite hard to add some.

I can easily add code to x86 based binaries, but ARM assembly is not well known to me.

--

Today i've tried to overclock Adreno GPU, but it seems like it linked hard to cpu - and it makes sense as gpu resides on cpu.

Still too lazy to expand build env and try to build DalvikVM myself, maybe some compiler directives would have some effect.
[Streak 5 Android Development] _n0p_:
Confirmed. Will try to find erratic change, thank you.
[Streak 5 Android Development] zAm1987:
Finally got time to migrate from GingerStreak over to DSC (as university exams are over ;)).

Only issues I've expierenced so far:

As already mentioned here, Swype fc's on startup. Nothing big though, as reinstalling swype helps. And the wifi freezes started to occur nearly instantly after switching to DSC. Didn't have them with GingerStreak. Wifi Reassociate however is a great and silent solution to it.

Everything else works just fine and battery life is very good ;)

I'm only a bit confused with the button lighting script. It seems there is no difference in the settings for the delay (except a value of zero of course). Don't know if it's supposed to work this way, but I thought there should be a difference between a value of 30000 and a value of6000000 (for example)?!
[Streak 5 Android Development] manemzjum:
just sold my htc hd2 and purchased a dell streak just for a change look forward to installing this rom

Im not new to rooting ans custom roms as hd2 is probably the most versatile mobile phone ever made

but just to clarify when i get my device all i will need to do is root it

install streakdroid and full wipe (nothing to backup)

and install rom
[Streak 5 Android Development] Strephon Alkhalikoi:
Not quite. You have to update the baseband first before attempting to change to this ROM or the Streak will not function properly due to a mismatched baseband. One way to do it is to manually flash the baseband files. The other way is to install the 407 ROM then install DSC.

Regardless of which way you go, you do not install StreakMod Recovery until after the baseband is changed.
[Streak 5 Android Development] borijess:
Hey nop,

Any chance of removing the dejitter patch on one of the phoenix kernals?

Sent from the SuperStreak! ;-)
[Streak 5 Android Development] _n0p_:
No probs, simply had no time, will do it today.

--

0.6 has Phase 2 bug too, I wonder if it's really framework related.
[Streak 5 Android Development] borijess:
Can u do it on the latest Phoenix with Bluetooth fix?

Sent from the SuperStreak! ;-)
[Streak 5 Android Development] _n0p_:
Here:

http://n0p.8bit.fm/streak/DSC_Phoenix_NDJT.zip

http://www.littlemaruko.com/Nopteam/DSC_Phoenix_NDJT.zip

But what BT fix your are reffering to?
[Streak 5 Android Development] borijess:
I think the last Phoenix kernal u had Bluetooth volume fix? Maybe it was the Phoenix test kernal. Not sure.

Sent from the SuperStreak! ;-)
[Streak 5 Android Development] gostl:
Only just checked this behavior on my university network. I see the same thing. I will now install the 407 Wifi bins and try again. Maybe this will also make Channels 12 and 13 avaiable ;)

---------- Post added at 11:46 AM ---------- Previous post was at 11:38 AM ----------

Test failed :( this seems to be a bit more complicated ... any suggestions anyone?
[Streak 5 Android Development] _n0p_:
Well,

http://code.google.com/p/android/issues/detail?id=15631
[Streak 5 Android Development] _n0p_:
Yes, it has it.
[Streak 5 Android Development] _n0p_:
I've checked vs GS 2.4.4 and it doesn't save Phase2 method.
[Streak 5 Android Development] gostl:
Hmm, it seems to be a bug in wpa_supplicant - but i'm not quite sure if patching in another version of that as indicated in the thread you mentioned (and the one on this board referred to there) is a good idea, as it is obviously a galaxy s ii thing there. Hmmm, looks like i will do a nandroid backup und check it out only for the sake of it ...
[Streak 5 Android Development] _n0p_:
That's not the only advice there.
[Streak 5 Android Development] gostl:
Lol, okay, if some1 told me to install some god*@%&* 3rd party wifi config tool to do the trick i'd have saved f*loads of time... okay, works fine now. Thanks for the advice.

-gostl
[Streak 5 Android Development] _n0p_:
I'd really love some info if this option works either in SD2.4.4 or 406/407
[Streak 5 Android Development] gostl:
Don't know if it helps but one more observation: When i open the connection properties it shows 'none' for the phase 2 auth, but even if i save it it will still connect (funny, is it?) so i think whatever you see in this menu is neither connected to nor has any effect on the actual setting for wpa-enterprise phase 2 authentification.

EDIT: this is after i edited it with 'wifi advanced configuration editor' to make it work in the first place.
[Streak 5 Android Development] DaniLoveSky:
_n0p_, I am ready to help!

I was 100% sure the phase-2 authentication worked for me in SD 2.4.4, so I restored it from nandroid backup. And yes, it DOES connect to a PEAP network with MSCHAPV2 authentication!

You are right, the "Phase-2 authentication" also reverts to "None" in this ROM, I just never noticed it as did not need go into "Modify network" settings (because it always connected and obtained IP address smoothly).

Is there any dump or log I can send you to help debugging the problem?

I should point out that I applied many patches while using the SD 2.4.4 and I do not remember if a fresh SD 2.4.4 worked with this type of network. However, most of the patches should not be relevant (themes, portrait mod, LED notification mod). The only ones which may be relevant are these two:

- VPN fix ( http://xdaforums.com/showthread.php?t=1224228 )

- GKernel 1.5 (http://xdaforums.com/showthread.php?t=1360454 )
[Streak 5 Android Development] _n0p_:
DaniLoveSky, let's extend:

Flash

http://xdaforums.com/showpost.php?p=21507965&postcount=5

over SD2.4.4

Will it still work?

--

I've rechecked twice and everything related to WiFi settings is unchanged in framework in SD/406/407/DSC, so i need another point to start with.
[Streak 5 Android Development] DaniLoveSky:
_n0p_, I flashed the DCS_Check.zip on top of GS 2.4.4, Wiped the cashes, rebooted and the device still connects to the PEAP network. I did not change baseband (GAUSB1A140614-EU) or the kernel (GKernels, 2.6.35.7-perf) though. Shell I try to flash Olleh kernel too?

Does this mode restore the /system/lib/modules/tun.ko file which I changed while doing the VPN fix? Maybe this is the core or the inconsistency?
[Streak 5 Android Development] _n0p_:
TUN is built in Phoenix.

Try with Olleh kernel, please.
[Streak 5 Android Development] _n0p_:
14 WiFi channels

While looking through wifi stuff today i've accidently found a way to enable all WiFi channels.

(I've found unused AP at work and set it to 13 channel)

Done via wlarm_android control tool - set country to Japan.

--

#WiFi channels increase

wlarm_android country JP

--

Update with new post boot script for future releases (contains this hack):

http://n0p.8bit.fm/streak/DSC_14.zip

--

Sergei
[Streak 5 Android Development] DaniLoveSky:
I tried it with DSC_Olleh_USB.zip (followed by flashing DSC_Check.zip just in case). It works the same way - connects to PEAP network with no problem, but Phase-2 Authentication reverts to None if I look at it in "Modify network" window.

Also gave it a try to a randomly selected Phoenix kernel - DSC_Phoenix_Mugen.zip - same results.

Just in case I double-checked that the kernels get changed - the "Settings/About phone/Kernel version" line is what I expect to see, so it does.

I can try a fresh GS 2.4.4 installation if it helps (not the one restored from nandroid backup).
[Streak 5 Android Development] _n0p_:
Do I get it right that SD2.4.4 connects fine with Olleh and Phoenix kernel?
[Streak 5 Android Development] 2devnull:
_n0p_....from the link you posted a few comments back, there was this almost to the bottom. Is this old or should I gave it a try?

http://xdaforums.com/showpost.php?p=19992600&postcount=167
[Streak 5 Android Development] _n0p_:
I almost sure this will break wifi, and from Dani report issue is not related to wpa_supplicant.
[Streak 5 Android Development] lordmorphous:
Are init.d scripts enabled in the latest release with the Phoenix kernel? I'm trying to play around with a zipalign script at boot. The script runs fine via shell or terminal, but doesn't appear to be doing anything at boot. I borrowed the script and zipalign binary from this post:

http://xdaforums.com/showthread.php?t=1266735
[Streak 5 Android Development] DaniLoveSky:
Yes, StreakDroid GingerStreak 2.4.4 (not freshly installed though) connects to PEAP network with MSCHAPV2 authentication using both Olleh and Phoenix kernels.

I tried to change the authentication method to GTC and it stoped connecting. Back to MSCHAPV2 - connects. So, even though this "Phase-2 authentication" field reverts to "None" in the GUI front-end it still is stored correctly somewhere in the back-end scripts.

I really want to try a freshly installed StreakDroid GingerStreak 2.4.4 now (to be sure there is no interference from some other patch I installed in the last few months).
[Streak 5 Android Development] _n0p_:
Shane, as I know, it can be enabled by changing init.rc in ramdisk or you may call it from post boot via busybox run-parts.

I will take a look, thank you.

--

Dani, I have a test ap now, so will try to setup similar auth scenario and check.
[Streak 5 Android Development] DaniLoveSky:
Few more results with a freshly installed StreakDroid GingerStreak 2.4.4.

Stock kernel - connects to my PEAP network within 6-9 seconds;

Olleh kernel - also connects within seconds;

Phoenix kernel - takes much longer to connect (stays in "Obtaining IP address..." state for 30-40 seconds). However, I think it is a result of some administration policy - as I connected/disconnected probably for 100 times the admins may start applying some restrictions on me. To check this I flashed Olleh kernel again and it takes considerably longer to connect now (to obtain IP in particular). I waited for 10-15minutes and it connects fast again.

Another observation - it does not really matter what I put in "Phase-2 authentication" box as soon as it is not "GTC" (with GTC it does not even get to the IP address stage). I mean the phone connects to my PEAP/MSCHAPV2 network even if I put PAP or MSCHAP in the authentication box. This is a bit strange, as I am sure only MSCHAPV2 worked when I tried to connect my notebook.

Hope this information helps... Shall go back to the DSC v0.7 now :)
[Streak 5 Android Development] _n0p_:
Thank you.

It's really strange, as I was sure that auth is done by wpa_supplicant.

You have tested 407 wifi binaries and kernels on 2.4.4. It works.

Ok, i'll setup own env and check.
[Streak 5 Android Development] borijess:
How can remove this if we are not happy with the results of this update.

Sent from the SuperStreak! ;-)
[Streak 5 Android Development] _n0p_:
It shouldn't cause any trouble at all.
[Streak 5 Android Development] _n0p_:
WiFi configuration file

For future reference:

WiFi connections info is stored in

/data/misc/wifi/wpa.conf

It does contain correct auth method selected.

--

WPA-EAP

http://www.nowiressecurity.com/articles/configure_8021x_authentication_in_linux.htm

--

P.S. It seems like Settings.apk may be in play with this issue.
[Streak 5 Android Development] borijess:
The reason I ask is because my phone has become laggy at times when waking it up. All I added was your kernal without dejitter and the wifi patch.

Sent from the SuperStreak! ;-)
[Streak 5 Android Development] _n0p_:
I see.

Open /system/etc/init.streak.post_boot.sh

Change value in line (near begin) that starts with

echo 128000 >

to

echo 245760 >
[Streak 5 Android Development] borijess:
Ok did it already. Thanks

Sent from the SuperStreak! ;-)
[Streak 5 Android Development] borijess:
Hey nop,

Any idea why the phone apk still freezes during calls. Matte blues theme seem to stop working ever since the latest updates.

Sent from the SuperStreak! ;-)
[Streak 5 Android Development] gostl:
Hmmm, even loooking into this every day i'm getting more and more confused. Maybe it's time to split up the conversation by opening new threads for the most common issues and leave this one for updates and general discussion.

btw. i can confirm from my observation that phase 2 auth stuff is a 'front end related' problem. it seems that nothing u select in the gui menu changes anything to what actually happens, i.e. i selected a configuration that worked with 3rd party config tool - so i was able to connect - but the change network menu still shows 'none' for pahse 2 auth and whaterver i do there does not affect connectivity. Looks like a strong indication for a problem with that gui.
[Streak 5 Android Development] _n0p_:
gostl, post your /data/misc/wifi/wpa.conf

in working and non-working state.
[Streak 5 Android Development] _n0p_:
How do that freezes look like?
[Streak 5 Android Development] gostl:
i'm workin on it. just give me a few minutes, i think i'll have to clean up a little bevore starting over and copying the files...

---------- Post added at 01:20 PM ---------- Previous post was at 01:09 PM ----------

Okay this is how i start: Im not connectet and the network ist not present in wpa.conf file.

Then i try to configure it in 'stock android gui', i select just like i'm supposed to, network, authentification methods, username and stuff. And (unexpectedly) it gets connected within a second. No Problem.

If i check back in 'stock android gui' the auth 2 method shows 'none' ... BUT in wpa.conf it shows *tada*

...

phase2="auth=MSCHAPV2"

wow, i'm overvelmed. It seems, that whatever i do in the stock config tool the information stays somewhere else, where the 'wifi advanced configuration editor' stored it once und keeps it even if i remove the network from my network list entirely.

Okay next thing i will do is uninstalling that tool and have a look what happens then. So stay tuned for a second...

---------- Post added at 01:31 PM ---------- Previous post was at 01:20 PM ----------

Okay, i found the place where the secret was kept: /data/data/org.marcus905.wifi.ace/shared_prefs/org.marcus905.wifi.ace.shared_prefs.xml ... that explaines quite a few things. I will now remo...name that file and have a look what happens then.
[Streak 5 Android Development] _n0p_:
This test simply shows that Android stores config fine, it just cannot read it correctly :)
[Streak 5 Android Development] gostl:
It seems to be just like that, but, even if i cannot recunstruct that case, before i once configured it correctly mit wifi a.c.e. i was unable to set it correctly. now, that is the next thing i just tried out, i cannot configure it incorrectly. even if i remove the network, set it up WITHOUT selecting any phase 2 auth method it still connects ... scratching my head ... i think i really have to remove this tool and retry, renaming it's database seems insufficient to break it.

EDIT: Hmmm, still connects ... i'm confused.
[Streak 5 Android Development] _n0p_:
Odd, but would you give full entry for that network (remove username and pass)?
[Streak 5 Android Development] gostl:
sure...

network={

ssid="eduroam"

key_mgmt=WPA-EAP IEEE8021X

aep=PEAP

identity="[MY ID]@tu-darmstadt.de"

anonymous_identity="[MY ID]@tu-darmstadt.de"

password="[MY PWD IN PLAIN TEXT]"

phase2="auth=MSCHAPV2"

priority=3

}

the most surprising thing is, that it works without me even selecting MSCHAPV2. When i delete the network from wpa.conf or through the gui and then configure it again through the gui without selecting anything for phase 2 authentification method it still connects and has MSCHAPV2 enabled. So this info must either be stored elsewhere or it's set automatically. After all it seems not to be connected to wifi a.c.e., i've that uninstalled and it doesn't change anything. I'm really close to flashing back the last nandroid i made before working on that - do you think we can learn something from that?
[Streak 5 Android Development] _n0p_:
Sure we can. It would be really helpful.
[Streak 5 Android Development] DaniLoveSky:
_n0p_, gostl,

Another interesting observation - if in /data/misc/wifi/wpa.conf file I change the line

phase2="auth=MSCHAPV2"

to

phase2="MSCHAPV2"

then it starts be shown correctly in standard Android Wi-Fi Settings under Modify network menu (i.e. not as "None", but as "MSCHAPV2"). However it still does not connect (on DSC v0.7, Olleh kernel) :(

Also if I replace the /system/bin/wpa_supplicant file with the one from GS 2.4.4 than the connection status goes a little bit further: it passes the "Connecting..." state quickly and goes into "Authenticating..." state, hangs there for 10sec and then disconnects. With the standard DSC wpa_siplicant it hangs in "Connecting..." state for a while and then disconnects without attempting to authenticate. Not sure if this adds anything to the understanding of the problem.
[Streak 5 Android Development] _n0p_:
Have you tried that Advanced WiFi configuration tool?
[Streak 5 Android Development] DaniLoveSky:
No, still trying to play with the standard tools. Will give it a try soon.
[Streak 5 Android Development] _n0p_:
If that tool really helps, it obviously just changes wpa.conf.

Would really narrow the search.
[Streak 5 Android Development] gostl:
whatever it's done i can't undo ... even going back to some previous nandroid backup and reconfiguring the network with whatever it always has MSCHAPV2 ... it seems that there is a secret place in my phone where this is now put to be 'default' and as the stock android gui is obviously unable to change it...

Nonetheless i think the android setup thing is what we should be working on. But i dont know anything about the way this is implemented so i'll just keep my clever mouth shut on this.
[Streak 5 Android Development] borijess:
touch screen does not respond after phone call. Have to mess with proximity sensor to get it working again.

Sent from the SuperStreak! ;-)
[Streak 5 Android Development] DaniLoveSky:
gostl,

Just to clarify - it is on unmodified DSC v0.7 and after playing a bit with WiFi Advanced Config Editor, right?

The thing is I am following your instructions in post #2742 and cannot reproduce the effect - still cannot connect. Also I did not notice any difference to what I was doing by manually editing wpa.conf.

Could you add more details to that explanation please, anything may be important...

Also, the reason for your network connecting even after nandroid restore may be that something important, e.g. config of WiFI Advanced Config Editor, is stored on sdcard (unlikely though, but I have no other explanantion).
[Streak 5 Android Development] Strephon Alkhalikoi:
I'm encountering the.same issue as Borjess. The phone apk works properly as long as the proximity sensor is not engaged (e.g. using the speakerphone). Using the phone normally causes the touchscreen to not respond.
[Streak 5 Android Development] gostl:
I did like everything that is mentioned in the thread _n0p_ referrs to here

Now, this very moment sitting in my lab im really reading that damn source code on github and the reference on developer.android.com only to find it does not give me any clue why this works at all. To me it appears, that android.net.wifi.WifiConfiguration does not even have the public object phase2 that the function setValue(bla...) is called upon... but its friday night and i really should get a beer soon and so i'm leaving this to the software people (even though it makes me feel dumb because i thought i knew at least a little bit about java programming) ...
[Streak 5 Android Development] DaniLoveSky:
Went through all the advices in that thread - no joy :(

I restored GS 2.4.4 from nandroid backup to look more carefully what differs.

First of all, the wpa.conf which allows connection in GS 2.4.4 is exactly the same as in DSC v0.7, so it should not be the reason.

Second, I noticed that there are three sub-directories in /data/misc/wifi:

cert

sockets

wpa_supplicant

I copied those directories over to DSC v0.7. The "cert" and "sockets" directories did not make any difference. However, as soon as "wpa_supplicant" directory is there in /data/misc/wifi/, the WiFi does not even start ("Error" message in Android WiFi settings GUI). Probably something is wrong with owners and permissions - I copied through FAT32 SD-card and lost this info :( But the thing is that directory is read from somewhere and means something...
[Streak 5 Android Development] manemzjum:
ive read most of the recent wifi jargon posted here i must say 80% goes right over my head dont know if this is related

my home wifi does not show up on phone using WPA-PSK [TKIP] + WPA2-PSK [AES]
[Streak 5 Android Development] Strephon Alkhalikoi:
Doing some added research, the issue with the phone apk and the touchscreen seems to occur on a random basis. I just tried making some outgoing calls and everything worked properly, without a problem. This may be nothing more than a simple static electricity issue overriding the slight charge in the touchscreen in my case. However, if anyone is running into this issue on a regular basis, turn on the ability to shut the phone off using the power button in the Accessibility menu.

EDIT: Accessibility is accessed through a menu, not a button.
[Streak 5 Android Development] lordmorphous:
It has been suggested that it only happens if the screen is rotated during a call. Might explain why you haven't reproduced it.
[Streak 5 Android Development] borijess:
I am using smart rotater and that does not fix the phone apk.

Sent from the SuperStreak! ;-)
[Streak 5 Android Development] _n0p_:
I just realised that my dig on proximity was in wrong direction.

Sensor works fine.

It's just the touchscreen that seem not to wake after proximity state is off.
[Streak 5 Android Development] sparky4017:
What kernel are you on
[Streak 5 Android Development] Strephon Alkhalikoi:
I would agree with you, except I deliberately let the screen rotate during the latest test calls and it still allowed me to hang up. The test calls though were short. I have to test it in a long real world call, tell the other end not to hang up and see whether I can hang up.

For all I know it could be something as simple as a dirty screen. I'm not going to worry too much about it since it is a known problem, but still recommend having the power button active to end calls if the Streak doesn't respond.
[Streak 5 Android Development] borijess:
Phoenix

Sent from the SuperStreak! ;-)
[Streak 5 Android Development] marvin02:
Are you using a hidden SSID? If so that is the problem.
[Streak 5 Android Development] Strephon Alkhalikoi:
It actually happens regardless of kernel. It did it to me on both GKernel and Phoenix. I haven't tried the Olleh kernel and GXKernel doesn't like my Streak at all, but I don't think the screen issue is kernel related unless the same problem occurs in all the kernels.
[Streak 5 Android Development] sparky4017:
I had the same issues I reloaded 0.7 downloaded portrait mode and rotater and still had problems so I installed olleh kernel and the problem went away no phone issues or Wi-Fi

Issues right now olleh works for me. TIM

---------- Post added at 12:28 PM ---------- Previous post was at 12:20 PM ----------

I have two streaks both set up the same way one with Phoenix one with olleh I can't make the Phoenix work right the phone with olleh is my daily user