yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] Over567:
Thanks for answering but I remind of doing this on stock rom. Nevermind then I will save it on the cloud. Thanks.
[G4 Android Development] breversa:
Really ? I’d love to have a confirmation. :)
[G4 Android Development] masemoel:
I used to save my contacts on my SIM long time ago.

Nowadays I use Google Contacts.
[G4 Android Development] Over567:
Can't really find better than this but it's showing that you can backup your numbers to sim on stock rom.
[G4 Android Development] breversa:
That's interesting, thanks !

Dumbphone Assistant's main dev explained that the SIM API is almost completely undocumented ; that could mean that the SIM reading/writing knowledge is basically getting lost because of the absence of need for such functionalities in recent versions of Android (and/or SIM card reader driver, most probably).
[G4 Android Development] yobooh:
Can someone resume me the worst problems with LOS 16 ROM?

Stock roms seems so bloeated and sluggish....and I have a damn battery drain even with 2 Core disabled (I have overheating issues)
[G4 Android Development] Over567:
It's fully usable for daily. Some little things like when you start the phone it sometimes takes time for the phone to open your sim code window so you can access your network but its like 2 out of 10 times and it's maximum of 1-2 mins of delay from the start.

Other thing is that can be annoying that when I charge my phone sometimes I need to push like 10 times the unlock button on the back to the display finaly wake up. Sometimes it wakes up instantly but the brightness is on 0 and can't see anything.

These maybe are just on my device maybe you won't have it at all. It's a really awesome rom and updated daily thanks to steadfasterX. I would advice you to upgrade and try it out.

Can't really remind any other problems at the moment. Also I can't say any deep things about it I just use it casually.
[G4 Android Development] jjcdennis:
I finally got around to doing a full clean install and the results were excellent. My battery life is very significantly improved with the 6000 mAh battery. I let it sit through the night. Consumption was around 0.16mAh overnight and average 0.56mAh since charging yesterday late afternoon. Overall at current rate the remaining hours = 46.

So for anyone else with high battery consumption (1.5 - 3.5+ mAh) follow the instructions in vq8acsxht's note attached.

Do a full clean install, install rom, your root tool and I installed gapps nano, then install apps - I also set them up, ie: opened the main apps, set them up (login to required apps), passwords, and after I finished I booted to TWRP, I cleaned dalvik and cache, booted to system and then tested. I used Accubattery to test. Note also that the phone has much improved speed - opening apps, operating apps, excellent overall.

Once again, thanks steadfasterX for this great rom and vq8acsxht (and others) for his help in how to improve battery life.
[G4 Android Development] 4ngl09669:
Sorry, Where can I find the notes to improve the battery?

And out of curiosity, what brand of battery do you use?
[G4 Android Development] jjcdennis:
"Do a full clean install, install rom, your root tool and I installed gapps nano, then install apps - I also set them up, ie: opened the main apps, set them up (login to required apps), passwords, and after I finished I booted to TWRP, I cleaned dalvik and cache, booted to system and then tested. I used Accubattery to test".

Perfine 6000mah.
[G4 Android Development] 4ngl09669:
Sorry, I thought your message was just a piece of the guide ... I'll try tomorrow! Thanks!

In your opinion, is the best ROM for battery?
[G4 Android Development] jjcdennis:
I stick with this rom and battery life is now fine. steadfasterX keeps it running extremely well and gives us the security upgrades regularly.

It is a pain to have to reload apps, but in the end it maybe took me an hour and it was worth the effort. I'm going to do this every couple rom updates just to keep things running well.
[G4 Android Development] jjcdennis:
Re battery - I have a Perfine 6000mah battery I got from A*****.com. I looked and didn't see a source, but there are other batteries available. I have had this about a year and it has worked well for me.
[G4 Android Development] 4ngl09669:
Thanks very much!!

Does usability for increased size differ?

With this ROM, how many hours of screen do you do? Thanks for all!
[G4 Android Development] Ximo F. Verde:
I use a Polarcell 4150mAh battery and I've noticed a certain improvement in screen time, I get about 3h w/ 20% left. Could probably get a bit more with lighter use.

