yashsingh1/xdaforums huggingface dataset:
[LG Spirit Questions & Answers] Randar EST:
It does sound stupid :D But yes, renamed it to "SystemUI.apk"

---------- Post added at 09:20 PM ---------- Previous post was at 09:19 PM ----------

That's exactly what I did, my friend ;)
[LG Spirit Questions & Answers] :
There's the problem! It must be LGSystemUI.apk
[LG Spirit Questions & Answers] Randar EST:
Well that's what I wanted to say... It is LGSystemUI in my folder. Sorry, my fault
[LG Spirit Questions & Answers] :
:D hoped for a moment that it was simple like that...

Btw the logcat?
[LG Spirit Questions & Answers] kamil79123:
You are just doing something bad. For us it is working. We have same files, same phones etc.

Wysłane z telefonu.
[LG Spirit Questions & Answers] Randar EST:
I hoped the same... Well the logcat... XDA doesn't support .csv file format (I hope it is the file you need) so I will have to post it to Drive, who doesn't start uploading the file without WI-FI... I was thinking here, maybe I can change the .csv to .txt? After you download it you can change it back to .csv

---------- Post added at 09:33 PM ---------- Previous post was at 09:31 PM ----------

I am not the only one. Check previous posts ;)

BTW what do you mean by "doing sth bad"?
[LG Spirit Questions & Answers] kamil79123:
Man. If it works for us and polish forum, that it should work for you, if you just follow our instructions.

Wysłane z telefonu.
[LG Spirit Questions & Answers] :
Rename to txt, yes... However csv is weird...

[MENTION=6093642]kamil79123[/MENTION] I think that too, dunno what but it's probably a file manager problem... Both of us used adb and it's fine... I also have to ask you if you could try the lockscreensettings apk that I posted, randar tried it and said that the menu was missing the weather setting and also the knock code and pattern lock option... I would like to know if that weird thing happens on your device too...
[LG Spirit Questions & Answers] kamil79123:
[MENTION=6632102]guglicap[/MENTION]

What do you mean?

Wysłane z telefonu.
[LG Spirit Questions & Answers] Randar EST:
.csv because I took log using OS Monitor
[LG Spirit Questions & Answers] Randar EST:
He posted LockScreenSettings.apk which should enable weather effects on lock screen like G3

Check the posts
[LG Spirit Questions & Answers] kamil79123:
Check my post too. I said i have no weather apk.

Wysłane z telefonu.
[LG Spirit Questions & Answers] :
Randar tried the lockscreensettings.apk file that I sent, which is supposed to enable weather lockscreen effects... But he said to me that it was not working on his device, and he was missing not only the weather effects option, but also knock code and pattern lock...
[LG Spirit Questions & Answers] kamil79123:
I have no weather effects (propably because of no app), but I have knock code, but i can't place there shortcuts.

Wysłane z telefonu.
[LG Spirit Questions & Answers] Randar EST:
You saw my log?

---------- Post added at 09:47 PM ---------- Previous post was at 09:47 PM ----------

It only shows rain/snow, as I understood
[LG Spirit Questions & Answers] kamil79123:
[MENTION=6319273]Randar EST[/MENTION]

No, I'm not looking at this. Download root explorer and try with it, i have done that this way.

Wysłane z telefonu.
[LG Spirit Questions & Answers] :
But are you using my apk? If yes then it's working as it should (I suppose, if you have knock code)
[LG Spirit Questions & Answers] kamil79123:
[MENTION=6632102]guglicap[/MENTION]

Tell me how should it work.

Wysłane z telefonu.
[LG Spirit Questions & Answers] :
Will do tomorrow on pc, going to bed now, I'm not fine :(
[LG Spirit Questions & Answers] Randar EST:
Dude, I tried it using Root Browser and Mixplorer. We already know the result.
[LG Spirit Questions & Answers] kamil79123:
I said root explorer, not root browser, dude. [MENTION=6319273]Randar EST[/MENTION]

