yashsingh1/xdaforums huggingface dataset:
[Streak 5 Android Development] lordmorphous:
perhaps someone here can help me out. My reboot option for dsc, available a few posts back, works just fine on dsc 0.6. The problem comes in as soon as I theme it. Once I apply a theme (that was cooked from it's framework-res file) I get bootloops. Even pushing the original files into place doesn't seem to help. I have to do a nandroid restore using streakmod.
[Streak 5 Android Development] _n0p_:
You might have manifest certs broken.

Try to use(replace) manifest and certs with original ones in resources.
[Streak 5 Android Development] _n0p_:
Gkernels

With GSpecial(greg9100) permission:

Experimental, but promising -

Gkernels 1.3.3 with UV/OC mod (StreakMod flashable zip):

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

(I'll publish a reverse patch tomorrow)

If anyone willing to test - i'd like to hear if:

WiFi becomes more stable.

No SoD.
[Streak 5 Android Development] btvbtv:
Dsc_gkernels give download error for me

-----

Arrived at last ;)
[Streak 5 Android Development] roy8846:
Clear cache / dalvik or none??

I have had alot of problems today with wifi not reconnecting :(

I even did a fresh install :(

Will report back later ;)
[Streak 5 Android Development] _n0p_:
No need to clean caches.

Will wait for report.
[Streak 5 Android Development] roy8846:
So far so good.

Wifi has woke up nicely from sleep.

Transferring from 3g to wifi seems good.

More testing....
[Streak 5 Android Development] borijess:
n0p,

Where do u get the flashplayer that works?

Sent from the SuperStreak!
[Streak 5 Android Development] _n0p_:
Not sure if I got your question right.

dsteinberg has told the correct version and i've found it on apktop.
[Streak 5 Android Development] borijess:
Yes I found the correct version.

Sent from the SuperStreak!
[Streak 5 Android Development] ltrifonov:
Hi all

as I already told you on friday,

i was successfully build whole kernel, and prepared boot.img myself

then i was on weekend in the mountain and was unable to test.

now interesting thing :)

booted with my kernel,

tried USSD and...

it WORKEEEEEDDD !!!!!

:)

posting my boot.img

it was only one attempt, now more testing...

how to apply:

fastboot -i 0x413c flash boot boot.img

WARNING!!! please only developers and testers try this! I am not responsible for any damage!!!

EDIT:

i am using DSC 0.6b ROM,

with manual added library and dhd.ko from 0.61 update.

and... i did not realized until yesterday, but my BB all the time is GAUSB1A140514-EU
[Streak 5 Android Development] _n0p_:
ltrifonov, great news!

But are you absolutely sure ussd didn't work before for you?

For example, Megafon Russia users didn't experience that problem before, and i still have them not working on Kiyvstar with your kernel :(

--

I'd really like you and Greg(GSpecial) to join forces.

I'm sure it will be the best kernel ever made!
[Streak 5 Android Development] _n0p_:
Meanwhile :)

Gkernels 1.4.0.1 with UV/OC mod (StreakMod flashable zip):

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

(updated zip)

And looks like GSpecial has found the WiFi problem.

Give it a test!
[Streak 5 Android Development] borijess:
Do we flash it over your rom?

Sent from the SuperStreak!
[Streak 5 Android Development] ltrifonov:
Yes, i'm 100 % sure, we have 5 devices at my work,

all of them with diferent android 2.3 (GS 2.4, GS 2.4.4) and USSD not worked before.

My operator is Vivacom Bulgaria

Just to clarify,

