yashsingh1/xdaforums huggingface dataset:
[Streak 5 General] TheManii:
Seems to have issues starting up with ADWex, still loads in landscape mode and FCs when trying to open app drawer until you go to display and toggle orientation lock only happens once per boot. Works fine after toggling orientation lock
[Streak 5 General] borijess:
Does this work on 1.9.1b4? Can I use streakrecovery to install this?

Sent from the Almighty Streak!
[Streak 5 General] deano309:
@ TheManii

Glad to know that it's working (Mostly) have you tried to fix permissions or clearing cache or even on a fresh install?! :confused: Just some ideas.

Also, how about the tasker app suggested by jhotmann in post http://xdaforums.com/showpost.php?p=14368797&postcount=74

Just suggestions! ;)

@ borijess

This was originally made from the .jar from 1.9.0, it

MAY

work with other versions but i'm unable to test as I don't have that version or my streak about (Try it yourself or send me your android.policy.jar and i will edit it for you).

Streakrecovery allows to install update.zip files, so yes you can, providing you change the name to update.zip. :)
[Streak 5 General] TheManii:
Cleared /cache and dalvik cache

it's not a big deal if it's only once per startup (I dont know if it's just my streak or in general)

Usually using 'fix permissions' in recoveries breaks stuff horribly from what i've seen. I havnt heard of it not making things worse yet.
[Streak 5 General] deano309:
Good to know that it's working for the most part.

From what I have read in this thread, various people are having the same problem no matter which version they use so it could possibly be an error in the original code of the PhoneWindowManager.smali?!?!

At least this now brings the Streak 1 step closer to being a phone and not a tablet! lol :)
[Streak 5 General] borijess:
Tried it on 1.9.1 did not work. Where do I get the android.policy.jar file?

Sent from the Almighty Streak!
[Streak 5 General] deano309:
it's located in /system/framework

use a file manager to copy it to your sd card or use:

adb pull /system/framework/android.policy.jar c:\

This will copy it to the root of your C: drive!

:)
[Streak 5 General] borijess:
Ok got it I will send it to you.

Sent from the Almighty Streak!
[Streak 5 General] :
StreakDroid 1.9.0 zip added to the OP for ease of finding. Thanks deano309!
[Streak 5 General] deano309:
@ borijess

Yes, navigate to /system/framework and hold down on android.policy.jar and select copy now navigate to SDCard and select paste.... connect phone in USB mode and copy to PC :)

@ jhotmann

Not a problem, glad I could help and thanks very much for working out how to do this (It's been bugging me for 4 months lol) ;)
[Streak 5 General] borijess:
Ok will pm you in the next few minutes with the file.

Sent from the Almighty Streak!
[Streak 5 General] borijess:
When I try to attach it says invalid file.
[Streak 5 General] deano309:
Zip the file then send it! :)
[Streak 5 General] borijess:
Here you go.:)
[Streak 5 General] deano309:
Here you go... 1.9.1b4.

I have also included the default one for flashing in case something goes wrong! (Both files have been signed).

Let me know if it works please so jhotmann may upload to post 1 if it's found to be useful ;)
[Streak 5 General] borijess:
Everything is stuck in landscape mode. I toggled the autorotation and it still stays stuck on landscape. I am using SPB 3d launcher and it fails to load.

UPDATE: I went ahead and wiped the cache and dalvic cache now everything is working fine even SPB 3D launcher is working. GREAT JOB!!!!
[Streak 5 General] deano309:
In the settings of SPB is there an option to change to portrait, or did you fix the app in memory?!?!

Possibly go into recovery and clear cache?!?!

Failing that, I have no idea, i'm just repackaging the file and don't truly know the innar workings of the changes, maybe contacting jhotmann could solve your problem :confused:

EDIT: Oops, overlap on my post and your edit... Glad everything is working :)
[Streak 5 General] borijess:
Thanks great job!

Sent from the Almighty Streak!
[Streak 5 General] Final5k:
Hmmm, I don't know if its possible - but would it be possible to do a video tutorial on how to do it? This would be great if everyone could perform this hack to use the Streak in Portrait mode!!
[Streak 5 General] :
OP updated with StreakDroid 1.9.1 beta 4 zip. Thanks again deano!
[Streak 5 General] deano309:
I don't think that a video is really required for most users.... Either you have the ability to understand and follow the written instructions or you don't understand (In which case it's probably better that you don't try).

Almost everyone who has a Streak and is a member of this forum has installed recovery and has the ability to flash the update zip files.

If you can find the version you need then no real expertise is really needed and I think that creating a video would, for the most part, be a waste of time.

