yashsingh1/xdaforums huggingface dataset:
[ZenFone 2 Android Development] TheSSJ:
L Speed mod would fail to activate ZRAM...swapon throws out the following error: function not implemented

I have enabled swap in config, zswap and all of its dependencies, google finished giving hints and tips at some point in time and I had to reset all changes again.

Then I saw in a newer kernel version ZSWAP and backported it successfully (very proud :D)...then I read that it is not ZRAM, but it just compresses caches, so I removed it again :(

Now I found ZRAM in the kernel 4.1 source (from torvalds git). I am checking which dependencies are needed to be backported (if any) and will report if zram works with this source...

Last try in this project tree :(
[ZenFone 2 Android Development] aziz07:
[MENTION=2388665]TheSSJ[/MENTION] Sorry if its too much to ask, how hard is it to enable ext4 sd cards? Fat32 is limted to 4Gb files and exFat is slower -.- Ext4 is linux native, faster than both and has >4Gb file support. I have tried init.d scripts from other xda thread but only twrp would detect the EXT4 sd card ;-(

http://xdaforums.com/showthread.php?t=2424900

Thanks for your hard work.
[ZenFone 2 Android Development] TheSSJ:
Did you change the script files to point to the correct partitions as the OP from that thread asks to?

msd2.sh

#!/system/bin/sh

mount -t ext4 /dev/block/mmcblk1p1 [COLOR="Red"]/mnt/media_rw/MicroSD (maybe just /storage/MicroSD)[/COLOR] && sleep 5 && /system/bin/vold

Ext4 is already fully supported, the kernel shouldn't be the problem here. Easiest would be to edit the fstab file on the boot ramdisk:

Before:

*/block/mmcblk1*	/storage/MicroSD vfat	None	wait,voldmanaged=MicroSD:auto,noemulatedsd

After:

*/block/mmcblk1*	/storage/MicroSD ext4	None	wait,voldmanaged=MicroSD:auto,noemulatedsd
[ZenFone 2 Android Development] XneofuX:
Made my day :D:D

As someone already requested ... KVM would be really nice when you finished fixing the faulty governors :p

Btw, as always, thanks for the good work :good:
[ZenFone 2 Android Development] aziz07:
[MENTION=2388665]TheSSJ[/MENTION] I tried setting rw permission and editing fstab but it will reset after reboot -.- Yes, I used /storage/MicroSD which is where my fat32 sd card would be ... I also changed permissions for sd.sh otherwise own't run.

p.s: check your email ;)
[ZenFone 2 Android Development] TheSSJ:
Didn't think that kvm is that popular :silly:

If [MENTION=684728]ycavan[/MENTION] is okay with it, I will add this to my roadmap,as he achieved this I don't want to copy it just like that

Well, I should have mentioned that the boot ramdisk needs to be edited for this, will send you a test image so you can check if it works (most likely tomorrow).

Many thanks for the good news :)
[ZenFone 2 Android Development] john_petrucci:
I have flashed the kernel, in the stock rom where is the option CPU governors??

Thank you!
[ZenFone 2 Android Development] aziz07:
Perfect, for KVM, from users experience in the kvm thread, there is no gpu acceleration under KVM yet and most likely there won't be as the PowerVR is more compatible with linux, a user reported 1fps in win 7 3d apps lol

But, I posted there about mutlibooting native linux and android, it seems easier than native windows, more compatible and faster. Integrating KVM might take more disk, ram or cpu usage, especially that it will be running Android in background. There is steam on linux too and from past experience, games like UT2004 ran better in linux especially that linux boots ~150Mb for LXDE. Its always better to natively run programs than emulation when possible.

---------- Post added at 08:20 PM ---------- Previous post was at 08:19 PM ----------

Either use L Speed mode or any kernel editor app from playstore.
[ZenFone 2 Android Development] cangcan:
i think zram for ze551ml with 4gb ram is not needed, maybe it suits for 2gb ram and below (coming from S3 device which has 1gb ram only).. but it wont hurt to have the option to enable it if user want it, anyway zram is much more better than zswap or hard swap in my opinion, because it doesnt consume much battery rather than swap, and hardswap may damage memory too..

another thing is, we need to tune the tunable of governor so that it match our devices, maybe thats the cause of the freezing, especially for the frequency step.. currently on v29 and i still face unstable freeze or random reboot when using custom governor, have to stick with interactive with tweaked tunable to gain more battery life as it seems to be more stable than using other governor..
[ZenFone 2 Android Development] gmanhatesu:
Just wondering if its at all possible to change the temperature the soc throttles at?
[ZenFone 2 Android Development] ycavan:
By all means! :) KVM is something that needs to be compiled in every kernel :D
[ZenFone 2 Android Development] TheSSJ:
Okay okay, I got it, KVM is added to the roadmap (thanks to [MENTION=684728]ycavan[/MENTION] for giving your positive feedback :) )