in above link boot.img is very generic, max CPU is 998 (CIFS is not included, I will edit it, and later when I'm sure it is stable will include CIFS)

EDIT: Now will check other devices here at work, if USSD work before, and after new kernel

and one more thing: i am using density 240 , and portrait mod.
[Streak 5 Android Development] _n0p_:
borijess, yes.

--

ltrifonov, may you please run a simple test - flash other boot.img (for example, hacked Olleh one from DSC 0.6b) and tell the USSD result?
[Streak 5 Android Development] ltrifonov:
Sorry,

it seems that my operator is fixed something...

my colleague's phone is working too :(
[Streak 5 Android Development] _n0p_:
No problems, it only proves my point of libril-qc-1 not supplying some important data to provider.
[Streak 5 Android Development] fernseher:
Hi n0p

Thanks for your help! You mean the clock itself in the lock screen?

What exactly does the portrait mode addon? Only change the lock screen (or the clock in the lock screen)? The Dell logo and your (great) annimation on boot are always in landscape mode, with or without the patch, right? Sorry, but what is the advantage of this patch? If i set my launcher (go launcher ex) to always use portrait mode do i get the same effect? If i set the launcher to screen orientation by sensor, i always get to landscape mode on first boot, if i use the portrait patch or not.

Thanks in advance for answering this noob questions :)
[Streak 5 Android Development] _n0p_:
Navigating in downloads, quick guide

Feel this needed.

--

Hi everyone!

As our project is in constant development, i'd like to make a quick guide for you and DSC ROM know each other better.

--

If you're novice Android user, you might do the following:

Read a bit about firmware upgrade.

Learn what Fastboot mode is (engineering mode that allows updating low-level firmware via cable).

Learn what recovery image is (cut-down linux with custom perks).

Learn more about StreakMod - the recovery tool that allows flashing firmware with simple zip packages (believe me, it's not that easy to modify yaffs in other way).

--

Carefully read this post.

--

Upgrade your ROM to 406 Olleh, then flash full DSC ROM over it with StreakMod recovery, do a Dell factory reset and flash most current update.

--

Our team will provide new versions in form of updates, so you won't bother with reinstalling apps and loosing your data.

--

Next, after installing ROM, complete the wizard and download the launcher of your choice from market. I've included Zeam, as it's the lightest one and simply does launcher's job - to lauch apps (K.O. :) )

--

What is the kernel?

In short - kernel is the thing that allows framework and you to interact with Streak(device) hardware, and many things depends of how well it does it's job.

--

Sergei
[Streak 5 Android Development] borijess:
Check out the upload speed!

Sent from the SuperStreak!
[Streak 5 Android Development] _n0p_:
Oh yeah? :)

--

BTW.

Any Java coder around to create really free notification app for Streak?

I can supply needed info for LED blinking.

--

Sergei
[Streak 5 Android Development] borijess:
n0p,

Are these uploads improved because of the Gkernal?

Sent from the SuperStreak!
[Streak 5 Android Development] _n0p_:
I think so.

Greg is doing great job, give him a thanks at least, as it's not commercial project anyway.

Thank you!
[Streak 5 Android Development] borijess:
That's an awesome job he is doing. Never was able to crack more than 1500 upload until now! :-)

Sent from the SuperStreak!
[Streak 5 Android Development] ltrifonov:
_n0p_:

Do you want to share all your binary tweaks you did for kernel,

maybe in diff format, so we can try to make the same in compile time?

as i see Gkernel is provided his .config file.

That way we can easy move to new kernel versions :)

i will describe the cross-compiling process, and my way of preparing kernel and kernel modules.
[Streak 5 Android Development] _n0p_:
Why in binary?

Here's current frequency table, you can put it straight into msm clock sources:

1,128000,0,4,0,0,0,29000,0,0,950,0,
1,245760,0,4,0,0,0,29000,0,0,1000,0,
1,384000,3,0,0,0,0,58000,1,10,1000,0,
1,576000,3,0,0,0,0,117000,1,15,1000,0,
1,768000,3,0,0,0,0,128000,1,20,1125,0,
1,998400,3,0,0,0,0,128000,1,26,1250,0,
1,1075200,3,0,0,0,0,128000,1,26,1250,0,
1,1152000,3,0,0,0,0,160000,1,27,1400,0,
0,0,0,0,0,0,0,0,0,0,0,0,

I would only ask to put some kind of DSC watermark inside kernel build timestamp, if you don't mind. We are a team, after all.
[Streak 5 Android Development] _n0p_:
Two new themes added to Themes section:

GingerTrueLight by wway

and

MattedBlues by _2bad4u_

--

Now only find some time to produce diff patches for lordmorphous reboot option...
[Streak 5 Android Development] ltrifonov:
ok, in .config file for the kernel, we can put our watermark in variable:

CONFIG_LOCALVERSION="-DSC-Team"

this will result in:

Linux version 2.6.35.7-DCS-TEAM (root@cb-luboubuntu) ...

in brackets is build host info.

are you ok with that way?

now, for the CPU clocks

i think clocks are in kernel file arch/arm/mach-msm/acpuclock-8x50.c

struct clkctl_acpu_speed acpu_freq_tbl_998[] = {
{ 0, 19200, ACPU_PLL_TCXO, 0, 0, 0, 0, 14000, 0, 0, 1000},
{ 0, 128000, ACPU_PLL_1, 1, 5, 0, 0, 14000, 2, 0, 1000},
[COLOR="Red"]{ 1, 245760, ACPU_PLL_0, 4, 0, 0, 0, 29000, 0, 0, 1000},[/COLOR]
/* Update AXI_S and PLL0_S macros if above row numbers change. */
[COLOR="Red"]{ 1, 384000, ACPU_PLL_3, 0, 0, 0, 0, 58000, 1, 0xA, 1000},[/COLOR]
{ 0, 422400, ACPU_PLL_3, 0, 0, 0, 0, 117000, 1, 0xB, 1000},
{ 0, 460800, ACPU_PLL_3, 0, 0, 0, 0, 117000, 1, 0xC, 1000},
{ 0, 499200, ACPU_PLL_3, 0, 0, 0, 0, 117000, 1, 0xD, 1050},
{ 0, 537600, ACPU_PLL_3, 0, 0, 0, 0, 117000, 1, 0xE, 1050},
[COLOR="Red"]{ 1, 576000, ACPU_PLL_3, 0, 0, 0, 0, 117000, 1, 0xF, 1050},[/COLOR]
{ 0, 614400, ACPU_PLL_3, 0, 0, 0, 0, 117000, 1, 0x10, 1075},
{ 0, 652800, ACPU_PLL_3, 0, 0, 0, 0, 117000, 1, 0x11, 1100},
{ 0, 691200, ACPU_PLL_3, 0, 0, 0, 0, 117000, 1, 0x12, 1125},
{ 0, 729600, ACPU_PLL_3, 0, 0, 0, 0, 117000, 1, 0x13, 1150},
[COLOR="Red"]{ 1, 768000, ACPU_PLL_3, 0, 0, 0, 0, 128000, 1, 0x14, 1150},[/COLOR]
{ 0, 806400, ACPU_PLL_3, 0, 0, 0, 0, 128000, 1, 0x15, 1175},
{ 0, 844800, ACPU_PLL_3, 0, 0, 0, 0, 128000, 1, 0x16, 1225},
{ 0, 883200, ACPU_PLL_3, 0, 0, 0, 0, 128000, 1, 0x17, 1250},
{ 0, 921600, ACPU_PLL_3, 0, 0, 0, 0, 128000, 1, 0x18, 1300},
{ 0, 960000, ACPU_PLL_3, 0, 0, 0, 0, 128000, 1, 0x19, 1300},
[COLOR="Red"]{ 1, 998400, ACPU_PLL_3, 0, 0, 0, 0, 128000, 1, 0x1A, 1300},[/COLOR]
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
};

my kernel shows this:

<6> Max ACPU freq from efuse data is 998400 KHz
<6> ACPU running at 768000 KHz
<6> [B]5 scaling frequencies[/B] supported.

so, where line start with 1. this is working freq

i will experiment with these and your table.
[Streak 5 Android Development] _n0p_:
Yes, thank you!

--

Yep, that's the one.

Seems like Olleh used a bit different table, but anyway.

0 - entry is unused,

last value - voltage.

--

Step value seems to be unused at all.
[Streak 5 Android Development] roy8846:
Anyone with wifi problems using power control plus or similar??

Twice now I have installed this and twice wifi has not woke/stopped working alot.

Coincidence???
[Streak 5 Android Development] _n0p_:
This may happen. Let the kernel do the power management.

--

And i must say, that Gregs kernel does it's job perfecly.
[Streak 5 Android Development] ivantastic:
+1

Gkernel 1.4 is absolutely ROCK :)

great stable kernel :)
[Streak 5 Android Development] borijess:
With Gkernal do u have wireless set to never turn off? Cause I tried both way and I still get frozen wireless. Though its an improvement its not completely working all the time.

