yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Development and Hacking General] Morbyd:
Hi people. Only my 2nd post here.

Recently picked up the amazing Samsung i780 and then found these forums. Thanks to you all for the icons, program advice, etc. that has turned this into the best phone I've ever seen.

Over the past few days, I've constructed a 6-panel UltimateLaunch interface, with plugins like Rltoday (for active icons on one page), weather, agenda, battery monitor, and GPRS monitor. Looks great. No function I regularly use further than two screen taps away.

Now I've come to this final hurdle: How to show unread messages for individual mailboxes. Where can we get this information?

I've looked through the registry and while there are folders for each email account under HKEY_CURRENT_USER\System\State\Messages\, those folders do not contain the "Count" variable.

In the HKEY_CURRENT_USER\System\State\Messages\OtherEmail\Unread folder there is an extra line called "Text" which shows "emailaccount1 (21)[]emailaccount2 (3)". I assume this is what gets used in the standard Today plug-in that shows unread emails.

The question is, how is this text generated? There must be some way to get data for each inbox. Any ideas?

Alternatively, is there a way to pare this text down to just the numbers? I want to map them onto separate icons (already existing) on my rltoday page that take me direct to each individual mailbox.

As an side, I'll just say that UltimateLaunch is the best WinMo program ever!! Stable, fast, and really turns a WM phone into what it should be - graphical, configurable, flexible. And did I mention stable? No crashes or glitches even on the i780's 320x320 screen which throws some programs (eg. Pocket Plus) for a loop.
[Windows Mobile Development and Hacking General] bluemetalaxe:
can` help you, but as a professional user you should know that the name is "Ultimatelaunch" not launcher. but dont worry everone here is doing that Wrong.
[Windows Mobile Development and Hacking General] Morbyd:
Oops... ya.. sorry. No offense to the author! (edited post above)

It really is a great program. I tried out many of the other UI options and it's just tops. Only problem now is that modding my phone has taken up too much time over the past week. It's really addictive.
[Windows Mobile Development and Hacking General] Morbyd:
OK, here's a screenshot of the page in queston.

As you can see, I've got separate icons for 2 email accounts and a bridge between them showing total unread mails. But what I'd really like to do is for each to have it's own separate number.

Any ideas out there?

(and big thanks to bluemetalaxe for all those icons. Modest donation coming soon...)
[Windows Mobile Development and Hacking General] spencepu3:
These should work, I use them for batterystatus

voicemail count number:

<registry key_value=HKCU\System\State\Messages\vmail\Total\Unread\Count/>

sms unread count number:

<registry key_value=HKCU\System\State\Messages\sms\Unread\Count/>

total email unread number:

<registry key_value=HKCU\System\State\Messages\TotalEmail\Unread\Count/>
[Windows Mobile Development and Hacking General] jomo25:
Thanks, but I think the OP is looking for counts for specific email accounts, not just "all emails". Is that possible with BatteryStatus, cuz I'd like that also...
[Windows Mobile Development and Hacking General] robp:
Search msdn.com for details on the State and Notifications Broker api (SNAPI). I think this is in the Microsoft.WindowsMobile.Status namespace if you're using managed code.

Also look through the docs for the Messaging API (MAPI).

Here is one link on MAPI: http://msdn2.microsoft.com/en-us/library/ms879918.aspx

One of those two api's should tell you what you need to know. Hope these help.

EDIT:

Managed Messaging API is in the Microsoft.WindowsMobile.PocketOutlook namespace.
[Windows Mobile Development and Hacking General] Morbyd:
That is correct. As you can see from the screenshot above, I've already got total email counts, sms counts, etc. Those are simple registry keys. But there don't seem to be registry keys for individual mailboxes.

Robp - thanks for that. I'll have a look right now and report back if I find anything.
[Windows Mobile Development and Hacking General] nimbusbrew:
I had the same issue when using RLToday and here is the solution that I came up with. I installed mortscript and then had this script running in the background.

#ErrorLevel("off")

While (1)

Mailstring=RegRead("HKCU", "\System\State\Messages\OtherEmail\Unread", "Text")

#Convert String to values

maildet=part(Mailstring, "(", 1)

parse1=part(Mailstring, ")", 1)

num1=part(parse1, "(", 2)

parse2=part(Mailstring, "(", 3)

num2=part(parse2, ")", 1)

if (maildet eq "Yahoo!")

RegWriteDword ("HKCU", "System\State\Messages\OtherEmail\messStatus", "yahoocount", num1)

RegWriteDword ("HKCU", "System\State\Messages\OtherEmail\messStatus", "gmailcount", num2)

Else

RegWriteDword ("HKCU", "System\State\Messages\OtherEmail\messStatus", "yahoocount", num2)

RegWriteDword ("HKCU", "System\State\Messages\OtherEmail\messStatus", "gmailcount", num1)

EndIf

Sleep( 300000 )

EndWhile

This script looks at the reg key that you mentioned above, strips out the numbers and updates new reg keys with the values. I also created two Reg Keys for the text of the mail accounts. I also found out that the order of the text in Keep in mind that the order of the mail accounts can change, hence the if statement to sort out which is which. This is fine for two mail accounts but gets more complex for any more.

A couple of caveats, I am but no means a programmer, so I'm sure that there is a much more elegant way to do this and I have no idea how much of a resource hog this script is. But it does work. You might want to adjust the sleep time to get a better real time snap shot otherwise you might be ~5 min out of sync with you email count.

Dave.
[Windows Mobile Development and Hacking General] Morbyd:
You're a star.

I just spent a bit of time learning all kinds of interesting things about MAPI but not quite finding a solution.

This is a much easier way out. I'm off to give it a try.
[Windows Mobile Development and Hacking General] Morbyd:
update: Big thanks Nimbusbrew!

I installed Mortscript and put a slightly modified version of his script in my Startup folder (changed the key names to match my mail folders and reduced the sleep time to 100000 milliseconds)

I now have working registry keys to which I can point my indicators on rlToday for each individual mailbox.

I had a feeling from the start that Mortscripts were the answer but hadn't gotten around to learning them yet. I'll have to take another look through that Mortscripts scripts thread to see what other fun can be had...
[Windows Mobile Development and Hacking General] nimbusbrew:
Glad I could help
[Windows Mobile Development and Hacking General] robp:
Just out of curiosity are you using managed code or native code for your project?
[Windows Mobile Development and Hacking General] Morbyd:
I'm not much of a programmer, just a newcomer part-time phone hacker, but I guess you would consider it managed code since this particular routine is compiled by Mortscripts and any small bit of design code xml I've cooked up is going through rlToday, Batterymonitor, etc.

(or did I totally misunderstand the question?)
[Windows Mobile Development and Hacking General] robp:
It sounds like you kind of misunderstood the question but you still told me what I needed to know . :-)

At any rate, while I'm happy that you got it to work, I think you should eventually find a more robust solution that works for more than two email accounts.

You could write something like that in C# in less than 30 minutes probably. Let me know if you need any help with that in the future.

Also, managed code usually refers to code written with the .NET Framework. I'm not really sure how to categorize mortscript. Just a (really cool) scripting language I guess.
[Windows Mobile Development and Hacking General] thetrk:
I'm intreasted in doing something very much the same, but I'm not so smart and haven't yet done anything with mortscript, although it's installed on my pocket pc. Can you walk me through what I need to change in the registry and what the mortscript will be? I have two email accounts ("Hotmail" and "Providence") that I want to keep count of.

Thanks.
[Windows Mobile Development and Hacking General] Zoltair Wright:
Don't know if anyone still needs it, but I've written an improved version of the MortScript that works with any number of email accounts, and writes each account's unread total to a registry key with the same name as the account. I hope someone finds this useful.

Call( "main" )

Sub main

# Gets the original string of unread values.
mailstring=RegRead("HKCU", "\System\State\Messages\OtherEmail\Unread", "Text")

# Clear out values (in case of one account having zero unread).
RegDeleteKey( "HKCU", "System\State\Messages\OtherEmail\Unread\Accounts", TRUE, TRUE )

# Goes through and turns each individual account into its own registry value.
ForEach mailpart in split( mailstring, ")", TRUE)
emailname=part(mailpart, "(", 1, TRUE)
emailnumber=part(mailpart, "(", 2, TRUE)
RegWriteDWord ("HKCU", "System\State\Messages\OtherEmail\Unread\Accounts", emailname, emailnumber)
EndForEach

While( mailstring eq RegRead("HKCU", "\System\State\Messages\OtherEmail\Unread", "Text") )
Sleep( 500000 )
EndWhile
Call( "main" )

EndSub
[Samsung Galaxy S7 Edge Questions and Answers] zzThrain:
As youve read from the title, i had a battery replaceemnt on the phone, and the old battery leaked in the process, and has left some residue, on the battery slot. It stinks of a metallic smell which honestly smells disgusting. The phone is still fully functional, however, but this smell is awfully nauseating.

Any advice guys?
[OnePlus 6 Questions & Answers] itsmohsink:
Can anyone confirm does OnePlus 6 supports Netflix / Amazon Prime HDR option?

Secondly does its Vibration changed as compared to OnePlus 5 phone is concerned because OP 5 vibration alerts are very weird, thanks.
[OnePlus 6 Questions & Answers] R3VX:
I don't think the OP6 supports HDR yet for Netflix.

It does work amazingly well on youtube HDR videos tho.

But netflix only supports like 10 devices atm if im right
[OnePlus 6 Questions & Answers] itsmohsink:
Yeah I was just reading it online Netflix HDR is not available on OP6 yet!!
[Galaxy Note 4 Q&A, Help & Troubleshooting] hero-7:
Hi lovely community! (really appreciating every single time you have helped me out!!)

Here we go again :o :

My brother broke his S8+ no money for a new device so i gotta donate my liver (My old Note 4)

It was rocking an Norma Rom (loved it still miss it) But since his kid is always bugging with his phone he demands a fingerprint lock..

So i formated the phone and after 3 days of struggle (BL,CP,Kernels etc..) i managed to get the stock 6.0.1 Rom from Omega (thank you bro Greeks are awesome!!!)

Overall its running gread (actual 10 minutes of testing:D) But the menu is so old.. and ugly AF..

I need some kind of a flash i can do with TWRP that will get the menus a bit more up to date, and add an actual working AOD (always on display) without breaking the fingerprint lock.

Basically i just need the looks of Android 7 not impacting functionalities, a sort of Theme i`m guessing..

