[SCRIPT] Create Shutdown, Logoff and Reboot buttons on Start Screen - Windows 8 Development and Hacking

So if you, or other users, need/want buttons to press to log off, reboot or shutdown their PC's from the start screen, this simple VBS script will make those for you in a quick run:
Save as a .vbs file and double click.
Code:
set WshShell = WScript.CreateObject("WScript.Shell")
strStartMenu = WshShell.SpecialFolders("StartMenu")
set oShellLink = WshShell.CreateShortcut(strStartMenu & "\Shutdown.lnk")
oShellLink.TargetPath = "%systemroot%\System32\shutdown.exe"
oShellLink.Arguments = "-s -t 0"
oShellLink.WindowStyle = 1
oShellLink.IconLocation = "%systemroot%\System32\shell32.dll,27"
oShellLink.Description = "Shutdown Computer (Power Off)"
oShellLink.WorkingDirectory = "%systemroot%\System32\"
oShellLink.Save
Set oShellLink = Nothing
set oShellLink = WshShell.CreateShortcut(strStartMenu & "\Log Off.lnk")
oShellLink.TargetPath = "%systemroot%\System32\shutdown.exe"
oShellLink.Arguments = "-l"
oShellLink.WindowStyle = 1
oShellLink.IconLocation = "%systemroot%\System32\shell32.dll,44"
oShellLink.Description = "Log Off (Switch User)"
oShellLink.WorkingDirectory = "%systemroot%\System32\"
oShellLink.Save
Set oShellLink = Nothing
set oShellLink = WshShell.CreateShortcut(strStartMenu & "\Restart.lnk")
oShellLink.TargetPath = "%systemroot%\System32\shutdown.exe"
oShellLink.Arguments = "-r -t 0"
oShellLink.WindowStyle = 1
oShellLink.IconLocation = "%systemroot%\System32\shell32.dll,176"
oShellLink.Description = "Restart Computer (Reboot)"
oShellLink.WorkingDirectory = "%systemroot%\System32\"
oShellLink.Save
Set oShellLink = Nothing
Wscript.Echo "Shutdown, Restart and Log Off buttons have been created. You can now pin them to the Start Screen of your Windows 8 computer (if they are not already there)."
Enjoy!

Tnx im gonna try and report if it worked
Sent from my LG-P970 using xda premium

It works
Sent from my LG-P970 using xda premium

I tried this and it works. Thanks.
Sent from my HERO200 using xda app-developers app

Great Job, thanks, this will make it a bit more intuitive Here is a photo of the icons:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Ahh my friend always wondered how can they turn off my Win8 laptop lol. This might be handy. Thanks!
(I always told my friend to close the lid to hibernate my laptop lol)
Sent from my GT-I9100 using Tapatalk 2

KcLKcL said:
Ahh my friend always wondered how can they turn off my Win8 laptop lol. This might be handy. Thanks!
(I always told my friend to close the lid to hibernate my laptop lol)
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
So you haven't seen anything lol
Go to the right corner at the bottom, then go to settings and the power bottom will be right there. Most apps has settings and everytime you go there, different settings will be shown for the specific app :fingers-crossed:

CRDeveloper said:
So you haven't seen anything lol
Go to the right corner at the bottom, then go to settings and the power bottom will be right there. Most apps has settings and everytime you go there, different settings will be shown for the specific app :fingers-crossed:
Click to expand...
Click to collapse
Lol I do know how to shutdown from the settings menu..
Sent from my GT-I9100 using Tapatalk 2

Great job thanks, is there any way to chnage the restart icon to a higher image version ? seems lower rez than the other 2
---------- Post added at 01:52 PM ---------- Previous post was at 01:52 PM ----------
Great job thanks, is there any way to change the restart icon to a higher image version ? seems lower rez than the other 2

Can you guide how to save as .vbf file. I don't know how to apply your script. Please guide me as I'm a noob.
Thanks in advance, bro.
PS: I'm using window 8 with notebook.

kyawswaraung said:
Can you guide how to save as .vbf file. I don't know how to apply your script. Please guide me as I'm a noob.
Thanks in advance, bro.
PS: I'm using window 8 with notebook.
Click to expand...
Click to collapse
you can found file here http://forum.xda-developers.com/showpost.php?p=33770311&postcount=206
or you have to copy and paste the code in your note pad and save it as .vbs file and then double click on it :good:

awesome......... works as said

Nice , Very Flexible

Talderon said:
So if you, or other users, need/want buttons to press to log off, reboot or shutdown their PC's from the start screen, this simple VBS script will make those for you in a quick run:
Save as a .vbs file and double click.
Code:
set WshShell = WScript.CreateObject("WScript.Shell")
strStartMenu = WshShell.SpecialFolders("StartMenu")
set oShellLink = WshShell.CreateShortcut(strStartMenu & "\Shutdown.lnk")
oShellLink.TargetPath = "%systemroot%\System32\shutdown.exe"
oShellLink.Arguments = "-s -t 0"
oShellLink.WindowStyle = 1
oShellLink.IconLocation = "%systemroot%\System32\shell32.dll,27"
oShellLink.Description = "Shutdown Computer (Power Off)"
oShellLink.WorkingDirectory = "%systemroot%\System32\"
oShellLink.Save
Set oShellLink = Nothing
set oShellLink = WshShell.CreateShortcut(strStartMenu & "\Log Off.lnk")
oShellLink.TargetPath = "%systemroot%\System32\shutdown.exe"
oShellLink.Arguments = "-l"
oShellLink.WindowStyle = 1
oShellLink.IconLocation = "%systemroot%\System32\shell32.dll,44"
oShellLink.Description = "Log Off (Switch User)"
oShellLink.WorkingDirectory = "%systemroot%\System32\"
oShellLink.Save
Set oShellLink = Nothing
set oShellLink = WshShell.CreateShortcut(strStartMenu & "\Restart.lnk")
oShellLink.TargetPath = "%systemroot%\System32\shutdown.exe"
oShellLink.Arguments = "-r -t 0"
oShellLink.WindowStyle = 1
oShellLink.IconLocation = "%systemroot%\System32\shell32.dll,176"
oShellLink.Description = "Restart Computer (Reboot)"
oShellLink.WorkingDirectory = "%systemroot%\System32\"
oShellLink.Save
Set oShellLink = Nothing
Wscript.Echo "Shutdown, Restart and Log Off buttons have been created. You can now pin them to the Start Screen of your Windows 8 computer (if they are not already there)."
Enjoy!
Click to expand...
Click to collapse
worx .....
thx
:laugh::laugh::laugh::laugh:

Thnks !
Thanks a lot !! Worked
Talderon said:
So if you, or other users, need/want buttons to press to log off, reboot or shutdown their PC's from the start screen, this simple VBS script will make those for you in a quick run:
Save as a .vbs file and double click.
Code:
set WshShell = WScript.CreateObject("WScript.Shell")
strStartMenu = WshShell.SpecialFolders("StartMenu")
set oShellLink = WshShell.CreateShortcut(strStartMenu & "\Shutdown.lnk")
oShellLink.TargetPath = "%systemroot%\System32\shutdown.exe"
oShellLink.Arguments = "-s -t 0"
oShellLink.WindowStyle = 1
oShellLink.IconLocation = "%systemroot%\System32\shell32.dll,27"
oShellLink.Description = "Shutdown Computer (Power Off)"
oShellLink.WorkingDirectory = "%systemroot%\System32\"
oShellLink.Save
Set oShellLink = Nothing
set oShellLink = WshShell.CreateShortcut(strStartMenu & "\Log Off.lnk")
oShellLink.TargetPath = "%systemroot%\System32\shutdown.exe"
oShellLink.Arguments = "-l"
oShellLink.WindowStyle = 1
oShellLink.IconLocation = "%systemroot%\System32\shell32.dll,44"
oShellLink.Description = "Log Off (Switch User)"
oShellLink.WorkingDirectory = "%systemroot%\System32\"
oShellLink.Save
Set oShellLink = Nothing
set oShellLink = WshShell.CreateShortcut(strStartMenu & "\Restart.lnk")
oShellLink.TargetPath = "%systemroot%\System32\shutdown.exe"
oShellLink.Arguments = "-r -t 0"
oShellLink.WindowStyle = 1
oShellLink.IconLocation = "%systemroot%\System32\shell32.dll,176"
oShellLink.Description = "Restart Computer (Reboot)"
oShellLink.WorkingDirectory = "%systemroot%\System32\"
oShellLink.Save
Set oShellLink = Nothing
Wscript.Echo "Shutdown, Restart and Log Off buttons have been created. You can now pin them to the Start Screen of your Windows 8 computer (if they are not already there)."
Enjoy!
Click to expand...
Click to collapse

