yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G4] srod562:
Did you post your issue in the official LG UP thread or in the back to stock marshmallow kdz thread where the file that you need to get this back to stock using LG Up is listed. If you would have searched in the kdz back to stock thread you would have seen that another user helped me with the exact same issue ss you. Was ready to turn my phone in for warranty before finding my answer there. Your phone is still able to boot into recovery manually but you have to do it a few times then you install a rom that's saved on your sd card and your phone will boot up. Hopefully you still have your G4 and can try this method.
[T-Mobile LG G4] androidddaaron:
Really I'm thinking not explain to me how my lg g4 phone can boot into recovery manually when i relocked the boot loader through adb.

All I have is down load mode No regular O.s boot no fast boot mode

Its all secure boot error 1003

I download the kdz 20i from auto primes code fire link that's the only kdz for 20i around .

The issue is lg up tool sees my device as Unknown model because I was on a ROM when this happened apparently there's no fix unless you can boot into the O.s and edit the ROM
[T-Mobile LG G4] androidddaaron:
What do you mean a few times power and volume down and release power and press it again then choose wipe with YES

Yea I tried all that its secure boot error because my boot loader is re-Locked while I was rooted and with twrp
[T-Mobile LG G4] androidddaaron:
I'm wanting to believe that I need to just forget I have the g4 and break it in 3 half's and toss it

So the headache goes away
[T-Mobile LG G4] Vseprz:
I actually posted my solution in the 20I thread relatively early. I am sorry no one helped you sooner.

If you used an iternational Rom and have an unrecognized model LGBridge is able to update your phone through update error recovery.
[T-Mobile LG G4] androidddaaron:
0fx

This is impossible lg bridge is not a semi brick or full brick fix tool its a upgrade tool from what I see

lts for a device that's in a bootable operating state allowing firmware upgrade .

It can only read in a device in mtp mode If you only have download mode that doesn't help at all Withp lg bridge The unknown device model issue is only seen with the Other tool Caller Lg up.

I go on and on and on and noone takes my exact scenario and breaks it down .
[T-Mobile LG G4] Vseprz:
Did you even try it? My phone was in the 1003 boot error with unknown model in LGUp. I only had download mode. Give it a shot before you dismiss it.
[T-Mobile LG G4] androidddaaron:
I did once I couldn't get bridge to connect with update recovery error

Then difference here is was you boot loader relocked or still unlocked mine is re locked in this state
[T-Mobile LG G4] Vseprz:
Actually my bootloader was locked at the point I used LGBridge.

Not being able to connect suggests driver problems. Reload them and try again.
[T-Mobile LG G4] androidddaaron:
So you had twrp plus rooted and relocked boot loader all before attempting lg bridge that's my exact scenario but what about bridge trying to install then Lg bridge AIR Drivers
[T-Mobile LG G4] androidddaaron:
No that's not true I guarantee you wasn't

Relocked boot loader u couldn't have been

I am for sure about this and lg bridge sees my device when I choose update recovery error it tells me there are No update errors that can be recovered

So how does that prove it fixed yours when we was in the same scenario?
[T-Mobile LG G4] Donut42:
I made a mistake when upgrading my phone from LP to MM and accidentally left my Bootloader locked when trying to upgrade, nearly bricking my phone. I was receiving a 1003 error every time I tried to boot. I posted this in a different thread last month for someone else who had the same problem.
[T-Mobile LG G4] androidddaaron:
Once again I was on a ROM when in did all this if it wasn't for that fact Lg Up would see my device model as h11 not unknown

So tell me how to get past the Unknown device model issue due to bring on a Custom Rom when this happened
[T-Mobile LG G4] androidddaaron:
The issue lies in step 3

The phone doesn't recognize as h811 it is as unknown model