So proud Note 4 owners is that possible?

Thank you for your time,

All the best!
[Galaxy Note 4 Q&A, Help & Troubleshooting] hero-7:
R.I.P Note 4 in 2018?
[Galaxy Note 4 Q&A, Help & Troubleshooting] w41ru5:
I don't know what phone you (or your brother has) have 910C/F - exynos or snapdragon.

To have AOD on stock is not possible, it needs porting over framework and libs and stuff from S8, S8+, N7 or similar.

Most of the ported ROM's have the fingerprint broken, s and there's a workaround only with a custom ROM, so again not possible for what you want.

Basically you want a nougat "look" on a stock ROM. Not sure you gonna find this.

You may try this ROM - https://xdaforums.com/note-4/development/rom-t3768967 which has a SystemUI Full Like S7, but it's only for the 910C (Exynos model).

Disclaimer- I'm not responsible for your decisions.

Good luck & read moar ;)
[Android Q&A, Help & Troubleshooting] JiteshJAAT:
I had extract .npk file of Android game RULES OF SURRIVAL AND EDITED THE CODE , NOW i wamt to repack the files to .npk extension.. how to do it in a working condition .. it should be a validation process ..
[Android Q&A, Help & Troubleshooting] GIRLgaming:
How to edit .npk file

How To edit .npk file? I tried so many programming tools but I cannot edit it. Please help me:fingers-crossed:
[G4 Q&A, Help & Troubleshooting] dharakv:
Anyone know the difference between the LG device ID and the Android ID? Any idea which partition it might be stored in? Would other variants such as H810 H811 H812 etc have a device ID as well?

