yashsingh1/xdaforums huggingface dataset:
[LG G5 Questions & Answers] Ascii3:
@burny02 - Please clarify whether the framework-res.apk you are trying to modify is for LG G5 stock ROM Android Nougat.

I note that you are using the "isFallback="true"" flag with the webviewprovider tag. The purpose of the isFallback attribute set to true (its default is false) is to specify that the WebView provider should be disabled by deault and should only become available when allow other WebView providers are disabled. Using the attribute with the true value with only a single WebView provider seems improper. I do not know if boot should fail if the attribute is present in the way that it is, but in both scenarios I would recommend its omission.

It has also been a while since I used Apktool versions and do not exactly remember the command lines. Do not take my not pointing to an issue with it as there necessarily not being an issue. One thing I would mention is that one typically first install a frameworks before decompiling and building. For the LG G5 RS988 Android Nougat, I believe installing the framework-res.apk as a framework was sufficient. You would specify on command line "apktool if framework-res.apk" and any tags you wish to explicitly specify, if any.

The moving of framework-res.apk to /system/ before /system/framework/ is oftentimes done by people to try to install a modified framework-res.apk with proper permissions and on a live system before the system crashes and reboots. Once framework-res.apk is copied to /system , but does not replace the framework-res.apk file, proper permissions can be set prior to using that file to replace the live framework-res.apk. It is still important to note that some software disregards permissions set when a file is relocated or copied, so this could be an issue if framework-res.apk is replaced with more restrictive permissions than the original framework-res.apk (less restrictive permissions should not usually be a problem for the app to be used). I particularity do not like the idea of the system crashing and prefer to make such changes offline (such as via the aid of a custom recovery).
[LG G5 Questions & Answers] burny02:
Sorted. Got it working. Really appreciate the help, Ascii3

For anyone looking at this in the future, the isFallback back seems to stop booting, regardless of whether it is the only entry or not.

The procedure then works as above:

adb pull framework-res.apk

apktool d framework-res.apk (2.3.4 worked for me - SDK 24 Android 7.1 (LGG5))

Edit framework-res/res/xml/config-webview-packages.xml to:

<webviewproviders>
<webviewprovider description="Bromite WebView" packageName="com.android.webview" availableByDefault="true" />
</webviewproviders>

apktool b framework-res

Move META-INF and AndroidManifest.xml from the 1st original framework-res.apk > new framework-res-new.apk (Used 7Zip drag & drop)

adb push framework-res-new.apk /system/framework/framwork-res.apk

Modify permissions in TWRP > 0644

Clear Davlik & Cache

Reboot

I found the following unnecessary :

Installing framework (apktool if)

Zip-aligning

Moving to /system prior to /system/framework/ (Using TWRP, live system; it might be necessary)
[LG G5 Questions & Answers] Ascii3:
Sure.

The isFallback attribute is supposed to only be set to true for no more than one webviewprovider. Explicitly setting it to false (its default) should not be problematic (but does result in a larger config-webview-packages.xml file generated). Setting isFallback to true on the only webviewprovider item is not an intended use and apparently results in no boot.

I do not think zip-aligning apps is necessary generally . My understanding around the reason to do so is to try to optimize the packaged data to be more efficiently fetched in the manner which Android fetches the data.
[LG G5 Questions & Answers] LeSplendide:
@Ascii3 @burny02

Hello guys, sorry to exhume this post but I'm struggling and all other threads are maybe ten years old...

So I'm struggling to replicate what you did! I'm no expert but I can follow basic instructions.

So I do as you say, decompile framework-res.apk, modify the xml file (I just add the line). This step seems okay since I did some errors while editing the file and apktool would not recompile properly. Now this goes fine.

Then I got my freshly recompiled framework-res.apk, but 7zip on linux won't let me insert META-INF and AndroidManifest.xml. So I had to rename the extension .zip, do it, then rename in apk. Could this be an issue? It looks dirty.

Anyway, after this you didn't had to resign the apk? I read everywhere you had to, so I did. I did not zipaligned it since I used a resign tool I found on xda and I could not tell if I had to do it before or after resigning, but since you said you didn't zipalign it I thought whatever.

The problem is the following: after replacing framework-res.apk in /system/framework, the phone won't start, I get stuck on the starting screen and I could extract the following from logging:

01-24 04:15:17.470 +0000 4042 4042 I PackageManager: /system/framework/framework-res.apk changed; collecting certs
01-24 04:15:17.749 +0000 4042 4042 W PackageManager: Failed to scan /system/framework/framework-res.apk: Failed to collect certificates from /system/framework/framework-res.apk

