yashsingh1/xdaforums huggingface dataset:
[Streak 5 Android Development] hunderteins:
initrd/ramdisk cleanup, part 1

there are some errors in dmesg/logcat from init, when starting DSC. Nothing fundamental, but just not o.k. So I did some changes to my ramdisk. Please include them for the next release of DSC.

First I deleted /default.prop.save. It's a leftover from editing /default.prop

inside init.rc there are some missing commands. There is no devwait or sysctl in the ramdisk.

the sysctl we do in /system/etc/init.streak.post_boot.sh

don't kow if we need devwait, but the command was useless in that form

on property:ro.secure=0 should start a console, but 5 lines above we disabled the console.

service DrmHost /system/bin/DrmHost

service oemDrmService /system/bin/mmService

are both for digital rights management. Both binaries aren't available on stock 407

inside init.streak.rc

there is no btwlancoex service any more, so better not try starting it

service qmuxd is defined double in init.rc, too

service run_autorun_test /system/bin/run_autorun_test.sh there is no such script on 407

service dspcrashd /system/bin/dspcrashd long since gone

service wifid /system/bin/wifid is just for engineering mode

these are just the obvious errors I found in dmesg/logcat.

I'll have a look into the many setprop commands. Some of them are useless, or defined twice (/system/build.prop)

I'll also have a look into the lots of chmod/chown commands. I think ueventd.rc is a better place for them

Some of the write commands, that poke into /proc and /sys are definded twice (/system/etc/init.streak.post_boot.sh) and counter each other.
[Streak 5 Android Development] TheManii:
This, I believe the rom caches the version string. Fac reset seems to fix it, I assume that it's merely the version string as cacheing the entire amss doesnt sound very resonable.

If you found the exact cache file, you could avoid doing a full fac reset. (I assume)

The baseband itself (at least on the S5/V) is definitely not in the rom, as freshly installed stock roms (ie with fac reset) shows the same underlying baseband ver for the reasons above.

Perspective: you could always do like the SPro's stock rom and simply lie outright, on that it simply reports the same string as the rom version.

NON_HLOS.bin is where amss.mbn/dsp1.mbn/a couple others live in a 3rd gen snapdragon and functions in a similar manner.

If it even reports a version number, it's completely ignored.

A legit reason would be to fix 4062 to 407, though it's all essentially a cosmetic bug.

-----------------

I believe n0p stated that devwait no longer exists in DSC?
[Streak 5 Android Development] vankooten:
no more reboots.

since I switched off the wifi fixer in dsc config I've had no more reboots.

just to let you know.
[Streak 5 Android Development] _n0p_:
Good. /But anyway i'm sure that "Normal" mode shouldn't cause any trouble :)
[Streak 5 Android Development] Dude_Virus:
Sergei even for me switching off conn fixer resolves the issues....normal and aggressive mode causes wifi and egde issues for me
[Streak 5 Android Development] TiGuy82:
_nop_,

If I use Kernel U15 I don't have a single crash but if I use Kernel U18 my DS5 crash at least once a day. What change was made that crash my Dell Streak?

Regards

TiGuy82
[Streak 5 Android Development] _n0p_:
Let's check step by step. How's U17? (it has only dejitter patch)
[Streak 5 Android Development] TiGuy82:
I think I missed that link, can you share it with me?
[Streak 5 Android Development] _n0p_:
http://n0p.8bit.fm/streak/DSC_PhoenixU16.zip

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

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

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

:)
[Streak 5 Android Development] TiGuy82:
Here I go ;) Tests and more tests! ;) I forgot to tell you that when DS crashes it restart and get stuck on Dell logo, so it will be easy to check when It crash ;)
[Streak 5 Android Development] abauer:
JB test

This is a JB compiled from AOSP, following this thread http://xdaforums.com/showthread.php?t=1762641

Doesnt work thou, but my cable charger is broken so I cant debug things by myself on the first boot, If someone is willing to install it and send me the logcat dump , would be very nice, bcs I tried to compile it with few errors as possible, so certain things should work properly. Kernel used is from n0p the other needed files from kibuuka with some modifications.