New version uploaded: ZRAM implemented but disabled by default, Ondemandplus and yankactive customized for our devices hopefully

If you tell me the exact source code file, I can take a look - unfortunately there are roughly 200000 or more files in the kernel repo :D
[ZenFone 2 Android Development] aziz07:
Tried latest v35 version and display will flash pink :( , was anything changed from v29 for gpu settings?

This can happen when either gpu memory is oced or underclocked with or without voltage tweak.

Reverted back to v29 and everything worked as before.

thanks
[ZenFone 2 Android Development] bmwkeith:
Yanactive governor no longer causes boot loops on v35. Thanks for fixing.

---------- Post added at 07:35 PM ---------- Previous post was at 07:02 PM ----------

Spoke too soon. Just had a random shut down with yanactive. Reverted to lionheart and all is well.
[ZenFone 2 Android Development] aziz07:
Did you get any display issue with v35? Perhaps, could be because of L Speed interference ...

I did find the cpu frequency and states for each core in /sys/bus/cpu/devices but editing will just reset after saving.

Edit: Reflashing fixed issue.
[ZenFone 2 Android Development] sdrawkcab3:
No problems on v35 so far using ConservativeX.
[ZenFone 2 Android Development] aziz07:
Reflashed when running on battery working A+

It might be because of the L Speed battery calibration option. Its the only thing I modified right before flashing.
[ZenFone 2 Android Development] bmwkeith:
No display issue.
[ZenFone 2 Android Development] tuilalnvinh:
Ondemandplus still cause device reboot on v35
[ZenFone 2 Android Development] ansebovi:
Zram works perfect many thanks :)
[ZenFone 2 Android Development] Ntrasme:
How does the phone feel with ZRAM enabled? Finally flashing the kernel seems even more tempting. (2GB version)

It should be fine if I stick to conservativeX right?
[ZenFone 2 Android Development] 29y6145:
[MENTION=2388665]TheSSJ[/MENTION]

can you add CPU SMARTASS2 and I/O SIOPLUS

very good for battery

Link:https://drive.google.com/file/d/0BystYJtbZCFWaTFFQjBveTU4d28/view?usp=sharing

PS: unzip file , edit name two file .zip St .c

Then you can add at kernel
[ZenFone 2 Android Development] aziz07:
I am getting about 15h battery performance governor with this kernel and those tweaks, never had that even with lg g2. No more android system battery drain.
[ZenFone 2 Android Development] lyeith:
[MENTION=2388665]TheSSJ[/MENTION]

if you're free do you mind taking a look at whether asus changed their interactive governor from 2.17 vs the latest 2.18/2.19

seems like it likes to run at max freqs even at 0 cpu load on the latest version
[ZenFone 2 Android Development] ligu:
Darn! Should've spent that few more dollars to get the ZE551 [emoji22]

Btw, how long an SOT are you getting from there?
[ZenFone 2 Android Development] TheSSJ:
Mh, I feared that...will need to compile the governors as modules and try to debug where is does go wrong...this also applies to Ondemandplus. On that occasion I will see if I can fix the permission denied logging when switching back to interactive

Noted, thanks!

You need to activate ZRAM by adding the script in the download section to your init.d directly. Unfortunately please make sure for this time to set the permissions to 755 yourself as I forgot something important in my init.d hack (mounting system as rw in order to automatically set permissions :D) v36 should fix this

Thanks for the link, will look into this

Yeah, would be interesting to know :) a simple diff command should tell me which parts were edited (if any)
[ZenFone 2 Android Development] aziz07:
Haven't actually measured it but I never game on it, only reading, music, browsing etc It showed 15h when phone was 92% 5h ago. Now screen time shows ~2h30 58% 6h left, I ran many Antutu and Vellamo tests with 0 brightness during that period, screen is highest usage 13%.

I put my phone in airplane mode since last charge but battery still drain from cellular network, how is that? Do you guys also get cell network usage even when its off or there is no sim? Funny thing is that its draining much more battery than wifi which I always keep on and use heavily Its running all the time :confused:
[ZenFone 2 Android Development] TheSSJ:
Which governor do you use?