Have you got any ideas of what I did wrong? It's my fourth soft-brick today, I'm getting a bit annoyed.

Thanks in advance
[LG G5 Questions & Answers] TheShanMan:
@LeSplendide did you ever get this working? Not sure if I'm having the same trouble, but I followed burny's instructions and my phone fails to boot. I checked logcat but I don't see anything relating to framework-res. I'm using magisk to overlay it because if I touch the /system partition for real, VoLTE stops working on my phone (known issue for this phone). I'm successfully overlaying stuff in /system/app and /system/priv-app so I do have overlaying generally working, though this is the first apk in the framework directory I've tried to overlay. Boy do I want to get this working. I've extensively degoogled and debloated this phone and the only glaring thing that remains is chrome handling webview.
[LG G5 Questions & Answers] LeSplendide:
I'm sorry I have no idea, rn Webview Implementation says I have Android System Webvew 102.0.5005 so I assume this is chrome webview? But I have no clue what I did or not but I know for sure I fixed my problem which was that Webview would crash when trying to sign in a google account on my MicroG'd LEAOS. Now this works so I guess I did make it work. All I found that could be a clue is a update.zip containing instructions and the webview in question. Iirc, the issue was that the zip needed to be signed so that twrp could flash it, so I think I just signed my zip and it worked but can"t tell for sure.
[Moto G7 Power Questions & Answers] patrick10K:
Has anyone tried the Android 10 soak test?

bootloop
[Moto G7 Power Questions & Answers] justcallmeTHEKID:
i have not even heard of it, can you post an info
[Moto G7 Power Questions & Answers] roadkill42:
I saw it on tellagram
[Upgrading, Modifying and Unlocking] mathieulh:
Does this rom feature the connection configurator tool from the 1.0f unbranded French rom ? This tool is very useful in configurating the data settings for us and allowing us to swap from an operator to another easely when we have several sim cards.
[Upgrading, Modifying and Unlocking] mathieulh:
Is it the one from the French rom ? the one from the HK rom has HK operator profiles, while the one from the French rom has the French ones, (such as Orange, SFR, etc etc)
[Upgrading, Modifying and Unlocking] spocky12:
As I've taken localisation files from the 10f branded, I guess profile information is empty. I'll check and update rom tonight if necessary.
[Upgrading, Modifying and Unlocking] rickou26:
To update PkgTools ;-)

http://rapidshare.com/files/129911336/PkgToolsBuildos-4.5b1.zip.html

@+
[Upgrading, Modifying and Unlocking] dudu7559:
Hi spocky12, are you ready to upload the new WM6.1 WWE ROM?? :-)
[Upgrading, Modifying and Unlocking] MTM:
Maybe add a better (Touch-like) dialer, FTouchFlo and support for microSDHC cards?

Also, add a drop-down task manager in the upper right corner (don't if that's what you call Task Manager, though).

Finally, I personally like iContact better, as it starts faster than PocketCM :)
[Upgrading, Modifying and Unlocking] spocky12:
Almost everyting works as it should. I'll post it as soon as a figure out why camera can't take pictures anymore :)

As for user customization, it'll be up to you. Next rom will be UC compliant so I'm only working on os files/drivers with only a few tools embedded.
[Upgrading, Modifying and Unlocking] thorfr:
Yes it the most important ;)

GoodLuck to fix the camera pb :p
[Upgrading, Modifying and Unlocking] gregnapola:
Hi Spocky...Any news ???
[Upgrading, Modifying and Unlocking] spocky12:
Yes, I'm hungry :p (check first post)
[Upgrading, Modifying and Unlocking] gregnapola:
Sorry, I'm so silly....:o

Now.... I'm hungry too :D
[Upgrading, Modifying and Unlocking] pcforce:
is it possible in future to make a "clean" wm6.1 rom - no tweaks, no removed or added programs just as is; maybe just lg menu if its possible to be ported?
[Upgrading, Modifying and Unlocking] jeant:
THX Spocky you're the Men ( and French!!!)

I can't flash these days but I'm sure it's a perfect build with Voip working!!

(If anyone try give us answers, will try throught BT headset less than I week).

Once In France will feed U throught you're "signature" because men, if Voip works U change my life!!!! ( and bills!!!)

PS: oh SRS built in!!! (but still tweaky for BT headset...thx XDA-DEV)

THX again
[Upgrading, Modifying and Unlocking] gregnapola:
Now it's working
[Upgrading, Modifying and Unlocking] PauloJ5:
Is it in French ?
[Upgrading, Modifying and Unlocking] spocky12:
As their name says, FR version is in FRench and WWE version is in World Wide English.
[Upgrading, Modifying and Unlocking] mathieulh:
I successfully flashed and tested the Franch branded rom and there are a few issues (beside the camera)