Sent from the SuperStreak!
[Streak 5 Android Development] lordmorphous:
I've tried a few times to produce my theme with the reboot option. UOT Kitchen must write something to framework-res.apk that reboot doesn't like because everytime it causes problems. One thing I haven't done is just go in and manually change out the png files. I'll give that a shot, maybe tonight, and see if it works. That should help me narrow down where the problem might lie. I also need to fix the reboot png anyway. It's way to big (48x48) at hdpi, should be 32x32.
[Streak 5 Android Development] _n0p_:
You see, I personally never encountered any such WiFi problems.

I'm sure that our kernel devs will be able to solve it, meanwhile - WiFi reassociate to the rescue.
[Streak 5 Android Development] _n0p_:
Simply try replacing AndroidManifect and certificates with ones from original framework-res. This might help.
[Streak 5 Android Development] lordmorphous:
Where are the certificates that you are referring to? I see the AndroidManifest
[Streak 5 Android Development] _n0p_:
Full META-INF folder.
[Streak 5 Android Development] lordmorphous:
I hate it when I ask a question on here and the answer was so simple and staring me in the face the whole time. lol, it's obviously too early in the morning for my brain to engage.
[Streak 5 Android Development] _n0p_:
No problems :) It's evening here, so I feel quite the same.

--

Actually, this was first thing i had to solve when i found that rom stops initing after factory reset. Answer was as always in reading log output - android was not able to init it's permissions due to broken signings.
[Streak 5 Android Development] greg9100:
DSC-Team0.2 kernel

I've built two 'test builds' using older toolchains- one failed-

Early tests indicate a promising direction;

Based largely on Gkernels1.4.0.1 but with some changes:

arm-eabi-4.3.1 (older toolchain)

--

Suspend sleep mode (Power collapse suspend) --->

Idle sleep mode (Power collapse) --->

I am never certain 100% streak can actually get into suspend;

But I am more sure about it than before, that this will repair wifi problems, yet with some minor expenses to the battery life

Download Link is here:http://db.tt/yfKOgyJ5

Included .config as well
[Streak 5 Android Development] eiben_robert:
All fine here but I have some questions:

Market small issue: after flashing the rom market was ok and the installed by default apps were visible in "My apps". After restoring apps by titanium Backup "my app" list is empty. Not even the apps I install now from the market are visible. Otherwise market works ok (I can install apps and if i search for an installed app it appears as "installed", i can update it etc). I tried to erase market data but it did not help. I had this on all streak roms (even stock) so it is not quite a DSC rom topic...sorry if I polluted the thread

Betterbatterystats shows in "other" that" wifi scan" is active all the time, even if I turn Wifi off. Is this normal android behavior?

Betterbatterystats shows that "alarm manager" process keeps he phone in wakelock for a hell lot of time. In my case I think it is related to the sync of work email every 15 minutes :)

Overall it's been a week since I started using 0.6 and it's been a happy week. Had one SOD only while disconnecting from outlet but I could not catch the log (I don't complain since I am not using Clocksync).

Testing now with Gkernel.

Thanks

Robert
[Streak 5 Android Development] lordmorphous:
Downloading now to try out. Nothing I have done so far has fixed my wifi problem, including your last kernel that _n0p_ posted. Will report back with any findings.
[Streak 5 Android Development] _n0p_:
elben_robert, have you got multiply google accounts?

Anyway, Titanium has market doctor option you may try out.
[Streak 5 Android Development] _n0p_:
Might spoke too soon, but:

Greg, I personally see the best battery life on 1.4.0.1.

Even comparing with best official 354 kernel.
[Streak 5 Android Development] greg9100:
Thanks Sergei!

Instead of older, I think newer may be good, currently at conflict within my mind;

I'll keep with the Gkernels1.4.0.1 config, and try the beta Linaro toolchain, may prove to be a mixed buisness-

Later today, I expect to have a better release DSC-Team0.3

ltrifonov, what is your opinion regarding toolchains?
[Streak 5 Android Development] _n0p_:
I by no means want to interfere, just a memories:

GCC 3.3.3 was producing the fastest arm code i've ever seen, but at cost of hand-optimizing some complex routines.

Thank you for your work!
[Streak 5 Android Development] ltrifonov:
Hi, as I came from HeroTAB tablet's world, I used this one

in fact, my first module dhd.ko was built with codesourcery's toolchain

but in herotab we do not have full kernel sources, and it was dificult to build kernerl module without whole .config. That is why we use codesourcery - chinese firmware builders compile herotab with that toolchain.

now i'm using latest android NDK with gcc 4.3.3, and i can't find diference for now... but all others used the same - gcc 4.3.3

just have impression that codesourcery worked faster...

thanks for .config, we can make some kind of colaboration uploading to github

is it ok?

---------- Post added at 09:24 PM ---------- Previous post was at 08:56 PM ----------

just created github project

tomorow will upload 405 source

https://github.com/dsc-team/dsc-team-kernel-project

will PM to _n0p_ account details, as a team leader
[Streak 5 Android Development] greg9100:
ltrifonov, thank you-

I'll give it a go today,

Githubs sounds good
[Streak 5 Android Development] lordmorphous:
This didn't solve my wifi issue. Just FYI
[Streak 5 Android Development] _n0p_:
lordmorphous, i'd like to ask you a strange request.

Can you flash older 354 baseband and live with flashing leds issue for a while?

I'm starting to think (and i'd love to be wrong), that higher power usage from new BB might cause troubles.