https://www.amazon.es/Batería-para-G4-H815-3150-mAh-PolarCell/dp/B01LZ2E2BZ
[G4 Android Development] Over567:
Just bought a "new" unused factory battery from ebay like 4 months ago and it's awesome compared to the old one. I was playing like 3 hours for now (dragalia lost) and have 20% more to use. Also it was super cheap as it's an old phone. So consider this too guys.
[G4 Android Development] jjcdennis:
Not sure what exactly "usability for increased size" means - you need a bigger case and the vendor sent one with the battery that was loose fitting and bulky - I ended up getting a different one from A****n. The battery makes the phone a bit bigger and slightly heavier, which is no bother to me. If you are using an app like Waze it means less charging time over a long drive. My setup makes using a charge cable while I am driving very difficult.

I don't spend much time on my phone. A phone call or two, a bit of texting, check mail maybe. Over the last 2 full days, since a full clean install I have seen greatly extended battery life - started with a charge to 100 hours - after 24 hours = 82 hours left, after 48 hours - 56 hours left.

Before the clean install I was having to plug in every day.

The bigger battery is probably the second most important upgrade for me, after installing steadfasterX's roms.

FYI, 38 hours this am remaining.
[G4 Android Development] mattburga1984:
Is it possible to downgrade from PIE?
[G4 Android Development] rundumdieuhr:
Yes, you can switch to any ROM (e.g., stock, Oreo) easily by means of clean installing it via the recovery (TWRP). Just note, the installed apps and settings are usually incompatible when switching the ROM version, so you need to newly configure most that is not Google-backuped.
[G4 Android Development] EWBG29:
as [MENTION=9903557]rundumdieuhr[/MENTION] said u can downgrade with no problems. Just make sure you have a backup since you won't be able to restore your apps and setting when doing a downgrade from Google Backup (You can restore when flashing the either same or superior android version it doesn't matter the ROM. If I'm not mistaken).
[G4 Android Development] mattburga1984:
Thank you for the info. :)

One more question. With this Rom, my WIFI seems to turn off randomly. Is there any way to fix this?
[G4 Android Development] EWBG29:
Follow [MENTION=5545101]steadfasterX[/MENTION] ' guide about getting a log. He first must see why that happens and then fix it or explain...
[G4 Android Development] steadfasterX:
Try AEX. let me know if you have the same issue there. After that LOS again and go to my FAQ and share the log by following the option for specific issue
[G4 Android Development] Over567:
Don't want to be a prick but are there any plans on Lineage OS 17 for G4, or it's impossible?
[G4 Android Development] busattovini:
BEST ROM.
[G4 Android Development] Over567:
Whoa man just installed it and already seeing the difference. Like Trebutchet no longer lags when swiping up for apps.
[G4 Android Development] 4ngl09669:
So we have to do all these things for the next updates ?
[G4 Android Development] steadfasterX:
No idea what you're talking about .
[G4 Android Development] jjcdennis:
Thanks once again steadfasterX. This phone is running fantastically well and we all have you to thank. Christmas beer is on the way.

---------- Post added at 03:36 PM ---------- Previous post was at 02:51 PM ----------

Couple questions:

When doing the regular clean is there any harm in clearing Dalvik cache along with system and cache?

Should Dalvik cache we wiped inbetween flashes of the rom, addon su and after installing gapps?

I have been doing this and noticed that neither step is included in the faq description for a regular clean flash.

Thanks
[G4 Android Development] steadfasterX:
no harm. dalvik can be cleared or not. makes no diff. only in rare cases it can help to clear it.

thx for the beer ;)

.-
[G4 Android Development] harunuysali07:
Knock On

Hello I'm newbie:

On my H815 knock on future isn't woking is it normal with custom roms or did I forget to do something, there is no option for double tap to open phone.
[G4 Android Development] steadfasterX:
https://github.com/Suicide-Squirrel/issues_pie/issues/16
[G4 Android Development] Ceezar:
Great work guys, thanks for making us eat Pie on our G4's...on a scale of 1-10 how good is this beta for daily use? i see some issues on github, how is the overall performance? is it worth the upgrade from LOS 15.1 or should i practice more patience.
[G4 Android Development] ozukoc:
It has at least same amount of stability with Los 15.1 . Im using it as daily and its good. :)

