yashsingh1/xdaforums huggingface dataset:
[G4 Android Development] Zqpvr01:
I will try that out. also Android 10 and up seem to have sensors broken for my H812, like gps and auto rotate and stuff like that, do you know why that could be happening? Android 9 works fine.
[G4 Android Development] aoleary:
Some people experience that issue.. I did a testing project on the kernel where in A10 I went back to the same level the kernel was at in Pie, and I couldn't find anything. Sometimes it would work and sometimes not.

What our testing did find was that sometimes clean flashing and then a couple of dirty flashes of the same version worked..

Sometimes the first flash would work, sometimes the 2nd or other times the third...

It was really odd and frustrating for everyone
[G4 Android Development] Zqpvr01:
h812 version seems to not work, it boots into fastboot
[G4 Android Development] aoleary:
I was messing around with some stuff last week that crDroid didn't like. I thought that I had removed it all.

I flashed the AICP build and that booted up fine so you can try that in the meantime
[G4 Android Development] domx93:
Hi, thank you for porting android 13 on this device! :)

I have a question: is it possible to enable the double tap for waking the phone up? It works just for sending it to stand-by.
[G4 Android Development] aoleary:
Hi.

You're welcome.

The option to turn it on should be in Settings >> Display
[G4 Android Development] LuizKarlos89:
First of all, thank you a lot for keeping my LG G4 H812 alive. I would like to know how to solve the error that when I install the system, I don't get the imeil and I can't make calls or connect with my SIM.
[G4 Android Development] aoleary:
That's very odd as I have no such issues on my phone
[G4 Android Development] aoleary:
Did you flash the baseband after unlocking ?
[G4 Android Development] will734:
Super power decade ,maybe battery life end? Plug off charges cable will be shut off immediately 。but almost goodH815
[G4 Android Development] aoleary:
Can anyone else confirm if the sensors work on usu devices with the November builds?
[G4 Android Development] will734:
View attachment 6038333
[G4 Android Development] will734:
sensor a little bit faster in touch, need slow down !! i need update or debug !! battery consume too much to take it go out
[G4 Android Development] timbuctoo:
Is it fixed for the H812 now for crDroid v9.11?
[G4 Android Development] aoleary:
I haven't updated crDroid v9 since September, so I don't remember if I removed the bad build or not.

I'll build the December Security Patch in the next week or so, and I can 100% guarantee that that build will be fine..

In the meantime you can flash AICP 18 to get A13
[G4 Android Development] aoleary:
Unfortunately to get the G4 to run A13 effectively, I had to push the hardware a little bit more..

I'm always looking for stuff to improve the battery, so hopefully sooner rather than later I'll get it back on line
[G4 Android Development] timbuctoo:
Thanks, but I'm kind of a crDroid fan. Does AICP provide the same or more level of customization than crDroid?
[G4 Android Development] aoleary:
crDroid has been updated also :-)

I find aicp a bit faster in A13, than crDroid, but thats just my opinion. crDroid does have a bit more customization options than AICP, however
[G4 Android Development] timbuctoo:
Thanks for the info. I guess I'll try both to decide which one sticks.
[G4 Android Development] yeapitisigandalf:
hi and happy new year, is the phone suppose to take around 5-10 minutes to boot? im on the LG logo at first, i didnt thought the gapps was neccesary so i booted it without gapps and the phone booted after 1-2 minutes but got stuck on the cdroid logo and eventually shutdown this happened over and over so i installed gapps, now it never boots its just stuck at LG logo with the blue light flashing will try to install again, im so confused.

Update-Back in square one i installed again using twrp its still booting to cdroid logo and looping back and back again is this normal? its been more than 4-5 minutes..

another edit its lg g4 h815TR europe in general
[G4 Android Development] aoleary:
I'll have a look at that in the next few days.. Sorry about the inconvenience :-(
[G4 Android Development] aoleary:
Hi,

I have just installed crDroid v9.12 on my EU H815 with and without GAPPs successfully.

Can you grab me the boot_lc* logs from the /cache partition please?
[G4 Android Development] will734:
Wiki
[G4 Android Development] aoleary:
WTF? LOL :D
[G4 Android Development] will734:
https://xdaforums.com/t/diy-h815-usa-variant-hardware-boot-loop-i-fixed-myself.3311623/page-3 let's be a bakery
[G4 Android Development] aoleary:
Ah, you think he could have the bootloop issue? That sucks for him. Need to hear back from him though..
[G4 Android Development] timbuctoo:
Hi All,

Asking out of curiosity.. does NFC reliably work on any custom ROM for you folks? Suggestions appreciated.