Wish my streak cable would be ok :(

http://d01.megashares.com/dl/lbDqgRZ/jb_test.zip

edit: this is directly as came from compilingş didnt try this one as is missing some files

http://d01.megashares.com/dl/jfFNGSk/dell_streak-ota-eng.acer.zip
[Streak 5 Android Development] khoacoi:
Wow, a JB build? It's awesome, abauer! Keep going on guy.

Suggestion: Should we start a separate thread for JB? I think it will be easier to maintain and keep track.

Regards,
[Streak 5 Android Development] abauer:
maybe later with a proper dedicated thread, this is not a release yet, and in this thread are all the developers anyway.
[Streak 5 Android Development] deysmacro:
wow.. to compile jb requires around 25GB+ ~ 80GB+ of hdd space.. it sure take guts to do this :eek:
[Streak 5 Android Development] abauer:
Yea , and I learned it the hard way that it needs most of all , swap space , minimum 30 Gb swap to be safe or you run into stupid errors. CPU doesnt matter much unless it is 64 bit.

Btw, gimme a dump logcat of the attached build.

http://d01.megashares.com/dl/32pWS63/jbtest_02.zip

Thank you in advance
[Streak 5 Android Development] khoacoi:
Hi abuer,

Is it able to run in the streak? never mind about any crash may have. If yes, I may give it a try.

Regards,
[Streak 5 Android Development] citric_acid:
waoow a JB, is it safe to flash on my streak, will it boot till lockscreen ??
[Streak 5 Android Development] deysmacro:
i want to help but since my streak is using custom partition layout .. its quite not possible to flash it ...

guess someone else had to do the flashing and give feedback from it.. :good:
[Streak 5 Android Development] jamo59:
Hello there!

For me, the DELL logo upside down ALT and no longer willing to work with!: Sírás:
[Streak 5 Android Development] akita16384:
DSC --> notebook Hotspot / Adhoc mode

Hi there, thanks for the 1.5 update! The QuickPanel came as a nice surprise! :D

I'm trying to use the internet connection of my netbook from my Dell Streak. It cannot even see the hotspot created.

Following a thread http://www.modaco.com/topic/316049-...tion-for-streak/page__p__1381049#entry1381049 and http://xdaforums.com/showthread.php?t=970219 I updated my wpa_supplicant and now it can see the hotspot.

But trying to connect to the hotspot just shows "Obtaining IP address from #### ... " followed by disconnection.

Has anyone tried this, using your Dell Streak on DSC (any version) to connect to an adhoc wifi hotspot that your netbook or notebook created?

I'm using ubuntu precise on my netbook.

PS: wifi and usb tethering works perfectly!
[Streak 5 Android Development] _n0p_:
Sorry, i personally cannot help with this issue as i'd never used Wifi tether in Linux.

I'd suggest reading both device and pc logs.
[Streak 5 Android Development] TiGuy82:
I just sold mine Dell Streak 5, and I had to come here to say a BIG THANK YOU to _nop_! You're a big inspiration for everyone, you always gave your best, I was really surprise how friendly you are.

You deserve all the best in the world!
[Streak 5 Android Development] _n0p_:
Good, one more guy won't bug ne anymore :)

Just kidding :)

Thank you and what's your choice?
[Streak 5 Android Development] citric_acid:
lolx :p
[Streak 5 Android Development] TiGuy82:
I think I never bug you that much! eheh

I didn't have any choice for now. I'm using an old smartphone with Windows Mobile 6.5, I'm waiting for the next year :)
[Streak 5 Android Development] _n0p_:
:)

Last month i seriously looking at Chinese (and partly Korean) phone market. With arrival of Note/SGSIII (and yes, Note 2) number of big-screen devices increased.

And even if MTK6577 chipset still won't outperform our Snapdragon, it has faster GPU and two cores, that should make it more responsive at least.
[Streak 5 Android Development] TiGuy82:
I will also keep eye on them. But I decided to wait one more year, I need to wait to my contract expire :)
[Streak 5 Android Development] TheManii:
If you are/were seriously looking at it, why not just get the "Streak2 5"? I can say the MSM8260 is a very responsive from using my touchpad.

Though it's as old as the note1, at least then you could see what a properly designed dell device is :D

(as neither the S10 nor the SPro were released outside china/japan)

The MTK6577 has an SGX531? I would assume that the adreno 220 would be faster (or at least equal), as the SGX530 is the contemporary of the adreno200/205
[Streak 5 Android Development] chriscullen42:
Would I be a complete noob to wonder if you could flash dsc straight on top of the latest softbank 369 rom or must you have 407 at least before? I am hesitant to flash 407 as I had a real nightmare getting back to stock froyo afterwards, which ended up me having to use the recovery tool. Any pointers would be appreciated. I find the Wifi and battery on 369 to be excellent and certainly way better than other froyo and gb roms I've used in the past. But I do hanker after gb and dsc and was trying to simplify the install!
[Streak 5 Android Development] _n0p_:
I'd love to have more pixels on the screen. In almost all other ways Streak still satisfies me. Don't expect me to change device unless Streak dies (or I have a good deal on other phone :)). What i'm looking for: 1280x720, IPS/TFT-PVA (no crappy tnfilm or green amoled)

, two-core cpu, 4.7-5.0 screen, 2000+ battery, 1GB RAM, 4GB system. JB from manufacturer.

Seriously, i'd stay on 369. Though you could flash DSC right on 369 (factory reset will be needed to clear firstboot and data).

Currently testing 369 BB and DSP - maybe a placebo effect, but again I feel like voice is better.

More, latest stock roms most probably contain new kernel optimizations, and Dell simply doesn't release it. Bye, GPL.
[Streak 5 Android Development] TheManii:
Oh yea that is a definite downside to the Lenovo Lepad S2005 (what I've been talking about), it uses the same WVGA display as the S5.

I cant say that it will get JB, but it's not even a year old and they did a decent job getting ICS out (1st public rom was built on april 3, 2012)

Upside is that it's less expensive now since it's nearly a year old.

I can say that I'd never go back to a LCD for a phone, the AMOLED on my V is very nice, and it's a rather low end one at that.
[Streak 5 Android Development] citric_acid:
are you guys planing to drop streak and migrating to other devices ???
[Streak 5 Android Development] _n0p_:
I think screen type is a matter of personal preference then. And i'd possibly avoid Qualcomm as vendor (though Snapdragon is good) due to semi-opensource policy.

I don't really get the point of all that obscurity (hide patent infrigment? :)), but it doesn't make them look good. A device from Google would certainly assure sw updates :)

Streak is usually dropped suddenly, no one had plans for this. :)
[Streak 5 Android Development] citric_acid:
lolz but you guys will never let it drop :)

if it was like that then today these devices have been listed in antiques
[Streak 5 Android Development] TheManii:
It could be worse, it could be nvidia that doesnt release anything at all. They could be holding stuff back for legal reasons, or just because they can.

Qualcomm already seems to be be one of the more friendly platforms.

Dell cant release their android code for legal reasons (as they do not own the entirety of the code, some is subcontracted, doesnt explain why they cant release the unencomburered code though).

There was talk of many manufacturers submitting devices to become "nexus" devices previously, that would be a definite win.

Though it shouldnt (hopefully) matter by next version of android, linux 3.3+ merges the android changes so it's only going to become easier and easier to maintain.

I'm tempted to ask for a linux 3.4 port as a large portion of the work on phoenix/ICS kernel is simply backporting stuff ICS needs isnt it?

Though it's never that simple when it comes to actually doing stuff, there's bound to be some austin specific bits that would need actual porting.

Sorry to steer thread off track.
[Streak 5 Android Development] chriscullen42:
In that case, do you suppose the MMS problem is likely to get fixed at all? I can send SMS but MMS is dead in the water. Seems to go through the motions (3g indicator shows even with wifi etc) but the message always fails. I have tried Handsent and Go SMS and even manually set the MMS parameters all to no avail. It's about the only thing that does not work. I have looked at build.prop and changed a few wierd MMS related lines from 1 to 0 - but to be honest I have no clue what I am doing :) Nothing has broken so far and the WiFi is definately the best I have seen on the Streak. I have looked around to see if it was a case of changing the MMS.APK but I don't think that is the answer so I really don't know what else to try. Worst case - I'll not use MMS!
[Streak 5 Android Development] TheManii:
To continue on the /firstboot as /system/app:

It would not be directly compatable with CWM, as CWM will reformat /datadata (ie /firstboot) on a fac reset though it.

Streakmod definitely does not mention that it clears /firstboot on a fac reset (I'll recheck the code later).

I have no idea how the firmware fac reset even works.

So if you do decide to do that, make sure to warn users to not fac reset via the CWM menus.
[Streak 5 Android Development] _n0p_:
Doubt i'll be able to to it, though i want to.

First, Dell patches needs to be hacked out. And i particulary afraid of board/bus/timer support.

I'd took (in your case) framework (/system/framework) and system apps (/system/app) from 360 ROM and flash it over (odexing state doesn't matter).

It's not that hard.

I was trying to simulate FR a long time ago, but simply formatting /firstboot and /data didn't work for *stock* ROM (or i was doing it wrong).

--

FR in this case will be required BEFORE flashing ROM. It's quite simple.

--

Won't be hard to write and provide FR .zip for StreakMod.
[Streak 5 Android Development] drkdeath5000:
Just updated to 1.5 from 1.4 but im having an issue where the phone freezes after waking. I simply press the power button to wake it, the lock screen appears but im unable to unlock and there is no response from the phone, shortly after it reboots.

I've tried a fresh install but the same thing happens. Not sure what the problem is ?
[Streak 5 Android Development] _n0p_:
Would you add this line:

echo 100 > /sys/module/rpc_server_handset/parameters/keyfilter

to your

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

after this line:

sysctl -w kernel.panic=0;

reboot and tell how it goes?
[Streak 5 Android Development] chriscullen42:
Aha! There was me saying how 396 does not work with mms when in fact what i really meant was that mms does not work when your credit has run out! What an idiot :-$ All is fine now I've added some credit and it's definitely the best ROM by far.
[Streak 5 Android Development] drkdeath5000:
Thanks _n0p_ i've added

echo 100 > /sys/module/rpc_server_handset/parameters/keyfilter

to my

init.streak.post_boot.sh

After rebooting everything was normal so i sent it to sleep with the power button and left it for 15 minutes. After waking with the power button i got the lock screen and managed to unlock it this time, shortly after it froze up at my home screen and did the usuall reboot.

Oddly i also tried to run adb logcat but it just stays at waiting for device. This has always worked fine before but could of course just be that my drivers have corrupted.
[Streak 5 Android Development] _n0p_:
Hm. Would you flash 1.4 back and tell if problem still there?

If no, flash U19 kernel and check again.

This could be simpthoms of not handling direct frequency set, but as cpu freq is set via middle 384 and 768 MHz I don't think that's the problem.

Do you use some juice savers, on/off cpu settings, etc?
[Streak 5 Android Development] Dude_Virus:
Suddenly started facing 2 strange issues.

1) Not always but yeah once in a while after i wake the phone I am unable to unlock it, no matter how many times i try to slide my finger over the unlock button it doesnt work and neither does the sound profile button on the right. I can say that the phone is not frozen as i get messages and calls and even the power and volume up buttons work. I tried pressing the power button hard to get the reboot /shutdown menu and it comes up and i can reboot the phone and the problem goes away only to come back again after a couple of hours or the next day. What i noticed is that the lower 1/4th portion of the screen goes unresponsive but the upper 3/4th is ( this is if i am holding the phone in portrait mode ) . I found this out by pressing the power button and try clicking on the reboot option a) if i click on the reboot towards the top half of the screen it works but b) if i try clicking on the reboot option towards the lower part of the screen it doesnt work. Attached is a screenshot as an example in which the red portion shows till which point the screen becomes unresponsive.

2) I noticed this with google play that when i am downloading apps and if i press the home button to move the app to the background or be on another app the downloading stops. Same happens when market is in background and the screen locks. If i stay on the google play app and do not send it to background then downloading happens properly. Found this happenning on wifi as well as edge. Any idea as to why this could be.
[Streak 5 Android Development] _n0p_:
Dunjo about second issue ane for first - did you already try screen calibration?
[Streak 5 Android Development] Taha.Fazal:
Help

I am using DSC 1.4. the problem is that when ever I take the battery out and put it back in and turn on the phone everything is gone like factory reset..
[Streak 5 Android Development] _n0p_:
I'd like to see the log. See end of second post for howto.
[Streak 5 Android Development] sandulea:
N0p, where is the Quick Panel app, or where are the pngs for it, because I haven't seen them in framework or sys ui and I can't find the app. Also, if I'm to release a theme, who do I have to ask if it's ok to modify quick panel?
[Streak 5 Android Development] _n0p_:
It's SystemUI.apk.

No permission required :)
[Streak 5 Android Development] DaniLoveSky:
Regarding the irresponsive touch screen - I had that problem for very long time (lower part of the screen is funny, the upper part a bit better, but also with some issues). If I would leave it alone for few minutes the screen would go back to normal. I tried re-calibration, but it did not help in a long run, I guess it was mostly those few minutes of inactivity which made the screen responsive again, not the re-calibration procedure itself.

I believe the reason was a "static electricity" or "accumulated capacitance" of some sort, not sure how to call it and cannot explain the physics of this phenomena properly. Basically I always was holding my phone in the pocket facing "inwards", so the screen is more protected. I think even through the clothes the screen was "feeling" the touches and this drove the phone crazy :)

Around a year ago, just as an experiment, I started placing the phone in the pocket in such a way the screen faces outside, not touching the body. And it helped - for the last year I never ever had an irresponsive screen!

Do you think this may be similar to your case?
[Streak 5 Android Development] sandulea:
Oh, they were in drawable-hdpi:D. I never bothered to look there, I only modified stuff in the mdpi folder. Thanks!
[Streak 5 Android Development] Dude_Virus:
Yes i have tried the screen calibration also I have noticed and this happens usually after a long call ie:- while the long call is going on the screen locks and then when the call ends I am unable to unlock it as the portion marked red doesnt respond and I have to end up rebooting it. This doesnt happen everything but it does happen.

---------- Post added at 11:26 PM ---------- Previous post was at 11:21 PM ----------

Well i dont think this is similar to mine as I always have the phone in my psp cover and moreover as I have a mugen battery on the phone which makes the phone thick hence i cannot carry the phone in my jeans pocket so only when i wearing formal pants is when the phone is in the pocket that too screen away from my body. Otherwise i wear my waist pouch in which i keep the phone. And moreover this happens randomly that too mostly after a call and sometimes normally also.
[Streak 5 Android Development] _n0p_:
drkdeath5000, i think i had i similar issue.

And i think it's related to compiler options (Got abort signal in libc, symptoms are: screen frosen, reboot after a minute or so).

--

(possible) fix:

Kernel:

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

(Compiled with -Os, Linaro toolchain, BFQ default)

--

For fun (with BFS CPU scheduler)

http://n0p.8bit.fm/streak/DSC_PhoenixU20s-BFS.zip

Should be slower in benchmarks but better in UI response.

It looks like it's now free from dma transfer bug (still testing).
[Streak 5 Android Development] peterson65:
hd caller id or full screen caller id

i am on 1.5 right now but the problem i am having i have had since 1.0 is i cant get programs like full screen caller id or hd caller id to work?

also a program that i used to use with stock roms was movielivewallpaper it would display video clips on the home screen as a live wallpaper but it wont display anything just blank. the caller id programs whe i click on preview nothing happens? could both problem be related?

thanks

p.s 1.0 was the first dsc i installed
[Streak 5 Android Development] hunderteins:
Reboot into Recovery

Reboot into recovery is broken in userspace. For example, select reboot from QuickPanel and choose recovery. You will end up rebooting into DSC again.

Kernel side is o.k. when you

$ echo -n "recovery" > /proc/loader
$ sync
$ reboot

the Streak comes up in recovery mode - without pressing vol up and down.

I looked into the framework to fix this error and have to say that this is a complete mess.

Noone calls oemboot (where /proc/loader is written) Maybe its better that way, because we

are not on the TOUCAN-plattform (ro.build.CONFIG_HW_TOUCAN undefined) and there are

written files for fdiskcmd I do not understand. So better to keep away from it.

But one thing is controlled there. Booting into recovery-mode. So I wrote my

own java function.

private static void bootloader_reboot_prep(String reason)
{
File bootloader = new File("/proc/loader");
if (bootloader.canWrite())
{
try{
FileWriter fstream = new FileWriter(bootloader);
fstream.write(reason);
fstream.close();
}catch (Exception e){
Log.e("ShutdownThread", "Error writing "+reason+" into /proc/loader.");
}}
else
{
Log.e("ShutdownThread", "/proc/loader not is writeable. Can't prepare reboot for boot reason "+reason);
}
}

and integrated it into com/android/internal/app/ShutdownThread.class. Look into the attached file, how this is done.

Good luck,

hunderteins
[Streak 5 Android Development] _n0p_:
I need to test, as i had never used this apps.

--

hunderteins, thank you!
[Streak 5 Android Development] peterson65:
free versions can be downloaded from google play, if you could i try them that would be great. because i cant stand the slide to pickup the phone and the large caller id photos are nice
[Streak 5 Android Development] drkdeath5000:
Thank you _n0p I have no idea what this does but its fixed my issue. Cheers.
[Streak 5 Android Development] draculeo:
Dear sir Nop, I have issue with Wifi sleep policy. I set Never option in Setting, but when i turn off screen, wifi doesn't work and my download doesn't continue. I use DSC v1.5 with Phoenix u18, set hPa's hack and Connection fixer is Normal, 366 BB.

I have random reboot after set hPa's hack( try to turn on/off wifi then phone freeze and reboot), I don't know why, but try to set wifi to Normal, everything seems ok.

With CM7 RC0 and latest kernel + DSC_hPa_WiFi, has solved wifi issue, but I dont want to come back CM7, DSC is the best rom which I have tasted :)