Wysłane z telefonu.
[LG Spirit Questions & Answers] Randar EST:
Yes I know... Just wanted to say that tried two file managers already...

OK will try Root Browser. Did you mean the paid app?
[LG Spirit Questions & Answers] jonixas:
OK, I tried copying LGSystemUI.apk with a file manager, both 664 and 644 for permissions, didn't seem to work. Will have to try again with ADB when I get back home.

Edit: undoing the changes with a file manager works, I believe this might have something to do with the .odex (don't quote me on that, I have little to no idea what I'm talking about)
[LG Spirit Questions & Answers] :
No, guy, thank you. What do you mean by "undoing the changes"?
[LG Spirit Questions & Answers] jonixas:
That would be putting the original .apk back in its place.
[LG Spirit Questions & Answers] djed:
hi there, some one can help me to unbrick my lg H440n ,i need partition.txt or rawprogram0.xml after extracting kdz file i can't get partition from dz extracted ,and it's an MSM8916 wich not existe in BoardDiag3.99c models .the phone totally dead when connected to pc after force boot with tp i have relink hs-usb qdloader 9008 mode any help from pro there?
[LG Spirit Questions & Answers] :
But now you have the stock ui, haven't you?
[LG Spirit Questions & Answers] jonixas:
That's the point i'm trying to make, yes. Again: Using a file manager to replace the .apk won't work, but you, in fact, can use it to restore the original .apk.
[LG Spirit Questions & Answers] :
I'm gonna try that later. Will let you know.

EDIT:

Did some attempts. So, first I tried one apk with classes.dex in it. I set permission to 644 and then copied to the system folder. Not working, permissions changed to 660, I set back them to 644 (through adb obv, phone wasn't working), and then all was working. So, IMO, your problems are just permissions-related, but I may be wrong. Send me a logcat doing

adb reboot
adb logcat | grep -i systemui

But replace the last one with

adb logcat | findstr /i systemui

if you're on windows (don't know if it works, I've just got Ubuntu so you'll have to try yourselves)
[LG Spirit Questions & Answers] :
That's normal, but I need some lines over that, I think you've been too slow to catch the initialization process... Here's what I'm looking for

I/PackageManager( 1007): /system/priv-app/LGSystemUI changed; collecting certs

Lines around that.
[LG Spirit Questions & Answers] jonixas:
At this point, I'm just trying to install it with adb but I'm having a bit of trouble: I can't seem to get r/w access to /system.
[LG Spirit Questions & Answers] :
Okay, so, follow this instructions

1. push the apk to the sdcard

adb push LGSystemUI.apk /sdcard/

2. run the shell on the device

adb shell

3. get root access

su

4. remount system in rw

mount -o remount, rw /system

5. copy

cp /storage/emulated/0/LGSystemUI.apk /system/priv-app/LGSystemUI/