If so, i'll try to hack older BB to get rid of flashing leds.
[Streak 5 Android Development] _n0p_:
To tell a bit more - it's not a hw issue, as it works fine in 2.2

Some people experience the problem and some - not.

I will also run a check in 2.2 framework code to see whether it has any wifi-related hacks.

Maybe we simply missing something here.
[Streak 5 Android Development] lordmorphous:
Yes, I can do that. It will be tomorrow before I can test it though...
[Streak 5 Android Development] greg9100:
DSC-Team0.3

Essentially built with Gkernels1.4.0.1 config but with latest compatible codesourcery toolchain

2010q1-188 gcc version 4.4.1, thanks to ltrifonov suggestions

it did compile slightly faster as he said, and it is surprisingly a little bit smaller in file size,

Please give this a test if you wish;

Link here: http://db.tt/lu8J4Qzs

-Greg
[Streak 5 Android Development] roy8846:
Lordmorphous, do you have any widgets installed or use titanium backup??
[Streak 5 Android Development] lordmorphous:
I only use Titanium backup to remove stuff, not restore. I do have widgets, (music, pandora, soundhoud, weatherbug elite) but have experienced this problem without them too.
[Streak 5 Android Development] roy8846:
Ah ok. I had the same problem twice. Both times after power control plus was installed..

Reinstall and factory reset has sorted it so far at least.
[Streak 5 Android Development] truefat:
Using speedtest I noticed that wifi speeds on gingerbrerad roms are alot faster than froyo roms. I'm getting around 800KBs (same as on pc) with gingerbread as oppposed to under 500KBs with froyo. Perhaps people without wifi issues don't have a native connection speed fast enough to cause the wifi to freeze. What speed do you get with speedtest?
[Streak 5 Android Development] attila.m:
wifi issue still exists for me

and battery drain seems heavier than previous

i've been using it all day at my work and at home as well with wifi set to 'never sleep'

thx
[Streak 5 Android Development] khoacoi:
Same to me
[Streak 5 Android Development] _n0p_:
attila.m, nice to see you here!

--

Regarding WiFi issue. I'd really like if everyone, having this issue, would upload log and send a link to me, greg9100 and ltrifonov.

I'd also like to know if problem happens on external power or battery or both.

Provide as much info as possible, even wifi icon color has meaning.

More, i'd like to share maybe dumb thoughts on the subject.

--

Nobody experienced problems on FroYo.

Older kernel, older framework, older BB.

On Gingerbread only part of users experience the issue.

New kernel, new framework, new BB.

So.

Scheme one. Router sends keepalive. Streak don't respond. Router breaks connection. But it's still where for Streak :) Mobile data fallback will help in this case.

Scheme two. Android tries to wake wifi up to recieve notification, hw fails for some reason, but sends a success. This time wifi reassociate would help, as hw more likely will wake on mutiply tries. Again mobile data fallback should help.

--

