yashsingh1/xdaforums huggingface dataset:
[Sprint HTC One (M7)] ajskhan:
Long time lurker of XDA from many many years!

Question: does the hardware support different LED colors? I'm not familiar with the technology. Mine only shows Red and Green. Are there any apps that might enable custom colors or is it hardware limited?

Thanks.
[Sprint HTC One (M7)] david279:
Thats it no more....
[Sprint HTC One (M7)] thepuzzlemaster:
Yup. Hardware limitations. Some things (like light flow) will also give you an orange color option by combining the red and green light together.
[Windows Mobile Development and Hacking General] McFlown:
Hi Folks!

I'm trying to add GPS emulation to my navigation system, that is based on CellTracking via GSM.

Does anybody know how to create a virtual CommPort in eVC++ :?:

I tried it with function like ActivateDevice or RegisterDevice, but i always receive a zero Handle: :(

#include "winbase.h"

bool virtPortOpen(HANDLE& HandleGiveAway)
{
//HandleGiveAway = ActivateDevice(L"HKEY_LOCAL_MACHINE\\Drivers\\GPSvirt", 0);
HandleGiveAway = RegisterDevice(L"COM", 7, L"serial.dll", 0);
if ((HandleGiveAway == INVALID_HANDLE_VALUE) || (HandleGiveAway == NULL))
return false;
else
return true;
}

int virtPortClose(HANDLE& GetHandle)
{
return DeactivateDevice(GetHandle);
}

Did i use the right .dll-File? Need i create a own .dll-DeviceDriver with the DDK?

Please give me a hint! :cry:

Greetings,

Florian
[Windows Mobile Development and Hacking General] cairo31male:
http://www.eltima.com/products/virtual_drivers/
[Windows Mobile Development and Hacking General] McFlown:
ELTIMA Solution to expensive

Thanks for the URL, but i think that this solution is much to expensive for a student!

Any other suggestions?

Greetings,

Florian
[Windows Mobile Development and Hacking General] mamaich:
http://mamaich.kasone.com/rover/IrCOMM.rar

Archive contains a sample virtual COM-port driver. It is installed as a COM8 and after opening COM8 it redirects all data to COM1. You may modify the driver as you like.
[Windows Mobile Development and Hacking General] McFlown:
Post of "mamaich"

In this Archive is a C++ project, which deals with infrared communication. I don't know what it has in common with creating a virtual CommPort. - Haven't you postet the right file?

When i try to compile this project, i found out, that it calls some functions not included in the header files, or anywhere else! Look here:

Compiling resources...
Compiling...
IrCOMM.cpp
C:\Dokumente und Einstellungen\Administrator.MCFLOWNNET\Eigene Dateien\Programmierung\eVC\IrCommEmu\IrCOMM.cpp(34) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
C:\Dokumente und Einstellungen\Administrator.MCFLOWNNET\Eigene Dateien\Programmierung\eVC\IrCommEmu\IrCOMM.cpp(47) : warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
C:\Dokumente und Einstellungen\Administrator.MCFLOWNNET\Eigene Dateien\Programmierung\eVC\IrCommEmu\IrCOMM.cpp(77) : warning C4018: '<' : signed/unsigned mismatch
StdAfx.cpp
Linking...
IrCOMM.obj : error LNK2019: unresolved external symbol closesocket referenced in function WinMain
IrCOMM.obj : error LNK2019: unresolved external symbol recv referenced in function WinMain
IrCOMM.obj : error LNK2019: unresolved external symbol select referenced in function WinMain
IrCOMM.obj : error LNK2019: unresolved external symbol send referenced in function WinMain
IrCOMM.obj : error LNK2019: unresolved external symbol __WSAFDIsSet referenced in function WinMain
IrCOMM.obj : error LNK2019: unresolved external symbol accept referenced in function WinMain
IrCOMM.obj : error LNK2019: unresolved external symbol listen referenced in function WinMain
IrCOMM.obj : error LNK2019: unresolved external symbol bind referenced in function WinMain
IrCOMM.obj : error LNK2019: unresolved external symbol setsockopt referenced in function WinMain
IrCOMM.obj : error LNK2019: unresolved external symbol socket referenced in function WinMain
ARMRel/IrCommEmu.exe : fatal error LNK1120: 10 unresolved externals
Error executing link.exe.

Please give me further information! - Thanks in advance!

Florian
[Windows Mobile Development and Hacking General] mamaich:
Re: Post of "mamaich"

oops. Wrong archive. Should be http://mamaich.kasone.com/rover/RIL_hook.rar

it contains 2 projects:

Serial - a wrapper around the standart COM1 driver

seRILal - a virtual COM8 driver that creates COM8 and redirects all its IO to the first driver.
[Windows Mobile Development and Hacking General] McFlown:
Re: Post of "mamaich"

Sounds good. - Thanks!

I'll give it a try in the evening! - Too good weather here in Germany! ;)

Florian
[Windows Mobile Development and Hacking General] McFlown:
How to install virtual ports?

This project seems to be exactly what I was searching for! - Much thanks! :D

But I still have a question: :arrow: How do I install the drivers? - Should I place a new Key in the registry, and in that case, which values do I need to add?

When I try to load one of the drivers with RegisterDevice, I always receive a NULL handle.

Is it a problem that I have deinstalled the standart serial COM1? - But the serial.dll is still existing!

Greetings,

Florian
[Windows Mobile Development and Hacking General] mamaich:
Re: How to install virtual ports?

this project is coming from Anextek SP230. It had COM1 driver named xsc1_serial.Dll.

To install you should go to registry and modify COM1 driver to be serial.dll and add manualy COM8 driver to be seRILal.dll (you may choose any other COM-port number).

In case of Imate COM1 driver is com16550.Dll, so for this method to work you should recreate import library from com16550.Dll and overwrite Serial\serial.lib file with it. Otherwise your serial.dll would import functions from a nonexistent DLL and the system will crash.
[Windows Mobile Development and Hacking General] McFlown:
Re: How to install virtual ports?

Well,

thanks very much for your explanations!

But I still have a problem: How do i edit the link to the "xsc1_serial.dll" in the .lib-file?

Need it to be rebuild? - My Problem is that i only have emVC++ without DDK or Platform Builder! - It isn't availibe for free, i think!

Why is the .lib-file needed? - Does it export the COM_Write etc. fuctions to the project?

Thanks in an advance!

Florian
[Windows Mobile Development and Hacking General] mamaich:
Re: How to install virtual ports?

Probably you don't need this file.

My project is hooking COM1 and makes the real hardware accessible by both COM8 and COM1. As far as I understand you are trying to add a new COM-port to the system that would emulate a GPS receiver. You should take seRILal project, remove Redirected_COM_* functions, remove serial.lib from the project and write your own implementation of My_COM_* functions (they would be exported as COM_* functions, look into serial.def file).

Reed MSDN library for information on this, but remember that it is incorrect in most function prototypes :).

