yashsingh1/xdaforums huggingface dataset:
[Streak 5 Android Development] p_razzi:
You're quite right - didn't help at all. It does seem to be something to do with saving settings. I've noticed that sometimes if I set something, it's not persistent and needs a reboot to set: switching keyboard types, setting Application side-loading on, etc. It must be that when switching between 3G/WiFi a setting is written but is not being saved/set but is there when rebooting.

Is there anything that can be done to 'force' these settings or to understand why they are not 'sticky' when initially set?
[Streak 5 Android Development] cdzo72:
There are several of us that had the problem.

What cured my problem was not just reformatting the SD cards (I mean the internal also)

I used diskpart to COMPLETELY erase ALL trace of anything on either inner and outer SD using the "clean all" command (without the quotes)

Then booting into recovery, flashing and restarting completely from scratch. Also not going above 1190 in Set CPU
[Streak 5 Android Development] jitin02:
Sir n0p, after saving the settings in dsc config. App and when I restart the device all the settings are gone, like if set something to on and after restart its back on off

I know you answered it earlier, I searched but I couldn't find. Please help

sent via xda app
[Streak 5 Android Development] _n0p_:
I think cdzo72 had this exact issue and anded with reformatting internal SD card.

Actually settings are saved in /system/build.prop

Could you try editing it manually?

For example, change ro.build.DSC_CONFIG_CRT parameter.

--

A bit offtopic: I hope it's not the case of internal nand flash failing.
[Streak 5 Android Development] ivantastic:
what setting do you mean?

i think you may check the value inside the script.

if we understand enough & can set the "setting" inside the "script" (value) manually, i think we dont need to confused & worried about that "setting" ;)

YOU KNOW WHAT I MEAN, DONT YOU? ;)

@sergei

will you create DSC CM7 version with patchable flash next time?

because i wish for ;)
[Streak 5 Android Development] _n0p_:
I'm really not understand would CM7 give, except a bunch of new bugs :)

I used it for a couple of days and reverted back to DSC.

We (DSC Team), made a lot of changes to kernel and framework - list available in first post :), and I simply don't want to walk this path again for CyanogenMod.

But I know a dev who is really working on building and fixing CM7, and maybe he will publish his work soon.
[Streak 5 Android Development] Dude_Virus:
All of a sudden two problems have come up

1 the problem of not switching from edge to wifi and vice versa without a reboot. The flight mode no longer helps. I have to reboot everytime I leave home and come back in order for the wifi or edge to work.

2 the apps which all this time were compatible suddenly show incompatible in market. Tried clearing market cache + lcd density ( although the same apps worked on 110 density )

Also I have noticed that my service tag is no longer visible in th status menu.
[Streak 5 Android Development] jitin02:
Dsc config app settings I mean

sent via xda app
[Streak 5 Android Development] jitin02:
I will try and report back soon, but first I will have to figure out what value changes what in build.prop.

sent via xda app
[Streak 5 Android Development] jitin02:
Sir n0p I checke build.prop. And found that the first 6 options of dsc config has been saved in build prop and also the dexopt is also saved but I dont know how to check if the WiFi hpa, uv, fps and tweaks are working or not as its showing off in the app

How to check that

sent via xda app
[Streak 5 Android Development] ivantastic:
maybe you may check inside init ;)

---------- Post added at 09:04 AM ---------- Previous post was at 09:02 AM ----------

but so far...i think only you that able to make it pachable flash like DSC ROM ;)

(i dont want to loose my installed stuffs & my config :D)
[Streak 5 Android Development] _n0p_:
You see, main difference is that DSC/406/407 use firstboot partition and CM7 does not.

So I think we can give a try copying firstboot contents from reovery to data partition.

Anyway, to start working on CM I'd need a second Streak, as again - it's my primary device (thanks to Mugen Power guys).

Now, with three days of active usage on one charge it easily replaces even notebook for simple tasks.

--

About saving settings - I think overclock might cause it - I had similar issue when running at 1,3Ghz.
[Streak 5 Android Development] sinan33:
You are right Sergei,CM 7 is not very different from 2.3.3 custom or stock roms.But i have tested CM 9 on acer liquid s; it is very very different and full of performance and stability according to other android roms,even liquid s is a low performance device.
[Streak 5 Android Development] jitin02:
I run my streak at max:998