I see on betterbattery stats, that it always shows no or poor cell signal, funny is only, that the app says that this is 100% the case (still I have H+/LTE and call quality is really well, so this has to be an error, also the phone rings when it gets called even in deep sleep)
[ZenFone 2 Android Development] aziz07:
Performance governor, I will try other governors. I am seeing that it is continuously running in battery history details.

I though airplane mode would disable cellular network signal ; I guess not.
[ZenFone 2 Android Development] ansebovi:
There is drain of Android Os for me.. And lot of wakelock, see my attachment, check yours too please

zram is available in Stock itself.. Without zram, we may experience slight lag in multitasking, in zram it will reduce a bit. .
[ZenFone 2 Android Development] cieffe54:
I installed on My 550, change only DPI (290) all working
[ZenFone 2 Android Development] ligu:
That's great! Minding sharing how you change the DPI?
[ZenFone 2 Android Development] TheSSJ:
Nope - as memory will be stored in a compressed form into the ZRAM partition, CPU cycles are needed to do the compressing/decompressing into RAM (sure, it is faster than swapping to a partition, but it will still reduce performance compared to no ZRAM swapping at all).

As you have 2GB RAM it makes more sense for these setups, but this is the reason why ZRAM is disabled upon boot and needs to be triggered via init.d

As the name says, this gov is made for giving 100% the whole time, I wouldn't even wonder if it never puts the phone to sleep (never checked,though). But this is more design than bug. And if the phone is running the whole time, the components (modem, etc.) are never put to suspend/sleep, thus the signal searching in the background.

This is the search for the holy grail of governors - maximum performance and minimum battery consumption (the only compromise is a governor giving a mix of both, like ondemand or interactive)
[ZenFone 2 Android Development] cieffe54:
<> adb shell

<> wm density 295
[ZenFone 2 Android Development] aziz07:
[MENTION=2388665]TheSSJ[/MENTION] Apparently from users in main Xposed module, this cell network battery drain is an issue for android phones. The cell phone will keep using the modem even when in airplane mode and no sim is inserted. I am looking for a module to disable the modem when not needed just to be sure its completely off and not constantly searching for signal.

[MENTION=5010777]ansebovi[/MENTION] I have applied L Speed mode with everything on and the lollipop memory leak bug patch. L Speed was modded and posted in this section by an xda fellow. The lollipop memory leak would also cause android os to drain more battery especially when screen is off, its a free lollipop app from playstore called fix lollipop memory leak. Android OS is still using less than screen power (0% brightness ; screen filter app @35%) , its normal for the kernel to use most power since its the core and its power use will depend on how you use the phone.

Hope this helps. p.s: This is with performance governor all cores 2.33Ghz, phone still runs cool with average non-gaming usage ~34C , battery ~27C ; these are amazing temperatures for a small device. My g2 would shoot up to 70C for cpu and 56C battery.
[ZenFone 2 Android Development] ansebovi:
I too using those.. Btw i talked with the original dev of lspeed.. Can you show the screenshot of system/etc/lspeed/00lstuff.. Please.. .

Seems my phone can't take any log..

Btw android os drain is in your phone too it is taking 27%...if you seen in someother phone it will not show this much .. And when i bought the phone in pre order, this android Os didn't have this much drain... After some updates only it came..

Please use amplify and see the wakelock you will know
[ZenFone 2 Android Development] aziz07:
Oh you mean the log files are 0 bytes? Mine are ~100 bytes and there are data in them so the mod should be working. You have to change permissions of LS then type su LS in terminal and activate what you need. Also, use the v2.3 provided here for x86. I will try amplify now.

I like to use 3c toolbox, it will show android os sub-processes activity. kworker/u8:2 and kworker/u8:1 are prominent I have no idea what they are. Ok, after some googling, it might be related to a linux bug on some versions.

Edit: Amplify screenshot added. You may have to increase your brightness since the screen filter app dimmer will dim screenshots too. 13H @ ~75% battery with full 4 cores at 2.33Ghz performance governor. Still strying to turn off the modem.

I have no idea what wakelocks are yet but you tell me if there is wakelocks issue. 23min log
[ZenFone 2 Android Development] ansebovi:
Can you please show the system/bin/those files screenshot

System/etc/init.d screenshot in that lspeed thread pls... Something went wrong with mine

Btw the wakelock.. You are having 200+ in 20mins... Slide from left and select wakelock, it will show what i gives wakelock in yours... My guess one of them Is alarm...
[ZenFone 2 Android Development] helroz:
Great news :)
[ZenFone 2 Android Development] TheSSJ:
Unfortunately these Screenfilter apps don't yield any battery gain. It's even using more cpu/gpu for generating the dark overlay...I think chainfire said this,am not sure anymore though^^