On 1-10 , for me its 8. I cut 2 points for general oreo and pie shared bugs but its not related with it so... I say dont hesitate :)
[G4 Android Development] Sir Daniel III:
It's is actually very stable. The only huge noticeable thing is the UI is a bit choppy and SELinux is disabled. (SELinux may be fixed later on).
[G4 Android Development] aha360:
I don't blame you for wanting SELinux, but to me, SELinux really gets in the way of doing simple non-root terminal commands, like "reboot -p", or "reboot" or "reboot recovery", or "reboot bootloader", which is why I don't like that. :(
[G4 Android Development] belrik:
Lag on some app launches prevents system UI from responding

I restarted and whilst some apps launch instantly, some apps will lag and freeze up the UI completely so that task-switching doesn't respond.

This does seem to fix itself after some un-defined amount of time but here is a couple of logs. First Chrome wouldn't launch, then I rebooted and Chrome launched right away. I cycle through a few apps and eventually hit plex which exhibits the same behaviour.

Logcats attached showing before and after the reboot. Stability is good, left it for a few days and no random reboots.
[G4 Android Development] belrik:
selinux is like a firewall, it's a PITA at times but really useful if something dangerous is out there. That being said, I prefer a set of more powerful abstractions on top of selinux instead of raw selinux.
[G4 Android Development] steadfasterX:
LOS 15.1 - SELinux = enforcing

adb shell reboot -p : works

adb shell reboot : works

adb shell reboot bootloader: works

(LOS terminal app*) -> reboot -p : denied

(LOS terminal app*) -> reboot : denied

(LOS terminal app*) -> reboot bootloader: denied

* Developer options -> Local terminal = enable

SELinux does not block these per se. If you have an app which tries to execute these commands it gets blocked though:

05-01 16:35:53.367 11952 11952 I auditd : type=1400 audit(0.0:9): avc: denied { write } for comm="reboot" name="property_service" dev="tmpfs" ino=10856 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0
05-01 16:39:00.251 12021 12021 I auditd : type=1400 audit(0.0:10): avc: denied { write } for comm="reboot" name="property_service" dev="tmpfs" ino=10856 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0
05-01 16:39:07.251 12044 12044 I auditd : type=1400 audit(0.0:11): avc: denied { write } for comm="reboot" name="property_service" dev="tmpfs" ino=10856 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0

When I allow the above commands in SELinux I have to do that either for "untrusted_app" or have to relabel a specific one and allow that one.

The problem with "

untrusted_app

" is that it will allow any app to use those commands. To be clear: ONLY those specific commands though.

The problem with

re-labeling and allowing a specific app

is that it will be only possible with one specific app.

so which one is better? depends tbh. My personal feeling is that it should be ok to allow this for "untrusted_app"'s.

Let's say you are infected/hacked and SELinux is protecting you fine but the hacker/malware is now able to reboot/power-down your device which is .. bad .. but not THAT bad right..

If you like: Let me know what you (

all of you out there

) think about that one?

I don't care about security

I would allow these commands for any app

I would allow these commands only for the LOS terminal app

.-
[G4 Android Development] hteles:
I would deny these commands for all apps out there. I care a lot about security because this is my primary phone and I have remote administration tools, bank accounts and other services. That's why I rely so much on encryption and security hardenimg.

Thanks
[G4 Android Development] aha360:
To be honest, my personal view is in line with yours, especially if you're taking common-sense precautions on top of good computing security practices, while inserting commands and doing things that more sophisticated users would do, like not being logged into sensitive sites all the time like eBay/Amazon/PayPal et cetera while playing around with Magisk for instance.

However, in the interests of the wider custom ROM/Android enthusiast scene, they would want SELinux to be set to 1, especially for security and LineageOS OFFICIAL badge of approval, which isn't that much of a deal-breaker with boot-time SELinux-switching apps being widely available.

My vote: I would allow these commands for any app
[G4 Android Development] pedrogcsb:
I did not, will try now.
[G4 Android Development] belrik:
Makes sense to allow these from the terminal app, I would prefer only the terminal app having unrestricted access to binaries.
[G4 Android Development] Sir Daniel III:
I think I'll like to only allow the LOS terminal app to have unrestricted access.
[G4 Android Development] steadfasterX:
I just want to add one thing: amount of work (to integrate) and how that impacts security. That may or may not influence your decision.

Also we can merge the first 2 options as the integration is identical but I missed the current one.. so here you go again:

a) "I don't care about security" or "I would allow these reboot commands for