6. set permissions (sometimes they're correct)

chmod 644 /system/priv-app/LGSystemUI/LGSystemUI.apk
[LG Spirit Questions & Answers] jonixas:
[MENTION=6632102]guglicap[/MENTION] Thanks. One thing I noticed when installing it via adb is that SystemUI crashed and started again, as opposed to not doing anything at all and then not appearing after reboot.
[LG Spirit Questions & Answers] :
That's normal... I assume it is working now :D
[LG Spirit Questions & Answers] Mr.Ratio:
You really thinking that LG will release 6.0 MM for Spirit? This is too cheap phone for MM. Sorry guys but you are dreaming.
[LG Spirit Questions & Answers] :
Well, why not... Sources for this chipset has been released, I think that is in their interest to release MM on this device... Even if I'm not the one who better knows about this.
[LG Spirit Questions & Answers] kamil79123:
No MM for this Phone in nearly future, if ever in future.

Wysłane z telefonu.
[LG Spirit Questions & Answers] :
Just to confirm - weather animations are working.
[LG Spirit Questions & Answers] jonixas:
So to get weather animations working, you need to unfreeze the weather app, and have location enabled with the modded .all installed?

Something has definitely changed, since there are no shortcuts on the bottom of the screen anymore. While I haven't seen the weather effects in action yet, I also noticed that I can't change my wallpaper - there's an "Activity is not exist on this device " error
[LG Spirit Questions & Answers] :
First part of the post, yes.

Second part, no. That's strange. I did barely nothing to that apk(decompile, change a value in an xml to true, recompile). Did you remove the odex file? Right permissions?
[LG Spirit Questions & Answers] jonixas:
I didn't touch the odex, and set 664 for permissions. I also noticed that I cannot use the slide or pattern unlocks.
[LG Spirit Questions & Answers] :
Permissions should be 644 (but I think yours are a typo). Did you install via adb?
[LG Spirit Questions & Answers] jonixas:
It is, in fact a typo. I did install over adb.
[LG Spirit Questions & Answers] :
Send me a logcat over boot.
[LG Spirit Questions & Answers] jonixas:
[MENTION=6632102]guglicap[/MENTION] Will do when I get home.

For some reason, I seem to be unable to detect my phone while it is booting, so no go on the logcat.
[LG Spirit Questions & Answers] :
I see... Then install catlog from the playstore, run it, go in settings->lock screen->wallpaper and send a log, right after the "activity not found" toast.
[LG Spirit Questions & Answers] junuz:
Mobile data isn't working

I have trouble with mobile data on my auntie's H440n, it just won't turn on or even if it does only edge works, 3g shows up but it doesn't work and disconnects within 20s. I called the service provider, they checked on their end and say it's OK, they sent me the APN data and told me to reboot the device one or two times. When she got the phone there were few updates but I never reseted it to factory settings. Also it was taken form the Italian network TIM(shows on boot screen) and we are in Bosnia, but the guys at my network said the phone shows up ok. What should/can I do?
[LG Spirit Questions & Answers] jonixas:
One message in particular stood out to me

E/LockSettingsFeatureConfig(8169): LockScreenSettings Package not found. android.content.pm.PackageManager $NameNotFoundException: com.lge.lockscreensettings
[LG Spirit Questions & Answers] :
Yeah, system doesn't recognize it. Prolly there's an error in reading the Manifest from it or I forgot to put the original META-INF into. Try copying both of them from the original apk to the modded one.

I'm saying that thing about the Mainfest because I noticed that, yesterday, while I was doing my trials with systemUI without classes.dex I saw that there was an error on boot saying "failed to parse Manifest.xml"... Solved by copying the original.
[LG Spirit Questions & Answers] jonixas:
Will do later. On the other had, I definitely saw the snow effect in action.

I kinda may have sort of forgot to back up the original .apk .
[LG Spirit Questions & Answers] :
Should I upload it?
[LG Spirit Questions & Answers] jonixas:
It would be of great help.
[LG Spirit Questions & Answers] :
https://drive.google.com/file/d/0BxT6C-DbuxAEcS0teFBmVnJ3S0k/view?usp=docslist_api
[LG Spirit Questions & Answers] jonixas:
[MENTION=6632102]guglicap[/MENTION] Thanks, everything is working properly now. META-INF was missing from the modified apk, by the way.

One thing I did not realize that this would do is allow me to change the shortcuts in lockscreen, which look absolutely horrendous with a changed DPI.
[LG Spirit Questions & Answers] :
Thanks for the report, I'm gonna fix that tomorrow. I can't get the shortcut thing, could you repeat in other words?

Sorry guys, my English sometimes is not enough...
[LG Spirit Questions & Answers] Randar EST:
I think that he meant the apps you can launch from lock screen when you have slide lock;)
[LG Spirit Questions & Answers] :
Thanks randar, but I know what he mean by shortcut :D

I just don't get what does he mean by "allow me to change shortcuts, they look horrible with changed dpi"