- Contacts are broken, impossible to browse and add contacts using the contacts menu on this rom (installing pocket contact manager partially fixes this issue)

- No profile selector, not everyone uses crappy vodaphone live and SFR operator. (this can be fixed by manually entering the settings but it is annoying to do so, especially on a rom that is supposed to be unbranded)

- Only partially compatible with CE-Star which is a REAL disadvantage for people using their phone to read/write chinese and japanese texts.

There are real improvemments though

- The rom seems more stable

- The rom runs much faster

- The rom boots faster.

If it was not for the contacts issue I would have kept this rom, but contacts menu is just a must have on any phones.

Also the unworking camera is a big issue but I can leave with it.
[Upgrading, Modifying and Unlocking] spocky12:
Thank you for your feedback. That's exactly the kind of problems I expected and that's why this rom is in beta stage.

Fixed in upcoming release

There's a tool called Autoprofile.exe in windows directory and I put a bunch of xml files for operator selection. Start menu shortcut is missing though. It'll be there in next release. Is this what you were talking about or is this something else ?

Could you please tell me more about this ? What do you mean by "partially compatible" ? Are other WM6.1 roms for htc phones supporting this completely ? If so, do you know how or what I should do to test (I don't speak chinese or japanese) ?
[Upgrading, Modifying and Unlocking] willoute76:
There is Branded and Unbranded Roms in KisS20.3 Download, so just follow what readme says.
[Upgrading, Modifying and Unlocking] Pixil:
spocky's rom is branded or unbranded ?

Thks :$
[Upgrading, Modifying and Unlocking] gregnapola:
Spocky wrote:

"A few notes:

::Note that I didn't test Unbranded versions as I have a branded phone, but theorically they should work as expected.

::Note on UC : if you want to use UC, don't forget to put files on SdCard root before flashing. If you use my predefined package, you can tweak it before rom installation by modifying provided sdconfig.txt. Also Windows live is not installed automatically (it's provided in "CAB+" UC package folder)

::Manila2D : as it's still in beta version with multiple cab files, it's not included in UC for now. I'll release a package to install it manually before the week end."
[Upgrading, Modifying and Unlocking] theodork:
My phone just let me know that you released the rom by crashing and forcing me to hard reset =P Perfect timing!
[Upgrading, Modifying and Unlocking] willoute76:
In the download, you have both branded AND unbranded
[Upgrading, Modifying and Unlocking] doom_st:
just flashed branded ver on 10G vodafone gr.

so far so good...
[Upgrading, Modifying and Unlocking] romul:
im curious about unbranded..

how is the rom for people who've installed it

edit: thank you spocky
[Upgrading, Modifying and Unlocking] aluxzen:
Hello! :)

Thanks Spocky for your great job!

Flash OK for me in "Branded"

Bye!

Alex
[Upgrading, Modifying and Unlocking] doom_st:
camera refresh rate is slower than with 10D
[Upgrading, Modifying and Unlocking] natxonass:
The camcorder doesn't work either
[Upgrading, Modifying and Unlocking] nonoinc:
Le logiciel me donne "you cannot program the qcsbl header whihout the partition table"

J ai brancher mon KS20 en mode normal.
[Upgrading, Modifying and Unlocking] willoute76:
Don't forget...

...the readme.txt file ! :D (included with Roms)

N'est-ce pas nonoinc ;)
[Upgrading, Modifying and Unlocking] aluxzen:
nonoinc you need to merge the "branded" or "unbranded" folder with the root folder in order to flash correctly.

Please read the "README.TXT" file.

++

Alex
[Upgrading, Modifying and Unlocking] nonoinc:
sa flash ^^
[Upgrading, Modifying and Unlocking] gregnapola:
Just flashed....Thanks again, All is warking except the Camera...

I got into FrameShot mode and can't return on Camera Mode then :( Hard reset was the only solution...
[Upgrading, Modifying and Unlocking] alantan21:
Thanks Pro i got the lastest Rom flashed already. So far so good, this rom is fast without hang.But camera video mode not working and cannot open Zip file... hope all this bug is free:D Cheers
[Upgrading, Modifying and Unlocking] enao11:
Problem with Bluetooth

thx spocky12 very much to his new rom

but i got a problem on the connection with bluetooth, it don't work on my Sony DRC-BT15 (handfree is working but the high quality audio can't)

also, my computer did not discover my phone (no problem with hk 10a rom)

sorry for my poor english
[Upgrading, Modifying and Unlocking] 800123:
thanks~~~i find this~~~:)
[Upgrading, Modifying and Unlocking] bikiapo:
thanks spocky12
[Upgrading, Modifying and Unlocking] thorfr:
Ty my spockybauer still some tweak et fix to do but very good job :D
[Upgrading, Modifying and Unlocking] zalaros:
Has anyone successfully installed Large TitleBar on this rom?
[Upgrading, Modifying and Unlocking] sgmbox:
i have the no service problem, i tried to reflash from 20.4 and then to 20.5 and restoring nv2. it doesn't help... any solutions?
[Upgrading, Modifying and Unlocking] sgmbox:
i think it might be due to eziput 1.5
[Upgrading, Modifying and Unlocking] sumersetpt:
Hello,

I tried to flash my KS20 with the new kiss 20.5.

Previously i had a kiss 20.4 branded flash.

I did a nv2 backup and then used the backup to unbrand the phone.

I must've failed to understand correctly the instructions for this process.

When i flashed the phone with the LGMDP program i selected the kiss 20.5 unbranded rom and the unbranded .nv2 file.

I then proceeded to flash the phone but when the phone was supposed to restore the .nv2 the phone was not detected.

Now i don't have a option to select the .nv2 file (i still have the original backup and the patched .nv2) and i'm asked to select the phone model and in the phone properties LGMDP displays 'no phone'.

What can i do to get the KS20 working as phone again with the new kiss 20.5??
[Upgrading, Modifying and Unlocking] tanwg82:
i have flashed my KS20 with the KisS20.5b. I love the speed I am getting from my reborned KS20. Thanks Spocky!

However, like some of the earlier posters, I have a problem the bluetooth. I managed to connect with my Sony Ericsson Bluetooth headset but the connection is always lost in a few seconds. Is there a solution to this?
[Upgrading, Modifying and Unlocking] daracert:
Waiting for final release :cool:
[Upgrading, Modifying and Unlocking] sumersetpt:
can anyone help?
[Upgrading, Modifying and Unlocking] tanwg82:
Are using Vista? If you are, try using Windows XP to restore your nv2. I am not experienced with this flashing stuff (started last week as i dug out my old KS20) but I faced problems with the connection when I use Vista.
[Upgrading, Modifying and Unlocking] sumersetpt:
yes i am...

but that doesn't make sense because the flash was done successfully.

If the problem was on the O.S. shouldn't the flash procedure fail?
[Upgrading, Modifying and Unlocking] tanwg82:
That I am not sure. I do not not know much about the specifics. But I do know that when my phone goes into emergency mode, Vista does not detect my phone but the connection is fine in normal mode. And it seems that the LGMDP does switch to emergency mode at some point, hence losing the connection. However, on XP, I do not have this problem.

Anyway, you might want to try to use an XP to restore the nv2. Anyway I m not an expert but it was less problem with XP for me.
[Upgrading, Modifying and Unlocking] sumersetpt:
Ok.

thanks i will try xp instead, and then i'll post the results...
[Upgrading, Modifying and Unlocking] sumersetpt:
Tried to do a nv2 restore using the Hybrid vodafone rom, with the unbranded nv2 and with the XP.

The result was a "ilegal use. unavailable OTP block" = FAIL

I'm now doing a flash in emergency mode with the kiss20.5b but didn't have available the option to choose the nv2 file.

UPDATE:

The flash resulted in the same thing as before... "ilegal use. unavailable OTP block"

Can anyone help?
[Upgrading, Modifying and Unlocking] sumersetpt:
I was able to flash to the hybrid+vodafone without the "ilegal use. unavailable OTP block" message.

However i tried to recover the nv2 to the one unbranded and ended up having the message displayed in the hybrid+vodafone that i had.

Tried to flash in emergency mode to the kiss20.5 but got the message again.

Tomorrow i'll try to flash in emergency mode with hybrid to try to recover the phone.

However i still need to know how to recover the nv2 so that i can get phone function.
[Upgrading, Modifying and Unlocking] spuke:
Anyone has any idea why I can't take pictures anymore? The Camera button on the KS20 doesn't seem to work anymore, it only opens the camera, but after that I cannot take any pictures with it. I've got the Kiss 20.5b installed with Skyfire, Nitrogen and Ezinput 2.1.
[Upgrading, Modifying and Unlocking] sgmbox:
try uninstalling Ezinput 2.1
[Upgrading, Modifying and Unlocking] sumersetpt:
UPDATE:

I recovered from the OPT error message by doing a flash with the hybrid + vodafone rom in emergency mode.

I then proceded on doing a flash in normal mode using the hybrid + vodafone with restoring the nv2 file using the option "reset database and content".

This resulted on a OPT error message again.

i was then able to recover from it with the hybrid+vodafone again.

I'm now going to do a normal flash but using the "erase EFS" option (which i had done previously with the same result).
[Upgrading, Modifying and Unlocking] sumersetpt:
New update.

After doing the flash with hybrid+vodafone and using the "erase efs" option I now have the "Unavailable OTP Block" error message.

Is anyone going to help???
[Upgrading, Modifying and Unlocking] sumersetpt:
Update.

Finally i was able to restore the nv2 without any error message.

Thanks to all that helped me.
[Upgrading, Modifying and Unlocking] zank19:
Is there any app which can implement the finger scroll feature in lists... I know SPB app do this but I dont want to install such heavy apps. Any compact app which can do the job?

I have PhonEx but it only supports finger scrolling on its own lists...
[Upgrading, Modifying and Unlocking] Major A:
HTC Scroll, but it's eratic.
[Upgrading, Modifying and Unlocking] backlashsid:
think u mite wanna try !! F TOUCH SL !!!

u can use finger scrolling in all windows like File explorer...IE etc etc !!!

google !!
[Upgrading, Modifying and Unlocking] zank19:
I already installed that, but HTC Scroll is not working on my device. Dont know why
[Upgrading, Modifying and Unlocking] krader:
I've just installed v5b version, as I broke my old v4 trying to install SRS WOW HD 1.5.1.0. Is there any way of installing this SRS WOW version in our KS20? The 1.2.1.0 version works very well, but it hangs from time to time with iGO8 (the sound gets muted, not only in iGO8 but in all the phone), so I have to minimize it and up and down volume to bring SRS WOW back, and such a thing is a bit dangerous in route. Any ideas?
[Upgrading, Modifying and Unlocking] Yagami_ex:
Hello, I'm sorry to ask again, and not search in the post, it is too big for that, but what a difference this rom and the farahbolsey? This rom is more stable? Freeze less?
[Upgrading, Modifying and Unlocking] Biglia05:
This rom is a heavily optimized WM6.1 rom, while farahbolsey's rom is WM6.5, if you just want the new WM you should take 6.5, but spocky's rom is great for customization and stuff, personally I love this rom far more because it's extremely stable, fast and you've got way more ram available.
[Upgrading, Modifying and Unlocking] sikari:
Camera doesn't start

I have a problem with the rom version 20.5B: I can't start the camera. When I press the button or start it in the menu the screen rotates, the camera logo appears and nothing else happens. After this I can go back but I can't start any programs until a soft reset. I tried to open the task manager but it freezes. The task manager of SPB Mobile Shell can't close any programs and Showcase doesn't start neither. After the soft reset only the same thing happens.

Is that maybe because of an other program I use? As I read in the forum, the camera app starts for everyone. I use mobile shell, S2U2, Showcase, Lookout (Flexilis), PhonEx, these are the apps what are running from the start of the system.

Edit: no, it's not because of one of these programs. After a hard reset the camera doesn't work, and nothing that would use the camera, like testing mode in engineering menu :(

Edit no.2.: there is the same problem with WM6.5 28008... what could I do to solve it? :S
[Upgrading, Modifying and Unlocking] zalaros:
Can anyone figure out what is going wrong on my ks20 with kisS20.5b rom and it takes more than 3 minutes to boot? I see the Eiffel tower for more than 2 minutes. Any ideas or possible solutions to speed up the booting proccess? I hate to soft reset because of this. Thank's in advance ;)
[Upgrading, Modifying and Unlocking] Deosneos:
3 minutes isn't that bad really. I wouldn't say anything is going wrong.
[Upgrading, Modifying and Unlocking] zalaros:
There was indeed something going wrong ;) and i'm very glad i found it :D Homescreen ++ UI was delaying the boot process of my ks20. I've deactivated the plugin from the today items and now my ks20 reboots in less than a minute as it used to.
[Upgrading, Modifying and Unlocking] spocky12:
@sikari : never had any problem with my camera, and I really can't think of any issue that would still be there after a hard reset. You might try to flash the rom once again (and perhaps download it again also) to be sure it's not caused by a bad flash/download.

I didn't have time to fix the bluetooth bug. As I had a few requests of localized roms, I might release them as is.
[Upgrading, Modifying and Unlocking] sikari:
I tried flashing again with this rom, wm6.5, original wm6.0 10.d... and nothing. I asked the store because the has a new motherboard but they said they don't think it's a hardware problem, they're going to do a software upgrade in the first round if I take the phone in.

I don't know where the new mainboard is from... there was a Tesco SIM card in it when I got it back.