That's just my opinion, i'm always willing to help and could create a zip for you if that is what you need (Have now done 2 for StreakDroid) providing it is from a deodexed ROM!

Also, I know I replied to your question and not the OP so I would like to clarify that i'm not hijacking this thread, i'm just helping out where I can :) :)

Hope this helps :)
[Streak 5 General] :
I think deano just stole the words from my mouth :-)

The insructions are basically fool proof for any stock rom but if you don't understand them you probably shouldn't proceed because if you mess up you probably won't be able to fix things on your own.

What rom are you on?

Sent from my Dell Streak 2.2.1 (339)
[Streak 5 General] TheManii:
Continued from my issue on 1.9.0

does anyone else have stability issues on startup, and only on initial startup?

Do you know where in the jar is the default startup orientation stored? Perhaps there's a 2nd section/code segment that controls which way it should be orientated on initial startup.

The code segment you modified is obviously which orientation to use as default afterwards, but what if there's more then just that?

I'll try a fac reset some time to determine if it's specific to my streak
[Streak 5 General] Final5k:
Guess you're right. Though the instructions are pretty clearly written, it is tough for someone who is not used to understand them. I'm on O2 319 btw.
[Streak 5 General] borijess:
Seems to be that everytime you reboot u end up stuck into landscape mode.

Sent from the Almighty Streak!
[Streak 5 General] antnee:
Yup
[Streak 5 General] deano309:
Yeah, it seems to be the only problem with this mod :confused:

Toggling auto rotation seems to sort it out, need to do it each time you reboot!

Maybe Tasker would sort this (Suggested by jhotmann) I'm still not home so unable to try..... I wanna go home!!!! lol
[Streak 5 General] :
I was looking through the code last night and theres a setting I think might fix this issue I just need time to test it out. I'll report back.

Sent from my Dell Streak 2.2.1 (339)
[Streak 5 General] deano309:
Fingers crossed!

Would be nice if this was 100% so that when my beloved Streak is back in front of me, I can rip its innards out and replace them with something sweeeeeeter! lol :)
[Streak 5 General] Namelessboi:
do i need to root my dell streak to install this? i am new user~
[Streak 5 General] maltloaf:
I made tasker toggle auto rotate on and off on system boot and it fixes it for me. I was wondering if it were possible to write a startup script to do the same though, without the need for tasker, but don't know if/how system toggles are available to the command line.

Anyway, for anyone wondering about tasker, for toggling the orientation lock you need to have the screen on, otherwise it does nothing, so follow this process for your new 'task'

1. turn on <--- important

2. toggle orientation lock off

3. toggle orientation lock on
[Streak 5 General] deano309:
Yes, you need to be rooted and have recovery installed. There are guides for how to do both :)
[Streak 5 General] deano309:
OK.... I eventually got home!

I picked up my Streak and gently stroked it :eek: (It's been a while since we were together).

I explained in a sultry voice that I was back to make it better, It beeped once in acknowledgement and I gently copied the update to the memory card.

I tapped the power button softly and watched as my big beauty shut down.....

:mad:I then jammed the update patch down its digital esophagus whilst I giggled like a mad schoolgirl!

Result:

Everything works perfectly :)

... No FC, no landscape default, just perfect! :) :) :)

I'm using VTL Launcher and a StreakDroid 1.9.0 ROM (Slightly modded to remove some default apps, add 3MB SD boost etc. nothing major).

So many thanks to the OP! Top man! And if you need any help packaging just let me know as i'm still willing to help out if i'm needed! :)
[Streak 5 General] borijess:
So what now the new update does not default to landscape?

Sent from the Almighty Streak!
[Streak 5 General] deano309:
Hi, sorry for the delay in replying.

When I first turn the power on (After removing battery etc) the lockscreen is in landscape. Once I unlock, the device goes to portrait and stays like that no matter how many times I lock the screen or however long I leave it.

It now only shows landscape that once every time I turn on from a "Hard-off" :)
[Streak 5 General] borijess:
Any chance of having this added to the simple streak rom?
[Streak 5 General] deano309:
This was the one I packaged for StreakDroid 1.9.0 which is now in the 1st post.

:)
[Streak 5 General] borijess:
What about for 1.9.1 b4? I am trying out simple streak rom and everytime I reboot I have to unfreeze launcher pro cause spb 3d will not load and it stays in landscape.
[Streak 5 General] deano309:
I have no idea?!?! I only use StreakDroid 1.9.0 (Modified) I use VTL Launcher (An ADW Variant) and I have no problems.

