yashsingh1/xdaforums huggingface dataset:
[One (M7) Original Android Development] gu5t3r:
...maybe /tmp/cmdline.cfg isnt generated properly?

...and why are you creating new script to make newboot.img? can't you just run command from makebootimg.sh?

Edit: ...and you still have wrong init.d code in editramdisk.sh

Edit2: In your 21.1 ramdisk, in init.rc you are importing init.elementalx.rc after init.power.rc, but in this new one you import init.elementalx.rc before init.power.rc? could it matter? seems not but anyway...
[One (M7) Original Android Development] foefur:
The zip installs fine but recovery reports that it has failed. After only rebooting it was installed anyway (just like with v22.1)

I'm on twrp 2.8.7.0
[One (M7) Original Android Development] flar2:
1. makebootimg.sh has to be that way, I forget why

2. I was supposed to get rid of init.d because it doesn't work anymore, but I forgot to delete in all the zips

3. order of this doesn't matter, and it's after init.trace.rc because init.power.rc is not always there on other devices

Anyway, wait for the next update. The last one was broken anyway because I forgot to change permissions on /tmp/busybox
[One (M7) Original Android Development] gu5t3r:
Will test later if cmdline.cfg is properly generated for mkbootimg (and search for errors)...
[One (M7) Original Android Development] __:
flar2 is doing a great job

First of all:

Thank you [MENTION=4684315]flar2[/MENTION] for being working on this outstanding kernel in such a consequent way from the beginning till now. :good::good::good:

[MENTION=2658004]Sebby[/MENTION] & [MENTION=4665716]gu5t3r[/MENTION]

Do you guys even realize, what flar2 told us just 3 posts above?, that he has been working almost the whole weekend, to finish this? And the only thing you have to say is: "This is wrong and that is wrong..."

I think you are able to name the exact same thing, but in a kindlier way.

Please appreciate the effort and time the developer puts into this work, just by being a bit friendlier. ;)

Thanks

kind regards
[One (M7) Original Android Development] flar2:
Update!!!

Another installer fix! I hope this is the last one...

Sense 5.0.2:

ElementalX-m7-22.3-Sense

GPE 5.1:

ElementalX-m7-22.3-GPE

Changes:

-update installer again!
[One (M7) Original Android Development] flar2:
It's alright, I should have just started the new installers from scratch instead of slapping together a bunch of stuff that has been mangled beyond belief over the past three years. Plus I've been getting confused testing this on both Sense and GPE with both AROMA and express installers (four altogether, each with minor differences)
[One (M7) Original Android Development] gu5t3r:
I'm not trying to be rude, I can repack kernel on pc for myself without installer, I know how to edit ramdisk and pack boot.img...

If it has bugs, it has bugs...

I just click thank you rather than saying it...
[One (M7) Original Android Development] foefur:
Still getting the same 'failed' report after the install is complete.

And after reboot everything is ok. (v22.3)
[One (M7) Original Android Development] flar2:
It seems that the install worked, but can you post /tmp/recovery.log right after the installation failed? I really want to finish this and get it off my plate so I can continue with some other work I need to do.
[One (M7) Original Android Development] foefur:
I did another, manual install this time, and everything went fine (no failed notice)

I managed to get the recover.log but i guess the won't be anythere.

I only got the failed notice when i updated through the EX app and selected the express methode (auto reboot so no time to save that recovery.log)

Edit:

After that i did an express install and no problems either but i did get another recovery.log for you
[One (M7) Original Android Development] gu5t3r:
[MENTION=4684315]flar2[/MENTION]

Kernel is now installed correctly, compared unpacked ramdisks.

Only file that differs from 21.1 is default.prop, does it impacts something if kernel is secure or insecure?
[One (M7) Original Android Development] flar2:
Probably not. It used to mean you would get root automatically with adb shell, but I don't think that's the case since lollipop.
[One (M7) Original Android Development] Sebby:
thanks flar2 for fixing it so fast

all is good now:good::good::good:
[One (M7) Original Android Development] muftiazan:
I have been trying to install Elemental 22.3 on ARHD93 and it doesnt seem to install. I hvae installed it a thousand times on clean and dirty flashes of the ROM and it doesnt seem to install. The kernel version in setting shows 3.4.10-g8195b49. Sense Toolbox keeps asking me to install a kernel with gesture support even though I have installed ElementalX a lot of times.
[One (M7) Original Android Development] flar2:
After you install it, please pull /tmp/recovery.log