i never gone above that:o
[Streak 5 Android Development] sinan33:
I can save the settings about FPS uncap when i was using MIUI with phoenix kernel test 2 at 1.3 gHz.

But i can't use it with CM7.

I don't think it's because of overclock, i think it's about permissions.
[Streak 5 Android Development] p_razzi:
If you were here I think I might kiss you! It worked!

I hacked out some of the internal plastic to get to the inner card, used diskpart to erase both and then reflashed everything, just as you described.

It took a while, but now I can switch between wifi and 3G no problem. Knowing that is the fix, perhaps someone could investigate what is on the internal card that causes the problem? Is it even accessible without physical removal?

I'm so happy you have no idea. :)
[Streak 5 Android Development] Dude_Virus:
Cud u please post thr pics as to which part of the plastic u removed and how... I want to put in a 16/33 gb class 10 in there.
[Streak 5 Android Development] cdzo72:
There's a thread over at MoDaCo about replacing the Streak's LCD that has the best pictures and steps I have yet seen on what you need to cut away
[Streak 5 Android Development] jitin02:
Look for thread here related to changing Dell streak led colour , you wilk find which part to hack

N0p sir, if the solution is to format internal card?? Then I think I will have live with this problem of not saving . ?

sent via xda app
[Streak 5 Android Development] cdzo72:
Why? It takes all of about 5 minutes to replace... not including COMPLETELY wiping it with the "clean all" command of diskpart...
[Streak 5 Android Development] jitin02:
Can u elaborate more or a link. So the after clearing how to do it.
[Streak 5 Android Development] p_razzi:
I started to cut mine away with a box cutter, then lost patience and cut the rest away with a tiny pair of snipping pliers, trimming the jagged edges with the knife before putting the cover back. This shows where the card is and where to cut - I didn't make the angled cut though, just cut straight across. http://www.rdtk.net/2011/12/06/dell-streak-inner-sd-card-image/

Cutting the plastic is fairly quick, getting the card out is simple. Formatting the SD card with the 'clean all' command takes a while. I also did a 'clean all' on my external card which ... took ... forever.

I'm still reveling in having switchable WiFi/3G!
[Streak 5 Android Development] LloydPatten:
You do not have to hack and cut anything. With the correct tools, 3 pounds on ebay,eg mini screwdriver,mini star driver and plastic tool to separate the plastic ends, with a little practise you can pull the DS5 apart in 10 minutes, be careful with the front camera, replace sticky tape with standard double side tape if necesarry....google dismantling DS5 there is step by step picture guide or even Youtube.

Check out...Dell Streak 5 Teardown by IFixit crew!
[Streak 5 Android Development] p_razzi:
With due respect, this seems a lot of work! Cutting out a piece of plastic that serves no apparent purpose other than to cover up the internal SD card was pretty easy.

For the fix I have, it does seem a little unstable still - I had to reboot my phone to get it to switch once, but it's definitely better.
[Streak 5 Android Development] ivantastic:
do you use some apps that touch system like romtoolbox (bp editor), sysctl or else?

it may take over the system config.
[Streak 5 Android Development] jitin02:
no, only system tune up, i dont remember it by bitdefender or norton may be. nothing else, all otheres are almost 20 games:D
[Streak 5 Android Development] :
20 games

same as me

but got over 80+
[Streak 5 Android Development] ivantastic:
system tune up is the "else" thats what i mean ;)
[Streak 5 Android Development] jitin02:
I use once evry week and main i use is root cache cleaner. would this be causing this problem.

i will try uninstalling both and restarting. i dont know will it help !!!
[Streak 5 Android Development] marculous:
just powered up my retired streak a few days ago after six months. got olleh gingerbread on it but baseband doesn't match rom. can I easily put dsc on it? had some trouble with command prompt, went alternate route (let install fail, recovered pkg from LOST. DIR, renamed. zip.) please advise.

Droid Razr - ICS, Root
[Streak 5 Android Development] cdzo72:
Flash amss and dsp1 files for gingerbread through fastboot
[Streak 5 Android Development] ivantastic:
yeah.. i found some case of another streak here in my community :confused:

just... result may vary :(

i think you still need to fastbooting amss & dsp1
[Streak 5 Android Development] sinan33:
You can use this tool to flash baseband easily;

http://xdaforums.com/showthread.php?t=1000455
[Streak 5 Android Development] Dude_Virus:
Ne idea as to wht cud be the prob...suddenly I am havinv an issue of EDGE freeze, the edge symbol comes up once I disconnect wifi but there is no internet. I have checked the apn and its fine. Even called the provider and the service is active. Any setting or code that I can check before I end up reformatting my internal sd.

I have even tried clearing the cache and dalvik cachd and fixed permissions , even reflashed the 1.1 but still nogo.
[Streak 5 Android Development] cdzo72:
If you have to reboot to get a connection then you're in the same boat as a several others including myself...

And just to throw some more in the mix... its got to be something thats created by the system somehow. I just had to go through the entire process again.to be able to get a connection without rebooting. And that's after running BAREBONES for a week. I mean zero apps installed and just using the browser to check for connectivity. And poof, all of a sudden yesterday morning I couldn't switch connections. I noticed the problem because my Streak was almost dead when I picked it up yesterday morning... so I went into wifi settings and it said "turning off"... so that means that when it tried to go to sleep the night before it was unable to switch off the wifi. Well sure enough it would not shut off, not reconnect either. I rebooted and it was off when it rebooted. Switch wifi on and would not connect until I rebooted. Same scenario with cellular data.

So I did the diskpart procedure again because just reformatting the innerSD isn't enough, it has to be wiped of ALL partitions and info. I think I have narrowed it to that because I didn't touch the external SD this time
[Streak 5 Android Development] djmax81:
@N0p I find no buggs at all but Dsc take ages to boot up over 1:30mins lol ...yeah but what u can do if people make wrong build.prop to run cm7 .all is matter is correct framework apk n build.prop :p
[Streak 5 Android Development] marculous:
have dsc 1.0 up and running :)
[Streak 5 Android Development] Dude_Virus:
No in my case the reboot doesnt help...whats happenning is the internet connectivity on edge does not come on at all..the wifi works fine and I can switch back and forth but the E symbol comes on and stays white without any data transfer. even if I reboot multiple times the internet connectivity on edge doesnt come.
[Streak 5 Android Development] cdzo72:
Hmmm... I guess you've checked your APN settings huh
[Streak 5 Android Development] Dude_Virus:
Yeah the apn is correct..even checked the service from the provider and tht is active....

To format the internal sd ..do I need to take it out or use the qdl tool
[Streak 5 Android Development] Lucifer4obg:
Yeastarday I got a wierd problem - the whole day no 3G network - I have the icon, but no packets go out or in. Tried restarting. Tried clearing cache, fixing permissions, changing APN settings ... evan called the operator to check if there is a problem with their network ... no luck.

So I had to reflash to make it work.
[Streak 5 Android Development] _n0p_:
We need to find regression point.

If i get right - problem appears after some use.

There must be some faulty database or data block.
[Streak 5 Android Development] sublimee:
Same problem for me! Running DSC 1.1 for 3 days straight without problems, and today the Internet 3G just stops working, even though the H Hspda icon is visible.

Here's hoping someone is able to fix the connectivity issue so that I don't need to reflash!

---------- Post added at 08:59 AM ---------- Previous post was at 08:50 AM ----------

I believe nop you are right. How can we go about helping troubleshoot?
[Streak 5 Android Development] _n0p_:
Let's first take a look at

adb logcat | find "DATA"

output.
[Streak 5 Android Development] bluhound:
Try uninstalling or freezing droidwall then reboot phone. It happened to me a couple of times and after removing droidwall, 3G started working again.
[Streak 5 Android Development] Dude_Virus:
The reflash of 1.1 didnt work for me , I then flashed v 1.0 but it still didnt work for me. Doing a factory reset from the streakmod as well as from the dell screen worked for me. But now another problem is occuring after the factory reset In the zeam launcher the dock doesnt appear. the shortcut to access the application plus the dock icons are not visible.

So for now I have flashed the longhorn 2.8 and checking on that if this edge problem starts existing. Sergei however one thing I want to bring to your notice, on this rom my gallery issue ( which used to never load ) is resolved as it loads quickly. Also i see better pictures from the camera. I am not sure whether it was the factory reset or a different rom which resolved those issues. I want to stay on DSC as its the most stable and high performance rom so if you could please look into these 2 above.
[Streak 5 Android Development] Lucifer4obg:
Same problem this morning - lost about an hour while I was in the city to reflash from 1.0, clear caches, then 1.1 ...

n0p if I get this again I prommise to take logcat before reflashing.
[Streak 5 Android Development] jitin02:
N0p sir, no success for me on dsc config tool, any help?

Btw, will this Rom work on Dell venue?

sent via xda app
[Streak 5 Android Development] _n0p_:
Well, I didn't think this problem is so common.

I'm sure this is caused by some corrupted file or setting.

--

jitin02, would you try making and restoring nandroid backup?

I think Streakmod reformats inner sd before restoring, so let's check it.

It's also possible to fully reformat sd in Streakmod manually, but it'll requre some basic linux fs commands knowledge.

--

Dunno about Venue.

--

Also about 3G switch - would you try renaming /system/PreloadNetworkSettings and entering APN's manually?
[Streak 5 Android Development] sublimee:
tried removing droidwall and then a reboot, still no go.

I suspect nop is right, some file along the way must have gotten corrupted, AFTER it was succesfully flashed to DSC1.1.
[Streak 5 Android Development] _n0p_:
Another guess:

In terminal emulator do:

su

ip route flush all

Then reconnect data (disable/enable).

Check switching.
[Streak 5 Android Development] Dude_Virus:
Sergei the switch is happenning but the edge just doesnt have an internet connection , neither a reboot solves that... if i switch on the wifi the wifi works fine but on turning off the wifi the edge comes back but no internet. I even tried the preloadnetwork settings but tht didnt help. It shows connected but doesnt have internet access
[Streak 5 Android Development] _n0p_:
Does

ping 8.8.8.8

give a result?
[Streak 5 Android Development] Dude_Virus:
I did not try the ping but the issue is exactly the same as the wifi freeze...just tht it is happ on mobile networks
[Streak 5 Android Development] zAm1987:
Got this whole "3g not sending packets and even after reboot, cache wipe, etc" thing today. WiFi works fine however :S

I'm just trying the good old "battery pull and wait" trick...

I just started out of nowhere, I haven't changed settings, did'nt install any app... strange :rolleyes:
[Streak 5 Android Development] _n0p_:
Odd.

Some kind of EOL happened to baseband maybe? :)

How's the battery trick?
[Streak 5 Android Development] zAm1987:
Pulling battery doesn't work either. Seems that I have to stick with wifi atleast for today...It's always surprising to discover such "uncommon features" on our streak ;)
[Streak 5 Android Development] _n0p_:
Would you get output from

ip route show

and check if gateway reachable?
[Streak 5 Android Development] zAm1987:
If you tell me how to do that ;)

My guess is, that it has to do with terminal, but I haven't used one in Android yet. Just used it a few times in some linux distros :rolleyes:
[Streak 5 Android Development] _n0p_:
Yep, it's

Android Terminal Emulator.

Install and run.

To switch to superuser context issue

su
[Streak 5 Android Development] zAm1987:
Ok I tested ip route show.

With Wifi enabled it puts out:

192.168.178.0/24 dev eth0 src 192.168.178.24

default via 192.168.178.1 dev eth0

with the xxx.178.1 being my home router

With Wifi disabled and white 3g connection it only puts out:

109.41.65.188/30 dev rmnet0 src 109.41.65.189

Hope this helps ;)
[Streak 5 Android Development] Lucifer4obg:
n0p there is new ... issue (my phone does it for second time) I disconnect it from charge and the battery drops for about 5 and a half hours.

Just saw the Battery usage:

Cell standby - 20%

Wi-fi - 20%

Dialer - 20%

Android system - 20%

Phone idle - 20%

The phone was on wi-fi, and evan with 3g on it is up for at least 8 to 12 hours ...
[Streak 5 Android Development] _n0p_:
At least 3G problem is clear - no default route.

I'll check if it can be fixed automatically.
[Streak 5 Android Development] sublimee:
n0p you fixed the 3g disconnection issue? :D :D :D
[Streak 5 Android Development] _n0p_:
No, but we know what's the problem really is.

--

Example of fixing manually:

ip route show

48.185.84.252/30 dev rmnet0 proto kernel scope link src 46.185.84.254

ip route add default via 46.185.84.253

Voila.
[Streak 5 Android Development] sublimee:
great thanks! I'm going to try this once I load up terminal on the streak. I take it this fix will last beyond a standard soft reset?
[Streak 5 Android Development] _n0p_:
I've no idea.

I'm currently trying to find out what routine sets this in Android.
[Streak 5 Android Development] sublimee:
much appreciated, tireless volunteers like you make XDA and the android ecosystem that much more worth it!

ps - wouldn't hurt for you to accept paypal donations, i'm in!
[Streak 5 Android Development] _n0p_:
sublimee, have you WiFi fixer enabled or disabled in DSConfig?
[Streak 5 Android Development] sublimee:
wifi fixer is ON.
[Streak 5 Android Development] Dude_Virus:
Sergei i didnt have wifi fixer enabled but had the same issue.
[Streak 5 Android Development] sublimee:
this works! going to soft reset now and see if 3G stays working.

---------- Post added at 08:57 AM ---------- Previous post was at 08:53 AM ----------

Nope, doesn't survive a soft reset.

the 2 IP addresses I got were different each time. The IP seems to be reassigned on each reset.
[Streak 5 Android Development] _n0p_:
I also need output of

adb logcat | find "NetworkManagment"

Don't get scared by ip v6 errors.
[Streak 5 Android Development] sublimee:
ok I'm at work, no access to adb logcat until I get home.
[Streak 5 Android Development] zAm1987:
_n0p_,

tried your manual fix and can also confirm, that it works ;)

output: ip: RTNETLINK answers: File exists

Question is, why the streak suddenly forgets the default route :rolleyes:

Will search logcat when it happens again, as for now the only NetworkManagement entries are corresponding with the time when I did your manual fix and seem to belong to this command.
[Streak 5 Android Development] sublimee:
Hmm...stops working after 20 minutes, even though I did not do a soft reset.
[Streak 5 Android Development] _n0p_:
So far:

All Android network ops seem to be controlled with JNI binary /system/bin/netd

On framework level it's called by NetworkManagementService.

Typo in log output - It's called NetworkManagmentService there.
[Streak 5 Android Development] zAm1987:
Ok, the manual fix works as long as it stays connected. Loosing connetion and or switching to wifi and back makes the streak loosing its default route again. (even with same ip)

Immediately after switching from wifi to (white) 3g, NetworkManagmentService states the following in the log:

Failed to replace default route com.android.server.NativeDaemonConnectorException: Cmd {route replace def v4 rmnet0 109.46.106.33} failed with code 400 : {failed to replace default route for [rmnet0] -4 (I/O error)}: for iface [rmnet0]

No more entries after that
[Streak 5 Android Development] _n0p_:
zAm1987, very useful.

Would you also get the full log so we could take a look at stuff, surrounding the error?

--

Also, i need output of

ls -l /dev/socket/
[Streak 5 Android Development] zAm1987:
Ok attached is a longer and unfiltered log.

This is what I was doing while recording the log:

Deactivated WiFi

3g connection white

opened browser, tried several sites (not working)

used your manual fix with terminal

opened browser, tried connection (working, but connection still white :S)

activated wifi (green)

opened browser, tried connection (working)

Output of ls -l /dev/socket/ (after reconnecting to wifi as described above):

total 0

srw-rw---- 1 1002 1002 0 Jun 5 19:26 dbus

srwxrwxrwx 1 0 0 0 Jun 5 19:26 hidkbd

srw------- 1 1000 1000 0 Jun 5 19:26 installd

srw-rw-rw- 1 0 0 0 Jun 5 19:26 keystore

srw-rw---- 1 0 1000 0 Jun 5 19:26 netd

srw-rw-rw 1 0 0 0 Jun 5 19:26 property_service

srw-rw---- 1 0 1001 0 Jun 5 rild

srw-rw---- 1 1001 1000 0 Jun 5 19:26 rild-debug

srw-rw---- 1 0 1009 0 Jun 5 19:26 vold

srw------- 1 1000 1000 0 Jun 5 19:26 wifid

srw-rw-rw- 1 0 0 0 Jun 5 19:26 zygote

As far as I remember 19:26 yesterday was the time, I fixed permissions with streakmod after wiping cache and dalvik.
[Streak 5 Android Development] _n0p_:
Looks right.

Hm, out of ideas now.

We need a linux guru advice.

--

netd runs as root.

netd socket has correct permissions.

--

Just a dumb try:

Would you do

su
chmod 666 /dev/socket/netd

Also, let's try

killall netd

and check the flow?

--

Other idea:

let's check

adb logcat | find "Connector"