Question Building a Rom with Warp Charge - OnePlus 9 Pro

Seems none of the custom Roms available currently support warp charge. Correct me if I am wrong....
If it isn't working how can I make it work? Proprietary device files is BS! Open source is what it's all about.

crDroid has working Warp Charge.

Related

Why doesn't CM kernel support Fast Charge mod?

**Disclaimer** I love Cyanogen, I support Cyanogen, and I will not "learn to do it myself". I'm not bashing CM, so don't bash me lol.
So, the question is why doesn't CM kernel support USB fast charge? I didn't know where to put this, but questions go here so... I'm talking about Chad's fast charge mod to make your phone charge at AC rates when hooked up to a USB port (or car charger, or lots of other chargers without the pins shorted inside or in the cable itself if I understand that correctly). Every kernel here on XDA AFAIK supports it, but not the king of options, aka CM
Is it just to prevent damage to some poor saps pc with 500ma USB hookups? I mean, they let us overclock our phones CPU and that would probably have as much damage potential as the fast charge mod, but that's just me thinking out loud. So, does anybody really know why? Has anyone seen any G+ or Twitter posts saying "Why" they decided against this?
I don't know, sometimes its just a matter of submitting the code to their repo. Maybe nobody's done that yet.
bump
would really love to have a cm10 stock kernel + fast charge. that really is the only reason i flash other kernels though I'd prefer cm stock
CyanogenMod pride themselves on building stable and very functional roms.
I know that when a new android user wants to "root and rom" his phone I would generally recommend CyanogenMod. They're roms are functional and not over-the-top with settings that the general public doesn't understand.
If they built fastcharge into their kernel...they'd probably also want a toggle.
If they built a toggle for it; the "pseudo-noob" user that installs the rom would suddenly be baffled by the fact that they can no longer get files to/from their PC. If they didn't implement a toggle but implemented the mod any user who downloaded a third party application could have said functionality available to them again; and be baffled once more.
Also, the USB port is only going to push out as much power as it was built to. By enabling this mod, you're only telling the PHONE that it's OK to pull more than it normally would from a USB port. The USB port still decides how much to push...so the hack may not even affect some ports at all.
This is my take. It isn't an official statement, but I assume they've known about the mod and had plenty of time to implement it but choose not to.
TL;DR
CyanogenMod is a Rom founded on stability and ease-of-use. This option would probably confuse the general public and is therefore left out.
Fast Charge
Easy fix, Have the fast charge code test for data and if it see's data the disable fast charge mode.
Ask them
Sent from my Galaxy Nexus using Tapatalk 2

[Q] Semi-n00b question: flashing ROMs and Kernels