Guys, just fyi: i will begin debugging the cpu governors this time being,so there won't be new features for the moment. Maybe it's a general issue,which is fixed rather easily,who knows....
[ZenFone 2 Android Development] aziz07:
That's true. I use them at night to read. I have to disable them for some apps and when installing an app manually for touch response to work.
[ZenFone 2 Android Development] TheSSJ:
Yeah,that's because Android thinks this is tapjacking,so it doesn't allow installation of apps with these apps...as Google didn't announce this security feature really well, the forums were full of "bug reports" that app installations fail...interesting somehow,how these things upset people if not informed properly :laugh:

Edit: did you deactivate the pm function?
[Fire HD 6 and 7 Q&A, Help & Troubleshooting] tocohl:
I tried tried to upgrade my Fire HD 7 to 4.5.4 from 4.5.3 and keep root, but for some reason I lost it. So I though I would try to upgrade to 5.0 again, but under system updates it says "Last update failed". Then tried to do a reset to Factory Defaults and that's when my dashboard disappeared. When I boot up, I open up into settings and can't get anywhere else. Adb still connects.

I have TWRP installed and tried to flash stock 4.5.4 but that update failed because the binary could not execute because the device name did not match.

I would like to reset to factory defaults, or be able to upgrade to 5.0. Any tips?
[Fire HD 6 and 7 Q&A, Help & Troubleshooting] tocohl:
My issue with reflashing the OS in TWRP has been fixed. In the updater-script I had to change the name of the device from ariel_full to ariel_omni.
[Fire HD 6 and 7 Q&A, Help & Troubleshooting] ericmb20:
im having the same issue but im not sure where to update the script. mind pointing me in the right direction?
[Galaxy Tab S Themes and Apps] Morinzo:
Is there a nice AccuWeather mod for the T700 kind of like the one for the S5?

Thanks..
[One (M9) Q&A, Help & Troubleshooting] QA Bot:
Q&A for [ROM][UNOFFICIAL][5/7] CyanogenMod 12.1 | Beta 1

Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.

Before posting, please use the forum search and read through the discussion thread for [ROM][UNOFFICIAL][5/7] CyanogenMod 12.1 | Beta 1. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.

Thanks for understanding and for helping to keep XDA neat and tidy! :)
[One (M9) Q&A, Help & Troubleshooting] jacz24:
Great job guys. Going to wait till a more stable build but you guys should be very proud of yourselfs. None the less this is great work. Made my day knowing there are people like you guys.
[One (M9) Q&A, Help & Troubleshooting] ninjalad4:
Build you just posted

Just downloaded it and tested, the issues with the navbar/status bar etc. are still there.

Can' t wait for this to be finished, thanks for the hard work.
[One (M9) Q&A, Help & Troubleshooting] vivremetrique:
I just got to flashing this

I don't get navbars, status bar, or notifications shade either.

Volume buttons do nothing, trying to change brightness crashes Settings, there is no power menu.

The default CM12.1 wallpaper is also missing (black screen) and there is an icon missing from the dock.

Strange.

I couldn't test the camera (because I can't navigate anything without back or home buttons), so I can't say much about that.

Keep up the good work though, I'm more than willing to test any new builds!

Keep us posted!
[One (M9) Q&A, Help & Troubleshooting] ptv9:
Camera m9 sense port

Has anyone tried using the sense port for all aosp roms from

http://xdaforums.com/lg-g3/themes-apps/mod-htc-one-m9-camera-port-t3056305

To see if that makes the camera work?
[One (M9) Q&A, Help & Troubleshooting] vivremetrique:
After flashing the 2 June build and then the current build, all seems to be working.
[One (M9) Q&A, Help & Troubleshooting] matthewstice:
Interested....however need 2.8 firmware as base and everything working good battery life before I make the transition which I'm guessing could be awhile. Dolby audio also very important.. will keep checking thread for updates thanks for your efforts
[One (M9) Q&A, Help & Troubleshooting] CMCI_49:
In safe mode :/

I installed it and everything but it boots into safe mode, problem is when i try to turn it off using power button it just restarts phone into safe mode without asking to power off or anything! Anyone got anything?
[One (M9) Q&A, Help & Troubleshooting] vivremetrique:
Not sure if OP or any of the devs are reading the Q&A section,

but I've been using the latest build (with the 2 June flash before, of course) on 1.32.* as my daily ROM since the statusbar/softkeys fix was posted.

Some interesting negatives/bugs I've noticed:

No double tap to wake

Battery usage data never shows up

