yashsingh1/xdaforums huggingface dataset:
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] odyseus:
You find threads on converting CAB's to OEM packages but not the other way round.

The trouble is when you extract a ROM, you'll probably find in the SYS directory, the OEM folder you want with all the relevent files. BUT you won't know where they all go. And if the files you want are in the OEMApps folder you won't know what files need to go together. What I do is look at a similar OEM package (See Alex's excellent work) and this will show the files you need, where they go plus any registry settings. You can probably copy over the newer files from your extracted ROM to the OEM package, overwriting the older files.

If the OEM package doesn't exist it will be a long, long job!! You need to search through the files on a device with the installed ROM and make a note of the location of the application files - this is required for the install.txt file. The next problem (& the major one) is to find any relevant registry settings - again you can search through the registry of the installed ROM. Now all this take a lot of time and effort...
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] sambartle:
You can cheat a little bit here though, some apps will recreate any missing entries with sensible defaults if you leave them out.. others wont.. for those you can find ANY version of the CAB that you want to use (even an older one say) and use its registry as a guide to where to find the ones for the new version.. the registry locations dont change that much between versions usually.

you'll still get issues.. but in most cases this helps if not works :D
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Thanks for your info sambartle and odyseus. I had feared as much based on what I had found through search already, but thought there might have been a way... I guess _Alex_ and others do quite alot of legwork to extract and make all these things themselves.

I can't quite understand it however.... If I take a windows PC for example (which is similar in it's registry) I couldn't necessarily find all the associated files and registry keys associated with an application. If you are lucky they are all under one folder and one key of the registry... but something like MS Office installs so many shared files, and classes objects into the registry it would be nigh impossible to recreate that (even given the time).

Unfortunately, if the last posts I read are accurate the developers here won't be providing new OEM dumps for a while. Maybe once 6.1 is more widely released microsoft will allow download of the new mobile desktop.

Ah well, thanks for your help.... and to the other posters...it's worthless posts like yours that contribute nothing to the forum that makes extracting useful information through the forum more difficult than it should be.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] _Alex_:
It requires alot of testing and re-installing or re-flashing, sometimes on the same ROM, sometimes on different ones, just to iron out the bugs. It's one of the reasons why I released AT&T and HTC versions in the past, just so that I can have two platforms to test on.

Windows CE is alot simpler than Windows XP by at least 10 fold. Yet there are people who have created portable versions of Microsoft Office through the use of deployment applications like thinstall, so anything *IS* possible, with automation. :D

Automation that works at the functionality of thinstall for CE doesn't exist because of economies of scale (e.g., it's not worth any developer's time to create a deployment package as robust as Thinstall for the PPC).

Dumping and stripping is relatively easy once you've gotten the hang of it. You just need to keep at it.

Personally, I just don't find it to be challenging any more, since I've done quite a few AT&T/HTC WM6.0s and HTC WM6.1s and I'm now waiting for an official shipped version (no more leaked betas!!!).

Your initial question / thread starter didn't have many details, so I would have flamed you too, although I would have also provided a link to my OEM Package Tutorial (Creating Packages from ROM files section)