Hey there,
I'm not that n00b when it comes to Android (battery calibration is no secret to me, my phone is rooted, I can use CWM, etc/whatever) but I've never flashed any ROM or Kernel. But after buying an MHL cable and noticing that my phone (T999V) is not fast-charging even though the usb cable is connected to a power adapter, I felt the need to flash a custom kernel which supports fast-charging (don't wanna get another cable!).
After a bit of research, I decided to settle on Leankernel. BUT...then I learned that it wouldn't work with the stock, Touchwiz ROM (only CM10 or AOSP, and maybe AOKP). To make it worse, I learned that NFC on CM10 is broken, and that since Qualcomm's code is not open source, using CM10 will result in the CPU working at only about 60% of its full capacity...
Could anybody help me a bit on this confusing endeavor? I do have to advise that I won't be turning flash-crazy, flashing nightlies and etc, I want something fast and stable, that I'll be keeping for a while (got at least 55 apps installed...don't wanna re-install them several times a month...and not even every month).
lightpsycho said:
Hey there,
I'm not that n00b when it comes to Android (battery calibration is no secret to me, my phone is rooted, I can use CWM, etc/whatever) but I've never flashed any ROM or Kernel. But after buying an MHL cable and noticing that my phone (T999V) is not fast-charging even though the usb cable is connected to a power adapter, I felt the need to flash a custom kernel which supports fast-charging (don't wanna get another cable!).
After a bit of research, I decided to settle on Leankernel. BUT...then I learned that it wouldn't work with the stock, Touchwiz ROM (only CM10 or AOSP, and maybe AOKP). To make it worse, I learned that NFC on CM10 is broken, and that since Qualcomm's code is not open source, using CM10 will result in the CPU working at only about 60% of its full capacity...
Could anybody help me a bit on this confusing endeavor? I do have to advise that I won't be turning flash-crazy, flashing nightlies and etc, I want something fast and stable, that I'll be keeping for a while (got at least 55 apps installed...don't wanna re-install them several times a month...and not even every month).
Click to expand...
Click to collapse
I recommend for a kernel ktoonez latest kernel he has both AOSP and Touchwiz hope I helped
lightpsycho said:
Hey there,
I'm not that n00b when it comes to Android (battery calibration is no secret to me, my phone is rooted, I can use CWM, etc/whatever) but I've never flashed any ROM or Kernel. But after buying an MHL cable and noticing that my phone (T999V) is not fast-charging even though the usb cable is connected to a power adapter, I felt the need to flash a custom kernel which supports fast-charging (don't wanna get another cable!).
After a bit of research, I decided to settle on Leankernel. BUT...then I learned that it wouldn't work with the stock, Touchwiz ROM (only CM10 or AOSP, and maybe AOKP). To make it worse, I learned that NFC on CM10 is broken, and that since Qualcomm's code is not open source, using CM10 will result in the CPU working at only about 60% of its full capacity...
Could anybody help me a bit on this confusing endeavor? I do have to advise that I won't be turning flash-crazy, flashing nightlies and etc, I want something fast and stable, that I'll be keeping for a while (got at least 55 apps installed...don't wanna re-install them several times a month...and not even every month).
Click to expand...
Click to collapse
so what is your question exactly? are you looking for a recommendation on what ROM you should run?
if that is the case, i would recommend infamous. and check out my thread here in Q and A about flashing ROMs...
good luck
cobraboy85 said:
so what is your question exactly? are you looking for a recommendation on what ROM you should run?
if that is the case, i would recommend infamous. and check out my thread here in Q and A about flashing ROMs...
good luck
Click to expand...
Click to collapse
Yes, I was looking for a recommendation. Sorry, I realized that the title of my thread was not the best but it was too late...! In the best of worlds, I basically want to flash a kernel that has USB fast-charge that can work on stock touchwiz. I would want to use Leankernel but I would have to flash AOSP on my phone. By the way, is there anything such as pure un-modded AOSP and where can I find it?

CM Camera Quality & Dash Charger with CM ROM

Hello today i got my OP3 and loving it . But I'm not oxygen OS fan.Im a CM fan.So as i've seen some post that CM camera worry is low than Oxygen OS camera quality..And alos i know that dash carger doesn't work on CM based ROM.But using dash charge for CM based ROM is not a bad thing right.So my question are
1 Is OOS camera qulity is higher than CM? I mean if it is,are there any huge quality difference?
2 Does it okay to use dash charger on CM based ROM ?
I'm not sure whether CM camera quality is better or worse. I suppose it should be worse, however since Oneplus has released the camera hal sources, the devs should be able to port the camera found in OOS and its post-processing to CM based roms. (at least i hope so). Now about the dash charge it is perfectly fine to use dash charger in cm based roms, mind you though that you won't get the dash charge charging speed found in OOS untill Oneplus released the source code of dash charge in the end of July.
camera is great in cm/aosp too.. but has a bit more noise in low light. but still great!
some guys are trying to use OOS HAL with CM/AOSP based roms. so it'll be there soon. checkout themes & apps section in this phone's forum here.
dash charging is the fastest thing right now yes. but will be there by end of July for custom roms as source and binaries will be released as promised. but without dash for now, charging time is 1hr 30mins. just like Quckcharge 2.0 (still fast)
Cool stuff i guess we'll wait for our super devs to use the OOS HAL in CM/AOSP roms.
Thank you guys..Much appreciated.
i knew that OP was gonna release binary for dash charger,but didn't know about that they have released camera hal source..Thanks for the info

Lineage for this device?

As the title states. Now that we have root and an unlocked bootloader do you think lineage is will make its way to this device?
Not a fan of lineage code.
We need a aosp rom like Purefusion.
We need Kernel source from Motorola first. They are dragging their feet like always. Without kernel source, we can't get a 100% working TWRP for custom roms to flash
Agreed. We need them to drop source code like they said they would.
Sent from my Moto Z (2) using Tapatalk
Looks like I may be getting this phone instead of the Note 8. Come on Motorola......release that source code.
They aren't going to acknowledge you here. Follow this link and sign up to let them know how you feel.
https://github.com/MotorolaMobilityLLC/kernel-msm/issues/124#issuecomment-331552066
Sent from my Moto Z (2) using Tapatalk
https://github.com/MotorolaMobilityLLC/kernel-msm/tree/nougat-7.1.1-release-nash
Uzephi said:
We need Kernel source from Motorola first. They are dragging their feet like always. Without kernel source, we can't get a 100% working TWRP for custom roms to flash
Click to expand...
Click to collapse
Is there a way to get the kernel ourselfs??
WeUseLord- said:
Is there a way to get the kernel ourselfs??
Click to expand...
Click to collapse
Https://GitHub.com/Uzephi/Nash
Kernel source was given by Motorola. There is my git with the edits for a regular machine running GCC 4.9 to build a kernel that boots and works.
How much less is less?
If you build it they will come.... ("Field of Dreams" movie line) Seriously, though, I do wonder if giving up stability and features is worth it for minimal gains in performance/benchmarks? Motorola's take on Android is already bare-bones compared to Samsung! With Lineage, it's slightly easier to theme, true, but Substratum suffices for many individuals on stock. I haven't tried Substratum yet, because I don't like dark themes. Don't get me wrong, I want Lineage to succeed! The more open-source options the better! But, is it worth it for the principle, or modest increase in speed (maybe)? Bugless and not losing any features, I would run Lineage; so, we'll see, because it will come in due time.
jhofseth said:
If you build it they will come.... ("Field of Dreams" movie line) Seriously, though, I do wonder if giving up stability and features is worth it for minimal gains in performance/benchmarks? Motorola's take on Android is already bare-bones compared to Samsung! With Lineage, it's slightly easier to theme, true, but Substratum suffices for many individuals on stock. I haven't tried Substratum yet, because I don't like dark themes. Don't get me wrong, I want Lineage to succeed! The more open-source options the better! But, is it worth it for the principle, or modest increase in speed (maybe)? Bugless and not losing any features, I would run Lineage; so, we'll see, because it will come in due time.
Click to expand...
Click to collapse
Totally correct. Our device is so close to stock it's ridiculous. We pretty much have a pixel phone with slower updates and mods. Which I'll take over the boringness of a pixel. Yes substratum would be pretty cool but I know things are coming we have a kernel being updated to the latest kernel version available. We're testing twrp right now and have it 95% working and now we have twrp and magisk and an updated kernel all going at once things are coming along slowly but I feel they will pick up soon
Little teaser
joemossjr said:
Little teaser
Click to expand...
Click to collapse
That looks like the stock tmo version [emoji23][emoji23][emoji23].
There should be almost no diference at all.
But i want some LineageOS [emoji41]
Sent from my Moto Z (2) using Tapatalk
I'm confused, the kernel sources still haven't been released?
LGtMgG2t said:
I'm confused, the kernel sources still haven't been released?
Click to expand...
Click to collapse
Yes they where released.
Sent from my Moto Z (2) using Tapatalk
LGtMgG2t said:
I'm confused, the kernel sources still haven't been released?
Click to expand...
Click to collapse
Yes, they were released. Kernel builds fine. For AOSP stuff we need vendor files. We are piecing things together. All builds have failed so we haven't even had a chance to see if it boots.
Why hasn't a kernel been fully released? (Besides the upstreamed one in the custom ROM section) because of encryption not working right in TWRP, you'd lose root when flashing as TWRP can't put the ramdisk back correctly hence no root.
Somebody should start Lineage. I would do it if I had enough experience but I don't yet. Huge tasks like LTE not working, etc., can arise depending upon the particular phone....
The attached screenshot illustrates the dynamics quite well. I was initially mildly surprised by the Lineage developer's response to someone, "When you start paying me." But, for some developers who devote lots of their time to Lineage, I suppose the questions can become tiresome. Every developer is different, of course, and it is a global scale endeavor.

Looking for the best of both worlds. (Kernel)

So because I'm a broke boy I am still using and AT&T HTC One M8 as my daily driver. I have found AICP to be my personal preference when it comes to software, it is based off Lineage with just a few tweaks. Nothing major. Recently I played around with a few other roms to see if there was anything worth switching, but to no avail, although one of the roms came with a kernel to enable quick charging, and I use Ampere to measure and sure enough it boosted my charging speed by quite a bit. My battery is terrible bc the phone is old so I need all the help I can get when It comes to charging.
My question is, is there a way to get a kernel for Lineage for the HTC One M8 to enable quick charge? I know the modification that needs to happen, it is something involving
Code:
/sys/kernel/fast_charge/force_fast_charge=1
I am pretty experienced with modding androids, I know how to use ADB, Fastboot, and all that, so if anyone could help me or even point me in the right direction I would really really appreciate it.
Thank you!!
I don't think, fast charge is good for your dying battery. In the long term a powerbank will be your second best friend. And try to keep state of charge between 25 and 75%

Categories

Resources