If you know a way around that I'd love to know because every day I Go to snap the phone in half and recycle it as trash I stop my self thinking maybe one person will get that I was on a ROM when this happened and have a solution for Lg up to see my device as h811
[T-Mobile LG G4] Donut42:
That sounds like a driver issue. When I did mine I was also on a custom ROM. I had to manually remove all LG drivers via the Device Manager and install the LG Bridge for its LG USB drivers before the LGUP tool would recognize it. Before I did that it wouldn't even see my phone.
[T-Mobile LG G4] androidddaaron:
I would like to think that butt LG up is evidently seeing a connection from my phone to the PC it's just reading the device model as unknown because if I unplug the phone it goes back to reading nothing I plug it back in pops up red box model unknown I know it's reading the phone in LG up because it actually tells you the ROM it detects which is Xtreme ROM by micro mod

Not only that LG Mobile support tool read my phone and says software is up-to-date LG flash tool 2014 attempts to flash but fails because it is not compatible apparently with Android 6.0

Nlg bridge when I try to use that tool sees my phone when I choose update recovery error and says there are no recoveries to update I don't believe it's a driver issue I think it's the fact that I'm stuck on a ROM that is edited in some fashion that will not allow the tool to to proceed to the next step and if you look at the LG up thread it talks about a member explaining about the unknown device model issue is due to the ROM developer editing his ROM name somehow

Everyone that has gotten past the unknown device model happen to have an unlocked bootloader or was just trying to do a regular upgrade and still had an OS to boot into there's just no way around this mess
[T-Mobile LG G4] KennyG123:
Guess this thread has run its course

Closed at OP's request
[Nexus 6P Q&A, Help & Troubleshooting] slickrick66203:
Hey all! Recently switched from a Note 5 to the 6p. Loving it so far. With the recent apps button on the right I like using the merge tabs and apps option in chrome. I've noticed that google searches from the app always open a new tab. I've also heard that letting Android manage RAM on its own is the best for battery. Should I be swiping away chrome tabs or just leave em be? Will battery usage vary much?
[Nexus 6P Q&A, Help & Troubleshooting] Michalko5896:
They will close automatically when more ram is needed.. Also battery usage of tabs in background is almost none.. ;)
[Nexus 6P Q&A, Help & Troubleshooting] slickrick66203:
Ok I figured so. I'm getting battery life at least on par with the note. I'm just not used to seeing chrome up that high lol.
[ZTE Axon Pro] adambucky:
Hi

Is the chinese version of the Axon Mini Premium the model number B2015 and is the European version of the same phone the model number B2016 and are there any differences between the two?
[ZTE Axon Pro] havoklant:
I ordered mine from China to Japan. It had an EU charger included.

The type number is B2016. It could be the non-pro version is the B2016 model and the pro version the B2015 model?
[Xperia Z5 Android Development] albertobom:
Testing right now.

Thanks my friend. ?

Enviado desde mi E6653 mediante Tapatalk

---------- Post added at 03:01 AM ---------- Previous post was at 02:56 AM ----------

Just reporting...

Lost access to my 64 Gb micro sdcard

Enviado desde mi E6653 mediante Tapatalk
[Xperia Z5 Android Development] _LLJY:
Is there undervolting in this?
[Xperia Z5 Android Development] Tommy-Geenexus:
https://github.com/Tommy-Geenexus/android_kernel_sony_msm8994_suzuran_5.x/commit/be36a1e704207a10865d179c5425222bb526c2c1

This driver works on all Z4/Z5 variants. It is less bloated and safer than "Faux-Sound".

That said, i see no real for Sound Control to exist. There seem to be some issues with registers not properly resetting.

My only motivation of writing this was a partially broken headset.
[Xperia Z5 Android Development] zacharias.maladroit:
Thanks for your feedback,

that was to be expected though,

you get me an idea how to get about with the next iteration - hopefully then it should work.

How did you format your microSD card ?

Through the phone ? So the format must have been extfat ( then the missing textfat driver explain why it stopped to work, although the vfat or at least exfat driver should work, too )

Did you get a "SDcard corrupted" error ? I got it in the past but that was probably related to excessive flashing ;)

Thanks !

Of course, its base is AndroPlus Kernel,