Thanks alot
[G4 Q&A, Help & Troubleshooting] ThePiGuy:
fastboot oem device-id

Btw you do realise you are effectively trying to reverse engineer hashing - and there is a reason why hashing is a trusted method of verification
[G4 Q&A, Help & Troubleshooting] steadfasterX:
The Android device ID is generated on the first Boot and can be easily changed as its stored in the data Partition once generated. This ID is used for example when you buy something in the Google Play Store. .

the fastboot device ID is coming from the internal flash memory of your device and is absolutely unique for every device and there is no (easy) way to modify it. If that is even possible because maybe it's just generated by the CPU.

You can't even see where it is stored as long as you do not use a box which is able to direct Flash (usually this requires soldiering or special cables as well).

It's like the PBL which is the primary Bootloader and you are not able to see / modify that as well. If you could do so you'd be able to flash your own certificates and signed Bootloader stack and can just switch off Secure Boot or enable Unlock in fastboot.
[G4 Q&A, Help & Troubleshooting] dharakv:
Came across a program called QPST. Hopefully it will be of use
[G4 Q&A, Help & Troubleshooting] dharakv:
The command doesn't work on my H812. Any idea how to get the H815 commands onto H812?
[G4 Q&A, Help & Troubleshooting] ThePiGuy:
You haven't exactly been descriptive about the error.