I honestly don't know why it isn't working as well for you.

If you contact the OP, he may be able to give a little more insight into exectly what was changed so that the faults you are having can be looked into!

Hope this helps :)
[Streak 5 General] Final5k:
I finally managed to flash to 351 and change the android.policy.odex! Working great in Portrait - Thank you!

However, after I change the odex file, I cannot install any application! But if I revert to the old odex file, everything works normally. Only the Portrait odex file is preventing to install applications - any help please?
[Streak 5 General] :
strange, I have not experienced this. Do you receive an error message or just "install unsuccessful"?

Also if you plug your phone into your computer and run the command "adb logcat" from your computer's command prompt then copy the log when you try to install something that may help pinpoint the reason.
[Streak 5 General] Final5k:
Just flashed the 351 files with Streakmod and everything is working perfectly now! Now I can enjoyed Portrait Power Dell Streak!! Thanks for the tips given by jhotmann through PM.
[Streak 5 General] maximoz:
I noticed stock 354 has the initial boot (off then on phone) lockscreen slider in portrait but the time, date, etc text in landscape.

How should i go about changing that text to portrait too?

If it can be done, then the initial boot screen will be fully portrait!
[Streak 5 General] elessarelfstar:
Just so its out there, the zip for streakdroid 1.9.1 b4 works on my 1.9.1 b7. Haven't had any problems so far.

UPDATE: after a few hours the phone did something weird and got stuck in landscape mode for everything - it would no longer auto rotate for any app. It may have been a problem with using the zip for a different build or it may have been something else, didn't stick around long enough to find out - went back to simplestreak.
[Streak 5 General] daphreeek:
Will the downloads in the first post work with StreakDroid 1.9.1 official release? http://xdaforums.com/showthread.php?t=1162299

I'm just downloading it now :)

If not, can someone make it as it seems a bit complicated to make it all myself.

Thanks heaps
[Streak 5 General] marvin02:
This mod is an option that you can select when you install StreakDroid 1.9.1.
[Streak 5 General] daphreeek:
installed 1.9.1 last night. love the bios option.... makes my inner geek smile:) and loving how quick and responsive it is.
[Streak 5 General] Final5k:
can anyone please make 319 O2 UK in Portrait? Thank you very much.
[Streak 5 General] donalgodon:
I'm on a stock ROM and unlocked and rooted. In order to use this, I need to flash a recovery, correct?

Then, I can simply apply the zip and I'll get default to portrait?
[Streak 5 General] :
as long as your are on either the 339, 351, or 354 stock rom then you can flash a recovery and install the corresponding zip.
[Streak 5 General] streakau:
Hey, just wondering is it possible for someone to make this work with sd 2.0?
[Streak 5 General] donalgodon:
Just wanted to say thanks.

I'm running this on stock 351 and it's working perfectly!

I really appreciate it.
[Streak 5 General] donalgodon:
Anybody know if this is working on the new 360 Retail ROM that was recently dropped?

As minor as it may seem, this is one of the reasons I haven't updated to it. I'd hate to lose this! ;)
[Streak 5 General] :
It will need to be created by someone running the 360 rom. It has not been performed (to my knowledge) yet. My girlfriend is now using my streak so I cant flash the 360 rom to make a flashable zip. The steps in the first post sound scary but are solid and if you have any experience with adb should not be a problem.
[Streak 5 General] donalgodon:
I have no such experience, but I'd welcome anyone who does and wishes to whip up a flashable .zip! :p
[Streak 5 General] asianftw:
Love this tweak!

Is it possible if you also include instruction of how to do it for deodexed roms?

Thanks
[Streak 5 General] borijess:
Does this work on fards gingerstreak?
[Streak 5 General] TheManii:
Not this mod directly for the moment as GB works differently (and this is a hack anyway)

I believe there's another way to hack it in SD 2.3
[Streak 5 General] TheManii:
I made a version for 360, but it hasnt been re-odexed.

It's only useful as-is for anyone on a deodexed 360 rom:

update-portrait360-1.zip

I'm currently on a deodexed 360 rom so it works for me
[Streak 5 General] asianftw:
It'd be great if it works on gingerstreak
[Streak 5 General] mikelgusev:
portrait gb23b2 and simple app for off/on/off rotate for first time

may be helpfull
[Streak 5 General] borijess:
Didn't work. Are u flashing with CW or SR?