You should implement COM_Init (typically driver reads its settings from registry), COM_Open (allocate buffers, return HANDLE for the opened port, that is typically a pointer to allocated buffer), COM_Read (read data), COM_Write (wite data), COM_Close (free the memory allocated in COM_Open). All other functions should be present, but they may do nothing (simply return "success"). You should later implement COM_IOControl function, so that your driver would correctly implement read/write timeouts. My code does not implements this. All timeouts are hard-coded.

Everything is available for free (soft, beer, girls, etc ;)). At least in Russia.

Trial 120-day version of Platform Builder 4.20 is available for free from Microsoft.
[Windows Mobile Development and Hacking General] cruisin-thru:
http://franson.biz/gpsgate/index.asp

Maybe you could look here.
[Windows Mobile Development and Hacking General] mdodsworth:
Sorry I can't be any help but...

I've been thinking about CellTracking via GSM for a while now.

Most folk I've talked to in the UK tell me that it's not possible for a GSM device to discover it's own position !?

Any links or pointers on tracking ?

Ideally i'd like to append coordinates of the device on every post to the backend db.

Cheers (and good luck with the comm port thingy!)
[Windows Mobile Development and Hacking General] laurentb:
I need to creat on my ipaq 5550 a virtual comm port

Hi,

Have you solve your problem ?