this is more like of a playground to test out what works or doesn't with "Stock" Kernel Base - most of this (or ALL) works on the AOSP Kernel ;)

Thanks [MENTION=5243932]Tommy-Geenexus[/MENTION] no offense or hard feelings against your Sound Control driver,

I love its clean and slim approach ! :cool:

the issue in the past when I tried it was that there was no GUI capable to drive it - when there's sound control I need a "live" - on-the-fly adaptation capability when doing changes to see how it affects output

(well, with mic, not so much)

Do you know of an app that supports that interface ? I'd be forever grateful :)

Thanks !
[Xperia Z5 Android Development] Tommy-Geenexus:
You could do a pull-request for kernel adiutor. I'm not sure if hex input is supported, but you can turn all hex vals into decimals. Then it would be fairly easy.
[Xperia Z5 Android Development] albertobom:
I format my sdcard via phone.

Yes I get sdcard corrupted.

Also my sdcard is brand new. ?

Enviado desde mi E6653 mediante Tapatalk
[Xperia Z5 Android Development] zacharias.maladroit:
I'll take a look - thanks :)

ugh - my bad,

that's some stupid error-handling - when the driver is gone or replaced with vfat, there must be no corruption

Hope the data is nevertheless intact (backups !),

I flashed A LOT of times during migration to AOSP and building it & testing kernels - so I had thought that the driver issues caused that corruption

Thanks
[Xperia Z5 Android Development] albertobom:
Dear zacharias.maladroit is possible to make a thread how to tuning a kernel properly?

Enviado desde mi E6653 mediante Tapatalk

---------- Post added at 10:22 PM ---------- Previous post was at 09:59 PM ----------

Apparently xreality stop working. ?

Enviado desde mi E6653 mediante Tapatalk
[Xperia Z5 Android Development] zacharias.maladroit:
First part:

I've still too little experience and information on this kernel to really efficiently tweak it,

but will soon post a few preliminary settings to either get a good balance of a battery vs. performance

and runtime & running cool

Hm, thanks for the report,

the preview under settings doesn't show a change anymore once it's switched on or off ?

I still can see a difference,

only with the Video Player I also noticed some kind of change,

perhaps I'm used to 4K videos too much - so I'm over-reacting a bit to HD or lower res videos ;)

This works with AndroPlus v20 and v21, right ?
[Xperia Z5 Android Development] korom42:
Keep up the great work .. I am following the , I may test this later :)
[Xperia Z5 Android Development] goRt:
There's no reason to keep copying the whole post when it doesn't relate to your question.

Some of us try to read this on our phone!
[Xperia Z5 Android Development] albertobom:
Sorry about that guys.

Apparently the xreality problem is due to rom booster app. Nothing to due with your kernel at all. Everything is fine. ?

Enviado desde mi E6653 mediante Tapatalk
[Xperia Z5 Android Development] _LLJY:
This kernel is stable, has eh ish battery life(could do better), has excellent thermals(when undervolted to -355mv) but overall I would say great job but how do I use the sound control I'm the kernel?
[Xperia Z5 Android Development] zacharias.maladroit:
Thanks for the feedback !

So, hm - is that battery life worse than with AndroPlus v21 ?

I assumed something like that but wasn't sure - perhaps the hotplugging is draining battery, :(

the best option would be to use CPUQUIET Hotplug Framework with runnable governor - which I also successfully ported, but something wasn't working fine with the "Stock" (Sony's) ROM

What are your settings for Hotplugging ? What is your governor ?

Sound Control isn't implemented yet (not in kernel right now), I'll use Tommy-Geenexus 's TomTom Sound Control in the future, so you'll have to set the values via terminal or script until support for it is included in Kernel Adiutor ("helper") or other tools
[Xperia Z5 Android Development] zacharias.maladroit:
Updated first post with new kernel that the folks over at Z5 Premium also got :D

new goodies !

Enjoy !
[Xperia Z5 Android Development] _LLJY:
Yes the battery life is worse than AndroPlus kernel (I only enabled intelliplug)
[Xperia Z5 Android Development] zacharias.maladroit:
On hindsight I believe it really comes down to configuration and usage of wakelock blockers and aggressive Doze,