MS is offering a build-in sollution. For more information see: http://gallery.technet.microsoft.com/scriptcenter/Create-a-ShutdownRestartLog-37c8111d

Related

List Of .lnks

Can we get a list of shortcuts going on here...maybe get this stickied...I'll start off with the one for contacts...
23#"\Windows\poutlook.exe" contacts
Please move if this is not in the right section
Links for settings:
Settings>Personal>Password>Password = 20#ctlpnl cplmain.cpl,1
Settings>Personal>Password>Hint = 22#ctlpnl cplmain.cpl,1,1
Settings>Personal>Owner Information>Identification = 20#ctlpnl cplmain.cpl,2
Settings>Personal>Owner Information>Notes = 22#ctlpnl cplmain.cpl,2,1
Settings>Personal>Owner Information>Options = 22#ctlpnl cplmain.cpl,2,2
Settings>System>Power>Main = 20#ctlpnl cplmain.cpl,3
Settings>System>Memory>Main = 20#ctlpnl cplmain.cpl,4
Settings>System>Memory>Storage Card = 22#ctlpnl cplmain.cpl,4,1
Settings>System>Memory>Running Programs = 22#ctlpnl cplmain.cpl,4,2
Settings>System>About>Version = 20#ctlpnl cplmain.cpl,5
Settings>System>About>Device ID = 22#ctlpnl cplmain.cpl,5,1
Settings>System>About>Copyrights = 22#ctlpnl cplmain.cpl,5,2
Settings>System>Backlight>Brightness = 20#ctlpnl cplmain.cpl,6
Settings>System>Backlight>Battery power= 20#ctlpnl cplmain.cpl,6,1
Settings>System>Backlight>External power = 20#ctlpnl cplmain.cpl,6,2
Settings>System>Screen>General = 20#ctlpnl cplmain.cpl,7
Settings>System>Screen>Clear Type = 22#ctlpnl cplmain.cpl,7,1
Settings>System>Screen>Text Size = 22#ctlpnl cplmain.cpl,7,2
Settings>Personal>Input>Input Method = 20#ctlpnl cplmain.cpl,8
Settings>Personal>Input>Word Completion = 22#ctlpnl cplmain.cpl,8,1
Settings>Personal>Input>Options = 22#ctlpnl cplmain.cpl,8,2
Settings>Personal>Sounds & Notifications>Sounds = 20#ctlpnl cplmain.cpl,9
Settings>Personal>Sounds & Notifications>Notifications = 22#ctlpnl cplmain.cpl,9,1
Settings>System>Remove Programs = 21#ctlpnl cplmain.cpl,10
Settings>Personal>Menus>Start Menu = 21#ctlpnl cplmain.cpl,11
Settings>Personal>Menus>New Menu = 23#ctlpnl cplmain.cpl,11,1
Settings>Personal>Buttons>Program Buttons = 21#ctlpnl cplmain.cpl,12
Settings>Personal>Buttons>Up/Down Controls = 23#ctlpnl cplmain.cpl,12,1
Settings>Personal>Today>Appearance = 21#ctlpnl cplmain.cpl,13
Settings>Personal>Today>Items = 23#ctlpnl cplmain.cpl,13,1
Settings>Connections>Beam = 21#ctlpnl cplmain.cpl,15
Settings>System>Clock & Alarms>Time = 21#ctlpnl cplmain.cpl,16
Settings>System>Clock & Alarms>Alarms = 23#ctlpnl cplmain.cpl,16,2
Settings>Connections>Network Cards = 21#ctlpnl cplmain.cpl,17
Settings>System>Regional Settings>Region = 21#ctlpnl cplmain.cpl,18
Settings>System>Regional Settings>Number = 23#ctlpnl cplmain.cpl,18,1
Settings>System>Regional Settings>Currency = 23#ctlpnl cplmain.cpl,18,2
Settings>System>Regional Settings>Time = 23#ctlpnl cplmain.cpl,18,3
Settings>System>Regional Settings>Date = 23#ctlpnl cplmain.cpl,18,4
Settings>Connections>Connections>Task = 21#ctlpnl cplmain.cpl,19
Settings>Connections>Connection>Advanced = 23#ctlpnl cplmain.cpl,19,1
Settings>Personal>Phone>Phone = 21#ctlpnl cplmain.cpl,20
Settings>Personal>Phone>Services = 23#ctlpnl cplmain.cpl,20,1
Settings>Personal>Phone>Network = 23#ctlpnl cplmain.cpl,20,2
Settings>Personal>Phone>More = 23#ctlpnl cplmain.cpl,20,3
Settings>System>Certificates>Personal = 21#ctlpnl cplmain.cpl,22
Settings>System>Certificates>Root = 23#ctlpnl cplmain.cpl,22,1
Settings>Connections>Bluetooth>Mode = 21#ctlpnl cplmain.cpl,23
Settings>Connections>Bluetooth>Devices = 23#ctlpnl cplmain.cpl,23,1
Calendar agenda view
21#:MSCALENDAR -va?outres.dll,-100002
Calendar day view
21#:MSCALENDAR -vd?outres.dll,-100002
Calendar month view
21#:MSCALENDAR -vm?outres.dll,-100002
Calendar week view
21#:MSCALENDAR -vw?outres.dll,-100002
Calendar year view
21#:MSCALENDAR -vy?outres.dll,-100002
(Edit: Calendar must be already running in the background for these to work)
MMS
20#"\Windows\tmail.exe"-service "MMS"
email
20#"\Windows\tmail.exe"-service "ActiveSync"
SMS
20#"\Windows\tmail.exe"-service "SMS"
sms open inbox
20#"\Windows\tmail.exe" -service "SMS" -open "inbox"
straight away compose
20#"\windows\tmail.exe" -service "SMS" -to ""
Thanks folks, nice thread, been looking for some of these.
How do you edit the shortcuts?
daverage said:
How do you edit the shortcuts?
Click to expand...
Click to collapse
You can use notes on your PPC or Notepad on your desktop.
Maknificent said:
Can we get a list of shortcuts going on here...maybe get this stickied...I'll start off with the one for contacts...
23#"\Windows\poutlook.exe" contacts
Please move if this is not in the right section
Click to expand...
Click to collapse
Gives me a folder icon?
blazingwolf said:
You can use notes on your PPC or Notepad on your desktop.
Click to expand...
Click to collapse
Thanks!! That is perfect
Sorry but ...
This is useful for...?
Thanks in advance!!!
mikhe69 said:
Sorry but ...
This is useful for...?
Thanks in advance!!!
Click to expand...
Click to collapse
...
This is very usefull if you want to create, for intance, quick "send message to..." and stuf like that daaah
In conjuntions with QuickMenu and programs like that, this is most usefull
Anyone has shortcut for phone to <number>?!?!?
this one give me a prompt to confime....
20#"\Windows\cprog.exe"-url tel:<number>
...
Ok- Ive tried all these to get a lnk for email to contact to work for NewMenu..
20#"\windows\tmail.exe" -service "activesync" -to "xxxxx" xxxxx=contact
Will open outlook inbox. If I leave -service off it will ask me for the type of messaging service to select then it inserts the contact correctly. Thats the closest Ive got it to work.
23#"\windows\poutlook.exe" -service "activesync" -to "xxxxx" xxxxx=contact
Any ideas??? I'm pulling my hair out on this one and dont have much left.
These should be posted to WIKI
This is very useful for some of the new themes....ie the iPhone theme, or both of the Cube themes that have been created. Thanks to all who have contributed.
Tried the wiki... keep getting this error...
lib/WikiDB.php:468: Fatal[0]: <br />/var/www/phpwiki/lib/WikiDB.php:468: : Assertion failed <br />
does anyone know the file for launching the programs folder like in the start menu? I'd like to map that to one of my softkeys. i have the HTC home plugin which has a launch programs folder icon that works, but cant find the lnk from that anywhere either. many thanks for the help and great idea for a thread.
You can get the folderview.exe from HTC Home Plugin. That .exe opens up Programs folder from start menu
dferreira said:
You can get the folderview.exe from HTC Home Plugin. That .exe opens up Programs folder from start menu
Click to expand...
Click to collapse
that was no luck, unfortunately. I have WA3 installed, which must have done something, because when running folderview.exe it is all blank with 1 folder- programs, and when I click that i get something entirely blank. the programs launcher button on the home plugin works perfectly though, blunders wonders.
----------------
Now playing: Pink Floyd - Hey You
via FoxyTunes
how do you add icon images for these shortcut files/
Shortcut Creator
bowlopho said:
how do you add icon images for these shortcut files/
Click to expand...
Click to collapse
Shortcut Creator could be interesting for you....
another easy option to create a shortcut is QuickMenu (nice tool ):
When you select QuickMenu > Execute you can run a command including an parameter and also create a shortcut:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
cheers