@aoleary, is the proximity sensor still broken on this ROM?

Thanks in advance. Cheers.
[G4 Android Development] aoleary:
Hi,

Unfortunately NFC has not worked reliably since Nougat in custom ROMs :-(

Proximity Sensor still broken in A12/A13 :-(

I have also crDroid for A11 which is up to date with security patches
[G4 Android Development] timbuctoo:
Thanks for confirming.

Which one would you recommend amongst crDroid A11 and A13? I'm not much for being on bleeding edge releases, but only want something that is reliable.

Also, I'm a programmer as well. I used to work on the modem services layer (C and C++ based) in the Linux-Java architecture (which is Android today) back at Motorola almost two decades back, but I've been out of the telecom industry since then. If you can spare some effort in assisting, I could help try to fix these issues along with you.
[G4 Android Development] aoleary:
Whether to go for A11 or A13 is really a question of how and what you use. Some people need A13 for the support of newer headsets, for example. Another guy who is quite dependent on GPS finds GPS way better in A13, even though device config-wise they are identical between A11 and A13.

I would say that A11 should probably be a bit faster as A13 is a little bit heavier than A11. A11 is now as fast and smooth as Nougat stock, in my opinion..

Note : just my builds, as SFX hasn't built A11 or A13 yet with my updated kernel and device tree.

Also, I would definitely be interested in any help that you can provide.

If you are on Telegram, my username there is also aoleary

I also have a Discord account if you prefer that ;-)
[G4 Android Development] aoleary:
January Security Patch build has been uploaded.

I have recently started using OrangeFox as my main Recovery (instead of TWRP) and I can say that its absolutely awesome!!

I have added the link to the recovery in the main post.

Note: This months build is a little bit bigger (in MB) as I have added the Lawnchair launcher to the ROM, as I find it performs just a little bit better than the built-in launcher.

I was not able to figure for this release how to remove the built-in launcher and not cause a bug with swipe up from the bottom of the screen when using Gestures navigation!

Hopefully in Februarys build I will have figured this out..

DEVICE

g4-common: drop mm-pp-daemon as its no longer used and can cause CPU issues (1/2)
* we drop the blob also in the vendor : aoleary/vendor_lge@671620e
g4-common: re-build renderscript hal from source
* some old apps can benefit from renderscript.
g4-common: power-libperfmgr: Introduce Kernelspace Battery Saver
* Needs Kernel side support
* This activates kernelspace battery saver via powerhal whenever
battery saver is enabled in userspace, thereby lowering power
consumption at kernel-level by disabling boosts and such
Revert "g4-common: sepolicy for boot debug logger"
* We build boot debug via extendedrom now
Revert "g4-common: Add props to improve battery backup"
* These do nothing, so revert

KERNEL

defconfig: activate Kernel Driver Support to Connect to Ender
Revert "defconfig: Switch to 300Hz"
* This drained too much battery without much performance benefits
Makefile: silence a few warnings
power: reset: msm-poweroff: Reboot to recovery when kernel panics
g4: enable Kernelspace Battery Saver
drivers/misc: Introduce kernelspace battery saver mode
sched: Process new forks before processing their parent
* This should let brand new tasks launch marginally faster.
kernel/sched/fair: Optimize fair
* Make scheduling period more efficient
* Process new forks before processing their parent
* Reduce the opportunity for sleepers to preempt
* Increase the time a task is considered cache-hot
* Reduce latency for better responsiveness
kernel/sched/features: Optimize features
* Do not give sleepers 50% more runtime
* Enable NEXT_BUDDY for better cache locality
* Do not reduce perceived CPU capacity while idle
* Queue non-local tasks on a cache sharing CPU
sched/fair: Switch sched scaling to linear
* This has performance improvements.
dts:gpu: Improve deep sleep by reducing cpu latency requirements
[G4 Android Development] timbuctoo:
Thanks. Reached out to you on Telegram. Not sure if you prefer Discord instead, but I'm with a different id there.

Btw, apologies for the delayed response. Been busy with a couple of things at home.
[G4 Android Development] _tyler_:
Surprised this thread is still active so maybe I'll give this a go...so UsU says

Do I need to use one of those TWRP and go to its Android ver? Or can I go straight to crDroid 11/13 (not sure which I want to end up on)? Which twrp would I use?
[G4 Android Development] aoleary:
You can use TWRP-Preview, or the orangefox recovery linked in the main post.

I much prefer orangefox. Much better functionality than twrp.

You can go straight from whatever custom ROM you are on at the moment, but you need to do a clean flash :

Clean Flash means, one wipes:

Dalvik/ART cache

System

Data

Cache
[G4 Android Development] _tyler_:
Wow, fast as an orangefox :eek: So I just dug up some old phones, tried my hand at getting a moto g 2015 onto modern android. RAM limited my proposed usage. G4 has 3x RAM, so giving it a shot.

I had no clue UsU existed till an hour ago. I am downloading mAid ISO to go ahead with SALT. I will check back if I get stuck. TY!
[G4 Android Development] _tyler_:
I don't see a recovery to flash in the 11 post, I think I will opt for that for improved performance. I need minimum 8, preferably 10. 11 is perfect.
[G4 Android Development] aoleary:
OrangeFox Recovery: https://mega.nz/file/wkYnwQzA#_hgQ19YEm6NcAgjPvMw8IwsaqWJGRUWLMzWVJBPuyD4
[G4 Android Development] aoleary:
A11 runs as fast as stock LG on the G4. It's really well optimized.

There is a specific thread for usu. For any issues, post there.

The most important point about usu is read everything really carefully and do exactly as is written. Don't skip any steps and the backup is vital if you encounter any issues
[G4 Android Development] _tyler_:
Do I need to backup if the device has no personal data? Like if I mess up, I need bootable nandroid? Pretty sure I saw you can flash stock tot/kdz. Thank you for lightning quick replies on an ancient device!
[G4 Android Development] aoleary:
It's not a data backup but a backup of the partitions in case it goes to ****, so that you can recover the phone..
[G4 Android Development] aoleary:
February Security Patch build has been uploaded.

Some small improvements in the usability of the G4 in A13, and some changes that will hopefully improve the battery life a little bit.

DEVICE

g4-common: rootdir: kill pulse led via script
* for some reason, since A12, the stop command doesnt work.
* create a script kill_pulse.sh to kill the pid assigned to the pulse.sh script
* on boot completed
g4-common: add sensors service version to 2.1 to manifest
g4-common: wifi: Reduce battery drain
* we dont have VoIP capabalities, so use gEnablePowerSaveOffload mode 2 to
* apply maximum battery savings
g4-common: Set debug.sf.auto_latch_unsignaled to 0.
g4-common: audio: Increase handset speaker and mic volume
g4-common: Always preopt extracted APKs
Revert "g4-common: overlay: don't check wallpaper at boot"
Revert "g4-common: overlay: restrict background abusive apps"
g4-common: overlay: Don't check proximity sensor before pulsing
g4-common: overlay: disable proximity check on incoming calls
* workaround to keep the screen on when receiving a call
Revert "g4-common: rootdir: disable BOOT LED entirely as it doesnt stop after boot"
* Bring back the pink pulsing LED during boot

KERNEL

defconfig: disable 'ftrace' to reduce battery drain
ARM: dts: msm: lower battery usage
* reduce excessive battery drain when screen is off

See the links in the main posts to see everything that was changed in the kernel and device side in this release..
[G4 Android Development] neofetch:
In itself a great ROM, runs surprisingly fast and everything seems to work so far. But what really surprised me is that, unlike other ROMs, my battery discharges extremely quickly and even does so when I charge it via my power adapter, it sucks extremely on the battery, has anyone else noticed this? My battery is definitely fine as I don't have this with other ROMs.
[G4 Android Development] aoleary:
Thanks for the feedback. Do you have the same issue with AICP 18?

It uses the same kernel and device configuration, so would like to know if it has the same issues.

I pushed the performance configs a bit, so that might be the cause..

Would you be interested in testing if I were look into this?
[G4 Android Development] neofetch:
All fine with AICP 18, works pretty well. Performance and battery life is good!

Sadly I sold the LG G4 and replaced it with a Xiaomi Mi Note 10 Lite. I will also unlock, root and custom flash it.
[G4 Android Development] handynoobinator:
Question:

I have LG G4 Model: h818p with 2 Sim Slots. It it possible to flash any rom from the ones provided? I dont need the 2nd sim slot.
[G4 Android Development] aoleary:
Unfortunately the h818 could never be unlocked. Something to do with an incompatible ARB number :-(

If you search in the UsU thread here on XDA, you'll find the explanation..
[G4 Android Development] handynoobinator:
H815
crDroidAndroid-13.0-20240224-h815_usu-v9.14.zip

Thanks, i have also a H815, it had A6, and everything went smoothly.

Unlock by LG was terminated 2021, you have to use USU:
https://xdaforums.com/t/unlock-unofficial-g4-unlock-any-lg-g4-device-with-usu.3760451/ (unlock instructions)
https://xdaforums.com/t/tool-locked-unlocked-salt-the-lg-up-revolution-begins.3717864/ (how to get in download mode)
I used Ubuntu+Vmware+Win10 and rufus to make usb boot stick mAid (fka FWUL)
then a laptop and flashed USU with SALT
then Ubuntu to flash TWRP with Fastboot
https://twrp.me/lg/lgg4.html

Very Nice Android 13 for this nonpig device.
But with Samsung i can unlock the bootloader in developer options, this is very good,
because of that i wont recommend buying LG or HTC (you have to ulock bootloader on ther website).
Any other brand i have no experience, you? I guess OnePlus and Google Pixel should be very nice,
Fairphone best.

Unbelievable that a coder hacked the bootloader from LG! Free software choice should be the norm
and removable batteries which are not dongled by stupid bms firmware. EU laws will do it. SafetyNet is also a big
problem and should not be enforced onto users. I guess you can pass it on a very insecure device, and it will
stop technology moving forward because of corporate interest.

Gcam:
G4Camera_2019.apk
https://www.celsoazevedo.com/files/android/google-camera/dev-harysviewty/

LO Tipps:
https://xdaforums.com/t/rom-a5-7-2017-12-13-14-lineageos-19-1-20-21-unofficial.4517749/page-12#post-89480564

2 little bugs:
only charging (compatible battery) if turned off (verified by amperemeter)
[G4 Android Development] PH_Android:
Hello @aoleary. Thank you for this ROM. Works fine on my VS986, except for:

1. Battery is not charging except if plugged in via USB to a PC

and

while booted into recovery.

2. SafetyNet gives a "ROM is not clean" error. Cannot pass Basic Integrity with PlayIntegrityFix. (Meanwhile, another device of mine passes both Basic Integrity and SafetyNet.)

I also get these issues on the A13 AICP 18.
[Touch HD Themes and Apps] goldsfool:
Hey, I'm new to this concept of tweaking and modifying factory settings and am amazed at what can be done, however, I honestly don't feel comfortable using 99% of the stuff out there because of the potential of irreversible changes, instability, etc. I wanted to ask you for a list of applications that fit these criteria:

-does not change registry

-no risk of unexpected changes or irreversible damage to factory settings

-can save to and run from storage card

-able to COMPLETELY remove the both the program and any changes made from it by just simply uninstalling it and not requiring a hard reset

I'm asking this because even after reading a ton about different programs, I can't tell which ones are 100% safe and what they exactly do. So far, all I have added to my phone is Advanced Configuration v3.3 just to be able to use landscape mode. I want to mess around with other settings under Advanced Configuration to see what it does (e.g. what is animate windows??) but I'm not doing so because I've read doing so can possibly make the system unstable.

So, if there's a basic list of programs that are easy to use by beginners and completely safe, please mention it and what it does...
[Touch HD Themes and Apps] goldsfool:
over 400 views and no response...that either means there are lots of people wondering the same thing or that there are not any programs that fit these criteria. :eek:
[Touch HD Themes and Apps] tuffmek:
:)))) u are correct
[Touch HD Themes and Apps] goldsfool:
correct about what?...that there are lotsa people wondering the same thing or that there's no such program? :confused: Hopefully it's not the latter...I really want to add programs to my phone but not at the expense of messing it up...paid way too much for it and need it to be stable because I'm using it as my pda for med school...can't have it acting up when I need it the most.