I am working on a robotic project and I have the same problem but on a ipaq 5550 under ppc2003.

I need to creat on my pocket pc a virtual comm port.

Because I receive by WIFI, GPS NMEA sentences, so I want to redirect them to this virtual port, and finaly connect to this port my regular GPS navigation software.

Thanks

Laurent

FRANCE
[Windows Mobile Development and Hacking General] Busch38:
http://ourworld.compuserve.com/homepages/richard_grier/CFSerial.htm
[Android Themes] dEris:
Discovered the only LWP I like, and I really like it.

Watch it: https://www.youtube.com/watch?v=VBmasz00nzw

Download it: https://play.google.com/store/apps/details?id=com.formisk.aliquidcloud.free

[DEVICENEXUS⁴] [ROMXYLON] [KERNELFRANCO] [RECOVERYTWRP]
[Galaxy S 4 Q&A, Help & Troubleshooting] Xxxdevilxxx:
Hi,

Cant get access to the hidden/test/GSM & Battery menu using *#*#4636#*#* on S4. Is there a new code now?

thanks
[Galaxy S 4 Themes and Apps] justreboot:
Very nice / so much better than that ghastly green :)
[Galaxy S 4 Themes and Apps] hunhool:
It looks very nice.however I would use with transparent statusbar.Can you do that for me,please?
[Galaxy S 4 Themes and Apps] toscha42:
Sure, attached. :)

Cheers

Toscha
[Galaxy S 4 Themes and Apps] hunhool:
Do I need to delete SecSettings.odex file as I use odexed rom?(systemui already modifeied,so the odex file removed)
[Galaxy S 4 Themes and Apps] toscha42:
I've never deleted .odex before, so shouldn't be necessary. And I'm on stock odexed ROM as well. I guess there's still no de-odexed ROM for i9505 available at all.

Cheers

Toscha
[Galaxy S 4 Themes and Apps] hunhool:
I've just tried and there is no statusbar anymore :(
[Galaxy S 4 Themes and Apps] toscha42:
There was a small bug in SystemUI.apk, I've attached the correct one in my posting above. And don't forget to reboot after copy.

Cheers

Toscha
[Galaxy S 4 Themes and Apps] hunhool:
tried it,but still no statusbar.set permission,change owner,reboot but no success.

here you can find my original SystemUI.apk

Could you try to modify this with the blue things?
[Galaxy S 4 Themes and Apps] toscha42:
Not a big issue, so find attached.
[Galaxy S 4 Themes and Apps] hunhool:
yepp,everything perfect :D

thanks for your help :)

some pics:
[Galaxy S 4 Themes and Apps] toscha42:
Good to see that! :)
[Galaxy S 4 Themes and Apps] Vihru:
What bug you have in sysstemUi? It was too small when you compile it? And statusbar disappeared?
[Galaxy S 4 Themes and Apps] Jeshter2000:
Does it work on 9500?

Sent from my Octaaaa! Gt-I9500
[Galaxy S 4 Themes and Apps] Dayiqb08:
followed your instructions, softbricked my phone, thank you!

and thank you for the precautions now i am without a phone for atleast 12 hours
[Galaxy S 4 Themes and Apps] CQ7:
+1
[Galaxy S 4 Themes and Apps] Dayiqb08:
Hi again, must apologize for my anger, it was because of my lack of reading that caused this problem.. I am on base MDE !!

any suggestions on how I can recover?
[Galaxy S 4 Themes and Apps] leachimus:
Hi there, i have to copy and replace the original files directly?

First i have change the name of framework-res.apk to framework-res.apk.bak. This was a mistake. Because I had no way to copy the other file. The system had only further error messages and it dows not start anymore. :laugh:

I have to flash new original MDM ROM with Odin. Now it works again, but i have a little mind. :confused:

I'll wait you have to final a Version to flash over the recovery. I think its better. :D
[Galaxy S 4 Themes and Apps] DocRambone:
Op, use the zip as container for your theme. Less problems for you ;)

Drop the files into the folders inside the zip, use 7-zip or similar sw.
[Galaxy S 4 Themes and Apps] keygenSVK:
thank you it looks nice btw. which files must be edited in systemui for transparent statusbar ? thanks
[Galaxy S 4 Themes and Apps] bruzski:
same problem on djemby pre-rooted MEA slim rom!;)
[Galaxy S 4 Themes and Apps] toscha42:
Most likely all the same issue with the accidentally included test files. Best wait for ratcom's report as said in #180.

Cheers

Toscha
[Galaxy S 4 Themes and Apps] ratcom:
Didn't work with fresh wipe and flash :( I used the file from post 170
[Galaxy S 4 Themes and Apps] toscha42:
I'm lost ...

In the meantime I've uploaded a stand-alone SecCalandar_SPen.apk as flashable zip. If you might try ...

Cheers and thanks for your valuable feedback,

Toscha
[Galaxy S 4 Themes and Apps] ratcom:
Hmmm that file did work! I'm now themed which means there must by a error in the update script ??
[Galaxy S 4 Themes and Apps] toscha42:
AAAAAAAARGH! Sorry for crying out loud, but that was result of severe head banging.

The filename in the zip was wrong, it said 'SecCalendar_SPen' instead of 'SecCalendar_SPen.apk'. What a noobish mistake ...

Apologies for all the trouble it caused, shame on me.

I've uploaded a corrected, and hopefully now functional version again as 'Discreet_Blue_by_Toscha42_v1.2_VRTheme-Updater'.

Cheers

Toscha
[Galaxy S 4 Themes and Apps] ratcom:
Don't beat yourself too much , simple s happen. Thank you for taking the time to make should a great theme :)
[Galaxy S 4 Themes and Apps] toscha42:
Thanks for your warm words and above all for your patience. I've recovered already a bit again ... :)

Cheers

Toscha
[Galaxy S 4 Themes and Apps] kultus:
I dont thing they did something with ROM colours ;) BTW how to change the colour? I cant find res/values/colors.xml
[Galaxy S 4 Themes and Apps] ApriliaM3:
Confirmed working correctly now on GT-i9500 Thanks.

Actually I think this theme was worth it for the S-Planner alone! :D
[Galaxy S 4 Themes and Apps] toscha42:
You need to de-compile framework-res.apk first, typically using apktools. You wouldn't find readable xml-files without doing so before.

Another chance might be the following png file: /res/drawable-sw-360dp-xxhdpi/tw_background_holo_dark.png

The value of the color defined here is 'ff0808080', may be it's the one annoying you. As a png you can edit it without de-compiling framework-res.apk before.

Cheers

Toscha
[Galaxy S 4 Themes and Apps] kultus:
OK thanks i just cant get it out of my head will do it by myself when everything else fail...tried soo many ROMs and I think its kernel related. You said youre on stock MEA and have black background...I tried pure stock MEA but with kernel 3.4.0-768421. Whats yours?

edit: in post #176 you attached screenshot with the same kernel I have but your background isnt black!
[Galaxy S 4 Themes and Apps] toscha42:
I guess or postings slightly overlapped ... :) Look what I've edited above, may be it's helps.

And yes, in some backgrounds it's ff080808 also here, but I didn't care so far. Too seldom that I come to these screens.

Cheers

Toscha
[Galaxy S 4 Themes and Apps] kultus:
LoL but that was all about, the whole conversation was about the grey settings, contacts, messaging! So I lost so much time for nothing...you said you dont like grey at all remember #157 ;)

For me is grey very annoying especially at night so I will try one of these advices :) Any chance you will add it to your theme?