Cannot search for service providers (Get an error, but selecting auto works and finds the correct carrier)

Possibly unrelated but the quick settings tiles for the notifications shade are extremely limited (No volume or independent brightness tiles, et cetera. I think these need to be implemented by the rom developer, as they exist for other CM12.1 devices on official roms)

Otherwise, I think all is working fine. (Well, minus what was marked "broken" (camera, USB OTG, ...) but it looks like there were recent commits on github for the SoC, so maybe this or a fix for newer frameworks is coming!)

Battery life is better than sense, and everything is much snappier. Xposed works (using v65 for now), as do most lollipop modules. (Except Amplify which blocks no wakelocks, but I think this is an arm64 issue because many M9 users are reporting this in the Amplify thread, even on Sense/"stock" roms.)

If anyone sees this (with more than 10 posts lol) please direct OP to the Q&A section so he can see these issues.

I'll continue to use this for now, I haven't had the reboot problem other people are experiencing.

If there's anything someone would like me to test, I'm more than willing, just let me know.
[One (M9) Q&A, Help & Troubleshooting] vivremetrique:
I think the actual rom implementation (drivers/firmware) is the problem with the camera.|

It turns out that mods removed the download link in that thread anyway.

Sorry!
[One (M9) Q&A, Help & Troubleshooting] rickmartel01:
Unofficial cm 12.1 hima

I have flashed the ROM as instructed ... And all works well until the phone goes to "sleep". I an unable to wake the device. I have to power off and reboot phone. Is there a fix for this?
[One (M9) Q&A, Help & Troubleshooting] BananaMasamune:
Downgrading Firmware

I've frankly had quite enough of the Sense UI, however, after flashing this ROM, I experienced the sporadic reboots and navbar issues which many other users have posted about. Some say that flashing back to the 1.32 firmware (in my case from 2.7) will fix the issue, but won't this bring back overheating issues and terrible performance?
[One (M9) Q&A, Help & Troubleshooting] vivremetrique:
[MENTION=6735303]BananaMasamune[/MENTION] and [MENTION=5660821]rickymartel01[/MENTION],

Did you both flash the 2 June build before the 5 July build? That seems to have fixed navbar issues for most people.

Downgrading firmware fixed sleep and reboot problems for most of us as well.

I was never on 2.x so I'm not sure about performance problems, but it definitely feels faster and more fluid than Sense on 1.32.x
[One (M9) Q&A, Help & Troubleshooting] dreznik82:
European

Is it working for European device?

---------- Post added at 08:58 AM ---------- Previous post was at 08:43 AM ----------

Is it working for Eruropean devices?
[One (M9) Q&A, Help & Troubleshooting] vivremetrique:
[MENTION=6552717]dreznik82[/MENTION],

My device isn't from the United States, and it works for me.

Check to see if your phone is GSM or CDMA.

There is a list on HTC's website somewhere that lists carriers, and tells what version of the phone they have. Many of the GSM phones are WWE (world-wide edition, international) and can be used with this.
[One (M9) Q&A, Help & Troubleshooting] jerkywez:
Nice work

Good work guys. How long you reckon it would take to get this as a stable nightly build once broken items have been resolved?
[One (M9) Q&A, Help & Troubleshooting] jdoe23:
Also no status bar and navigation bar on mine as well
[One (M9) Q&A, Help & Troubleshooting] Galaxysm:
Does anyone know if xposed works ?
[One (M9) Q&A, Help & Troubleshooting] Rogi1997:
fix for downgrade

could you try to fix the ''downgrade'' problem in the next update?

because I am not able to downgrade (don't know why)

thanks
[One (M9) Q&A, Help & Troubleshooting] vivremetrique:
[MENTION=4838544]Galaxysm[/MENTION] , Xposed works.

[MENTION=6161949]Rogi1997[/MENTION] , Are you S-Off?
[One (M9) Q&A, Help & Troubleshooting] WRavrXQBlFSZ3e7D3kwPP0Gg6:
Everything works fine except for touch input - for some reason I have a floating "mouse pointer" which I have to move around and click. I've googled around and found that this might be related to "touch.deviceType = touchScreen" setting.

This bug makes this rom unusable for me
[One (M9) Q&A, Help & Troubleshooting] Rogi1997:
Bootloader unlocked, S-ON, T-Mobile CID

Is there a chance to get s-off without sunshine?
[One (M9) Q&A, Help & Troubleshooting] jdoe23:
nav bar status bar fix

Thank you, This worked for me as well!!

Awesome job and can't wait for camera to work in this will be perfect. Let me know if you need help with testing or anything.