any

app" (workload = small | least secure )

b) "I would allow these reboot commands only for the LOS terminal app" (workload = high | very secure)

c) "I would not allow these reboot commands - only when using ADB" (workload = none | most secure)

.-
[G4 Android Development] polfrank:
I'd say "c". We can easily use adb when something needs to be done. For example, we should not experiment with flashing and modifying roms when we are on vacation. :D:rolleyes:
[G4 Android Development] rundumdieuhr:
When given the choice, I would vote in favor of secure b).

However I do not want to cause extra high workload - because we can reboot to recovery etc from an extended reboot menu, right? Does that option stick in the developer options in Pie? I think in Oreo LOS this is an extremely helpful function.

Which is what would make myself agree with the status quo / c) as well. [emoji106]

Gesendet von meinem LG-H930 mit Tapatalk
[G4 Android Development] steadfasterX:
Yes that option is still there.

The mentioned adjustment is more for apps like TWRP and such which will fail to use the reboot option. Something like that .

I think there is not much we loose here when we leave it as it is but just wanted to know what the crowd thinks ;)
[G4 Android Development] sdembiske:
It seems to me that would be the most expedient option for now, leaving it as it is. However, I see no reason, eventually, why apps that provide the reboot function could not be individually 'Trusted' to lessen any chance of incurring an unknown security risk. The Norton Security app provides a similar option to 'Trust' when an app is flagged as allowing something that may raise a security concern. Most root apps provide the same type of ability. I suspect something in similar function could be incorporated/coded into the LOS operating system - it then puts the onus on to the user whether to take the risk or not, rather than making a total exclusion rule where individual choice is completely ruled out.
[G4 Android Development] jjcdennis:
I'm really interested in moving from CypherOS 4.2 to a ROM that gets security updates. Cypher is an excellent ROM and has Bluetooth calling/voice, but as of now receives no updates. Hate to ask again, but will this 9.0 ROM get a fix for this Bluetooth problem. I see it listed under issues, but with no status. I don't think any of the Android 8 or 9 G4 roms have a fix and this is a stopper for me.
[G4 Android Development] 4ngl09669:
What Is the best Gcam for this ROM?
[G4 Android Development] shiboby:
my girlfriend had her phone flashed by a friend a year or so ago. How do I check if this was UsU or official?
[G4 Android Development] Krakakazubla:
Any news about q?
[G4 Android Development] steadfasterX:
boot to download mode and start SALT, it will display the UsU state

.-
[G4 Android Development] Over567:
So since I installed the new rom the dttw acts strangely the screen pops in when nobody touches it. Enabled the close proximity thing so that cannot be the problem.

NVM just disabled it. Never used it anyway :silly:
[G4 Android Development] shiboby:
hey steadfasterX, thanks for the response. So the phone is definitely officially unlocked. So from your links, I downloaded and flashed h815_20p_bootloader_29a_modem_TWRP-flashable, rebooted TWRP, flashed h815_20p_modem, rebooted twrp, cleaned the phone, and then attempted to install both lineage-16.0-20191217-UNOFFICIAL-h815 and lineage-16.0-20191119-UNOFFICIAL-h815. However, with booth files, I got an error that the model is incorrect. I've opened and checked the phone, it is certainly a H815 european version. What should I do?
[G4 Android Development] steadfasterX:
updating TWRP to latest preview (P flavor) and if you still encounter issues use the TWRP thread and share the recovery log (see my sig)

.-
[G4 Android Development] 4ngl09669:
Another question and I take the trouble out, what is the kernel with which to use this rom ? And come I install it? Thank you very much for help
[G4 Android Development] roberto888:
Hey!

I clean flashed 20191217 build as recommended, but there is no audio, and video playback lags. Previous build worked perfectly.
[G4 Android Development] Bruno M:
[MENTION=5545101]steadfasterX[/MENTION] you are planning to launch a new version with the latest security updates or planning to launch an los 17 version. Thanks :good:
[G4 Android Development] steadfasterX:
Why do you care about that? Everything included what you need so no need to install anything else.

That report is completely useless. Consider to use the FAQ and provide everything or as much as you can because without a log file not even Santa can help you.

I'm doing a lot of things in parallel you know...