Anyway, there is little to no chance this will work - [MENTION=5545101]steadfasterX[/MENTION] spent a year working on UsU and I believe he said he already gave this a go
[G4 Q&A, Help & Troubleshooting] dharakv:
If I remember correctly the output is blank. I will double check and let you know. Either the command doesn't work or my device doesn't have a device ID (maybe only EU H815's have them)
[G4 Q&A, Help & Troubleshooting] steadfasterX:
No. And before you start using it ensure you understand that this can easily brick your device, convert your device and blow fuses. I can just highly recommend to stop here.

Every device has it. But the fastboot is different on every model and even firmware.

The fastboot on a h812 does not need to show it because it can't be unlocked that way. That's all.
[G4 Q&A, Help & Troubleshooting] dharakv:
Does a blown fuse instantly mean hard brick? Also, if the h812 fastboot commands aren't complete, how can I view my device ID? is there any other way?

Thanks for all your support and advice.
[G4 Q&A, Help & Troubleshooting] steadfasterX:
Blowing fuses means not hard brick. It means several things behave different without any way to revert as it's a physical one-way process.

One well known fuse is ARB. Read about that in the antirollback post linked in my signature.

Another is happening when using qfil which afterwards only allow special firehose programmers ( and we have only 2 which not are able to handle the latest ones ) and there are also many fuses unknown as there is no official or leaked documentation about it.

PS: the thanks button is there for a reason..
[G4 Q&A, Help & Troubleshooting] dharakv:
If only I can somehow get an H811 KDZ onto it...

Maybe if I flash H810 KDZ and then the H811 KDZ?
[LineageOS Questions & Answers] lapist:
I have Nubia Z17 Lite and there is also unoffical port of LOS 14.1 created for it. The phone has almost no side bezels and stock ROM limits sensitivity to touches on the edges of the screen.

One of problems with LOS on this phone is that the screen edges have the same sensitivity as the rest of the screen, and thus it is very hard to use the phone when I hold it in hand, as just holding the phone generates touches on the sides and I can't even scroll the text.

Is there any way how to disable/limit touch sensitivity on the sides of the display in LineageOS?

How do devs handle it with other bezel-less phones like Samsung S8 / S7 Edge and similar?
[Fire TV Q&A, Help & Troubleshooting] Puca11:
Looking for someone to shine a light on this

Bought a fire tv 3, started setting up, connected to my net, starts to download then says connection lost! checked my net its fine, tried it on a friends net and still no joy! cant find anything on it! any help? thanks
[General Questions and Answers] JarekStudio:
I need it because I can't get into TWRP recovery. Mobile is restarting while entering recovery.
[General Questions and Answers] Ibuprophen:
I don't have this device but, I believe that the following thread may be helpful for what you are looking for that's specific to your device. Don't be afraid to ask for some member guidance within it too.

https://xdaforums.com/showthread.php?t=3536329

Good Luck!

~~~~~~~~~~~~~~~

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[General Questions and Answers] JarekStudio:
Thank you, I found it on another site.
[Touch Cruise General] Binkey_2:
Sorry if this has been answered before (I did have a search thought the forum)

I am having a bit of trouble when I send/receive mail from my Orbit2 it seems if I have about 12 mail headers on the phone and I Send/receive it will not show any new mail (even thought if I log in on the web there can be quite a few waiting)

The only way I can get to do download new mail is to delete all current mails on the phone for the account send/receive wait until the clear and then send/receive again

This will bring them thought but only up to a max of about 12

I have deleted and re-set up the account and checked all settings I can thing of

Any ideas? Am I being dense or is this a common problem?

Thanks in advance

Binks
[Touch Cruise General] gnick666:
Does your provider support IMAP?

If so you should try that... but, sorry I don't really have any other ideas :(
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] 4jean:
Hello,

Please I need help unlocking AT&T Samsung s4 i337 on Android 5.0 lollipop.

I read about Region Lock Away but it requires root and unable to find a possible rooting guide because it's Android 5 lollipop and locked bootloader prevents me from installing custom recovery

Please I need guidance if I should downgrade the Android version. Which one will be preferable that supports rooting and Sim/network unlock.

Thanks for your favorable response

[IMG="About 1"]https://s8.postimg.cc/wmo6yayj9/Screenshot_2018-07-19-14-37-53.png[/IMG]

[IMG="About 2"]https://s8.postimg.cc/lblj9k1ud/Screenshot_2018-07-19-14-38-20.png[/IMG]
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] audit13:
I recommend contacting AT&T to see if they will provide the unlock code for free. If not, look on eBay for an AT&T unlocker.
[AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin] 4jean:
Well I finally unlocked the phone

- I downgraded to android stock 4.4.2 using odin

- Rooted the phone with towelroot

- Installed safestrap Recovery

- Flashed baseband to MF3 using safestrap

- Unlocked network with RegionLockAway

- Unlocked Tethering & Hotspot with Xposed Installer

Though I did not try going back to lollipop. I am quite satisfied now.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] ROMAN ARICK:
#RN5 Pro

I've Tried This mod on {MIUI 10}

Finally it's works perfectly

[ROOT] [REQUIRED]

{Enable camera2api}

1.Download and install the Modified ARCore and AR Stickers APKs. Given link

2.Download calibration_cad.xml.

3.Install Es File explore or use any other root-enabled file explorer.

4.Move calibration_cad.xml to /system/etc.

5.Download and install BuildProp Editor from the Play Store.

6.Open it and add this line: ro.config.calibration_cad=/system/etc/calibration_cad.xml

7.Install one of the following modified Google Camera APK from Given Liken

8.Reboot u r phone

9.Open up Google Camera and look for AR Stickers in the menu.

Link:

1.Ar core https://drive.google.com/file/d/1M_Qb8HTfeWn448ftXA-Lbp1pkpzBQf9q/view?usp=drivesdk

2. AR Stickers

https://drive.google.com/file/d/1nQhQDU8yBPALkPgkJP8XreNXuSM_VhvT/view?usp=drivesdk

3.Gcam

https://drive.google.com/file/d/1ln8iHWcna9UptODLE3CvFYP0JZ7LqDH7/view?usp=drivesdk

4.calibration_cad.xml

https://drive.google.com/file/d/10-AogUvJr-FAdntZjRIozopPpmge-1Ni/view?usp=drivesdk
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Karthik Sivamani:
Hello first of all thanks for your work on this device .

The mod works good on my redmi note 5 pro (miui 10 8.7.12 beta).

I really like it . Thanks ??
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] ROMAN ARICK:
Njoy man
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] haigal:
Ar core has stopped working.

I tried this on miui 10 global 8.7.17 beta. It shows ar core has stopped working when using ar stickers . I also tried several ar core apps . The problem seems to be with the ar core app . Any solutions?

Edit : I got it working just needed to restart the phone . Thanks a lot love this :) . Also other ar core appd like measure doesn't seem to be working :( .
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] ranggi:
cant recording or capture
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] chivomugroso:
I cat use this, camera is fc

I'm on miui eu 10, 8.7.12, Redmi Note 5 Global
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] ROMAN ARICK:
You have 2 enable Enable camera2api

Download this file and install via twrp

Link:https://xdaforums.com/attachment.php?attachmentid=4399532&d=1516885596
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Mulham82:
Guys .. can I install this on any AOSP ROMs.

Thanks.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] ROMAN ARICK:
Yes u can install
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] chivomugroso:
continuous without working
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Half Alive:
Tested with dotOS ROM .. Working fine till now.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Madseb:
I install this on Pixel Experience ang i got a bootloop, have to copy again build.prop
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] kris_95:
Working with miui 10 beta 28/06
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] nectons@gmail.com:
It works!. But front camera with this version is not working. I installed both this version and the latest arnova version and now everething works perfect. Arnova s more stable thouh... Thanks man.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] haigal:
i have a slight problem that every time i reboot the phone my calibration.xml file keeps dissappearing and i have to copy again to system/etc to get it working . any workarounds ? :)
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] SekoLos:
Awesome works great but breaks front cam
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] rgawenda:
I've just built this into a Magisk Module that's working for me in Pixel Experience PIE. Waiting for OP permission before submitting.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] rfkw:
It works with AR Stickers in Google Camera but doesn't work with other ARCore apps such as Measure.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] borndead:
AR core and AR stickers are Crashed

MIUI 10 Global Stable
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] EdoNINJA93:
I'm looking forward to it! :)
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] Lukenshin:
This mod crashsed cam miui 10? already im last miui eu 8.9.13.
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] MartinMGS:
Has this been released?
[Xiaomi Redmi Note 5 Pro Themes, Apps, and Mods] cl06:
Works Fine on Redmi Note 5 Miui 9.5