yashsingh1/xdaforums huggingface dataset:
[AT&T HTC One (M9)] osiedacz:
I have created a mod using the VRTheme template to allow several of the stock HTC widgets to work on other launchers. I have only tested this on my rooted, but stock AT&T M9 running the 1.32.502.31 ROM.

To use this mod, you have to have Sense running on your ROM and the widgets already need to be installed. This mod is only designed to modify the widgets so that you can use them on launchers besides Sense Home.

To make this work, I decompiled the above apk files and dug around in the manifest to try and figure out what was preventing them from showing up in the other widget pickers. I figured out that for each of the widgets, there was an xml folder that controls aspects of the widget. In these xml files I found a line that was: htcControlFlag="1" By removing this from the xml or changing it to htcControlFlag="0", the widget is now free to be used. I recompiled the widget apk files and then just removed the modded xmls and put them all in this VRTheme template.

If you try this mod, please be sure to backup your system partition first. Also, ask any questions and I can elaborate on this thread later. Or add more of the widgets.

I would love some feedback from people running the international versions.

Updated 7/20/15: I found that the Android 5.1 version of the rom requires a new MOD. So I renamed the original one to reference the 5.0.2 ROM and the new one to reference the 5.1 ROM.

Updated 8/16/2015: I am told that the 5.1 version works on the older 5.0.2 ROMs. I have not verified this myself, but others have.

Change Log:

V 1.2

CalculatorWidget

V 1.1

HtcDataStripWidget

HtcMusicWidget

V 1.0

HtcCalendarWidgets

HtcContactWidgets

HtcWeatherClockWidget
[AT&T HTC One (M9)] osiedacz:
res
[AT&T HTC One (M9)] osiedacz:
res 2
[AT&T HTC One (M9)] joshzdad2013:
I will give it a shot, I am on Venom rom 3.0 and run Nextlauncher.
[AT&T HTC One (M9)] osiedacz:
Hey that's great, but I think Venom Roms already have this in them. I used to run Venom on my M8 and I could use these widgets in Nova Launcher. That was actually my inspiration for figuring out how to do it.
[AT&T HTC One (M9)] osiedacz:
Updated the OP to add a new MOD for the 5.1 ATT ROM. I am still not sure if these work on the equivalent international versions, so if anyone tries it please let me know.
[AT&T HTC One (M9)] ficti0n851:
Hi thanks for this. Is it possible to do the same for the htc music widget?

Many thanks.
[AT&T HTC One (M9)] osiedacz:
You bet. I'll update tomorrow.
[AT&T HTC One (M9)] ficti0n851:
Fantastic thank you.
[AT&T HTC One (M9)] osiedacz:
V1.1 Update 2015-07-24

I updated the mod for 5.1 to add the following:

HtcDataStripWidget

HtcMusicWidget
[AT&T HTC One (M9)] ficti0n851:
Thanks for this.

Been wanting to do away with the dock on sense launcher since forever. Unfortunately cant find any mods to do this and to use all the homescreen on my m8

Using your mod I am now able to use another launcher.

Thanks again.
[AT&T HTC One (M9)] osiedacz:
So did the mod I made with the 5.1 files actually work on the 5.0.2 ROM? If so, that is great news. Because I couldn't get it to work the other way around.
[AT&T HTC One (M9)] ficti0n851:
All works perfect :)
[AT&T HTC One (M9)] icebbar:
Is there any chance for calculator widget?
[AT&T HTC One (M9)] osiedacz:
You bet, but it will be a few days.
[AT&T HTC One (M9)] osiedacz:
V1.2 is up with the calculator widget included. It takes a minute or so for the widget to fully appear, but it works once it shows up on the screen.
[AT&T HTC One (M9)] Yurra:
Thanks for you work! :good:
[AT&T HTC One (M8)] xeamless:
I am rooted, have TWRP, am running stock sense 6 with 4.4.2, s-on. I want to completely get rid of anything and everything including the root. Is there a foolproof, simple way to do that? Just a heads up I am not very good at any of this, installing an RUU or anything of the like is way out of my level. All im asking is a simple breakdown of what I have to do. I also have a Mac, so some options seem to be crossed out for me.
[AT&T HTC One (M8)] redpoint73:
RUU is not above your head. Especially if you unlocked the bootloader, rooted, etc. yourself. Even if not, the RUU is a tool issued by HTC for "regular" folks (with no knowledge whatsoever of modding phones) to recover their devices in various situations.

RUU is easy:

- Relock the bootloader with the command: fastboot oem lock

- Connect the phone to PC

- Run the RUU, and the RUU program leads you through the rest.

I know you said you have a Mac, but surely you have a friend or family member with a PC that you can use for a half hour.

Honestly, IMO opinion its still easier than returning to stock by other methods, which would require:

- Finding the right stock ROM or stock nandroid for your firmware number

- Putting the stock ROM on the phone and flash with TWRP

- Find the right stock recovery for your stock ROM

- Flash using fastboot

- Relock the bootloader (depending on how "full stock" you want to go)

- Additionally, if you intend to update to current OS (Lollipop) you then need to install 4.4.4 and 5.0 OTAs to get fully current. RUU will update everything at one time.

With the above method, finding the right files is the potential pitfall; and one where many folks have trouble. So in addition to just having more steps, there is also much more potential for having problems with those steps (making the process even more time consuming and stressful).

On another note, you haven't given any background why you want to return to "stock". Once a phone is rooted, I seldom recommend going back to stock, with the exceptions of:

- You are selling or giving the phone away (you should still tell the buyer that the phone was previously modded)

- The phone was rooted by a previous owner, you have no intent to use such features, and just want to return to a fully stock condition

- You are suffering some issue that you think a return to stock will resolve (RUU is better in this case)
[AT&T HTC One (M8)] xeamless:
What you said about how infuriating it is finding the right files and all is what motivated me to want to start anew, maybe I will keep root then. I read up some guides online and have a better understanding of how RUUs work now. I only have one question left, how would I input the command to relock the bootloader? I understand you have to go into the command prompt window, but do i just type it in? I thought I had to navigate to my phone through it somehow. Hopefully that made sense in some way.
[AT&T HTC One (M8)] redpoint73:
You still haven't provided any background on whether you rooted the phone yourself. If you did, you should already have fastboot setup on your computer; as you would have needed it to issue the bootloader unlock command. So open the command prompt, than you need to change directory to whatever folder your fastboot files (fastboot.exe if on a PC) are located. Then simply type the command.

If you don't have fastboot setup on your computer, that is a different story, and you would need to do so (can give details if you indicate that is the case).
[AT&T HTC One (M8)] xeamless:
So I followed everything you said and it all worked out! Thanks :)
[AT&T HTC One (M8)] redpoint73:
Sweet, glad it worked out for you. You're quite welcome.
[XDA Assist] XDA Visitor:
Hello,

I´m searching for a long time. I will try to explain what I´m searching:

The searched app is named "Browserswitch" (name it what you want ^^) and the systems standard webbrowser in this example:

--> a random app will open a link in the standard webbrowser

--> "Browserswitch" checks whether the phone has a WIFI Connection

--> if yes "Browserswitch" opens for example Opera Mobile with the link from the random app

--> if not "Browserswitch" opens for example Opera Mini with the link from the random app

Is there an app that can do these things? I´m not a developer, bit this app/Feature Looks easy to build (I hope)

:)
[XDA Assist] GuestK0087:
Hi, thanks for using XDA assist!

First, please create an account and then ask your question here:

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

Good luck!
[Sprint Galaxy S 5 Q&A, Help & Troubleshooting] darko454:
hello everybody i am having trouble with my sensors, i am on moar 6.2 and tried restoring and even tried installing moa6.2 from the beginning. Any ideas? please help
[One (E9+) General] iii2:
I know I'm not in the right forum, but since there isn't no one, I will use this one.

I've just recieved my HTC E9+, It's is E9pw the chineese model as far as I can tell.

I'm just loving the viperrom, Is there any chanse to install it on the e9+? and If not, are there any other roms/kernel which allow me extra features?

Thanks for you help
[One (E9+) General] tbalden:
No viperrom for e9+ or m9+ , and probably you'll find some roms only on Chinese forums AFAIK. I don't have an e9+ to develop on, so I can't help you with that, and also my budget for phones/gadgets is off for a while with the expensive m9+. Honestly I don't think there's many users who would donate so a dev could pick up a device, I haven't seen a pledge thread in English, and there's devs for it on China. As it's quite close to m9+ I'd be inclined to dev on it, but I only dev for phones I have. Maybe later there will be some xda dev too with the device
[Moto X Q&A] bushako:
Having issues getting into Security setting in different 5.1 ROMs both stock and CM. Everytime I get into the security settings I get an error message " Unfortunately Settings has stopped

When I got the phone it was preinstalled with 4.2.2 and Verizon branded. I had the bootloader unlocked via Sunshine and then proceeded to install TWRP followed by flashing 5.1 roms. Everything else works except for this security settings which keeps fc.

View attachment 3384031

Please help as I need to edit the security settings urgently.

Here's the report :

java.lang.RuntimeException: Unable to resume activity {com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException: Attempt to invoke interface method 'int android.security.IKeystoreService.is_hardware_backed(java.lang.String)' on a null object reference

at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3017)

at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3048)

at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2423)

at android.app.ActivityThread.access$900(ActivityThread.java:154)

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1321)

at android.os.Handler.dispatchMessage(Handler.java:102)

at android.os.Looper.loop(Looper.java:135)

at android.app.ActivityThread.main(ActivityThread.java:5289)

at java.lang.reflect.Method.invoke(Native Method)

at java.lang.reflect.Method.invoke(Method.java:372)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)

Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'int android.security.IKeystoreService.is_hardware_backed(java.lang.String)' on a null object reference

at android.security.KeyStore.isHardwareBacked(KeyStore.java:318)

at android.security.KeyStore.isHardwareBacked(KeyStore.java:313)

at com.android.settings.SecuritySettings.createPreferenceHierarchy(SecuritySettings.java:262)

at com.android.settings.SecuritySettings.onResume(SecuritySettings.java:486)

at android.app.Fragment.performResume(Fragment.java:2096)

at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:928)

at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1067)

at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1049)

at android.app.FragmentManagerImpl.dispatchResume(FragmentManager.java:1879)

at android.app.Activity.performResume(Activity.java:6086)

at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3006)

... 11 more
[Moto X Q&A] bushako:
Okay nevermind figured it out. Turns out I needed to update the bootloader from 30.70 and the radio by flashing to 4.4.4 stock. It was safe for to downgrade since niether the bootloader nor gpt got updated earlier.
[JAMin, XDA Neo, S200 Software Upgrading] paradis_pal:
http://rapidshare.com/files/40977841/Paradis.rar

http://www.megaupload.com/?d=FXKZ8CF9

I noticed a lot of new Roms thanks to everyone working on them

but I think they are a little bit slow useless funtions for a lot of prophet users.

this ROM is old but good and fast.

if you want last Official please test this one

please don't judge it from the first day

and sorry for your time if you find it useless.

I recommend or you have to update IPL SPL 2.20 for g3 & g4, ask me for them I can tell you where to get them.

Releas notes:

based on PRO_DT_WWE_220734_2207114_026121_Ship.exe and only few changes:

1- new HTC Logo, please leave it if you like my ROM

2- new Radio 2.69.21, I think it's the best please leave it

3- Extension Rom the same files only edited Config.txt:

I only removed PP_QtekTsk.CAB, PP_Qtek_pIEsetting.CAB, PP_OperatorName.CAB from Config.txt but the files still in the Extension Rom

4- OS, I only changed:

6mb page pool size, you will have total memory 50.03 mb and free moemory more than 31mb free if no prgrams installed, if you need 52mb total try 4mb page pool, you may change the pool using the patches down!

set securty to lowest level, maybe risky for beginners but I think it is better, all ROMs now have low security, just be careful from Viruses.

the camera will work if the bettary less than 10%, and updated the driver s5k3bafx as file not module, this is the only hardware I updated, still bad, but better, you may over clock to 240mhz using Omapclock.exe to get 4 useless fps instead of 3 stupid fps in low lights, stupid Samsung s5k3bafx Chip, we have been scammed as 2 mp camera

bluetooth support a2dp (aku3.3) without any instalation, (I added FTp support for bluetooth then removed it, some bugs with this AKU I don't know why)

added some useful free programs: taskmgr 2.7, wm5torage 1.75, Dr-yar 1.6 (only the exe)

Added Omapclock.exe OmapScaler.exe without shortcuts, you can find them in the windows folder, use at your own risk, risky programs but useful sometimes

I added my network name syriatel, it sucks our bloods with its high prices, it is the only network in Syria (the same patners of the other one spacetel) they are the real thieves and scammers, but in lawful ways, all companies are the same

I think this Rom is bug free based on last official qtek AKU 2.2 hope you like it

just wish me the best of luck if you like it, and forgive me if you find it useless

I did this in less than 1 hour just for whom like official clean ROMs.

Regards

Rami Rasheed

http://rapidshare.com/files/40977841/Paradis.rar

http://www.megaupload.com/?d=FXKZ8CF9

sorry if find this bla bla bla bla bla
[JAMin, XDA Neo, S200 Software Upgrading] P4k1t0:
Hummm... Sounds good!

But i think this dont going to update in my pda!!

I want to try this rom!!

I have SPL 3.08 =///

Maybe my pda dont acept this rom... right?
[JAMin, XDA Neo, S200 Software Upgrading] ccc030:
Mmmh...

Ok you say its bugfree, so why stuck my prophet in bootloader after downgrading from PDAVIET WM6 and hardreseting of course?

Maybe i am full of bugs and thats the reason, but believe me this is not the first down- or upgrade i did. AAAAAAAAaaaaaaaaaaarrrrrrr... ;)

.
[JAMin, XDA Neo, S200 Software Upgrading] paradis_pal:
dear ccccccc00000000333333330000000

and hardreseting of course? =====> you don't need to hard rest it will hard rest automaticly after the downgrade

you are not full of bugs, I did this ROM while I'm drunk alot of ARAK, but I test it with my prophrt and it works 3 days now without any bug

but it is great to have this first bug, cause the ROM will not work and there is no second bug
[JAMin, XDA Neo, S200 Software Upgrading] walter79:
Downgrade from WM6 PDAViet 4.0.0.0.1 doesn`t work.

Upgrade from RUU_Prophet_220734_2207114_024721_NVID doesn`t work.

Upgrade stop at 85 %.
[JAMin, XDA Neo, S200 Software Upgrading] paradis_pal:
dear walter you have to wait at 85% and 100% a few minutes

I try it from pdavit 4.0.0.1 and it worked, I think I'm still drunk
[JAMin, XDA Neo, S200 Software Upgrading] Nrcc:
I get stuck @ 85% always, it just keep tell "error" each time I do it... and now how do I resolve this??

EDIT: Well I made it with Jester´s one... but still can´t go on with yours :(
[JAMin, XDA Neo, S200 Software Upgrading] paradis_pal:
ok I think there is a problem, the rom works fine with me, why this happened to you?

did use winrar 3.7 to extract the files?

did you use ROMUpdateUtility_NV_G3.exe or ROMUpdateUtility_NV_G4.exe

Nrcc: to fix your problem try RUU_Prophet_220734_2207114_024721_NVID

I'm pretty sure the ROM works fine on my device, please can some one tell me the crc32 of the files, just open winrar and you will find CRC32

if someone can calculate the crc32 for the file paradis.rar it must be C6A0B6EA

and the nk.nbf inside paradis must be 4BA70074

walter79 please try tp replace nk.nbf from RUU_Prophet_220734_2207114_024721_NVID with nk.nbf from paradis.rar
[JAMin, XDA Neo, S200 Software Upgrading] Jeff:
paradis_pal - I'd like to try your ROM sounds really great, but after 2 successful downloads from Rapidshare, I am unable to open the archive.

Any chance that you may be able to post (repost) another archive?

Thanks...

PS: the CRC is C6A0B6EA
[JAMin, XDA Neo, S200 Software Upgrading] paradis_pal:
thanks Jeff

try winrar 3.7 or free program 7zip, it is 7-zip archive
[JAMin, XDA Neo, S200 Software Upgrading] Jeff:
Paradis_pal: Thanks, didn't think of another archiver, to me a rar is for winrar... 7-zip worked like a charm.

I'll let you know how things advance.
[JAMin, XDA Neo, S200 Software Upgrading] Jeff:
paradise_pal: I get to see your nice little bootscreen and then it goes directly into the bootloader again, so no chance to test out your ROM. And YES I HARD reset my G3 and I still come up with this again... Since I was already in bootloader mode therefore I reflashed it again - SAME thing.

I even used the OFFICIAL NVID EXE with your NBF and still a problem... sorry dude, no dice.
[JAMin, XDA Neo, S200 Software Upgrading] paradis_pal:
it is too odd, it works with me why?

what SPL you have, 2.20 if not update to 2.20

did unlock your CID if you have a G3 device please unlock your CID, it is for you not for the ROM

I have nothing to improve, it works with me, I can't see where is the problem
[JAMin, XDA Neo, S200 Software Upgrading] P4k1t0:
That errors (stop at 85% when you upgrade) is just what is supost to ocure... Because you have SPL 3.08!!....
[JAMin, XDA Neo, S200 Software Upgrading] Nrcc:
When I get home later, I´ll try and see what happens; last night I went bed about 4:30am trying to find where the problme was :)
[JAMin, XDA Neo, S200 Software Upgrading] Nrcc:
I have spl 2.20 (from jesterz´s vers.)... & still can´t install after 85% ;)
[JAMin, XDA Neo, S200 Software Upgrading] paradis_pal:
ok use this patch it will make it 8 mb page pool hope it can fix it

it work fine with me 6 mb page pool size

strange why the rom works with me :confused: :confused:
[JAMin, XDA Neo, S200 Software Upgrading] Jeff:
Patched+RE-Flashed=SAME problem...

I am on a 2.20 SPL and my G3 is unlocked, could it be some ingredients when you were cooking it up? I think you may need to try to recook your ROM, I am no expert, I just know that it ain't workin' fo' me (apparently no one else either).

Keep it up...
[JAMin, XDA Neo, S200 Software Upgrading] paradis_pal:
strange you patch it how, the file still 0 views why this happening to me
[JAMin, XDA Neo, S200 Software Upgrading] paradis_pal:
strange you patch it how, the file still 0 views

I didn't cook a rom, only few changes, if someone can help me why the ROM works in my device and dosn'e work in others please someone help

ps, this is not the only ROM I cooked, I cooked alot and make a lot of changes to WM5 and WM6 for my needs and changes a lot of files and registry and add notifactions and more, I made this one for all, I'm still needing help why this works on my device and doesn't work in others??????????????
[JAMin, XDA Neo, S200 Software Upgrading] paradis_pal:
Dear Jeff

I need your little help please use

typho5.exe nk.nbf -x

then rename 80040000-OS.nb to os.nb and replace it in ASERG ROm or Prophet_4.0.0.0.3a_PDAViet or Prophet_4.0.0.0.1_PV and try to install it please do this for me
[JAMin, XDA Neo, S200 Software Upgrading] Nrcc:
Well I found here @office a tomtom gps with a usb cable I can use with QTEK, so I installed "RUU_Prophet_220734_2207114_024721_NVID" & still works fine, just like with Jesterz´s rom, so now I´m gonna patch your rom with the file you provided & try again, wish me luck eheh.