It should work, I currently have arhd 93 installed.
[One (M7) Original Android Development] muftiazan:
I have attached the log. My recovery is CWM 6.0.4.7 btw.
[One (M7) Original Android Development] flar2:
Why are you using CWM recovery? That's the problem. Everyone should always use TWRP, it's reliable and it's up to date.
[One (M7) Original Android Development] the_lonewolf:
Installed on VipeOne 8. Everything is fine. Thank you very much, flar2! :good:
[One (M7) Original Android Development] xochipilli:
As far as I understand, yes this is the preferred method.
[One (M7) Original Android Development] adambala:
I try to flash 22.3 to nunsene7 but nothing...why this is happening??installation process successful installed I see the message to reboot twice but kernel not installed I try to flash other kernel also but same result...
[One (M7) Original Android Development] flar2:
Let's see /tmp/recovery.log
[One (M7) Original Android Development] adambala:
How to reproduce that??
[One (M7) Original Android Development] flar2:
install and then adb pull /tmp/recovery.log while you are still in recovery
[One (M7) Original Android Development] n0j0e:
22.3 is working fine here on ViperOne 9! Big THANKS flar2 for all hours to developing this piece of code!
[One (M7) Original Android Development] dingdong3000:
I've forgotten most my kernel settings, is it possible to restore settings I had previously when i flash new 22.3 version?

Thanks
[One (M7) Original Android Development] n0j0e:
Try Kernel Adiutor with this included profil manager. Aviable in play store.
[One (M7) Original Android Development] flar2:
If you have my app, and flash the express version, it will restore your previous settings.

Im not supposed to promote my paid app here, but I really recommend EX Kernel Manager, it is by far the best you can get and makes things much easier. It has every setting for this device.

Kernel adiutor is not recommended, as it will screw up your wake gesture settings and can make you cpu min freq get stuck at a high frequency.
[One (M7) Original Android Development] dingdong3000:
Thanks flar i already have your app however can't seem to check update automatically?is it ok if i manually download the kernel and get the app to recognise so it can do a express install?
[One (M7) Original Android Development] flar2:
I'm not sure what you mean. Does the ElementalX screen show up in the app and allow you to download the kernel? If so, you can download the express version and manually flash in recovery.
[One (M7) Original Android Development] dingdong3000:
Nothing shows up on screen, must I need to enable anything in the app to trigger the update?
[One (M7) Original Android Development] flar2:
Open the navigation drawer (swipe from left side of screen) and look for ElementalX
[One (M7) Original Android Development] Raymond Huang:
Is this compatible to CM12.1?
[One (M7) Original Android Development] mitchst2:
No
[One (M7) Original Android Development] matekaneve:
Hi [MENTION=4684315]flar2[/MENTION] ! Sorry to bother you, just need some help/advice here. I have your ex kernel manager and the elementalX option doesn't show up in the nav. menu on the left. I tried to uninstall/reinstall the app from the play store, it's still the same.
[One (M7) Original Android Development] hyes93214:
Originally I used EX20.2 on my M7, I feel the battery drops a little bit quickly after installing 22.3, but I think it's my battery problem.

I like EX kernel very much, cause it enables DT2W. Thanks a lot!:)
[One (M7) Original Android Development] imam88:
can i flash this on 802w version of stock rom? dual sim, sdcard slot version of htc one..

thx
[One (M7) Original Android Development] flar2:
If your camera doesn't work, it's because you're using a ROM with old camera firmware. It's a ROM issue and I am very busy, so it would be nice if someone else could post a fix for it. I'm guessing that you need the /etc/firmware and liboemcamera from one of the .16 EU ROMs.

I don't know
[One (M7) Original Android Development] janarp:
I understand that users should dirty flash Rom and after that flash your new kernel... Then there is no problems...
[One (M7) Original Android Development] Blue1k:
Ugh. Ok. I'm aware of the dirty flash option.

I don't have older version of Android Revolution. Didn't realize that adding the fix caused problems. Just seemed like an easier option to include this for those who had applied the older kernel version.

No biggie. Thanks for the update. The capacitive update is awesome
[One (M7) Original Android Development] MyFarewell:
So this does not work with Trickdroid or Revolution HD?

So what roms does this support?
[One (M7) Original Android Development] Magpir:
Read the op it should work with any 4.1.2 custom Rom .
[One (M7) Original Android Development] MyFarewell:
Yeah, i have read the whole thing and it shoud work.

So what im doing wrong...?

1. Full wipe

2. Flash Trickdroid