agreed that it might consume more battery during operation (and offer more performance) - but there are also improvements for LPM (low power mode) that should really cut down

the battery consumption when the device is really able to sleep.

It's much harder to cut down the garbage on Sony's ROM compared to AOSP as a base where almost no additional cruft is running,

but it might (possibly) be achievable,

I've it currently down to 2% in 4 hours idle in Airplane - 0.5% per hour.

Main tools used are:

- Greenify ("boosted" with XPosed) and "Aggressive Doze"

- Amplify with pretty default settings

- AppOpsXposed with Wakelock ( "keep awake" disabled for most apps (section device) that are at the top (recently requested) - such as Camera, Google Play*, and a bunch more)

- Titanium Backup (freezing com.sonymobile.anonydata and devicemonitor, Service Menu and some more - since those also consume some battery)

AndroidSystem is at the top of consumers keeping the phone awake/using battery under GSam Battery,

but I'm a little hesitant right now to disable the "Keep awake" functionality if the phone stops to work properly :p

edit:

Go away forum quotation function ! You're drunk !
[Xperia Z5 Android Development] zacharias.maladroit:
Any Sony Xperia Z5 Dual (e6683) users here ?

You need a dedicated build, too ?
[Xperia Z5 Android Development] death_note7:
thx I will have a try
[Xperia Z5 Android Development] RyTekk:
Yeah, I can't try AndroPlus Kernel since I own a dsds device but a least this kernel is friendlier than stock one in battery.
[Xperia Z5 Android Development] nreuge:
Stock rom with mods & xposed modules not related to battery.

I will test again your last kernel version ASAP.
[Xperia Z5 Android Development] dulquer:
I have tried that already but still no improvements?

Should i try endurance tweak??Will that help?

Thanks in Advance
[Xperia Z5 Android Development] zacharias.maladroit:
/sigh

I'll do a build with AndroPlus' ramdisk,

dunno what's wrong with the system (or other factors) that interfer with this
[Xperia Z5 Android Development] dulquer:
I havent tried your beta version yet.Mine is dsds

Should i try that :)
[Xperia Z5 Android Development] zacharias.maladroit:
Download, AndroidFileHost :

SunKernel_for_Z5 224_I.1_2_10

Notes:

Thanks
[Xperia Z5 Android Development] dulquer:
Thanks a lot

If i flash this kernal via fastboot ,will i lose all data??(root twrp internal storage etc)

Plz help

Im beginner

Thnks in advance :) :)
[Xperia Z5 Android Development] zacharias.maladroit:
Hi,

if you flash via

fastboot flash boot boot.img

you'll only alter the

boot partition

,

so your data should be safe.

The only way where you really lose all your data is via XperiaFirm and Flashtool
[Xperia Z5 Android Development] RyTekk:
It's hard to say, what kernel are you using? If you're using kernel that was created from tobias's tool, twrp and root will be include in ramdisk and I think they're not include in Andro+ Kernel ramdisk. Internal storage is 100% safe.
[Xperia Z5 Android Development] dulquer:
Im using this kernal(screenshot)Will i lose twrp nd root)?
[Xperia Z5 Android Development] RyTekk:
So you flashed twrp via fastboot? Then your twrp is safe too.
[Xperia Z5 Android Development] _LLJY:
Thanks for your work Zach, I will be updating my rom's kernel to this. Also no significant battery drain here! All working fine.
[Xperia Z5 Android Development] dulquer:
I just flashed this kernal and my camera is acting weird

Lag nd some lines shttering

Plz helpppp

Urgent