EDIT: Well I got some good news & some bad news :) The good is that finally it passed the 85% mark & no error, the bad is that it gets to 100%, goes black, reboots & get stuck in the RGB mode...

/joke mode on AH! & I see your face... but don´t now if i put it in the good news or the bad news eheh. /joke mode off :)
[JAMin, XDA Neo, S200 Software Upgrading] paradis_pal:
ok it is my mistake, I did cook it again hope can upload it soon
[JAMin, XDA Neo, S200 Software Upgrading] paradis_pal:
could you please try this patch to the original nk.nbf I'll be very thankfull
[JAMin, XDA Neo, S200 Software Upgrading] nandlal_mk:
Thanx

Not tested yet but will soon.

However good work.

Most of the time i use AKU 2.2 on my prophet

and cooking WM6 on my Pc:D :D :D
[JAMin, XDA Neo, S200 Software Upgrading] Nrcc:
Sure thing; gonna downl it now, brb.

EDIT: Well back to the 85% error ;) gonna repair but I don´t think will work.

Btw mine is english, g3, not blocked to any telecom provider... and I think its all. It sucks cause I really would like to try yours. If not, I´ll stay with plain original rom prolly.
[JAMin, XDA Neo, S200 Software Upgrading] paradis_pal:
would please cook the Room again for me and upload the file, bad internet as usual

I'll tell how step by step and I'll give you the files I did changed please say yes
[JAMin, XDA Neo, S200 Software Upgrading] Nrcc:
Ok, tell me what I need to do.
[JAMin, XDA Neo, S200 Software Upgrading] paradis_pal:
please don't delete paradis.rar we will need this file

first I want to confirm that old nk.nbf works with me, but when I try to extract it and insall the os.nb using pdocwrite I faild between 34~40mb, so there may be a problem, but if some expert tell me why the nk.nbf works with me

but with this new file I succeed with both nk.nbf and os.nb so it must be done
[JAMin, XDA Neo, S200 Software Upgrading] paradis_pal:
1- extract nk.nbf from RUU_Prophet_220734_2207114_024721_NVID using this tool and this command

typho5 -x nk.nbf

now delete nk.nbf

2- we will use only the file 80040000-OS_0.nb delete all other files

and use this patch patch-OS.zip for the file

3- we need imgfs_tools_182.rar and use the following

3-1 prepare_imgfs.exe 80040000-OS_0.nb -nosplit

3-2 viewimgfs.exe imgfs_raw_data.bin

3-3 now delete the folder S5K3BAFX.dll in the dump folder and extract the content of new files.zip and omap.zip in the dump folder and replace all files

3-4 BuildImgfs.exe

3-5 make_imgfs.exe 80040000-OS_0.nb -nosplit

4- now we need the nk.nbf in paradis extract the files like before in the same folder

typho5 -x nk.nbf

5- replace the new 80040000-OS_0.nb we made not 80040000-OS.nb so delte 80040000-OS.nb

6- now the tool nb2nbf like this

Model ID: PM300

Language: WWE

oem version: 2.20.7.34

operator version: 2.20.7.114

CID: delte it, leave blank

the files like this: write or chose exatly like this

files 1: 9d000000-HTC.nb	9b000000	HTC Logo

files 2: 96000000-GSM.nb	96000000	GSM

files 3: 80040000-OS_0.nb	80040000	OS be careful 80040000 not 82040000

files 4: 9b000000-Extension.nb	9b000000	Extension

7- press trnaslate

8- make a new rar archive the same files but the new nk.nbf with paradis.rar and tell me the crc32 of nk.nbf please

if crc32 the same as me you can post the file
[JAMin, XDA Neo, S200 Software Upgrading] Nrcc:
Damn thats a lot of stuff eheh.

For now I´m @work; if no one can do it until then, later on when I get home I´ll try do that.