[Q] If anyone help with Visual Studio .net CF code for Windows Mobile shortcuts

I can't work out what the code is in .net cf is ...
Example: I want to press a button in my app that brings up say settings or task manager...??
Can any one help...?
Check out my thread considering shortcuts (*.lnk)
Create shortcuts to Feature Settings and Applications manually
Hope this helps,
Seanx
dont know where i got them from
Available parameters for tmail.exe (depending on the service used) are- "tmail.exe" -new ""
"tmail.exe" -service ""
"tmail.exe" -to ""
"tmail.exe" -subject ""
"tmail.exe" -Body ""
"tmail.exe" -attach ""
"tmail.exe" -open "inbox"
"tmail.exe" -sync
or combinations of all such as-
"tmail.exe" -to "[email protected]" -subject "Photos" -Message "Hi, here is the picture" -attach "\my documents\my pictures\1.jpg"
---------------------------------------------------------------------------------------
Links for settings:
Settings>Personal>Password>Password = 20#ctlpnl cplmain.cpl,1
Settings>Personal>Password>Hint = 22#ctlpnl cplmain.cpl,1,1
Settings>Personal>Owner Information>Identification = 20#ctlpnl cplmain.cpl,2
Settings>Personal>Owner Information>Notes = 22#ctlpnl cplmain.cpl,2,1
Settings>Personal>Owner Information>Options = 22#ctlpnl cplmain.cpl,2,2
Settings>System>Power>Main = 20#ctlpnl cplmain.cpl,3
Settings>System>Memory>Main = 20#ctlpnl cplmain.cpl,4
Settings>System>Memory>Storage Card = 22#ctlpnl cplmain.cpl,4,1
Settings>System>Memory>Running Programs = 22#ctlpnl cplmain.cpl,4,2
Settings>System>About>Version = 20#ctlpnl cplmain.cpl,5
Settings>System>About>Device ID = 22#ctlpnl cplmain.cpl,5,1
Settings>System>About>Copyrights = 22#ctlpnl cplmain.cpl,5,2
Settings>System>Backlight>Brightness = 20#ctlpnl cplmain.cpl,6
Settings>System>Backlight>Battery power= 20#ctlpnl cplmain.cpl,6,1
Settings>System>Backlight>External power = 20#ctlpnl cplmain.cpl,6,2
Settings>System>Screen>General = 20#ctlpnl cplmain.cpl,7
Settings>System>Screen>Clear Type = 22#ctlpnl cplmain.cpl,7,1
Settings>System>Screen>Text Size = 22#ctlpnl cplmain.cpl,7,2
Settings>Personal>Input>Input Method = 20#ctlpnl cplmain.cpl,8
Settings>Personal>Input>Word Completion = 22#ctlpnl cplmain.cpl,8,1
Settings>Personal>Input>Options = 22#ctlpnl cplmain.cpl,8,2
Settings>Personal>Sounds & Notifications>Sounds = 20#ctlpnl cplmain.cpl,9
Settings>Personal>Sounds & Notifications>Notifications = 22#ctlpnl cplmain.cpl,9,1
Settings>System>Remove Programs = 21#ctlpnl cplmain.cpl,10
Settings>Personal>Menus>Start Menu = 21#ctlpnl cplmain.cpl,11
Settings>Personal>Menus>New Menu = 23#ctlpnl cplmain.cpl,11,1
Settings>Personal>Buttons>Program Buttons = 21#ctlpnl cplmain.cpl,12
Settings>Personal>Buttons>Up/Down Controls = 23#ctlpnl cplmain.cpl,12,1
Settings>Personal>Today>Appearance = 21#ctlpnl cplmain.cpl,13
Settings>Personal>Today>Items = 23#ctlpnl cplmain.cpl,13,1
Settings>Connections>Beam = 21#ctlpnl cplmain.cpl,15
Settings>System>Clock & Alarms>Time = 21#ctlpnl cplmain.cpl,16
Settings>System>Clock & Alarms>Alarms = 23#ctlpnl cplmain.cpl,16,2
Settings>Connections>Network Cards = 21#ctlpnl cplmain.cpl,17
Settings>System>Regional Settings>Region = 21#ctlpnl cplmain.cpl,18
Settings>System>Regional Settings>Number = 23#ctlpnl cplmain.cpl,18,1
Settings>System>Regional Settings>Currency = 23#ctlpnl cplmain.cpl,18,2
Settings>System>Regional Settings>Time = 23#ctlpnl cplmain.cpl,18,3
Settings>System>Regional Settings>Date = 23#ctlpnl cplmain.cpl,18,4
Settings>Connections>Connections>Task = 21#ctlpnl cplmain.cpl,19
Settings>Connections>Connection>Advanced = 23#ctlpnl cplmain.cpl,19,1
Settings>Personal>Phone>Phone = 21#ctlpnl cplmain.cpl,20
Settings>Personal>Phone>Services = 23#ctlpnl cplmain.cpl,20,1
Settings>Personal>Phone>Network = 23#ctlpnl cplmain.cpl,20,2
Settings>Personal>Phone>More = 23#ctlpnl cplmain.cpl,20,3
Settings>System>Certificates>Personal = 21#ctlpnl cplmain.cpl,22
Settings>System>Certificates>Root = 23#ctlpnl cplmain.cpl,22,1
Settings>Connections>Bluetooth>Mode = 21#ctlpnl cplmain.cpl,23
Settings>Connections>Bluetooth>Devices = 23#ctlpnl cplmain.cpl,23,1
---------------------------------------------------------------------------------------
Calendar agenda view 21#:MSCALENDAR -va?outres.dll,-100002
Calendar day view 21#:MSCALENDAR -vd?outres.dll,-100002
Calendar month view 21#:MSCALENDAR -vm?outres.dll,-100002
Calendar week view 21#:MSCALENDAR -vw?outres.dll,-100002
Calendar year view 21#:MSCALENDAR -vy?outres.dll,-100002
Calendar must be already running in the background for these to work
---------------------------------------------------------------------------------------
New Task: "poutlook.exe" tasks -new
New Note: "notes.exe" -n
New Contact: "poutlook.exe" contacts -new
New Appointment: "poutlook.exe" calendar -new
---------------------------------------------------------------------------------------
To Dial a number: "\windows\cprog.exe" -n -url tel:+1234567890
---------------------------------------------------------------------------------------
camera
"\windows\camera.exe" -i =photo mode
"\windows\camera.exe" -v =video mode
"\windows\camera.exe" -p =contact photo mode
"\windows\camera.exe" -m =mms video mode
"\Windows\HTCAlbum.exe" -mode:camera -type:image
"\Windows\HTCAlbum.exe" -mode:camera -type:video
"\windows\camera.exe" -t =picture theme mode
"\windows\camera.exe" -b =burst mode
"\windows\camera.exe" -g =GPS photo mode
"\windows\camera.exe" -s =Sport mode

[ROM][JRO03H]SpiGen™ Project: Odexed, Tweaked, UV, COLOR, Ad Free, Multi-Lang(8.9.12)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This has ALWAYS started out as a personal project and IMHO might was well share it..this is based from Official YAKJU image from GOOGLE..deodexed, tweaked and rooted with SuperSU..
For your info guys this is my 1st ever non KOREAN unit..
Project name has been changed to SpiGen™
Features of Rev1.2:
- Based on AOSP build JRO03H
- Tweaked
- Powered by Franco Kernel(credits to him)
- Removed Screen waking when unplugged USB/Charger
- Removed a few stuff that is harmless
- 1% battery
- Audio fixes
- Camera quality and compression
- Ad Free
- Rotation Lock
- Finer Volume Steps(20 steps for now)
- Odexed for faster response---this has to wait until some of you can comment..
- Multi-Language
- Tweak script has been rectified..
WIP
- Remove LS vibration
- Sense 4 Multi-tasking
Downloads: SpiGen Rev1.2
MD5 Checksum: 699fb1b7d80342849a0068518742e91c
Code:
Old Builds:(JRO03C base)
[B]Old Downloads:[/B] [URL="http://www.mediafire.com/?3ue4gqan1gtum"]Mediafire[/URL]
[B]Old Patch Download[/B][I](alternate)[/I] : [URL="https://docs.google.com/file/d/0B_3BNlXOVtO5di1uV3BQOWdueFE/edit"]Google Drive[/URL]
[B]Checksum[/B] for main base: [I]879cbcbeb736e44d020dc391427d2803[/I]
[B]Checksum[/B] for patch: [I]ca50ff1ffb1b95059d2f30a656b623e8[/I]
[B]Instructions:[/B]
- download all files from my repo/folder..
- use HJSPLIT to join the files..
- you will get 2 files the main pakage and the patch
- place it in you internal SD Card and reboot to CWM
- install the main package(bigger one)
- then after that install the patch..OR you can boot first and then just reboot back to recovery and then apply the patch.. :D
- enjoy and comment regarding the stuff..
Credits:
- Our Dear Lord up there..
- Google (for the base)
- Franco (kernel)
- Vadonka(script help)
- showp1894(script help)
- kahivatara(for APM)
- evilisto(MODS)
- Dsixda(Kitchen)
- CM Team(Base for JRO03H)
- My Friends, My Family and Detractors
- and more unmentioned..if you feel like it then be it..
Notes:
- this is best used with franco kernel..as my script is fortified to support his kernel..
- this will always remain stock look..i don't intend to do Theming..you have the liberty to do so..
- YOU have the liberty to use this or not..it has always been up to you..just respect the thread and don't post BS stuff..
- I do want to apologize for the fact that i have to use HJSPLIT..i am just a poor guy and my broadband connection has upload limit..(do take note its not DSL its just plain damn Broadband)
So what does my script do??it does not send your unit back home to Samsung for repairs..that's for sure..
here a sample log from my script doing nothing but tweak..
Code:
==============================
| Samsung i9250 Tweak Script Log |
==============================
Kernel version: 3.0.39-franco.Kernel-nightly-384GPU
Tweaks Initiated at 08/06/2012-12:59:18
LMK Tweaks
Original: /sys/module/lowmemorykiller/parameters/adj = 0,1,2,4,8,15
Tweaked: /sys/module/lowmemorykiller/parameters/adj = 0,1,2,4,8,15
Lowmemorykiller mode is: aggr
Original: /sys/module/lowmemorykiller/parameters/minfree = 8099,10132,20000,20000,50000,100000
Tweaked: /sys/module/lowmemorykiller/parameters/minfree = 4096,6144,8192,15360,18920,21000
VM Tweaks
Original: /proc/sys/vm/oom_kill_allocating_task = 0
Tweaked: /proc/sys/vm/oom_kill_allocating_task = 0
Original: /proc/sys/vm/oom_dump_tasks = 1
Tweaked: /proc/sys/vm/oom_dump_tasks = 1
Original: /proc/sys/vm/panic_on_oom = 0
Tweaked: /proc/sys/vm/panic_on_oom = 0
Original: /proc/sys/vm/laptop_mode = 0
Tweaked: /proc/sys/vm/laptop_mode = 0
Original: /proc/sys/vm/block_dump = 0
Tweaked: /proc/sys/vm/block_dump = 0
Original: /proc/sys/vm/swappiness = 0
Tweaked: /proc/sys/vm/swappiness = 0
Original: /proc/sys/vm/dirty_background_ratio = 5
Tweaked: /proc/sys/vm/dirty_background_ratio = 3
Original: /proc/sys/vm/dirty_ratio = 20
Tweaked: /proc/sys/vm/dirty_ratio = 12
Original: /proc/sys/vm/min_free_kbytes = 1442
Tweaked: /proc/sys/vm/min_free_kbytes = 2048
Original: /proc/sys/vm/vfs_cache_pressure = 300
Tweaked: /proc/sys/vm/vfs_cache_pressure = 200
Original: /proc/sys/vm/overcommit_memory = 1
Tweaked: /proc/sys/vm/overcommit_memory = 1
Original: /proc/sys/vm/page-cluster = 3
Tweaked: /proc/sys/vm/page-cluster = 3
Original: /proc/sys/vm/min_free_order_shift = 4
Tweaked: /proc/sys/vm/min_free_order_shift = 4
Original: /proc/sys/vm/dirty_writeback_centisecs = 500
Tweaked: /proc/sys/vm/dirty_writeback_centisecs = 2000
Original: /proc/sys/vm/dirty_expire_centisecs = 200
Tweaked: /proc/sys/vm/dirty_expire_centisecs = 1000
Original: /proc/sys/fs/lease-break-time = 45
Tweaked: /proc/sys/fs/lease-break-time = 30
Original: /proc/sys/fs/file-max = 70963
Tweaked: /proc/sys/fs/file-max = 81920
Original: /proc/sys/kernel/panic = 5
Tweaked: /proc/sys/kernel/panic = 4
Original: /proc/sys/kernel/panic_on_oops = 1
Tweaked: /proc/sys/kernel/panic_on_oops = 0
Original: /proc/sys/kernel/sched_child_runs_first = 0
Tweaked: /proc/sys/kernel/sched_child_runs_first = 0
Original: /proc/sys/kernel/threads-max = 11089
Tweaked: /proc/sys/kernel/threads-max = 11000
Original: /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = interactive
Tweaked: /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = interactive
Original: /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor = interactive
Tweaked: /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor = interactive
Original: /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 1228000
Tweaked: /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 1305000
Original: /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq = 1305000
Tweaked: /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq = 1305000
Original: /sys/devices/system/cpu/cpufreq/interactive/min_sample_time = 80000
Tweaked: /sys/devices/system/cpu/cpufreq/interactive/min_sample_time = 40000
Original: /sys/devices/system/cpu/cpufreq/interactive/timer_rate = 20000
Tweaked: /sys/devices/system/cpu/cpufreq/interactive/timer_rate = 20000
Original: /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load = 85
Tweaked: /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load = 60
Original: /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq = 1228000
Tweaked: /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq = 1305000
NET Tweaks
Original: /proc/sys/net/ipv4/tcp_window_scaling = 1
Tweaked: /proc/sys/net/ipv4/tcp_window_scaling = 1
Original: /proc/sys/net/ipv4/tcp_tw_recycle = 0
Tweaked: /proc/sys/net/ipv4/tcp_tw_recycle = 1
Original: /proc/sys/net/ipv4/tcp_tw_reuse = 0
Tweaked: /proc/sys/net/ipv4/tcp_tw_reuse = 1
Original: /proc/sys/net/ipv4/tcp_sack = 1
Tweaked: /proc/sys/net/ipv4/tcp_sack = 1
Original: /proc/sys/net/ipv4/icmp_ignore_bogus_error_responses = 1
Tweaked: /proc/sys/net/ipv4/icmp_ignore_bogus_error_responses = 1
Original: /proc/sys/net/ipv4/tcp_fin_timeout = 60
Tweaked: /proc/sys/net/ipv4/tcp_fin_timeout = 15
Original: /proc/sys/net/ipv4/tcp_keepalive_intvl = 75
Tweaked: /proc/sys/net/ipv4/tcp_keepalive_intvl = 30
Original: /proc/sys/net/ipv4/tcp_keepalive_probes = 9
Tweaked: /proc/sys/net/ipv4/tcp_keepalive_probes = 5
Original: /proc/sys/net/ipv6/conf/all/disable_ipv6 = 0
Tweaked: /proc/sys/net/ipv6/conf/all/disable_ipv6 = 1
Original: /proc/sys/net/ipv6/conf/default/disable_ipv6 = 1
Tweaked: /proc/sys/net/ipv6/conf/default/disable_ipv6 = 1
Original: /proc/sys/net/ipv6/conf/lo/disable_ipv6 = 1
Tweaked: /proc/sys/net/ipv6/conf/lo/disable_ipv6 = 1
Kernel Params
Original: /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table = 1804mhz: 1450 mV 1728mhz: 1425 mV 1612mhz: 1400 mV 1536mhz: 1375 mV 1420mhz: 1300 mV 1305mhz: 1275 mV 1228mhz: 1250 mV 1036mhz: 1225 mV 729mhz: 1150 mV 384mhz: 1025 mV
Tweaked: /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table = 1804mhz: 1425 mV 1728mhz: 1400 mV 1612mhz: 1375 mV 1536mhz: 1300 mV 1420mhz: 1225 mV 1305mhz: 1200 mV 1228mhz: 1175 mV 1036mhz: 1150 mV 729mhz: 1075 mV 384mhz: 975 mV
Original: /sys/class/misc/customvoltage/core_voltages = 1250 mV 1127 mV 962 mV
Tweaked: /sys/class/misc/customvoltage/core_voltages = 1200 mV 1075 mV 925 mV
Original: /sys/class/misc/customvoltage/iva_voltages = 1375 mV 1291 mV 1140 mV 950 mV
Tweaked: /sys/class/misc/customvoltage/iva_voltages = 1325 mV 1250 mV 1100 mV 925 mV
Original: /sys/devices/virtual/misc/soundcontrol/volume_boost = 0
Tweaked: /sys/devices/virtual/misc/soundcontrol/volume_boost = 1
Original: /sys/module/sync/parameters/fsync_enabled = Y
Tweaked: /sys/module/sync/parameters/fsync_enabled = N
Original: /sys/module/bcmdhd/parameters/wifi_pm = N
Tweaked: /sys/module/bcmdhd/parameters/wifi_pm = N
Original: /sys/module/omap_temp_sensor/parameters/throttle_enabled = Y
Tweaked: /sys/module/omap_temp_sensor/parameters/throttle_enabled = N
Original: /sys/module/panel_s6e8aa0/parameters/contrast = -5
Tweaked: /sys/module/panel_s6e8aa0/parameters/contrast = -5
Original: /sys/class/misc/colorcontrol/v1_offset = -4 0 5
Tweaked: /sys/class/misc/colorcontrol/v1_offset = 2 0 3
Original: /sys/class/misc/colorcontrol/multiplier = 1800000000 1920000000 2000000000
Tweaked: /sys/class/misc/colorcontrol/multiplier = 2000000000 1600000000 2150000000
Original: /sys/devices/platform/omapdss/manager0/gamma = 0
Tweaked: /sys/devices/platform/omapdss/manager0/gamma = 5
MOUNT/IO Tweaks
Original: /sys/block/mmcblk0/queue/scheduler = [deadline]
Tweaked: /sys/block/mmcblk0/queue/scheduler = [deadline]
Original: /sys/block/mmcblk0/queue/rotational = 0
Tweaked: /sys/block/mmcblk0/queue/rotational = 0
Original: /sys/block/mmcblk0/queue/read_ahead_kb = 2048
Tweaked: /sys/block/mmcblk0/queue/read_ahead_kb = 2048
Original: /sys/block/mmcblk0/queue/iostats = 1
Tweaked: /sys/block/mmcblk0/queue/iostats = 0
Original: /sys/block/mmcblk0/queue/nr_requests = 128
Tweaked: /sys/block/mmcblk0/queue/nr_requests = 2048
Original: /sys/block/mmcblk0/queue/iosched/fifo_batch = 1
Tweaked: /sys/block/mmcblk0/queue/iosched/fifo_batch = 1
Original: /sys/block/mmcblk0/queue/iosched/write_expire = 1000
Tweaked: /sys/block/mmcblk0/queue/iosched/write_expire = 1000
So basically i do not have to explain my self..also its a user friendly script that if you want your specifics in their place you have the option to do so..not needing any 3rd party apps(i love my phone appless as much as possible as you all know how android works in the background..).. would also love if someone can help me for an app that will help manipulate these values in real time..
Literature:
Well i started out venturing Android just last December and my 1st unit was the KOREAN Optimus 2x(SU660), now not knowing that there were different versions of the said unit(the Intl. P990 and my SU660 which is just for KOREA) and also knowing that these units lack support both community developer support and from manufacturer support, I started out a mini project to customize the SU660 for my own use, well lucky enough i found 1 custom rom and luckily it was a CM7 variant, now after studying the framework and stuff i started to work things out. My 1st build was somehow a failure but after a few more tests and also was lucky enough to spot MIUI on the Android scene, and realizing that it is also based from CM7 source i started compiling/porting from the P990 Source for my device. Now it has been a daily driver for some folks here(Philippines) who have subscribed to my builds. On the 1st few months it was like PITA but when i seem to get the hang of it its more of an addiction, I currently owned a few Korean devices that i have ported a few stuff and has worked things out to work as the Intl version.
Things have changed now after buying the GNex i can't seem to let this opportunity pass to share something that seems to be or might be useful to others as i have the same device they have. No more hiding in the shadows and no more Guilt of being left behind(you would usually feel this if you own a korean unit..more deprived as i would say), i do have a Intl. unit now so here's one in the couch for everyone.
I am just a normal Family guy, i work as a salesman for 11 hours a day and i do hope you would appreciate the effort i make for this project. It will be on a slow pace but surely i will do my best to make things work.
10 chars
German Language included ?
jenzy1985 said:
German Language included ?
Click to expand...
Click to collapse
i did not touch the default languages..so i think it is included..
Sound's really nice! Will test...
Bedouin76 said:
Sound's really nice! Will test...
Click to expand...
Click to collapse
Thanks and let me hear your comments for future release related improvements..currently testing the new base JRO03H on my unit..
edit: it seems i am going to rebase to JRO03H for next build..
New base/Project
SpiGen™
Features:
- JRO03H Base
- T9 Dialer
- Fast and Slick(Odexed Base)
- UV'd via script and COLORED via script(no 3rd party)
- Removed Screen wake when USB/Charger is unplugged from the unit
- Power Saving Tweaks..
- Multi Language base
links will be up soon..just doing final adjustments AGAIN before i odex the base..
Notes: for others who just want the script from the base do give proper credits and thanks..its someone else's effort to help this community..
Also suggestions are welcome wether i should pursue the Odex release or stick to Deodexed base release..
Teaser..
I love the sense multitasking recents. I hope this feature is coming soon
jenzy1985 said:
I love the sense multitasking recents. I hope this feature is coming soon
Click to expand...
Click to collapse
its hard to port now since JB has a lot of difference (code wise) from ICS..still testing the Sense Multitask for this one..
nice work , when you upload the new version ??
luckydude said:
nice work , when you upload the new version ??
Click to expand...
Click to collapse
currently uploading links will be up within 70-80 mins..i am on +8 GMT so sync those clocks..
will release a deodexed base as i have to check on how you like stuff 1st before i odex the whole base..
Upload links: SpiGen
MD5: 699fb1b7d80342849a0068518742e91c
Changelog and WIP are in the 1st page..
Odex
kairi_zeroblade said:
Upload links: SpiGen
MD5: 699fb1b7d80342849a0068518742e91c
Changelog and WIP are in the 1st page..
Click to expand...
Click to collapse
How did you odex the ROM. do you have any tool for doing this?
ODEX!! God I love ya... nohomo
#Galaxy Nexus HSPA+
---------- Post added at 09:37 PM ---------- Previous post was at 09:33 PM ----------
My suggestion. Stick with Odex. If you can manage to tweak it crazy style like on Deo, mad props to you sir..mad props. Odex is so much superior over Deo... if it can be tamed.
#Galaxy Nexus HSPA+
Build is smooth I flashed runs great see it's been awhile since you last posted here Stick with odex imo and thanks
Sent from my Galaxy Nexus using xda premium
So far so good. The only thing I see if the purple tint. is that normal?
finally!

BCM21553 files of vodafone samrt II

the Vodafone Smart II have the same spec as our y
and 2.3.7 gb is pre-installed with it
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
[/SIZE][/B][/CENTER]
Here is the Unpacked system.img from the stock Italian ROM
http://www.mediafire.com/?khpdey37edwvzlv
and custom rom of it
http://forum.cyanogenmod.com/topic/...el-v860-ota-update2-integrated-rom-with-root/
Click to expand...
Click to collapse
Features
OS Android OS, v2.3.7 (Gingerbread)
Chipset BCM21553
CPU 832 MHz ARMv6
Click to expand...
Click to collapse
Is, that cm7?
sent by my Y using jelly blast rom frm XDA Premium
rmp07 said:
Is, that cm7?
sent by my Y using jelly blast rom frm XDA Premium
Click to expand...
Click to collapse
It should be 2.3.7 AOSP cause no manufacture release CM Rom
We can take drivers from here!!
Sent from my GT-S5360 using XDA
hell_lock said:
We can take drivers from here!!
Sent from my GT-S5360 using XDA
Click to expand...
Click to collapse
yeah ! that's what I attached in 1st post I think
also please have a lokk at this
See the 2 image file , look like our present graphics ​
Click to expand...
Click to collapse
in that vt file
Code:
# RADVISION H.323/3G-324M Stack Configuration File
#
# Value encodings:
# '' - String (and asciiz is not appended)
# \"\" - BMP string of ASCII characters
# [] - Hex octet string
# <> - IP
# {} - Object ID
# % - Bit string
# Other - Integer
1 ApplicationConfig = 0
+ AutoAnswer = 0
UseWnsrp = 1
UseACP = 0
UseMONA = 0
UseAEC = 0
mpcMediaTypes = 4 #0:Unknown 1:AMR 2:AMRWB 3:H264 4:MPEG4 5:H263
UseMPCRxOnly = 0
AcpAudioEntry = 0
AcpVideoEntry = 0
MultipleH245Messages = 1
AutoAcceptChannels = 1
AutoEarlyMES = 0
muxLevel = 3 # Rv3G324mCallMuxLevel2
AutoCaps = 1 # it will be modified to TRUE
AutoCapsReplayMedia = 0
AutoOpenChannels = 1
autoChannel_Audio_Use = 1
autoChannel_Audio_rate = 31
autoChannel_Audio_name = 'amr'
autoChannel_Audio_alConfig = 'AL2 WithSequenceNumber'
autoChannel_Video_Use = 1
autoChannel_Video_rate = 224
autoChannel_Video_name = 'mpeg4'
autoChannel_Video_alConfig = 'AL2 WithSequenceNumber'
autoChannel_Video_bNullData = 0
autoChannel_Video_bIsDuplex = 0
VideoChannelBufferNum = 40
VideoChannelBufferFreeNum = 20
AudioChannelBufferNum = 15
TransportWriteInterval = 20 # loop interval of read/write thread in transport module, 20ms, 40ms..., maximum is 100ms
TransportDoFlowControl = 1 # if transport thread do flow control
LogStreamBuffers = 0
LogStreamBufferSize = 2097152 #2*1024*1024
ReflectTransportBuffers = 1
isdnBufferCorrectionSize = 0 #16
LogMode = 1 # 0:None,1:Screen,2:File, 3:Memory
LogMemorySize = 1048576 # 1024K
LogFileName = '/data/vt/3gapp.log'
LogFileSize = 524288 #512K
LogLevelInfo = 127
LogLevelDebug = 1
LogLevelError = 1
LogModule = 7 # 1:Application, 2:Transport, 4:Stack, 8:AudioEnc, 16:AudioDec, 32:VideoEnc, 64:VideoDec
VideoFastUpdatePicture = 1
VideoEncodeIntraInterval = 32
VideoEncodeFrameRate = 15
VideoEncodeTargetBitRate = 48000
VideoEncodeDelayTime = 200
VideoDecodeStreamMode = 0
VendorIdentificationMes = 1
VendorIdent-CountryCode = 97
VendorIdent-Extension = 0
VendorIdent-ManufacturerCode = 0
VendorIdent-ProductNumber = 'SK-700'
VendorIdent-VersionNumber = 'SKT 14 v1.37'
VendorIdent-Match = '3GApp'
LipSyncTime = 0
SendThreadPriority = 80
RecvThreadPriority = -1
CameraRate = 8
RingDelayTime = 2000 # ms
BlockVideoDelay = 500 #ms
AutoDropTimeout = 20 #s
CallDurationLimitation = 0 #second
MuxLevelSyncTimeout = 10000;
1 3g324mSystem = 0
+ maxCalls = 4
maxTransmittingChannels = 4
maxReceivingChannels = 4
allocations = 0
+ controlBufferSize = 120
controlNumOfBuffers = 40
logicalChannelBufferSize = 2000
logicalChannelNumOfBuffers = 100
alxmBufferSize = 4000
alxmNumOfBuffers = 40
alxmInterleavingBufferSize = 4000
alxmInterleavingNumOfBuffers = 10
maxAsn1BufferSize = 6000
ach245NumOfBuffers = 15
- h223Params = 0
+ sendQueueSizePerChannel = 70
srpTimer = 2000
nsrpTimer = 200
al3RetransmissionTimer = 2000
numOfAlSduSaved = 100
n400Counter = 30
n402Counter = 5
2 watchdog
+ interval = 10
1 h245 = 0
2 masterSlave = 0
+ terminalType = 130
timeout = 1000
2 capabilities = 0
+ terminalCapabilitySet = 0
+ sequenceNumber = 1
protocolIdentifier = [00]
multiplexCapability = 0
+ h223Capability = 0
+ transportWithI-frames = 0
videoWithAL1 = 0
videoWithAL2 = 1
videoWithAL3 = 1
audioWithAL1 = 0
audioWithAL2 = 1
audioWithAL3 = 0
dataWithAL1 = 0
dataWithAL2 = 0
dataWithAL3 = 0
maximumAl2SDUSize = 512
maximumAl3SDUSize = 512
maximumDelayJitter = 10
h223MultiplexTableCapability = 0
+ basic = 0
- maxMUXPDUSizeCapability = 1
nsrpSupport = 1
mobileOperationTransmitCapability = 0
+ modeChangeCapability = 0
h223AnnexA = 1
h223AnnexADoubleFlag = 1
h223AnnexB = 1
h223AnnexBwithHeader = 1
4 capabilityTable = 0
#############################
# Video Codecs
#############################
# MPEG
5 * = 0 # Sequence
+ capabilityTableEntryNumber = 4
capability = 0
+ receiveAndTransmitVideoCapability = 1
+ genericVideoCapability = 0
+ capabilityIdentifier = 0
+ standard = {itu-t recommendation h 245 1 0 0}
- maxBitRate = 400
nonCollapsing = 1
10 * = 0
+ parameterIdentifier = 0
+ standard = 0
- parameterValue = 0
+ unsignedMax = 8
10 * = 0
+ parameterIdentifier = 0
+ standard = 1
- parameterValue = 0
+ unsignedMax = 1
# H.263
5 * = 0
+ capabilityTableEntryNumber = 3
capability = 0
+ receiveAndTransmitVideoCapability = 1
+ h263VideoCapability = 0
+ qcifMPI = 2
maxBitRate = 400
unrestrictedVector = 0
arithmeticCoding = 0
advancedPrediction = 0
pbFrames = 0
temporalSpatialTradeOffCapability = 1
#############################
# Audio Codecs
#############################
# AMR
5 * = 0
+ capabilityTableEntryNumber = 1
capability = 0
+ receiveAndTransmitAudioCapability = 1
+ genericAudioCapability = 0
+ capabilityIdentifier =
+ standard = {itu-t recommendation h 245 1 1 1}
- maxBitRate = 122
#define maxsdu
collapsing = 1
10 * = 0
+ parameterIdentifier = 0
+ standard = 0
- parameterValue = 0
+ unsignedMin = 1
# g.723.1
5 * = 0
+ capabilityTableEntryNumber = 2
capability = 0
+ receiveAudioCapability = 0
+ g7231 = 0
+ maxAl-sduAudioFrames = 6
silenceSuppression = 0
4 capabilityDescriptors = 0
+ * = 0
+ capabilityDescriptorNumber = 0
simultaneousCapabilities = 0
+ * = 0
+ * = 3
* = 4
- * = 0
+ * = 1
* = 2
3 timeout = 100
- channels = 0
3 * = 0
+ name = 'amr'
dataType = 0
+ audioData = 0
+ genericAudioCapability = 0
+ capabilityIdentifier = 0
+ standard = { itu-t(0) recommendation(0) h(8) 245 generic-capabilities(1) audio(1) amr(1) }
- maxBitRate = 122
collapsing = 0
+ * = 0
+ parameterIdentifier = 0
+ standard = 0
- parameterValue = 0
+ unsignedMin = 1
3 * = 0
+ name = 'mpeg4'
dataType = 0
+ videoData = 0
+ genericVideoCapability = 0
+ capabilityIdentifier = 0
+ standard = { itu-t(0) recommendation(0) h(8) 245 generic-capabilities(1) video(0) ISO-IEC14496-2(0) }
- maxBitRate = 400
nonCollapsing
8 * = 0
+ parameterIdentifier = 0
+ standard = 0
- parameterValue = 0
+ unsignedMax = 8
8 * = 0
+ parameterIdentifier = 0
+ standard = 1
- parameterValue = 0
+ unsignedMax = 1
8 * = 0
+ parameterIdentifier = 0
+ standard = 2
- parameterValue = 0
+ octetString = [000001b008000001b509000001000000012000844014282c2090a31f]
3 * = 0
+ name = 'h263'
dataType = 0
+ videoData = 0
+ h263VideoCapability = 0
+ qcifMPI = 2
maxBitRate = 400
unrestrictedVector = 0
arithmeticCoding = 0
advancedPrediction = 0
pbFrames = 0
temporalSpatialTradeOffCapability = 0
errorCompensation = 0
Code:
[CENTER][B][FONT="Arial Black"][SIZE="4"]in modules folder [/SIZE][/FONT][/B][/CENTER]
bcm_headsetsw.ko
brcm_switch.ko
dhd.ko
gememalloc.ko
h6270enc.ko
hx170dec.ko
Code:
[CENTER][B][FONT="Arial Black"][SIZE="4"]in HW folder [/SIZE][/FONT][/B][/CENTER]
acoustics.default.so
alsa.default.so
gps.bcm21553.so
gralloc.default.so
lights.bcm21553.so
sensors.default.so
Code:
[CENTER][B][FONT="Arial Black"][SIZE="4"]in egl folder [/SIZE][/FONT][/B][/CENTER]
egl.cfg
libGLES_android.so
libGLES_hgl.so
So the phone is same like ours but does it have any development on it such as aosp,cm etc. If yes then post the link.. We can try our luck on it
Sent from my GT-S5360 using XDA
try this
2.3.7 AOSP based ROM
http://forum.cyanogenmod.com/topic/57455-vodafone-smart-aka-alcatel-v860-ota-update2-integrated-rom-with-root/
or
stock rom
http://www.mediafire.com/?khpdey37edwvzlv
amal das said:
the Vodafone Smart II have the same spec as our y
and 2.3.7 gb is pre-installed with it
[/SIZE][/B][/CENTER]
Click to expand...
Click to collapse
pre-compiled modules won't help
Well they can work for us! I have an idea...
Sent from my GT-S5360 using XDA
hell_lock said:
Well they can work for us! I have an idea...
Sent from my GT-S5360 using XDA
Click to expand...
Click to collapse
I am listening
Will report if it works out... I dont want u guys to soft brick ur phone.. alot of testing is needed in this process...
there are some files missing in stock rom
like framework-res.apk also some bin files even build.prop toooo
you better download the rom from cyanogen form
http://forum.cyanogenmod.com/topic/...el-v860-ota-update2-integrated-rom-with-root/
hell_lock said:
Will report if it works out... I dont want u guys to soft brick ur phone.. alot of testing is needed in this process...
Click to expand...
Click to collapse
well I am not going to test it on my device for sure. Just wanted to know what is your idea.
Bricking word hurts me a lot terrible experience.
I will play with the drivers... First I will test the drivers on my stock rom. If they work, I will try the aosp drivers on stock rom, if they still work then I will put them in cm7 and test it. It will surely work.
Sent from my GT-S5360 using XDA
hell_lock said:
I will play with the drivers... First I will test the drivers on my stock rom. If they work, I will try the aosp drivers on stock rom, if they still work then I will put them in cm7 and test it. It will surely work.
Sent from my GT-S5360 using XDA
Click to expand...
Click to collapse
Almost identical specs so is worth try porting.
therefore work has began :fingers-crossed:
Zackconsole said:
Almost identical specs so is worth try porting.
therefore work has began :fingers-crossed:
Click to expand...
Click to collapse
U doin it or should i try messing it up?
Sent from my GT-S5360 using XDA
hell_lock said:
U doin it or should i try messing it up?
Sent from my GT-S5360 using XDA
Click to expand...
Click to collapse
Doing it hope no anyone come and disturb me..or else i got to get myself lock into another room again!
Zackconsole said:
Doing it hope no anyone come and disturb me..or else i got to get myself lock into another room again!
Click to expand...
Click to collapse
will wait for your ported test version !
amal das said:
will wait for your ported test version !
Click to expand...
Click to collapse
Checkout your inbox 30min/1 hour depent on my internet connection man.
It's malaysia.Famous for slow internet (RM150 Internet = Get rm30 Internet) :crying:

[Tutorial] How to simply get TRACE output from native dll to managed VS2010 debugger

Hi friends.
There is simple tutorial. We use WP7 DllIprort Project, or another native Dlls, to enable our managed (mostly Silverlight) applications to do any system calling. But, debuging of hybrid applications is difficult. May be, somebody is able to make publicly usable source to use standard Visual Studio way to test and debug native Dlls, but Ultrashot and others have no time, they have important things to do.
Then, I prepared simple library, which export native TRACE macro and managed wrapper too.
Using:
1. Copy all content from attachment NativeDebugTraceVS2008 directory to your VS2008 native dll project directory.
2. Add NativeDebug2008.dll and NativeDebugTrace.h to your native dll project.
3. Add line:
#include "NativeDebugTrace.h"
on top of your native c++ source code.
4. Use TRACE macro in your code. Syntax is usual, example:
...
int nVal = 1+1;
TRACE(L"%s = %d", L"nVal", nVal);
...
Output is showed in "normal" VS2008 Output window too, when you debug under VS2008.
If you have used another TRACE macro in your code, you can rename TRACE macro to ANY_OTHER_TRACE_NAME in NativeDebugTrace.h and call this another macro.
5. Copy all content from attachment NativeDebugTraceVS2010 directory to your VS2010 managed application or dll project directory.
6. Add both NativeDebug2010.dll and NativeDebug2008.dll to your project, set Copy if newer its option.
7. Add reference to NativeDebug2010.dll to your project.
8. Add Initialisation to your App constructor:
Code:
...
public App()
{
...
// Show graphics profiling information while debugging.
if (System.Diagnostics.Debugger.IsAttached)
{
...
NativeDebug.Init();
}
else
{
NativeDebug.RegisterOnly();
}
}
...
I am not sure why, but RegisterOnly() calling is necessary to work without debugging, your native dll will not load properly instead.
9. Add garbage release to your App closing:
Code:
...
private void Application_Closing(object sender, ClosingEventArgs e)
{
NativeDebug.Destroy();
...
}
...
10. Change your VS2010 view to Expert (Menu/Tools/Settings/Expert Settings).
11. Open your Output window on top (Menu/View/Output, click to Window Position/Float).
Now you can see all managed System.Diagnostics.Debug.WriteLine and native TRACE ouput in one Output window. Attention - option "Menu/Tools/Options/Debugging/Redirect all Output text to Immediate window" does not work for me.
You can also write output to TRACE file by standard way (see System.Diagnostics.Debug.WriteLine help).
Attention: Debug Trace Library is fully synchronised, but I did not test it to debug more then one application alternately. May be any deadlock can occure, but I beleive will not. When your managed code use another unicode string prefix then L"...", try to change calling, and write your experience here.
See example picture, follow red text:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Picture is from old version, included to W.I.N.C.O native library. But, yestarday I have got total hard disc crash crying::crying::crying, all my programs from long time are lost. I must programm this feature again today, I believe it is better then last weak.
Note:
Attachment is functional, but will be changed in future. Little COM mishmash and WP7 WatchDog problems occured.
Next code probably solve it, but I am not sure. Do not forget to set HKLM\Software\Microsoft\TaskHost\DehydrateOnPause to 0 first, when you want to debug application calling ShellExecuteEx() etc.
Code:
private void Application_Activated(object sender, ActivatedEventArgs e)
{
NativeDebug.Start();
}
private void Application_Deactivated(object sender, DeactivatedEventArgs e)
{
NativeDebug.Stop();
}
TRACE Output example. MFC integrated to ATL for WP7, registry export to file.
This is output from registry exporting wiht MFC using. Without tracing it woud be very difficult to tune to a flawless running:
'UI Task' (Managed): Loaded 'C:\Program Files (x86)\Microsoft.NET\SDK\CompactFramework\v2.0\WindowsCE\mscorlib.dll'
'UI Task' (Managed): Loaded 'System.Windows.RuntimeHost.dll'
'UI Task' (Managed): Loaded 'System.dll'
'UI Task' (Managed): Loaded 'System.Windows.dll'
'UI Task' (Managed): Loaded 'System.Net.dll'
'UI Task' (Managed): Loaded 'System.Core.dll'
'UI Task' (Managed): Loaded 'System.Xml.dll'
'UI Task' (Managed): Loaded '\Applications\Install\8F4EF9C1-BE29-4252-BE77-EAD8CE2E9D4E\Install\Phonmander.dll', Symbols loaded.
'UI Task' (Managed): Loaded 'Microsoft.Phone.dll'
'UI Task' (Managed): Loaded 'Microsoft.Phone.Interop.dll'
'UI Task' (Managed): Loaded '\Applications\Install\8F4EF9C1-BE29-4252-BE77-EAD8CE2E9D4E\Install\NativeDebug2010.dll', Symbols loaded.
'UI Task' (Managed): Loaded 'Microsoft.Phone.InteropServices.dll'
'UI Task' (Managed): Loaded '\Applications\Install\8F4EF9C1-BE29-4252-BE77-EAD8CE2E9D4E\Install\wxNativeCOM.dll', Symbols loaded.
'UI Task' (Managed): Loaded '\Applications\Install\8F4EF9C1-BE29-4252-BE77-EAD8CE2E9D4E\Install\wlCoreWp7.dll'
Managed ==> Native
RegGetStringSimple dwKey = 80000002, szSubKey = Pokus2012, szValueName = ValStr, lpszValue = 35EF09C
RegGetDwordSimple RegQueryValueEx returns 80070057 Parametr není správný.
RegExportKeySimple(DWORD dwKey = 80000002, LPCWSTR szSubKey = HARDWARE\DEVICEMAP, LPCWSTR szFileName = \Pokus2012.txt)
ExportRegKey(HKEY hroot = 80000002, const CString &root = HKEY_LOCAL_MACHINE, const CString &key = HARDWARE\DEVICEMAP, CFile &out = 45FFFC48)
ExportRegKey BOM
ExportRegKey Editor Version
DumpRegKey(HKEY hroot = 80000002, const CString &root = HKEY_LOCAL_MACHINE, const CString &key = HARDWARE\DEVICEMAP, CFile &out = 45FFFC48)
RegEnumValueW returns 103 No more data is available.
DumpRegKey(HKEY hroot = 80000002, const CString &root = HKEY_LOCAL_MACHINE, const CString &key = HARDWARE\DEVICEMAP\TOUCH, CFile &out = 45FFFC48)
RegEnumValueW returns 0 The operation completed successfully. DriverName
RegEnumValueW returns 103 No more data is available.
DumpRegKey(HKEY hroot = 80000002, const CString &root = HKEY_LOCAL_MACHINE, const CString &key = HARDWARE\DEVICEMAP\TOUCH\BUTTONS, CFile &out = 45FFFC48)
RegEnumValueW returns 0 The operation completed successfully. Count
RegEnumValueW returns 0 The operation completed successfully. Area
RegEnumValueW returns 103 No more data is available.
DumpRegKey(HKEY hroot = 80000002, const CString &root = HKEY_LOCAL_MACHINE, const CString &key = HARDWARE\DEVICEMAP\TOUCH\BUTTONS\3, CFile &out = 45FFFC48)
RegEnumValueW returns 0 The operation completed successfully. VKey
RegEnumValueW returns 0 The operation completed successfully. VKeyPuvodni
RegEnumValueW returns 0 The operation completed successfully. Area
RegEnumValueW returns 0 The operation completed successfully. Name
RegEnumValueW returns 103 No more data is available.
DumpRegKey(HKEY hroot = 80000002, const CString &root = HKEY_LOCAL_MACHINE, const CString &key = HARDWARE\DEVICEMAP\TOUCH\BUTTONS\2, CFile &out = 45FFFC48)
RegEnumValueW returns 0 The operation completed successfully. VKey
RegEnumValueW returns 0 The operation completed successfully. Name
RegEnumValueW returns 0 The operation completed successfully. Area
RegEnumValueW returns 103 No more data is available.
DumpRegKey(HKEY hroot = 80000002, const CString &root = HKEY_LOCAL_MACHINE, const CString &key = HARDWARE\DEVICEMAP\TOUCH\BUTTONS\1, CFile &out = 45FFFC48)
RegEnumValueW returns 0 The operation completed successfully. VKey
RegEnumValueW returns 0 The operation completed successfully. Name
RegEnumValueW returns 0 The operation completed successfully. Area
RegEnumValueW returns 103 No more data is available.
DumpRegKey(HKEY hroot = 80000002, const CString &root = HKEY_LOCAL_MACHINE, const CString &key = HARDWARE\DEVICEMAP\KEYBD, CFile &out = 45FFFC48)
RegEnumValueW returns 0 The operation completed successfully. Status
RegEnumValueW returns 0 The operation completed successfully. CurLang
RegEnumValueW returns 0 The operation completed successfully. RingerState
RegEnumValueW returns 103 No more data is available.
RegExportKeySimple ExportRegKey lRes = 1)
...

Categories

Resources