Sent from the SuperStreak! ;-)
[Streak 5 General] zander42:
Works. Checked today in[ROM] StreakDroid 2.3 (gingerstreaks much nicer younger sister)
[Streak 5 General] borijess:
Just tried it and it definitely works! Great Job!
[Streak 5 General] asianftw:
Wow this is awesome thanks!!
[Streak 5 General] mike_85_ripper:
What line in the PhoneWindowManager.smali did you edit. I used the one you provided and it didn't work. I'm trying to do it to my coby tablet.
[Streak 5 General] :
http://jhotmann.blogspot.com/2011/08/how-to-change-default-orientation-of.html

Sent from my Moto Atrix (Alien #4)
[Streak 5 General] mike_85_ripper:
Thank you for the link to your guide. I got it to work.
[Streak 5 General] trichard:
Thanks ... it work ...

But everytime reboot need to set the Portriot again .....

And also the keyboard will go hey wire......
[Streak 5 General] chaosdefinesorder:
Hi guys, I've been following this thread for ages and only just getting the motivation to follow through, however I have a slight sticking point.

I am running standard 351 at the moment and my question is this: Do I just need to replace /system/framework/android.policy.odex with the signed version in the attached flashable zip or do I need to do anything with the .jar file first?

I am assuming that the flashable zip is a one-stop solution, but the instructions go into details about the .jar file first and then mentions the .odex file, but the zip just contains a .odex file:confused:

any help would be great, thanks!
[Streak 5 General] borijess:
Just flash the zip file. No need to follow the other instructions.

Sent from the SuperStreak! ;-)
[Streak 5 General] TheManii:
Your update uses the old scripting engine, you shouldnt do that. Edify is the current scripting engine.
[Streak 5 General] Final5k:
To anyone who don't have Tasker to auto-rotate the screen when the phone starts, here's 'Auto Orientation Setting'. It will appear in the status bar-you'll have to manually activate it and it will toggle the screen automatically to portrait only.

https://market.android.com/details?id=jp.colors.three.util.orientation&feature=related_apps
[Streak 5 General] stress_analyst:
Hi.

Can someone mod the jar file from the longhorn rom?
[Streak 5 General] TheManii:
Use the one for 354, longhorn is based on that
[Streak 5 General] vikrammohan:
Is the portrait version based on Beta2?
[Streak 5 General] greekunit690:
Just tried on beta2 and works perfectly. No settings in b2 seem to have changed after update
[Streak 5 General] antnee:
Any Idea how to do it in 2.3 GB Releases?
[Streak 5 General] TheManii:
Just use any of my recent releases as a template or anything released by nick or christolo in the themes subforum.

Also made a portrait mod for gingerstreak 2.4: update GS2.4 v1.zip

That is also a simple example of edify scripting
[Streak 5 General] antnee:
You rock this is what I was looking for thanks alot!
[Streak 5 General] vikrammohan:
Ask and you shall receive.. Thanks TheManii
[Streak 5 General] fone_fanatic:
There's a button for that FYI ;)
[Streak 5 General] vikrammohan:
:-) yep! But sometimes its worth saying it in words too..don't you agree?
[Streak 5 General] greekunit690:
+1. If she's no real social interaction the whole world will definitely come to an end. Is it that much harder to say thank you than press a button??
[Streak 5 General] angelerikz:
SD2.4 Portrait

I'm gonna try this update right now...
[Streak 5 General] borijess:
I am using it for my 2.4 works great.

Sent from my Dell Streak
[Streak 5 General] MiloTheGreat:
How does one install this script?
[Streak 5 General] chaosdefinesorder:
If you mean how do you install the .zip files contained in this thread, then you read the first post ;-)

The less dickish answer is that you place the zip file for your Streak software version on the root of your SD and then flash it using Streakmod Recovery.
[Streak 5 General] :
Thanks Manii. Link added to the OP for ease of finding.
[Streak 5 General] borijess:
Manii does this still work on 2.4.1?

Update, tried it and it works on 2.4.1
[Streak 5 General] TheManii:
Retested this on 407, works fine without changes, just flash and wait to rebuild caches.

Edit: it's actually identical to the one in 244, so there will be no version specifically for 407 as it would be bit identical
[XPERIA X8 Themes and Apps] sotonk:
how to edit sms background..i use elelinux floyo 2.2..
[XPERIA X8 Themes and Apps] Charmed :):
you download handcent or GoSms XD
[XPERIA X8 Themes and Apps] sotonk:
i dont like use handcent..how about edit framwork?do you know?
[XPERIA X8 Themes and Apps] Charmed :):
I think that you can't edit background just for sms...it will be global...that happened when I changed background picture in framework.res...
[XPERIA X8 Themes and Apps] .::Mario27::.:
its in the framework-res.apk...

in the folders...