edit: cant find the background file you've mentioned before...where can I find it? Or I have to create it and add it into your theme?
[Galaxy S 4 Themes and Apps] toscha42:
You're totally right. When I compared backgrounds I wasn't aware that some of my screenshots still resulted from previous MDM ROM. I'll soon release a version 1.21 of Discreet Blue with real black background. Thanks for pointing me on this.

Cheers

Toscha
[Galaxy S 4 Themes and Apps] kultus:
glad to hear it : I also edited blue-light grey settings switches to blue-black but flash was aborted...did I something wrong? I unzipped your theme, edited switches, zipped it and flash throught CWM Sorry I never modded anything on android...so if you want you can use them, they should reduce smearing efect...
[Galaxy S 4 Themes and Apps] toscha42:
Instead of unzipping/zipping a theme it's better to just extract the questionable png files, edit them and copy them back into the original zip. May be you can try so.

Cheers

Toscha
[Galaxy S 4 Themes and Apps] ApriliaM3:
What's the weather widget in the screenshots of the OP mate?
[Galaxy S 4 Themes and Apps] kultus:
already tried before, but winrar said zip corrupted everytime I want to modify (extract,move, copy files back) your zip...dont know whats wrong. I rather wait for you ;) its not so difficult to edit couple of files so hope it will not took so long ;)
[Galaxy S 4 Themes and Apps] toscha42:
It's called 'Eye in Sky', but - suprise - with a modified icon set. ;)

Assuming I'll go for it ... ;) Currently I'm not really convinced that I'd prefer black off-switches instead of grey ones. But if you'd supply me your changed png files I'd create a flashable zip file for you.

Cheers

Toscha
[Galaxy S 4 Themes and Apps] ApriliaM3:
Don't tease me :) Where can I get your version so it looks like the OP? :)

Also, I'd be interested to see the black switches screenshot when it's finished.

Edit: I tried it and I like it :D My homescreen looks great! Can you also share the BMW wallpaper as I'd like to try that?
[Galaxy S 4 Themes and Apps] kultus:
I already uploaded them in some post above ;) only changed grey second colour to black no other changes...as I can see maybe some other ppl will be interested ;) THX
[Galaxy S 4 Themes and Apps] toscha42:
Sure, not a problem at all. :)

Btw, you can use the icon set also for Beautiful Widgets with only small modification. I still use BW on Galaxy SII due to its smaller screen.

Attached please find a zip with the icon set. You need to copy the directory onto sdcard under 'Android/data/com.citic.weather/Custom Icon Sets. Then you can select it in Eye in Sky settings.

Enjoy

Toscha
[Galaxy S 4 Themes and Apps] pdash79:
Works on i9500 on i9500XXUBMEA build

Hi,

Not sure if it has been already mentioned.

I just wanted to update that the latest version works great without any issues whatsoever on i9500 with the latest build i9500XXUBMEA.

Much thanks to Toscha42 and anyone else who has contributed to making this theme.

All you guys, you are awesome.

Pdash
[Galaxy S 4 Themes and Apps] ApriliaM3:
My Homescreen :)
[Galaxy S 4 Themes and Apps] toscha42:
Nice weather forecast :)

Cheers

Toscha
[Galaxy S 4 Themes and Apps] ApriliaM3:
Yes it's always nice and warm in Thailand :)

What have you got planned for future releases mate? Anything interesting in progress?
[Galaxy S 4 Themes and Apps] toscha42:
For one week at least we're trying to catch up ... :)

Plans for Discreet Blue:

- There're still menus which I'd like to bring into the same style. In general the interface is not yet totally consistent.

- Some stock app, e.g. Email, still don't look like Discreet Blue.

- Currently main focus lies on straigthening the UI.

If there're other suggestions from user side I'd look into them. Without promising to implement them directly. ;)

Cheers

Toscha
[Galaxy S 4 Themes and Apps] ApriliaM3:
Nice... I'll send you some app icons from a friends SGS2 theme... Some would match better than the current ones I think.

Also, I've always liked the Clear button in the notification pulldown to look like an actual button... and blue text for Clear :)
[Galaxy S 4 Themes and Apps] toscha42:
As said already by PM, 'll look into the icon set.