3. Let it boot

4. Elemental X?

Wrong order?
[One (M7) Original Android Development] Magpir:
So how reflash the Rom first for trickdroid? Or just flash the elemental x kernel over my bulletproof kernel?

Can the op comment?
[One (M7) Original Android Development] MyFarewell:
So this is the order how i did flash:

1. Full wipe

2. Flash Trickdroid

3. Let it boot

4. Elemental X

And im unlocked, but no S-Off
[One (M7) Original Android Development] Magpir:
I am asking if I can just flash this kernel over my trickdroid with bulletproof.

My camera is working with trickdroid and bulletproof .
[One (M7) Original Android Development] nashshafrulrezza:
If last time you flash bulletproof with camera fix.. you need to reflash trickdroid before flashing latest elementalx.. if not.. just proceed normally.
[One (M7) Original Android Development] nickabbott:
If you're running the latest trickdroid with the old version of bulletproof then I imagine you used the camera fix.

In this case you need to re-install your ROM and then flash the new kernel. This is because the camera fix from the previous version of the kernel leaves files behind unchanged that mean this new kernel won't work.

Ideally you could also extract out the camera files from the ROM that the kernel modified and just overwrite them on your phone instead of re-flashing but I'm not 100% sure which files are changed.

I would recommend, fresh wipe, flash rom, flash kernel. I would also reboot 2 times at least before flashing the kernel on top of the ROM, just to ensure things have settled / configured correctly.

EDIT: If you flash the latest kernel and the camera doesn't work, I believe if you do the following it will fix it:

1) From the ROM you're using copy out from the original zip file using 7zip the following files:

system\etc\firmware\ILP0100_IPM_Code_out.bin

system\etc\firmware\ILP0100_IPM_Data_out.bin

system\lib\liboemcamera.so

And then copy them to the exact same location on your phone you're using now with ES File Explorer with root permission and system r/w permission. you will know it's the right location as it will overwrite the files that are there.

You could also use ADB to push the files. With system mounted as R/W you could do:

adb push ILP0100_IPM_Code_out.bin /system/etc/firmware/

adb push ILP0100_IPM_Data_out.bin /system/etc/firmware/

adb push liboemcamera.so /system/lib/

You would need ADB and the files to be in the same folder location on your PC for this to work.

The reason you need to do this is because the previous kernels used a fix for the camera and it LEAVES the old files behind. You now need to overwrite them with the NEW files because this kernel now works with them.

Hope this helps!

I still think a full wipe / reflash is best but I don't care about losing call logs / texts I guess other people do!
[One (M7) Original Android Development] Magpir:
i did not use camera fix when i flashed bulletproof on trickdroid

camera is stil working
[One (M7) Original Android Development] flar2:
Very minor update

I decided to add the camera files, let me know if this works for all ROMs. Hopefully it does.

There shouldn't be any need to update if you have successfully installed version 1.0

This is still for 4.1.2, not for 4.2.2

Download:

ElementalX-m7-1.0.1.zip

Changes:

-add camera files by default

-change kernel version and update modules
[One (M7) Original Android Development] Magpir:
can i just dirty flash over bulletproof?
[One (M7) Original Android Development] nashshafrulrezza:
Yes.. and in kernel there is no dirty flash.. every flash will direct replace..
[One (M7) Original Android Development] Magpir:
why some say to flash original custom rom first then flash this?

i am confused which one?

dont wanna end up with a black screen brick
[One (M7) Original Android Development] MrKudinGTO:
Sigh...

Let me make it easy for you.

You, if you, ever flashed any camera fix, on your custom rom, BEFORE, then you have, to reflash your custom rom first, before flashing this new, ElementalX kernel. This is in order to, get your, original, .16 firmware original camera lib, and so on. Therefore, you don't have, to use the camera fix, anymore. Unless, you didn't flash, any of the camera fix yet, ever in your life's history before, then I assume, you don't have, to dirty reflash, your custom rom, before flashing, this kernel. On some rom, camera, might still not working without camera fix therefore, flar has updated the ElementalX, to v1.0.1. He, is adding back, the camera files, by default. Understandddddah?
[One (M7) Original Android Development] Magpir:
let me ask a qn, which is better, this or beastmode
[One (M7) Original Android Development] nashshafrulrezza:
This isn't a place to compare work that dev have gave us free to use. So please have a try your self. And choose it according your usage..
[One (M7) Original Android Development] flar2:
This is a problem with your ROM. My app can't properly identify your phone, tell the rom bulder not to mess with build.prop.
[One (M7) Original Android Development] onesvip:
[MENTION=4684315]flar2[/MENTION]