While [MENTION=4956374]aoleary[/MENTION] and me are working on LOS 17 several months already it is far away from being able to get released. if you want to follow the process , the major issues are listed here : https://github.com/Suicide-Squirrel/issues_a10/issues/
[G4 Android Development] Sofilux:
Bluetooth not working

Hi,

hope you can help me. Device is h815, unlocked with USU. OS is latest lineage-16.0-20191217-UNOFFICIAL-h815_usu.zip. Clean flash has been performed several times. My bluetooth is not working. It keeps crashing. I reproduced the crash and generated a log, which can be found here: https://paste.omnirom.org/view/5c96b8a7

Thanks for your help!
[G4 Android Development] Ximo F. Verde:
Just a couple of Qs in case somebody has come across the same issues and has some advice

a) Even though Google Pay is installed correctly, hiden from magisk and my credit card registered, the phone does nothing when it gets close to the pay terminal. Ive tried to move it around since the NFC chip is somewhere in the middle and also leave it on the terminal for a few seconds, without success. Any ideas?

b) The device almost never falls back to 3G, even if the LTE is at zero bars for more than an hour. Manually setting it to 3G has no effect, the device stays at 4G no matter what. Again, any ideas?

Thanks in advance and a big thanks to Steadfaster for his amazing work.
[G4 Android Development] jjcdennis:
I actually have 3g service only, no 4g with my cell supplier. I have no problems with 3g. The phone will show I have 4g, but I get 3g. I have the latest rom installed.

Can't help you with Google Pay.
[G4 Android Development] Pyrocks:
Hi, I clean installed this rom after using los 15.1 for a few months. One feature that seems to be missing (for me at least) is app drawer suggestions. The "Suggestions" option seems to be missing from the "Home Settings" menu?

Update: apparently it's not just missing, it was purposely removed from the Trebuchet launcher in lineageos16 to make it more lightweight.
[G4 Android Development] steadfasterX:
Take a log "specific issue" when trying would be the ONLY option to solve this. See the faq.

In your case I would use a local terminal app to execute the log comands because you will be likely without a PC near you when doing so. If that's not possible grab the log asap after trying .

in any case write down the exact timestamp up to the second when you start the payment process or trying to start it. Also when it ends.
[G4 Android Development] ahorntaler:
For me it's the same. Bluetooth is always crashing.
[G4 Android Development] steadfasterX:
well. I'm a bit frustrated tbh..

In

EVERY

changelog I write what you should try at very first and even HOW as well (disable selinux) but seems no one reads that actually. See the attached pic:

View attachment 4908739
[G4 Android Development] Sofilux:
Thanks for the help. I tried to do as you told, but it says in adb shell: Couldn't set enforcing status to permissive: Permission denied.
[G4 Android Development] 4ngl09669:
Sorry, I meant the firmware with base MM or N ?
[G4 Android Development] steadfasterX:
Sigh ... Did you actually read the instructions in the changelog ? It states clearly the steps and one of them is root
[G4 Android Development] Sofilux:
Hi steadfaster, thanks for your patience with people like me. It would be very helpful if you could add a link to the exact changelog that you mean. I just saw the image you provided, but don't know what other info you refer to.

Thanks!
[G4 Android Development] rundumdieuhr:
steadfasterX is referring to his step-by-step logging guide at http://bit.do/logcat

You find this and other information in every of his new version posts and in this thread's second post (FAQ #01):

https://xdaforums.com/showpost.php?p=79502871&postcount=2
[G4 Android Development] ironil:
Encryption

I have an officially unlocked h815 and I've been running the 20191217-UNOFFICIAL-h815 build (and the previous one before) with no problems (although I'm yet to try the bluetooth to see if it fails too).

The major problem I've had is with encryption. When I tried to encrypt the phone, the process seemed to go normally, but as it finished and proceeded with the normal restart of the phone, it never went beyond the LOS start animation, until it finally threw me into recovery after a LONG time (1 hour?).

As I've read in the thread, TWRP was unable to decrypt the data, so I had to wipe everything and reinstall, since phone refused to boot. I've done it twice already. I'm not sure I can provide logs, since they end up encrypted with TWRP unable to read them. Does anyone (steadfasterX?) know how I could help with the issue? Encryption is a major requirement for me.
[G4 Android Development] micr9:
How do I mod my lg tribute empire g4 r she'll break