For the meantime here's a small update, mainly cosmetics:

18.06.13: v1.21

- Expanded status bar: Clear button, background for subtitles, text colors in general.

- Black background for stock app (ff000000 instead of ff080808).

- Menus in stock apps dark grey instead of dark blue.

Download: 'Discreet Blue v1.21'; delta Update only, version 1.2 (start posting) needs to be installed first.

Cheers

Toscha
[Galaxy S 4 Themes and Apps] kultus:
Dont know why, but some bad bad thinks just happened. Unfortunately I didnt backup and cant boot now after 1.21 update. Im on Wanam 1.0 very stable no problems so far with discreet blue 1.2+transparent statusbar. After flashing 1.21 system UI stopped work every 5s so I flashed 1.2again but didnt boot anymore :crying: so have to restore from older backup.
[Galaxy S 4 Themes and Apps] ApriliaM3:
No such issue here on WanamLite v1.4
[Galaxy S 4 Themes and Apps] toscha42:
Is Wanam 1.0 based on XXUBMEA or a previous ROM? There were some changes made from pre-MEA ROMs to current MEA and later ROMs. This would explain why it works on Wanam 1.4 but not on Wanam 1.0. If you don't want to migrate onto Wanam 1.4 you might try Discreet Blue 1.1 whixch was based on MDM ROM.

Cheers

Toscha
[Galaxy S 4 Themes and Apps] kultus:
ME2 but I had no problems with 1.2 version...
[Galaxy S 4 Themes and Apps] toscha42:
I'm sorry, but I have no clue why it doesn't work for you. Delty update v1.21 is just 3 png files in framework-res and 5 png files in SystemUI, plus resources.arsc (color definitions).

Cheers

Toscha
[Galaxy S 4 Themes and Apps] kultus:
no problem :) I will do full wipe and try some new ROM MFx...so cant wait for full black backgrounds is stock apks...
[Galaxy S 4 Themes and Apps] ApriliaM3:
Wanam has released new WanamLite v1.5 now so it might be time to update :)
[Galaxy S 4 Themes and Apps] hunhool:
Hi,

I've just flashed wanam's MF4 V1.3.

If I want transparent statusbar which one should be flashed from OP?

Thanks
[Galaxy S 4 Themes and Apps] toscha42:
I've just updated the start posting. Under 'Mini Mods' you'll find transparent status and notification bar (for XXUBMEA).

Cheers

Toscha
[Galaxy S 4 Themes and Apps] toscha42:
22.06.13: v1.22

- SMemo2 adopted to 'Discreet Blue'.

- Several icons reworked (e.g. GPS, up- / download animation etc.).

- Icons for roaming adopted.

Download: 'Discreet Blue v1.22'; delta-update only, version 1.2 needs to be installed first.

Cheers

Toscha
[Galaxy S 4 Themes and Apps] kultus:
Ok after new install Wanam 1.3 MF4 + Adam 1.4-> Discreet 1.2->1.22->transparency everything is working! So here Im uploading my suggestion for some editing. Please copy edited screenshot into your phone and check how my very little editing (removed grey lines and grey parts in switches) reduced smearing efect...so if you like it maybe you can use it in other parts of system apks...

edit: one question, Has it some purpose that received file arrow is orange in notification bar?

And personaly white notifications font which appering in lower third of display are nicer instead of current blue ;) just suggestion
[Galaxy S 4 Themes and Apps] toscha42:
First of all, many thanks for your suggestions! Although I'm not yet totally convinced I'll think about it.

Here my reasoning:

- I really like the subtitles with a dark grey background, but I also don't care about this so called 'smearing effect'. It simply doesn't bother me.

- The text color you mentioned is still stock. I like the idea of having the explanation in a different color, symbolizing its reduced importance.

- The activity arrows stand exactly for this, symbolizing network activity. In 'Discreet Blue' all static content is blue whereas traffic activity is either green (upload) or orange (download).

Cheers

Toscha