Wasn't there a option called "backlight dimmer" or something like this for lowering the minimum screen brightness in older releases of your kernel?

Is there and possibility to get it back?
[One (M7) Original Android Development] eraycetin:
İ dont know why but sometimes the touch screen doesnt work but i found that this happens when i unlock my screen to use my phone.
[One (M7) Original Android Development] Pressok:
http://i.imgur.com/MVouXxi.jpg

Ex kernel 22.3 sense, busybox broken
[One (M7) Original Android Development] micha279:
dd: can't open '/dev/block/platform/msm_sdcc.1/by-name/boot

Hi flar2,

First of all: Thank you for your great work and support! I am using your kernel for over a year now and am also proud customer of your recent and 'old' app :)

Unfortunately I am not able to update my kernel from 20.2 onwards anymore - basically after you have changed to AnyKernel installation mode. Installation of Kernel 22.3 finished with 'Success' in TWRP 2.6.3.3 but after restart nothing has changed: old kernel is still up and running.

I have tried the following up-to-now:

- Dirty Flash my ROM

- Wipe Cache/Dalvik

- Factory Reset (with FULL new installation of ROM and Kernel) --> even here the 22.3 kernel can't be installed but installation of 20.2 kernel is possible!

According to attached install log there seems to be a problem during creation/customization of ramdisk:

View attachment ElementalX-m7-22.3-Sense.zip.log.txt

I am using a

- m7

- Unlocked & S-OFF

- TWRP 2.6.3.3

- ARHD 93.0

- xposed v79

Do you have any further idea? Any help would be highly appreciated!

Cheers,