Ps: I know what dpi is :)
[LG Spirit Questions & Answers] Randar EST:
Well..... I don't get it either lol
[LG Spirit Questions & Answers] jonixas:
Tell me that doesn't look atrocious.
[LG Spirit Questions & Answers] midzan21:
This shortcuts are looking crazy and that is DPI issue.... Somebody would need to edit apk and change in dimens.xml (or values.xml) size so it would fit correctly... That is just my idea because I can't do that at moment (had issues with "old" i3-2100 and AsRock MBO for some time now and I'm still switching to AMD platform (looking for cheap and silent cooler because stock AMD cooler s*cks at high RPM's and for OC ready MBO - Ahtlon X4 860K is OC ready but current budget ready AsRock MBO isn't))
[LG Spirit Questions & Answers] :
Well, I can't understand why that's happening, I didn't touch anything shortcut-related (I think). But will take a look.

[MENTION=5525412]jonixas[/MENTION] but weren't you using the stock lockscreen? How do you have that show effect?
[LG Spirit Questions & Answers] jonixas:
I think you all aren't quite understanding what I'm saying. The shortcuts look like that because of global DPI being different than stock. The modded version allows removing the shortcuts from lockscreen altogether.
[LG Spirit Questions & Answers] :
You mean that wrong dpi is system-wide?
[LG Spirit Questions & Answers] jonixas:
I mean LG's solution of shortcut implementation is terrible, as is the default DPI. I lowered my DPI to 280 and everything except the lock screen shortcuts and the Wolfram|Alpha keyboard looks fine
[LG Spirit Questions & Answers] Tomo123:
Maybe something from this thread can help:

https://m.reddit.com/r/Nexus5/comments/2mjhee/highly_recommended_change_your_dpi/

My suggestion would be to go lower in by 20 dpi each time you test. After that, find your sweet spot.
[LG Spirit Questions & Answers] jonixas:
See, that's the thing - literally everything looks the way I want it to look at 280 (the default is 320), except those two things. I'm not going to deal with an UI that looks like it was designed for the elderly to use just for not having nice looking shortcuts on the lockscreen. The point that I was trying to make all this time is that the modded .apk allows me to get rid of them, and having an overall better looking phone.
[LG Spirit Questions & Answers] kamil79123:
Damn guys. How is the going work on Rom for locked bootloader on unlocking bootloader?

Wysłane z telefonu.
[LG Spirit Questions & Answers] Tomo123:
I think that you have DPI issues because kernel switched to tablet DPI display mode. That's my best guess...

There are apps that let you test DPI changes on the fly, without rooting or changing anything. Can't remember which ones, but they exist. You could use that to play around and find out what suits you.

But, remember there are certain DPI values that Google officialy supports and recommends to devs. 280 seems to be a non standard value and borks some apps.
[LG Spirit Questions & Answers] AnteLo:
I have set dpi to 280 and everything is ok
[LG Spirit Questions & Answers] :
Oh okay guy.. No problem then :)

I have my dpi set to 310 because this way the icons I can't resize (notification, not battery) seems to match the modded status bar better.
[LG Spirit Questions & Answers] AnteLo:
I like more things on screen :)
[LG Spirit Questions & Answers] jonixas:
Exactly - more things on screen at a time.
[LG Spirit Questions & Answers] Daluqen:
Hello, I just got LG spirit for my girlfriend and I'm wondering. You can see on the front panel like 3 sensors, one is proximity sensor, but what about 2 others?
[LG Spirit Questions & Answers] midzan21:
One is proximity sensor, one is front-facing camera and last one is for accelometer (I think that is that)

So from ltr they are - proximity, accelometer (maybe) and front-facing camera
[LG Spirit Questions & Answers] Daluqen:
I can't find the answer. Manual from LG shows only proximity sensor and front-facing camera. There are still 2 sensors. If one is accelometer there is still one more unidentified.

[IMG="Front panel"]http://files.mgsm.pl/phones/lg-spirit/lg-spirit-01.jpg[/IMG]
[LG Spirit Questions & Answers] jonixas:
It's a direct satelite connection to the NSA !!