There's gotta be at least a handful of useful programs out there that are safe to use??!...what about sprite backup, does that cause any problems?
[Touch HD Themes and Apps] Chuteboxe39:
Just got my HD for Xmas and would love to know this too. I have DLed some apps that others have confirmed to have worked, but have yet to install them on mine just yet. a list would be great if anyone could do that
[Touch HD Themes and Apps] _macca:
http://xdaforums.com/showthread.php?t=442663 this should give you a good idea of whats working or not.
[LG V50 ThinQ Questions & Answers] v50bilocksimhuhu:
My LG V50 lost s/n and imei return "0" when i flash rom. After i load backup of file "fsc, fsg,ftm, misc,modemst1,modemst2" the imei and s/n return but start show a text "This phone is permantly locked and cannot be unlock" and cannot use simcard. Sorry for my bad English Anyone who has successfully repaired it, please help me. I sincerely thank you

My phone is LMV50040d. LGU version
[LG V50 ThinQ Questions & Answers] v50bilocksimhuhu:
Up up, hope anyone can see and help me. Tks everyone :((
[LG V50 ThinQ Questions & Answers] kazi69:
Nothing works brother!
[LG V50 ThinQ Questions & Answers] kazi69:
The Efs file explorer can save you if you have a previously backed up folder
[LG V50 ThinQ Questions & Answers] v50bilocksimhuhu:
Thank you very much, but i only backup ftm,fsc,fsg,misc,modemst1,modemst2,sid_a,sid_b,op_a,op_b :(
[LG V50 ThinQ Questions & Answers] kazi69:
Man you are safe
[LG V50 ThinQ Questions & Answers] v50bilocksimhuhu:
But when i replace ftm,fsc,fsg,misc,modemst1,modemst2,sid_a,sid_b,op_a,op_b with QFIL, my phone still locked and can't use simcard @@
[LG V50 ThinQ Questions & Answers] kazi69:
Modem_a &modem_b ? Persist?
[LG V50 ThinQ Questions & Answers] Af9p:
Hello did you manage to solve the issue please I also have same problem and dont have the backups can you help me on this
[LG V50 ThinQ Questions & Answers] ezzony:
I am having problems with a network unlock code not working. You only get 10 attempts to input the code before you get the screen as in the OP, i.e. permanently locked.

I reslashed back modemst1 and 2 after using up all 10 allowed attempts and this got rid of the permanently locked screen and could try the unlock code again. Thank goodness I thought to backup these partitions.
[Nook Touch General] dimoninov:
Hello. My Nook Glowlight Plus BNRV510 does not detect the hotspot network from my iPhone. Is it possible that there is some mod with which I can detect the network created by my iPhone?
[General Questions and Answers] cendol dawet:
How to overcome non-root BCA mobile face verification
[General Questions and Answers] xXx yYy:
Please note that BCA mobile face verification is a security feature, and it is not recommended to try to overcome it. If you are having trouble with face verification, it is best to contact BCA support for assistance.
[Sony Xperia XZ1  Questions & Answers] tickertapes:
I want to get my XZ1c to boot up when I start my car. My intention is to use it purely for android auto.

The commands in this video do not work.

fastboot oem off-mode-charge 0

Any help on this would be much appreciated.

If I upgrade to android 13 (lineage OS) would it work then?
[Sony Xperia XZ1  Questions & Answers] tickertapes:
update... installed Lineage OS 19.1 for Sony Xperia XZ1 Compact (Android 12) but still cannot get the device to boot when power is applied to charge port.

Anyone on here know how to do this?
[Sony Xperia XZ1  Questions & Answers] tickertapes:
Just wanted to say a big thanks for all those enthusiastic replies so far.

Please keep them coming.
[Sony Xperia XZ1  Questions & Answers] aliberti98:
Installing a new ROM will not make you able to access extra bootloader commands, since bootloader partition must (hopefully) remain untouched.

Anyway, quick search and all "fastboot oem" commands seem to be manufacturer-specific, so if one is working on a Lenovo Moto device it is not guaranteed at all that should work even elsewhere.

Maybe try dumping bootloader and do some high-level reverse engineering https://www.xda-developers.com/how-to-discover-hidden-fastboot-commands/ ?

P.S.: please don't be rude/sarcastic to people you don't know, better keeping this a nice place :)
[Redmi Note 9S / Note 9 Pro (Indian Model) Question] Samlik Knight:
I made overclock dtb.img for redmi note 9S.

I up to 800mhz gpu.

But when my phone reaches 800mhz, it had freezed.

So can't overclock redmi note 9S.

I will distribute the files I used here.

If you find a ROM that work this method, please let me know.
[Redmi Note 9S / Note 9 Pro (Indian Model) Question] Samlik Knight:
I will teach you how to use this file.

Just include the file in any [custom kernel.zip] and flash it.
[General Questions and Answers] cendol dawet:
How to prevent WhatsApp from being tapped or tracked (non-rooted)? Please help
[General Questions and Answers] ZG_DEV:
Tracked ?

By a person or what?
[General Questions and Answers] xXx yYy:
Enable end-to-end encryption (E2EE). E2EE encrypts your messages so that only you and the recipient can read them. To enable E2EE in WhatsApp, open the app and go to Settings > Account > Security > End-to-end encryption.

Use a VPN. A VPN encrypts your traffic and hides your IP address, making it more difficult for someone to track your online activity. To use a VPN with WhatsApp, connect to the VPN before opening WhatsApp.
[Xiaomi Pad 6] Medomish:
Hi all.

I like this device overall, happy owner despite the following:

- cannot update android security patch; updater crashes

- cannot create dual app, device crashes

- double tap to wake up screen does not work

- Google ads links in Chrome do not open (maybe not MIUI issue).

What I'd like too see the most is an option to programme buttons on the pen.

Please share what you've found so far, and if you were able to resolve any.