Michael
[One (M7) Original Android Development] flar2:
Use the latest version of TWRP
[One (M7) Original Android Development] micha279:
Too easy...especially because TWRP >2.6.3.3 takes almost an hour formatting partitions when updating my ROM :eek: But anyway, it worked! Thank you :D
[One (M7) Original Android Development] bnasty06:
where can I find an updated version for sprint?
[One (M7) Original Android Development] flar2:
There isn't one, I don't support the Sprint or Verizon versions of this phone.
[One (M7) Original Android Development] panxe:
Please support AOSP
[One (M7) Original Android Development] Droidcore:
[MENTION=4684315]flar2[/MENTION] already say not want support AOSP
[One (M7) Original Android Development] panxe:
:( I loved the elemental x and ARHD combo. Was my daily driver for long. Recently jumped to CM12.1. Missing a full fledged kernel.
[One (M7) Original Android Development] ser35:
port android 6 kernel (sense) from m8

flar2,

your opinion on the possibility of porting android 6 kernel (sense) from m8?

m9 not port (64 bit).
[One (M7) Original Android Development] Stone. Cold:
I'm using ARHD ROM, so far good...

Can someone please give me good settings for the best battery life for elementalx kernel installation process. Kind of a noob when it comes to this, seems easy but I have been having trouble with battery life recently. Thanks to those who give positive replies!
[One (M7) Original Android Development] Pressok:
All the default setting is the best. And no undervolt, keep stock setting.
[One (M7) Original Android Development] Stone. Cold:
That makes a whole lot sense, 'however' if no other recommendations work for me, then I'll stick with pure stock. Might OC GPU to 450mhz and set I/O scheduler to SIO or BFQ (already set at stock -CFQ)

Anyway, thanks for the reply.
[One (M7) Original Android Development] Ernoz:
Since cyanogenmod is based on GPE would it be okay to use that kernel? It may be that they have pushed certain modifications that might make it incompatible I'm not quite sure.

Trying to adjust the extreme loudness to a bearable level, I'm getting horrible distortion on my M7 using the stock CM kernel.
[One (M7) Original Android Development] donkeykong1:
Wrong. CM has nothing to do with GPE
[One (M7) Original Android Development] Ernoz:
Ah, I should have done more research. But at least CM used to be a fork of AOSP or is that just my delusions too?

Either way I think I might have to leave CM if I can hear distortions on the speaker on the first audio step, it's not an issue on the original ROM. Such a shame really it's the only issue I've had with it :)
[One (M7) Original Android Development] donkeykong1:
CM is AOSP, but GPE isn't. You could call GPE Sensless. It's sense base without Sense, if it makes any sense to you. Nice words game here, right? [emoji23]
[One (M7) Original Android Development] Ernoz:
Haha, I think I'll just throw away AOSP due to this very kernel fact. But the most important bit about Sense-based ROMs was always the fact that you could run BoomSound/Beatsaudio speaker optimizations on it. This is not available to GPE or is it constantly running in the background? I always wanted to run it on the speaker but not on the audio jack, however not quite got it to do that only with HTC One M9 and above, such as the ViperOne port.
[One (M7) Original Android Development] donkeykong1:
I'm not sure, but I think boom sound is a Sense only feature. I'm using Sense ROM, so I have boom sound. I love Sense and would never flash anything but Sense on my phone [emoji4]
[One (M7) Original Android Development] Ernoz:
Sorry for keeping the off-topic going but I'm curious. Is that the stock ROM which changed to BoomSound in HTC One M7 after their Beats shares got sold? You see, they still use Beatsaudio in ARHD instead, but I think the proper stock changed it to BoomSound and not just the ports that uses the ROM from HTC One M9.
[One (M7) Original Android Development] donkeykong1:
Sorry, I ment beats audio. I'm still drinking my morning coffee. Beats audio is good enough for me. No idea about boom sound [emoji33]
[One (M7) Original Android Development] B.Jasniewicz:
Hi,

I've tried to flash the latest elementalX kernel using twrp 2.6.3.3 (which is the only working for me) . Installator says it was successful but after rebooting nothing seems to have changed. Is there any way around it ?
[One (M7) Original Android Development] its the peanut:
You have to reboot TWICE, as stated after the installer finished.
[One (M7) Original Android Development] B.Jasniewicz:
I rebooted twice and still the same. It may have to do with recovery but I can't use any other.
[One (M7) Original Android Development] Danny201281:
Just a hunch but check your TWRP settings. There is an option called "Simulate actions for theme testing" which allows you to flash things without making any changes to the device for zip testing.

Make sure it's disabled and flash the kernel again.
[One (M7) Original Android Development] B.Jasniewicz:
It was disabled both times i tried
[One (M7) Original Android Development] flar2:
Use the latest version of TWRP. And send /tmp/recovery.log if it still doesn't install.
[One (M7) Original Android Development] B.Jasniewicz:
Only 2.6.3.3 works with my phone, maybe some older version of the kernel would work?
[One (M7) Original Android Development] flar2:
Maybe, since the older ones have a less complex installer
[One (M7) Original Android Development] B.Jasniewicz:
Which version of the kernel would you recommend, since I'm using the latest ARHD ROM?
[One (M7) Original Android Development] Mikecosta64:
Just a hunch but probably the latest download due to it being the most stable and bug free.
[One (M7) Original Android Development] JKBCo:
I had also this problem, running 2.6.3.3. I updated to 2.8.7.0 and it worked like a charm. What happens if you try to upgrade TWRP? I used TWRP Manager from Google Play. It said that something was wrong when I did the upgrade but when I restarted into recover mode, it said 2.8.7.0 and I couldn't see anything wrong. I flashed this kernel and everything worked fine.

Thanks flar2!
[One (M7) Original Android Development] dinozaur516:
Hi, I have flashed this kernel for today. And after using it I have found one problem. Autorotation does not work. I have tested it in different apps but the result is the same. Can anybody help me?

I am sorry, the problem is fixed. I just rebooted the phone and everything does work perfect! Thanks! :)
[One (M7) Original Android Development] cyrusct82:
I don't have such problems.
[One (M7) Original Android Development] Imonol:
Hi,

I have problems to use T2W with pocket detection enabled, most likely due to proximity sensor, without the pocket detection there is no problems.

Screen off doing phone calls works just fine through.

Does the kernel use the same thresholds for pocket detection as the screen off function doing phone calls? Can this be changed?
[One (M7) Original Android Development] Mikecosta64:
Changing Aroma settings?

I understand that I can change the aroma settings through the configuration file but, could I also dirty flash the kernel to change the settings? I know that there are apps to change kernel settings such as kernel adiutor but, the OP says these might interfere with the settings inputed in aroma since they have apply on boot (would I just not allow them to apply on boot then if I wanted to change the settings through these apps?).
[One (M7) Original Android Development] flar2:
You can flash the kernel anytime to change settings, or get my app, EX Kernel Manager.
[One (M7) Original Android Development] Matze1904:
I just installed (or tried to) 22.3 Sense version without any problems, but in my phone Info it is still sayd that I have 20.2. Is this a known "problem" or did the installation just nut finish correctly? Is there any other way to check my kernel version? Thanks.