On a more serious note, I only see 3 sensors on the top front panel, and all of them are on the right side of the speaker.
[LG Spirit Questions & Answers] Fobos531:
There is clearly one on the left.
[LG Spirit Questions & Answers] midzan21:
[MENTION=5525412]jonixas[/MENTION] is right there are only 2 sensors and cam on right side of speaker I was looking at phone when I wroted my post (and now looked again, no sensors on left side)

Images are in linked Gallery

http://imgur.com/gallery/YeGtr

P.S.: Sorry for image quality, it is shoted with old Fujifilm Finepix C20 which have a hard time to focus at low distances and in dark conditions
[LG Spirit Questions & Answers] alexandru09021999:
How i can get the last update for my H440N ? Now i have V10K :( ! I buy the phone from a Romanian Shop but i have a application PLUS.pl and i think is from Poland .. i can get the last update?
[LG Spirit Questions & Answers] midzan21:
v10k is latest version of firmware for Spirit... There is no newer version of firmware...
[LG Spirit Questions & Answers] alexandru09021999:
Oh thanks.. But 6.0 will be on Spirit? Is official?
[LG Spirit Questions & Answers] junuz:
Bump
[LG Spirit Questions & Answers] Daluqen:
Yeah but it's weird, on the LG site you can clearly see that there is a sensor on the left side, even my hardened glass is cut at the location of the "invisible" sensor :)
[LG Spirit Questions & Answers] jonixas:
What is your exact model ? I have my suspicions that H440n has 3 sensors, and H420 has 4
[LG Spirit Questions & Answers] midzan21:
It would probbably in this month (max at April), but it isn't confirmed yet or anybody saw update on phone (for unrooted users)

---------- Post added at 11:03 AM ---------- Previous post was at 10:49 AM ----------

As you said, H440N have only 3 sensors (technically 2, one is camera) so maybe there is small difference with H420/H422 variants (just and idea which didn't tested out)... But I would definietly check for 4th sensor on old screen (broken one, maybe there is difference in production) later on today...
[LG Spirit Questions & Answers] Daluqen:
H440n, but LG has the same pic for H420 and H440.
[LG Spirit Questions & Answers] pcfighter:
There is three sensors, but two of them is for proximity and last one is camera. All phones that contain proximity sensor have two sensors for it.
[LG Spirit Questions & Answers] Randar EST:
Is anyone interested if I show you how to set permissions (like can an app use camera or sth) without root?
[LG Spirit Questions & Answers] midzan21:
OK so for all of you which have issues with Enabled Weather Animations in moded LockScreen - it works with Knock Code & with PIN Code... Tried right now and it works (pushed via adb and setted right permissions on apk)

Edit screenshots are down below on Imgur

http://imgur.com/91VNDLd

http://imgur.com/9we4aZe

Edit 2: It is done on clean install of ROM with Performance Tweaks & xposed Framework (for 2 modules which are G3 TweaksBox and GravityBox... GravityBox is used to enable integrated Torch & Screen Recording and do some minor tweaks while G3 Tweaksbox is used for other tweaks like PowerMenu Enabled Tweaks)
[LG Spirit Questions & Answers] :
And with swipe, obviously.
[LG Spirit Questions & Answers] midzan21:
Obviously :P Also read Update 2 which wrote while you quoted me :P
[LG Spirit Questions & Answers] :
Yeah, thanks for mentioning the torch, I think tomorrow I'm digging somewhere in settings/systemUI and trying to enable it (but I think settings, didn't see anything torch-related in UI, if I recall well).

Second: as you may have noticed, when the phone signal is full a "!" will appear... At first this wasn't intended (I did an error in copy-paste :D), but then I thought that it wasn't so bad since stock lollipop has 4 stages and lg stock rom 5... This way you can know when the signal is full... Should I keep it or no?
[LG Spirit Questions & Answers] midzan21:
For a Torch, that is probbably somewhere in Settings and in framework-res (but it is maybe in SystemUI, look for something like Torch and Flashlight).

Second: that doesn't bother me, it is not a big deal at all (afaik it is rare thing to get full signal at my home, mostly it is about 3-4 stages)... Just keep it as it is ;)

EDIT: You can check this (it is extracted from some G2 mod for stock Lollipop) for Torch in QuickSettings

HINT: /smali/com/lge/quicksettings/handlers is where I found Torch/Flashlight options but didn't cheked anymore (it is pretty late for me to d anything, already messed up phone again with G4 Home and Weather apps which FC no matter what did with permissions via adb)

https://www.androidfilehost.com/?fid=24438995911970040
[LG Spirit Questions & Answers] jonixas:
I think they did something funky with the torch, as the only thing that allows me to use separately was the Tesla LED app. None others worked, and Tasker showed torch as unavailable on device.
[LG Spirit Questions & Answers] :
Key plus works too, currently. [MENTION=4203213]midzan21[/MENTION] for me too yesterday, it was ~ 23:30, thanks for the hint, I will give it a look.
[LG Spirit Questions & Answers] Tomo123:
Power Toggles have a Torch / Flashlight function, and it works.
[LG Spirit Questions & Answers] :
Power toggles? You mean the menu that pops up when you long press the power button? I don't see a torch function/toggle anywhere.
[LG Spirit Questions & Answers] midzan21:
[MENTION=6632102]guglicap[/MENTION] he means Power Toggles app... Also, I used for a while now Flashlight app (this one to be precise: https://play.google.com/store/apps/details?id=com.devuni.flashlight ) and it worked fine, now use Torch from GravityBox (I think that uses stock binaries just like screen recording option from same Xposed module)
[LG Spirit Questions & Answers] jonixas:
Seems like I didn't try all the options. [MENTION=5043095]Tomo123[/MENTION] Using Power toggles seems like a half assed solution if there's toggles already in place. It used to be good back in the old days when only Samsung phones had toggles.
[LG Spirit Questions & Answers] :
But there isn't flashlight toggle already in place.
[LG Spirit Questions & Answers] jonixas:
I mean having a second row of toggles is song the same thing twice.
[LG Spirit Questions & Answers] Tomo123:
My notification toggles are disabled, and are moved to the desktop with Power Toggles. It's a matter of preference. I quite like my homescreen, and have been using such a layout for quite some time now.

And it's more reasonable than hacking the phone with Xposed to support a flashlight. Just use a widget or something. If you need a proper flashlight, add something like Fenix LD10 to your EDC :)

Well, that's my opinion, at least. Have a good day.
[LG Spirit Questions & Answers] jonixas:
That does seem reasonable enough. Also, nice flashlight.
[LG Spirit Questions & Answers] Randar EST:
Oh F*ck

Guys, I have a hard brick on my friend's Spirit. No download mode- when trying to enter it, says please wait, entering download mode...

No idea what he did, he says at morning it worked fine and then - :(

What should I do.... Or can I do something?
[LG Spirit Questions & Answers] AnteLo:
How did you that?
[LG Spirit Questions & Answers] Randar EST:
Told you. Not my phone. The owner of the phone says he did nothing, worked normally then suddenly :(:(
[LG Spirit Questions & Answers] AnteLo:
Are you sure that it is HARD BRICK?? Some pictures?
[LG Spirit Questions & Answers] Tomo123:
Phones don't hard brick without reason. He ( or you ), obviously did something that caused it. Don't want to point fingers, but that's what probably happened.

So, sooner we know what truly happened, sooner we can help out.
[LG Spirit Questions & Answers] :
Hello,

did a small modification to framework-res to tint the navbar with the main app color (what the Xposed module Flat Colored Bars do).

https://drive.google.com/file/d/0BxT6C-DbuxAEZWg2VW9QV2Z2NjA/view?usp=sharing

If you're using the Xposed module my advice is to keep it instead of using this, since it doesn't work with every app.
[LG Spirit Questions & Answers] kamil79123:
[MENTION=6632102]guglicap[/MENTION]

Could you screen how it work?

And what about operator name in UI?

Wysłane z telefonu.