drawable-mdpi

drawable-land-mdpi

just search for the default background... and change that... and all the backgrounds will be change in your phone....

in the land-mdpi, is the same thing... just whit the landscape mode....

grettings...
[XPERIA X8 Themes and Apps] stelios97:
i can't find default background in the folders

drawable-mdpi and

drawable-land-mdpi
[XPERIA X8 Themes and Apps] X1111:
for change background pic can use go sms pro
[XPERIA X8 Themes and Apps] .::Mario27::.:
search for....

semc_bg.png

grettings....

but its more easy and cool if you use

handcent SMS

its verry customizable... colors, backgrounds... etc.
[XPERIA X8 Themes and Apps] Dare-Devil Inside:
No. Use Go SMS pro. Better and much more simple than handcant
[XPERIA X8 Themes and Apps] sotonk:
i use elelinux floyo 2.2 cannot found semc_bg.png

that file not exist

my friend said i must edit the .xml file to edit the background..anyone can edit .xml file?
[XPERIA X8 Themes and Apps] Lasan:
within AndroidManifest.xml in MIUI and eclairs are the following string

<activity android:theme="@style/NameTheme" .................

and in string /res/values​​/sytels.xml

<style name="NameTheme" parent="@android:style/Theme">
<item name="android:windowBackground">@drawable/name_background</item>
</style>

background size 320x480

I've added the script, but still FC, ​​in the chat log there is a warning:

Binary XML file line # 4: You must supply a layout_height attribute

Binary XML file line # 4: You must supply a layout_weight attribute

sorry for bad language
[Galaxy S II Q&A, Help & Troubleshooting] mobilemaduk:
Hi All

I rooted my handset but then decided there isnt much out there at the moment for me in terms of custom ROMS so i restored a stock rom. I am now seeing a message "This version of the device cannot be updated" in Kies. Has anyone any idea how to fix this? Im running the latest Kies

Thanks
[Galaxy S II Q&A, Help & Troubleshooting] JJEgan:
Kies updates product /firmware codes that match whats on the server . Requires your phone provider to have uploaded newer firmware than you have .

If you put a Samsung rom on the phone = no matching product/firmware codes .

Your Kies upgrade path is now closed ..

jje
[Galaxy S II Q&A, Help & Troubleshooting] stoney73:
How so? this is now the third time I've seen you post this. Surely this only applies if you have flashed a custom rom. not stock.I flashed mine to KE1 via odin, but updated to KE2 through Kies. So what am I missing? Are you talking about the 'missing DLL' error? I did have that on my desktop, but kies worked fine on my laptop.
[Galaxy S II Q&A, Help & Troubleshooting] mobilemaduk:
What is the easiest way to get back on track with Kies? Would flashing an older official firmware work?
[Galaxy S II Q&A, Help & Troubleshooting] winwiz:
you need to follow the debrand guide

http://xdaforums.com/showthread.php?t=1075278

basically you need to set the CSC to XEU in order to update via KIES
[Galaxy S II Q&A, Help & Troubleshooting] JJEgan:
Third time more like three hundred .

Kies updates branded firmware via product codes hardware id and firmware id .

Hundreds if not tens of thousand who have installed Samsung so called stock firmware through Odin have received the no upgrade message from Kies .

Thats why Spoof FW was invented otherwise no need for it .

Its also why Kies has never given me an upgrade path since flashing stock rom via Odin .

Now i know one or two on SGS have managed to upgrade after stock rom but most are reporting no upgrade ( well you anyway ) .

Personally if some one is going to do something that may affect their warranty or change the update path or whatever i would rather tell them than not .

Stock rom Ke2 and i will test yet again via Kies when KE3 is out .

SGS2 bought sold SGS 1 running stock firmware No repeat no upgrade path through Kies until flashed original O2 rom and thats like two weeks ago .

jje
[Galaxy S II Q&A, Help & Troubleshooting] JudgeyK:
Only Updated via Kies

Hi,

Only had my phone a week and have not done anything custom with it, it has updated twice through Kies in 1 week per request from Kies itself, today I go into Kies and it also says :

"This Version of the Device cannot be Updated"

Current Firmware Version :PDA:KE2/PHONE:KDJ/CSC:KD1(XEU)

Why has Kies had no problem two times in the last week and is now saying this, has something gone wrong in the phone ?

Yesteray it just said the Latest Firmware was Installed ?
[Galaxy S II Q&A, Help & Troubleshooting] scottishlad80:
I get this message to now on KE2 (O2 firmware) before I upgraded the message used to always Current and Latest firmware. I def think its a Kies problem.