It never hurts to be overly verbose when asking a question. This would make the flamers leave you alone (because they'll just get tired of reading) and should *NOBODY* respond within a couple of days, when you bump it (with flowery encouraging yet challenging words, like 'You guys are so great, but nobody could answer my question?'), nobody will mind that you did, and you will get answers after that bump... :D

FWIW, I still think this should have been a question asked in the OEM Tutorial thread, which I have subscribed and respond to much more frequently than new threads which I'm not aware of until I actually have the time to READ new threads. It's also because, should anyone have similar questions, it'd be much easier to fiind in the bigger OEM Tutorial thread than in this one...

Hope this helps!
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Thanks Alex... as you said you would have provided me the link to your Creating Packages from ROM section which I did gloss over briefly previously but didn't totally see how it helped me (since I was looking for Cabs). But, now that you point me there I again I took another look and got some useful information.

So this is where i am at:

Ok,

So first I extract the ROM using your kitched script, then in the SYS folder I find two folders that seem to be what i want:

RemoteDesktopMobile

RemoteDesktopMobile_Lang_0409​

Inside the first folder are subfolders with names like:

MvkLib.dll

and

wpctsc.exe​

and inside those are an actual DLL or EXE file, and some other files called imageinfo.bin, imageinfo.txt, and some files S001, S002, s003, etc...

I am going under the assumption that all I need is the .DLL file, and the rest are some sort of uncompiled form of the DLL? (Please let me know if i need to pay attention to those other files.)

So I take all those DLL and EXE files. I also look for and find an INITFLASHFILES.DAT and don't see any references to these files, so i assume they all go in \WINDOWS?

There is also an RGU file inside here that has a few registry keys for this application.

Inside the second folder is just a DSM, and a couple of .txt and .htm files. Since these files aren't in INITFLASHFILES.DAT either, I assume they just go in \WINDOWS?

I also find a provxml file in \OEM\OEM_Lang_0409 called mxipupdate_RemoteDesktopMobile.provxml.

The contents are:

<wap-provisioningdoc>
<characteristic type="FileOperation">
<characteristic type="%CE11%" translation="install">
<characteristic type="MakeDir" />
<characteristic type="Remote Desktop Mobile.lnk" translation="install">
<characteristic type="Copy">
<parm name="Source" value="%CE2%\wpctsc.lnk" translation="install" />
</characteristic>
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>

Based on my reading of the links off your page and some further research this file seems to say the following:

Make a directory (if it doesn't exist) called \Windows\Programs (%CE11%)

Make a shortcut in the directory called Remote Desktop Mobile.lnk (the decimal ASCII text) that maps to \Windows\wpctsc.lnk (%CE2%)

So... now I have:

A handful of files...I need to put them in \Windows

I have an RGU file with a couple registry entries I need to import into the registry

I need to make

a shortcut to the exe int the \Programs directory

How then do I now package all this up into a CAB that will automatically perform the above operations?

I know about "makecab" to actually package all these up into a cab. But how to i write the command file that tells it how to do all the provisioning and registry entries?

Please let me know I am on the right track.

Thanks!
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
Ok...I found a program called WinCE Cab manager that made the process pretty easy. I installed it on my device and it seems to work well.

I have uploaded it here:

http://rapidshare.com/files/104977265/Windows_Mobile_Desktop_6.1.cab.html

Where is the appropriate place to post this to share with others?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] kidnamedAlbert:
yeah like people have said dumping the rom is the way to do it but most roms nowaday dont have the files for you to recook(so no oems)

so the best thing is to do is get the cab yourself and convert it to an oem with ervius's package creator
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bengalih:
sorry kidnamedAlbert...I'm not sure where you were getting at there... the whole point of my post was how to get those cabs made from the ROM in the first place. As you can see from the previous posts it seems I have already resolved (or started my way to) getting this done.

Personally, i prefer to have the cab file as I am more interested on just being able to install it on my device then cook it into a ROM. If someone wants to cook it into a ROM that seems to be a well documented procedure if the cab file is already available.

In my case, there was no cab file available for the latest version of Windows Mobile Desktop...so i made my own from the ROM.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] californiarailroader:
One word: RELAX and STOP SWEARING, geez.
[Moto G5S Plus Questions & Answers] l0gandroid:
Is there any way to block (mark as spam) incoming unknown calls?

I´d like to be able to block any incoming call from unknown people without using any additional app.

:silly:
[Moto G5S Plus Questions & Answers] tarun0:
Keep the phone on DND and set the option to your contacts only.

That's the best you can do without any other app.
[X Style (Pure) Q&A, Help & Troubleshooting] Mass_7596:
Hi There , Idont Know How To Say This In Normal Way But Idont know How , So I Will Go Right Through The Problem

I Got This Moto X Pure Edition (style) X1572 | Retasia

And It Was On Android 5 On Locked

I Didn't Know I Have To unlock It Before Flashing So It's Lock

so I Tried To Update The Phone With Frimware That I Grabbed For Frimeware Center But It Was The Wrong Region( La )So I Tried Another (Eu)

Then I Found The Right Region By This Code : fastboot Getvar All and I Found That My Phone Is For Asia but I Can't Flash it because Of Gpt Partiton or bootloader Or Boot ، every Time I get the same errors

To sum up i want These Questions Answered

1 - is There any File For Region Asia With Android 7

2 - does my Phone Supports Deep Flash Cable Or Can I Flash it with Deep Flash Cable and How I Make Deep Flash Cable For Moto

3 - If I Couldn't Flash it Can It be flashed With a Box (like z3x for Samsung)

Please Help as Fast As You Can Im In deep Pain By This Phone and the Phone isn't mine I have to Return it By Tomorrow (1/8/2018) so Please Help To Solve This Problem Thanks
[X Style (Pure) Q&A, Help & Troubleshooting] mr_5kool:
Normally, we should unlock bootloader before flashing firmware.

With unlocked bootloader, you can flash firmware from other regions, low android version (5) to higher one (6 or 7).

When flashing a different region firmware, you should make a factory reset via Recovery.

You should give more infomation about the state of the phone: can enter bootloader, recovery mode or not; can turn on screen or not; how the PC shows when the phone is connected to PC.....
[X Style (Pure) Q&A, Help & Troubleshooting] Mass_7596:
Hi My Phone Is On And Its Locked On Bootloader (State Is Locked) I Couldn't Flash Any Frimware My Phone Region Is Asia I Cant Enter Recovery Mode PC And PC Shows It In Fastboot Mode

By The Way Is There Any Way To Put This Phone On Test Point Or EDL?
[X Style (Pure) Q&A, Help & Troubleshooting] mr_5kool:
When you connect the phone to PC, if it turns on and enters fastboot mode (the screen turns on, and you can see the android and phone information), it is reflashable. But the bootloader is needed to unlock (you can google this problem, it's easy to perform). Then you go to firmware.center, find rom Asia with android 7 and flash it to the phone.

If the lcd is not on when you connect to PC, here is the method: https://xdaforums.com/moto-x-style/help/solved-hard-brick-moto-x-style-xt1572-t3693860
[X Style (Pure) Q&A, Help & Troubleshooting] Mass_7596:
It turns on and boots to bootloader but I tried to unlock the bootloader but it says you should allow bootloader oem unlock in developer options , and I can't access that obviously
[X Style (Pure) Q&A, Help & Troubleshooting] mr_5kool:
So you can try to flash the firmware without flashing gpt.bin; bootloader.img; boot.img; recovery.img

Or you can try to make an sdcard like the link I mentioned before. Insert it to the phone and try to flash the firmware then.
[X Style (Pure) Q&A, Help & Troubleshooting] Mass_7596:
This the problem I tried every rom I cloud but none of it worked
[X Style (Pure) Q&A, Help & Troubleshooting] mr_5kool:
If the phone can enter bootloader, the easiest way is to flash the newest firmware to the phone for both situations: locked or unlocked bootloader. My Verizon Droid Turbo had been soft-bricked when it was on Android 5. When android 6 came, it resurrected.

If a firmware is successfully flashed to the phone, it can start up normally or be stuck at logo. If it is stuck, enter recovery mode and factory reset.

There is one last method with super high risk: break the bootloader then resurrected by sdcard. One of my phone has died before, so never use this method if you don't have experience.

I mentioned everything I know. If your phone does not start, you may need another one.

I'm sorry that it does not help
[LG G2 Mini] A$ApFlako:
Hello. I want to share with you, this app to control your tv, like quickremote.

No you need a patch, just install the app, look for your TV brand and try different models.

Tested in the last build LOS 14.1 D610, and crdroid oreo for S4 mini.

Play Store link.

https://play.google.com/store/apps/...ote&pcampaignid=APPU_1_F_9XW47sK8mVzwLq14yQBA
[LG G2 Mini] cientista99:
Hi!

Tested in D620r with LineageOS 14.1 and works perfectly!

No patch, just install the app and it's done!

Thanks for the share!
[LG G2 Mini] lect22:
La eliminaron de la Play

Amigo publicalo en algun lugar porque lo eliminaron de la play
[LG G2 Mini] A$ApFlako:
Lo siento, no tengo mas la apk. Puedes buscar un mirror de ella en google. Pero te recomiendo anymote smart remote, una vez instalado, ve a ajustes y activa la opción de ir alterno y funcionara en tú g2 mini.
[Honor 6X Questions & Answers] puddlejumperxxx:
Does anyone know why some contacts will have a full screen blurred image during a call and other have the small circle picture. It's really annoying and can't figure out why...
[Honor 6X Questions & Answers] puddlejumperxxx:
Anyone?... Bueller, Bueller, Bueller.......
[Honor 6X Questions & Answers] RedSkull23:
Never paid attention to this; have you checked if this happens with a contact stored on phone, or with a contact stored on SIM, Google account..? I don't know why but i suspect that this could be related to contacts stored in different storages.

Plus, you save all your contacts in a "general" way (just name and number) or they are classified by groups between coworkers, friends, family..? Maybe this is one of the causes too.
[HTC U12+ Questions & Answers] jrocka312:
Are there any working procedures to take this OTA. I am rooted, unlocked, ability to boot TWRP, and ability to go S-OFF. How do we take this update?
[HTC U12+ Questions & Answers] schmeggy929:
Right now, only way is RUU to 1.15.617.4 then take update.
[HTC U12+ Questions & Answers] jrocka312:
I am currently on 1.15.617.4.
[HTC U12+ Questions & Answers] schmeggy929:
Yes I know, you need an untouched System Image. Since you were rooted, uninstalling Magisk and becoming unrooted, it was still touched. Right now there is only one way to take OTA, that is downloading RUU.zip. Placing it on SDcard and booting to download mode. You will also need to have a 32Gb SDcard as mode will not see the zip. Once you are completely stock you can take the OTA.
[HTC U12+ Questions & Answers] jrocka312:
Thank you...guess I will wait for a solution..... Thanks again.
[HTC U12+ Questions & Answers] DeeZZ_NuuZZ:
Dude, no need to wait. This is the only solution right now and might be ever. I had to do it too, even restoring system.img from ruu.zip in twrp didn't fix it, because there are other partitions tempered too
[HTC U12+ Questions & Answers] beaups:
I'm not sure why everyone had to ruu. I just flashed back stock boot img and it went fine.
[HTC U12+ Questions & Answers] jrocka312:
So I just uninstalled magisk.... downloading OTA now and I should be good to go correct?
[HTC U12+ Questions & Answers] DeeZZ_NuuZZ:
For me and others with magisk installed it didn't worked out. Flashed stock boot, but something else seemed to be triggered...needed to flash ruu and take backup with twrp of the system_image and vendor_image in case something goes wrong again . Leedroid fixed it with those backups
[HTC U12+ Questions & Answers] shango22:
The OTA failed for me also. I am also having trouble flashing an RUU. Can anyone point me to one? A guide would be great too as I am sort of a noob.
[HTC U12+ Questions & Answers] jrocka312:
I have tried everything...asked everywhere.... Nothing at this time. I would love a guide.....nothing yet.
[HTC U12+ Questions & Answers] MNoisy:
I am going on a few days with little sleep but can someone clarify why we need the OTA and can't just flash the firmware once available?
[HTC U12+ Questions & Answers] 5m4r7ph0n36uru:
You got a device with permanent S-OFF? Flashing back boot seams to work on those, but on S-ON/unlocked devices with temporary S-OFF another partition seems to get tempered and checkt later on during the OTA process. Don't know which on, but all S-ON devices, that had been unlocked and rooted up to now had to RUU back to take the OTA successfully. Applies to such fellow members as [MENTION=398245]LeeDroid[/MENTION] as well. So I'm wondering what you did different to all those affected.
[HTC U12+ Questions & Answers] beaups:
No I have a regular production device. Just like normal, I don't use Xposed and never mounted system RW so just flashing back the stock boot img worked fine for me...same as on previous devices. One other possibility is my device shows status official (sunshine does that), maybe the ota update is checking that.

--beaups
[HTC U12+ Questions & Answers] 5m4r7ph0n36uru:
Well that might be it. Will run sunshine and test again, as soon as I got time and restored the software state back to official.

Edit: hope I understood correctly. SunShine does temp S-OFF and set the flag back to official from modified in the same step, right [MENTION=711482]beaups[/MENTION]!?
[HTC U12+ Questions & Answers] beaups:
Correct.
[HTC U12+ Questions & Answers] 5m4r7ph0n36uru:
Cool beans. Thanks for this little heads-up and all the work done by you regarding SunShine and S-OFF!
[HTC U12+ Questions & Answers] schmeggy929:
When running Sunshine, is the Software changing from Modified to Official a temporary thing as well? Or lets say i run Sunshine once will it always display Official when booting to bootloader/Download mode?
[HTC U12+ Questions & Answers] shango22:
Finally flashed an RUU. used this guide

https://xdaforums.com/u12-plus/how-to/collection-htcu-u12-ruu-firmware-t3794664

post 3 number 1 (sd card method) must have <32gb micro sd. It wouldnt allow me to flash through USB. IDK why.

The RUU came from here

https://xdaforums.com/showpost.php?p=76606102&postcount=2

in process of installing OTA and it is working.
[HTC U12+ Questions & Answers] jrocka312:
Thank you! Unfortunately my SD Card is 64GB so it isn't going to work... :(
[HTC U12+ Questions & Answers] beaups:
It's permanent until the daemon figures out you're modified again. If you use magisk for root, will likely stay "official" indefinitely. If kernel devs or magisk would remove the tamper daemon from the boot ramdisk, that would be nice also.
[HTC U12+ Questions & Answers] MNoisy:
Can someone please clarify if updating the firmware only and not using the OTA would provide less functionality than the OTA? I was on the 10 previously, so the stock upgrade process seems to have changed a bit and is also different since I was used to Leedroids ROM's and that process.

If only the firmware is updated, then would any associated ROM/Software updates be downloaded or updated automatically since Android will detect the new firmware and allow for updates that might have been restricted to only that new build?

Thank you!
[HTC U12+ Questions & Answers] schmeggy929:
Less functionality with just Firmware probably not, however there is no Firmware only zip. There is the OTA zip or RUU 1.15 and then taking the OTA. We do not have the developer on this phone that made it easy to update just the firmware. Im currently trying to find the stock Boot.img for 1.21.617.3 US unlocked so I S-off. Sunshine doesn't like Freak07 kernel. With updating his kernel a few times I think it over-wrote my first non-patched stock kernel. So now I have no way of returning to stock boot at the moment.
[HTC U12+ Questions & Answers] jrocka312:
SUCCESS! I am not sure why I made this so complicated the past few days. I used the HTC RUU Decrypt Tool to extract the boot.img and system.img. I flashed them both to their respective partitians and restarted. downlaoded the OTA and was complete! I am now updated and have re-rooted, installed TWRP, installed Cleanslate...everything perfect!
[HTC U12+ Questions & Answers] k_l_o:
Would you be so kind as to attach the boot.img and system.img? I actually was able to obtain original boot_signed.img, but can't locate the system.img from the RUU.

Thanks!
[HTC U12+ Questions & Answers] jrocka312:
They are too large to attach in here. PM me.
[HTC U12+ Questions & Answers] shango22:
Crazy to think that sd card size would be an issue. I had a small sd card that came with a Nintendo DS that I had to use
[HTC U12+ Questions & Answers] QD2DC:
Size isn't the issue, correct formatting is. It needs to be fat32 and after a certain size you need specific programs to achieve this.
[HTC U12+ Questions & Answers] shango22:
That make sense. I was just going off the data in the original guide which said size was the issue. In any case wrong size is usually a problem ??
[HTC U11  Questions & Answers] mbaseball3:
Recently tried to unroot due to issues with the vibrate motor not working for any notifications or anything. Also, apps started to fail more frequently it was all just becoming a big headache. I had thought for sure I enabled OEM unlocking but at this point its obvious I did not. Currently I can not get phone to boot besides to the encryption page and no idea what pin code would be. I have tried everything imaginable under the sun. In adb I ran the oem unlock string which caused all these issues. If I try to boot into recovery I get the message "Your device is corrupt. It cant be trusted and will not boot". If I try to boot normally i get the message "Your device has loaded a different operating system" then boots to the encryption lock page. I have placed the RUU and other files and attempted the SD card way of running the files to no avail. Does anyone have any other advice to getting this thing back on?

Edit: this can be closed. I flashed nearly every file I could find but nothing would take. Doing it both the adb and SD card method. Finally, I found the zip that the phone finally liked and it finally flashed. OH man cant be any happier to finally have my baby back on. Anyone else become stuck in this issue, just do as others have said, find the correct zip, flash it, and all will be ok.
[HTC U11  Questions & Answers] mauiblue:
I'm in this predicament at the moment. I am not able to find the zip file with the same OS as my phone (2.42.617.6)

I am looking at this spreadsheet to locate the correct zip file. Could anyone help me, please? Thanks.

https://docs.google.com/spreadsheets/d/15JL3tRWDSVOUKo_revEYtQ_tRcOSJ0vWcvk8a7TK8Hk/edit#gid=0
[HTC U11  Questions & Answers] shivadow:
38 or 39 should work. The last octet doesn't matter as that is just sub version. So long as the first 3 octets match ie 2.42.617, your good to go.