If you have time, try to use 354 bb and tell the result. Just to cut off a big slice from research time.

Thank you for collaboration.
[Streak 5 Android Development] lordmorphous:
I just installed the 354 baseband and am running 0.6b with Greg's latest kernel. When I get home, I'll leave wifi on and pull a log when I get up (if its frozen up again). I'm starting to get more interested in what the problem really is, rather than the solution. Although that would be nice too.
[Streak 5 Android Development] borijess:
Here is a log of my wireless. I have 2 grey bars showing on my status bar like if its connected.

Sent from the SuperStreak!
[Streak 5 Android Development] _n0p_:
gTalk says it's connected...

What might this be? Could you try to freeze it?

----

11-29 02:34:38.621 I/GTalkService( 230): [GTalkConnection.1] setInternalNetworkState: type=1, state=CONNECTED

11-29 02:34:38.621 D/GTalkService/c( 230): [GTalkConnection.1] connect: acquire wakelock, async connect...

11-29 02:34:38.621 V/AlarmManager( 154): [wakeup alarm] Alarm{409dc730 type 2 com.google.android.gsf}

11-29 02:34:38.631 I/GTalkService( 230): [GTalkConnection.1] acquireAsyncWakeLock: WakeLock{405d69d0 held=true, refCount

11-29 02:34:38.651 I/GTalkService( 230): [GTalkConnection.28] (WORKER THREAD) update account status

11-29 02:34:38.831 I/GTalkService( 230): [GTalkConnection.28] (WORKER THREAD) update account status - done, took 203 ms

----
[Streak 5 Android Development] borijess:
OK I freezed Google talk.

Sent from the SuperStreak!
[Streak 5 Android Development] ltrifonov:
I completed first commit to github

kernel is up there, everybody can download and collaborate.

uploads and modifications can be done only by dev team.

https://github.com/dsc-team/dsc-team-kernel-project

take a look at README below files, there is info how to compile

you will need git tool

using is simple:

mkdir /usr/src/streak

cd /usr/src/streak

git clone git@github.com:dsc-team/dsc-team-kernel-project.git

this will download latest changes, and whole kernel to your computer in /usr/src/streak/dsc-team-kernel-project

then you can compile, test, tweak, and give suggestions to dev team :)

WARNING!!! .config file currently is generic, added only CIFS support.

strange, but unable to change CPU freq...

as i can see, Gkernel is 245 to 998 too
[Streak 5 Android Development] _n0p_:
ltrifonov, thank you!

I've registered on GitHub as jinshin

--

Are you sure you modded the correct table?

acpuclock-8x50.c

struct clkctl_acpu_speed acpu_freq_tbl_998[] = {

--

BTW, i've just learned the hard way that amss is checksum protected. Greets to streakflash creator! :)
[Streak 5 Android Development] ltrifonov:
take a look :)

https://github.com/dsc-team/dsc-team-kernel-project/blob/master/arch/arm/mach-msm/acpuclock-8x50.c

it seems that upper limit is set somewhere else, because in one of my tests, i was able to activate 128, but upper is 998 always...
[Streak 5 Android Development] _n0p_:
It sure is!

max_acpu_khz

--

I'm still thinking about what exact reason makes leds flash in with "mismatched" baseband...

--

Other things you might want to play with -

BFS Scheduler patch.

Side effect - foreground process will have high priority, system may lack cpu for other/background processes.

--

I personally dislike all that "governors", that are basically variations of ondemand and conservative with "ass" and "X" added to name, but the community may ask for them...
[Streak 5 Android Development] ltrifonov:
working :)

will commit to github this change.

nice thing about github is, that every commit generates commit history, and you can always return back in previous changeset.

<6>[ 0.000000] Initializing cgroup subsys cpu
<5>[ 0.000000] Linux version 2.6.35.7-DSC-TEAM+ (root@DSCBuildHost) (gcc version 4.4.3 (GCC) ) #10 PREEMPT Tue Nov 29 13:27:58 EET 2011
..........................

<6>[ 0.244058] Max ACPU freq from efuse data is [COLOR="Red"]1152000[/COLOR] KHz
<6>[ 0.244862] ACPU running at 768000 KHz
<6>[ 0.244880] 7 scaling frequencies supported.