:crying::(
[Xperia Z5 Android Development] _LLJY:
I'll post some modified versions of Zach's kernel with the 5.0 repacker by Tobias(for those who are too lazy to do it themselves)
[Xperia Z5 Android Development] dulquer:
Plz help anyone

My camera is fuked up after flashing latest kernal posted yestrday

:(:(:(
[Xperia Z5 Android Development] _LLJY:
Flash another kernel -.- that's the first thin you should do *face palm*
[Xperia Z5 Android Development] dulquer:
Can u suggest me the best kernal for z5 dual? with good battery life??
[Xperia Z5 Android Development] _LLJY:
Stock kernel.. or the kernel version before this
[Xperia Z5 Android Development] zacharias.maladroit:
Download, AndroidFileHost :

224 Kernel

SunKernel_for_Z5 224_I.1_2_12

253 Kernel

SunKernel_for_Z5 253_I.1_2_12

Notes:

Sauce:

https://github.com/zachariasmaladro..._r2/commits/Sun-Kernel_32.2.A.0.224_vI.1_2_12

https://github.com/zachariasmaladro..._r2/commits/Sun-Kernel_32.2.A.0.253_vI.1_2_12

Thanks
[Xperia Z5 Android Development] zacharias.maladroit:
Environmental temperatures are too high,

can't currently tell if the scheduler is messing up or the device limiting and downclocking (probably mostly the latter) ...

Looks like the device will need a better thermal engine

:cowboy:
[Xperia Z5 Android Development] zacharias.maladroit:
I got 4-5 hours of SOT + 6-7 hours of music playback at the end - that's more like the performance I expect of this device,

mostly WiFi used instead of radio since the 3G/LTE coverage is that bad that only EDGE is available and even that isn't working correctly

ROM: CarbonROM,

probably will get much better when using microG and NanoMod

in comparison Note 3 has 16-18 hours of music playback and 1-2 hours of SOT (obviously I'm using the Note 3 more for music with its dedicated offload chip)
[Xperia Z5 Android Development] _LLJY:
It's good to have input boost enabled by default, they benefit the little cores , but not the big.
[Xperia Z5 Android Development] zacharias.maladroit:
agreed, it really increases smoothness

initially I had it set to only boost the little cores,

but since some "important" apps could also be on the big cores, it's now also boosting the big ones (if there are apps running on them)
[Xperia Z5 Android Development] _LLJY:
Actually the big cores should be managed by the governor profile, which should enable them to jump up to Max frequency and come back down as quickly as possible, input boost just inteferes with this
[Xperia Z5 Android Development] 4RM4N1:
is it possible to install the kernel on other CarbonROM builts? I've got atm the problem that the speaker is REALLY quiet (WhatsApp Audios, Calling etc.) would be cool just to flash the kernel once a week when a new Version is released.
[Xperia Z5 Android Development] zacharias.maladroit:
sure, give it a try

let me know which build you'll flash so I can take a look at the ramdisk.

The performance limitations are a ROM limitation, btw,

I've tested stock kernel and it's still lagging (not being able to play those webm videos without lag or sound-video desync),

not sure if it's the patched up Stock kernel source or the ROM
[Xperia Z5 Android Development] A__Salty_Cracker:
this might be a noob question but is this kernel stable with stock 32.3.A.2.33 Nougat? if so can a link be provided as i cant find anything in the google drive links that relate to the latest stock firmware?
[Xperia Z5 Android Development] zacharias.maladroit:
2.33 is the suffix of latest firmware - 2.33 is in the name of the kernel

https://drive.google.com/open?id=0BykGGWB96CBQSW1mZktJRjQ1UDg Z5_SK_Enf_vN_2.33_Nova_I.2_12_2_sum.zip [= single SIM]

https://drive.google.com/open?id=0BykGGWB96CBQTGwtaE5TYzJWS3M Z5-DSDS_SK_Enf_vN_2.33_Nova_I.2_12_2_sum_dual.zip [= dual SIM]

according to [MENTION=5231789]nreuge[/MENTION] it IS stable :)
[Xperia Z5 Android Development] zacharias.maladroit:
HMP Kernels ("default" scheduling mechanism) for:

CarbonROM (build I'm using is: CARBON-CR-5.1-MOO-WEEKLY-sumire-20170509-0721.zip )

LineageOS 14.1, 17.04.2017 [= laOS] (from [MENTION=1964056]HaoZeke[/MENTION] )

Kernels:

https://drive.google.com/open?id=0BykGGWB96CBQdlhwRVZfMy1WRTg Z5_SK_Enf_vN_7.1.2_CR-5.1_Core_I.2_2_3_6_HMP_sum.zip

https://drive.google.com/open?id=0BykGGWB96CBQVFItcTZYMF9OVDA Z5_SK_Enf_vN_7.1.2_LOS-14.1_Core_I.2_2_3_6_HMP_sum.zip

Changes:

reverted EAS changes [to have similar kernel on HMP basis]

built with 6.3.1 Linaro toolchain (Google's 4.9 is way too old (2015)

thermal engine fixes

reworked thermal engine: supports separate little and BIG core handling (shoutout to [MENTION=5996255]jollaman999[/MENTION] )

thermal: big cores are OFF when screen is OFF

reworked and improved CPUIDLE

improved msm-pm/spm

improved slim-msm

vidc stability and reliability fixes

evdev (input) fixes

fingerprint + cpu core boosting during interaction [not sure how this behaves in regards to battery with lineageOS + CarbonROM with their constant activated FPC]

fixed fingerprint wakelock handling

sched_upmigrate_min_nice to 9 - Android background processes stay on little cores to save energy and unnecessary moving

additional power saving improvements (camera, nohz, ...)

cpufreq improvements

added: chill, relaxed governors, re-enable ondemand, conservative governor [give conservative a try !, leave input-boost enabled]

interactive governor: added fastlane + powersave bias, tweaks (kudos to [MENTION=6842057]The Flash[/MENTION] )

and more

Notes:

the thermal changes got tested in the internal 5.11 (Stock Marshmallow) Kernel and the device seems to be significantly cooler than before

battery consumption is, of course, higher compared to EAS since the processor scaling is working correctly, if you're reading or browsing mostly use a governor that is conservative, conservative governor or tweak the governor to stay at a low frequency as long as it works for you (low frequency + input-boost helps !)

core_ctl and core_ctl_helper are NOT used, thus the CPUs are treated in clusters (little cluster, big cluster), big cluster is off while screen is off; some tools report big cores off while screen is on and not high load, also - but who cares since it's not used

little cores (ALL 4) are constantly on - and that is intended - the load can be distributed, balanced and keep the CPUs at a low power state == less power consumption

Download folder:

https://drive.google.com/open?id=0BykGGWB96CBQd1c0OEJtMHRxWHc

Sauce:

https://github.com/zachariasmaladro...takami_r2/commits/Sun-Kernel_Core_I.1_non-EAS

https://github.com/zachariasmaladro...its/Sun-Kernel_Core_I.1_non-EAS_I.2_2_3_6_HMP

https://github.com/zachariasmaladro...un-Kernel_Core_I.1_non-EAS_I.2_2_3_6_HMP_laOS

Enjoy !
[Xperia Z5 Android Development] mcduffie2010:
Wow thanks Zach.

Running conservative for about 12 hrs now and I must say this is perfect. It's smooth, cool and fast. Haven't had a reboot or something else disturbing. Can't say about battery life or sot yet.
[Xperia Z5 Android Development] whalesplaho:
i already done dat brov.... thanks brov!

---------- Post added at 02:00 PM ---------- Previous post was at 02:00 PM ----------

sad to hear.... thanks always buddy!
[Xperia Z5 Android Development] nreuge:
Yes, something goes wrong... The kernel was good for me for a few days but now it drains a lot, weird...
[Xperia Z5 Android Development] whalesplaho:
dats tha prob im facing too..... i av been using tha kernel since released & it was okay & all of sudden it goes weird!
[Xperia Z5 Android Development] crisout:
Hi [MENTION=3037651]zacharias.maladroit[/MENTION] could be a chance to update the 2.33 stock kernel with safetynet pass working? :( That would be great, I'm sure i'm not the only who is missing this :angel: