yashsingh1/xdaforums huggingface dataset:
[Nexus 9 Original Android Development] USBhost:
Get the boot.IMG from my kernel

Unpack it with http://xdaforums.com/showthread.php?t=2073775

Also I can give you my kitchen if you want

Then edit the script to use it

If you need more help just tell me
[Nexus 9 Original Android Development] Poesini:
Nice!

I could repack the kernel with the new zImage, but I wonder what will it take to build straight an .img ?

Also I tried including intelliactive and its giving me lots of errors lol (this is just for my experiments)... I dont know if this is because its coded for ARMv7 or 32 bit or something else
[Nexus 9 Original Android Development] USBhost:
K7.7.2

K7.7.2

-| reverted latest toolchain :: the newer one did'nt seem to work as well

-| clean up some stuff

its just a clean up build

nothing major
[Nexus 9 Original Android Development] racketier:
Thanks for your hard work on this kernel, USBhost. I use it as my daily driver (currently on 7.1, will upgrade to 7.2 tonight).

I'm running a fully stock rom with your kernel. When the 5.1 OTA update pops, will I be able to take it? Or will I end up bootlooping due to the cache format with your kernel?

I'm hoping to avoid a full wipe, as I'd like to keep my games/app data in tact (and the N9 doesn't have a true SD card I can throw backups on).

Thanks!
[Nexus 9 Original Android Development] USBhost:
I will have a tmp stock kernel

with the needed modifications

If fire-ice won't boot which I doubt will happen

I got you covered :good:

Edit: you will have to boot back to the bootloader

Then flash the kernel if you do get a bootloop
[Nexus 9 Original Android Development] Surnom:
Is it just me or that bug is back in latest K7?
[Nexus 9 Original Android Development] USBhost:
It can't

Are you sure
[Nexus 9 Original Android Development] Surnom:
I just flashed test.2.K7 and it charges OK, I'm going to reflash K7.7.2 and see.

---------- Post added at 12:38 PM ---------- Previous post was at 12:15 PM ----------

K7.7.2 doesnt work.

Stays on the fixed charging icon and even if I unplug it its frozen there until I force reboot.
[Nexus 9 Original Android Development] USBhost:
Thanks for the bug report
[Nexus 9 Original Android Development] gb_Texas:
Battery icon fine on stock and 7.7.2...

Btw,stable and great standby times.. Thanks
[Nexus 9 Original Android Development] USBhost:
K7.7.3

-| SIO :: is default now, man dont know why i havent tryed it, its awesome!

-| that battery bug should be fixed now... :: dont know why it even happend...

-| toolchain update :: its working vary well now

-| one or two more things disabled...

-| ramdisk update to 5.1.0 :: with some edits to make it run on 5.0.2

-| 2A charging is now forced :: only on 2a chargers

edit: it will be up soon

edit: its up now :: the last one had a problem

all good now

cheers!!! :good:

thats nice to hear!
[Nexus 9 Original Android Development] tyvar1:
Thanks for the update! :D
[Nexus 9 Original Android Development] Surnom:
Thank you, everything works great with K7.7.3.
[Nexus 9 Original Android Development] edgarf28:
Just to make sure: This version of your kernel works on the Lollipopalooza Android 5.1 ROM?
[Nexus 9 Original Android Development] USBhost:
Yes

Well it should

If not pls tell me
[Nexus 9 Original Android Development] Hiro Nakamura:
Is the kernel source for android 5.1 out yet?
[Nexus 9 Original Android Development] USBhost:
No

But I did make an unofficial 5.1

Kernel source
[Nexus 9 Original Android Development] Hiro Nakamura:
Just flashed it on android 5.1 and play store, gmail and system ui force closes here. Then it starts to reboot on its own :(
[Nexus 9 Original Android Development] USBhost:
OK that's what I feared

A fix will be up shortly

For android 5.1

I got the same thing on 5.0.2

With the 5.1 ramdisk
[Nexus 9 Original Android Development] USBhost:
5.1.0 K7.7.3 is up

-| fix bootup

only for 5.1.0 ROMs
[Nexus 9 Original Android Development] tyvar1:
Awesome man! Now we just need to wait for AICP 5.1 ;)
[Nexus 9 Original Android Development] gb_Texas:
2days with 7.7.3, on stock, and all is well... Thanks again. Offline / standby mode battery time is awesome.
[Nexus 9 Original Android Development] rootcid:
772 and 773 are not working well for me on cm12. Previously used K7 test 5 for a long while, battery life was much much better, and I had it over clocked. Now this:
[Nexus 9 Original Android Development] USBhost:
Can you give me the systems battery log
[Nexus 9 Original Android Development] odub303:
That doesn't look bad at all. You dropped 29 percent but had over two hours of screen on time and your differential between screen on and awake was well within reason.
[Nexus 9 Original Android Development] nextelbuddy:
I am currently on elemental x kernel. Are you saying that if I flash your kernel which has selinux disabled and then later I flash elemental or stock again that is enforcing selinux, that my device will bootloop?
[Nexus 9 Original Android Development] USBhost:
yes

But if you flash stock

normally you would do a full clean install

In that case you'll be fine no bootloop
[Nexus 9 Original Android Development] nextelbuddy:
Thats unfortunate,

I never flash the entire stock ROM when I switch between kernels on my nexus 6.

Could I use the SELinux changer to change the mode to force SELinux before flashing another kernel? Or does your kernel disable it completely?
[Nexus 9 Original Android Development] USBhost:
Yep

disabled completely...

Wait... Hmm..

doesn't elementalx use the ramdisk

Of the device...

Hmm I could make a patch that would allow you

To use elementalx with fire-ice's ramdisk

When you flash elementalx?

I could try that if you want?
[Nexus 9 Original Android Development] USBhost:
OK guys!!! I got tired of waiting for 5.1

So I will start on k8

I will most likely rebase k8 when 5.1 comes out

So its just a time waster lol ...

A good time waster I say hehe

K8 will be vary experimental

cache ext2

ext2 seems to work faster than f2fs

GCC 5 that's the vary experimental part

going to update bfq to v7

Big improvements to BL will tell you more later

Also a lot more debuging removed

Because I found out that nasty suspend/sleep bug

Was ROM related not kernel related... That's so nice to know hehe!!

I recommend you guys try out AICP SaberMod version

Its nice also no suspend/sleep bugs...
[Nexus 9 Original Android Development] tyvar1:
Fire Ice k8 5.1 rebase with AICP 5.1 SaberMod, the dream! :D
[Nexus 9 Original Android Development] USBhost:
K8 is up

K8

-| GCC 5 :: aka SaberMod 5.0.x

-| BFQ updated to v7

-| cache ext2

-| BL redone :: now type "bl -h" to see what changed..

-| removed UL

-| some more debuging removed

Notes:

i renamed BL to bl because it got too

inconvenient having to press ^ all the time

for bl you now have the following commands

-h = help

-s = set backlight (1-255)

-u = unlock backlight

-l = lock backlight

-r = current value

to use bl -s it will look like

bl -s 54

Battery is also vary good

6h on 50%

so about 12h for all 100%
[Nexus 9 Original Android Development] BigJPNut:
I read in the benchmark thread, you said to remove the interactive fix. Does this apply to the 5.1 version? If so why is this "fix" included? Thanks for your help!
[Nexus 9 Original Android Development] odub303:
K8 5.1 is blazing and buttery smooth on lollipoppalloza. Thanks!
[Nexus 9 Original Android Development] BigJPNut:
+1
[Nexus 9 Original Android Development] AllanJacques:
K8 on AICP is great too!
[Nexus 9 Original Android Development] USBhost:
Well that fix gives about 2x if you push it 3x better battery life

Then without it

True you get a better/smoother experience

Without it but my goal with FIRE-ICE

Is to have a vary good battery life

also good performance

But if you want to have bad/stock battery life

Then remove that script

And set every thing to the max and get

65-7k on antutu
[Nexus 9 Original Android Development] Hiro Nakamura:
Can you explain why you chose ext2 for cache now ?
[Nexus 9 Original Android Development] dragonballz2k:
I keep getting nfc service have stopped working here are the logs http://pastebin.com/wTZDjMSe . I am on lollipoppalloza

EDIT: oops I download the 5.0 one by accident lol .
[Nexus 9 Original Android Development] USBhost:
Did you flash the 5.1.0 one?
[Nexus 9 Original Android Development] USBhost:
Just testing

For me it seems faster
[Nexus 9 Original Android Development] BigJPNut:
That's cool, I never understood needing that much battery on a tablet that already gets 7hrs SOT lol. Especially when most probably use it at home with an outlet near by. Maybe more battery comes into play on a phone. Why pay 450 for a performance orientated tablet just to choke it up, but to each their own lol??? Thanks for the explanation though!

This is gonna be one sweet experience when AICP Sabermod goes 5.1 with this kernel!!!

Thanks again...cheers.
[Nexus 9 Original Android Development] gb_Texas:
All good here with K8 and stock OS. Smooth, and responsive. Decent standy time again, plus decent video OST. Thank you
[Nexus 9 Original Android Development] albsat:
K8 for v 5.1 is not bad at all. I wonder of there is a free kernel tweaker suggestion for it.
[Nexus 9 Original Android Development] USBhost:
K8.1 is up

K8.1

-| unofficial 5.1.0 kernel update :: i mean unofficial

-| bl update :: you can now use -l with -s like bl -s 4 -l

-| more stuff removed

-| ramdisk changes

-| re-enabled Cgroups :: that was disabled on 5.0.2

-| Makefile optimizations/changes

ok guys tell me how it goes

with the unofficial 5.1.0 kernel update
[Nexus 9 Original Android Development] gb_Texas:
Will this work on the Stock OS?
[Nexus 9 Original Android Development] R3Lax1:
Keep getting nfc force closes while beaming from any device I try.
[Nexus 9 Original Android Development] :
I am loving this kernel its like an optimised version of elementalx exactly , when it comes to top end performance, however battery life is improved due to the efficient interactive governor, thanks fireice, I'll update my later thoughts.

LOL TRY ANTUTU BENCHMARK AND stops as soon as the 3d part test kicks in, too powerful lol.
[Nexus 9 Original Android Development] albsat:
I installed aicp and kernel k8 only to repeat USBhost screen time achievement. :) it was 11h sot. let's see. The most I get with my tablet was a bit over 5 hours.
[Nexus 9 Original Android Development] AllanJacques:
Don't get me wrong USBhost but your kernel, even though it is great, is a one way street (at least for me).

Once I flash it there is no going back to any other kernel...
[Nexus 9 Original Android Development] USBhost:
You can blame SELinux for that

I did say that would happen in the op

Well maybe not in the plainest terms

I'm working on

allowing a user to install elementalx kernel

After fireice

But for stock nop
[Nexus 9 Original Android Development] AllanJacques:
It is not a critic, only mere observation as I am an avid user of your kernel...
[Nexus 9 Original Android Development] blakeslee14:
Works great with aicp. Good work! So far screen on time and standby time have been great
[Nexus 9 Original Android Development] albsat:
Can you make a script of status restore , so people changing your kernel, use the script and then another kernel?
[Nexus 9 Original Android Development] Poesini:
That really makes me wonder also why?... If journaling is what you dont want you can disable journaling with ext4 which is a fs made in 2008 vs ext2 which is from 1993?

It would be better if we can throw in some numbers on that

I mean, not being rude and clearly if this is proven then I am all to going to ext2, but it seems really odd
[Nexus 9 Original Android Development] USBhost:
True I was just testing

I will most likely go back to f2fs

But for some odd reason

Cache seems to have more room

Or storage is properly displayed
[Nexus 9 Original Android Development] USBhost:
k8.2 is up

K8.2

-| updated to the latest kernel source :: from google note still not 5.1

-| fixed a problem with rebooting to recovery or bootloader

i think thats it...
[Nexus 9 Original Android Development] R3Lax1:
Is it normal that the cpu never goes into deep sleep? Also, the default min freq is 510mhz since 5.1 on any kernel for me.
[Nexus 9 Original Android Development] USBhost:
What gapps are you using

One of them prevents deep sleep

510mhz yep

You can make it 204mhz if you what, I use it
[Nexus 9 Original Android Development] R3Lax1:
The gapps included in the Rastapop thread, these: https://www.androidfilehost.com/?fid=95916177934541310
[Nexus 9 Original Android Development] USBhost:
That date seems right

Try a newer or older one
[Nexus 9 Original Android Development] AllanJacques:
I had a similar problem and it was due to a crappy wifi...
[Nexus 9 Original Android Development] USBhost:
That's one of my goals
[Nexus 9 Original Android Development] R3Lax1:
What gapps would you recommend?
[Nexus 9 Original Android Development] tyvar1:
Will you update your TWRP to 2.8.6.0? :) also thank you for for all the updates! :D
[Nexus 9 Original Android Development] USBhost:
You bet
[Nexus 9 Original Android Development] tyvar1:
You do know that I asked this question like 1 second ago? Haha you are sick man! :D <3
[Nexus 9 Original Android Development] USBhost:
I know :crying:
[Nexus 9 Original Android Development] roulyz:
Hi, I'm using AICP since 1month, can I dirty this kernel or I have reflash AICP ROM and before reboot flash this kernel? :confused:
[Nexus 9 Original Android Development] USBhost:
Nop just flash

your fine
[Nexus 9 Original Android Development] roulyz:
Where is K8.1 download link?

I can find it:rolleyes:
[Nexus 9 Original Android Development] USBhost:
https://basketbuild.com/devs/USBhost/Nexus 9/Kernel/FIRE-ICE/beta

If you wanted k8.1 not k8.2

Look in the tmp file
[Nexus 9 Original Android Development] disturbd1:
I know I might be asking the obvious, but when on the download page, what's the difference between the 5.1.0 K7.7.3.zip and the K7.7.3.zip? I am planning to install pure aosp by gchild320. It's been a while since I was in the flashing game, and this is my first Nexus. Just want to make sure I grab the right zip.

Sent from my Nexus 9
[Nexus 9 Original Android Development] USBhost:
5.1.0 is for android 5.1.0
[Nexus 9 Original Android Development] tyvar1:
AICP 5.1 is out! Time to test FIRE-ICE K8 for 5.1 :D
[Nexus 9 Original Android Development] idelgado782:
Hey usbhost I know you mentioned before that you were looking into enabling charge when in host mode via otg cable and I wanted go know if there has been any success or if it's been put on the back burner for now. Thanks so much for considering it!
[Nexus 9 Original Android Development] USBhost:
its on hold for now im wating on 5.1 kernel etc...

before i start on my other projects
[Nexus 9 Original Android Development] J.Guido85:
Just to clarify, to get the file i need to flash in twrp i go to:

https://github.com/USBhost/FIRE-ICE-2

and click download as zip and then flash through recovery after i flash cm12 correct>?
[Nexus 9 Original Android Development] USBhost:
You got it :good:
[Nexus 9 Original Android Development] Zadeis:
Now I haven't messed with governor settings in a while but have the interactive governor settings changed to the point where there less options to change now or is it just this way on this kernel?

I am referring to settings such as go_hispeed_load and min_sample_time.

If it is the case where there are just less options could a future release bring these settings back?
[Nexus 9 Original Android Development] USBhost:
There still there

Or you mean in the script
[Nexus 9 Original Android Development] Zadeis:
I'm looking at interactive and I remember parameters like input_boost_frequency and it seems to be missing.

Now this might be because I'm not using the beta too.
[Nexus 9 Original Android Development] USBhost:
You mean in

/sys/devices/system/cpufreq/interactive ?
[Nexus 9 Original Android Development] Zadeis:
Correct and again maybe the interactive governor has evolved a bit since the last time I have messed with it and it's no longer there.
[Nexus 9 Original Android Development] USBhost:
OK what current governor is being used?
[Nexus 9 Original Android Development] Zadeis:
Interactive.
[Nexus 9 Original Android Development] USBhost:
OK if I understand right

When you look in

/sys/devices/system/cpufreq/interactive

As root

You see nothing
[Nexus 9 Original Android Development] Zadeis:
Oh no no there are some there.

Those are the values I see. I'm referring to the fact I seem to remember there being more options for the interactive governor.
[Nexus 9 Original Android Development] USBhost:
O OK

My bad lol

There where never more then those
[Nexus 9 Original Android Development] Zadeis:
Hmm, OK then. I've been messing around a bit with the interactive governor to not favor the higher frequencies so much. I guess I'll have to get to know these settings then.

Also any reason why boostpulse is blank?
[Nexus 9 Original Android Development] USBhost:
I wondered that too...

So I don't know
[Nexus 9 Original Android Development] pantmunu:
It booted . yaay
[Nexus 9 Original Android Development] USBhost:
Looks like it did not format to f2fs

trying to fix
[Nexus 9 Original Android Development] USBhost:
Hmm

Twrp does not want to format cache

You need to manually format cache to f2fs

Will try to fix
[Nexus 9 Original Android Development] zanoli99:
Thanks, Installed and formatted cache. noob question. when I run the commands to change interactive governor, will they stick after reboots or do they have to be entered again. THanks.

---------- Post added at 09:52 PM ---------- Previous post was at 09:38 PM ----------

getting error on interactive command. tmp:mksh tee:not found

THanks.
[Nexus 9 Original Android Development] USBhost:
No it wont stay after reboot

You need busybox
[Nexus 9 Original Android Development] USBhost:
cheers i fixed the /cache problem

new uploade is coming

Edit: r5 is up
[Nexus 9 Original Android Development] TotallyAnxious:
Do you think you could add fiops to the next build? Fiops outperforms deadline on my m8. Here are the commits for fiops from my personal kernel https://github.com/JTrefzger/SkaSucksM8-KK/commits/Build/block and then add this to the config CONFIG_IOSCHED_FIOPS=y, still havent had time to start a kernel for this device.
[Nexus 9 Original Android Development] USBhost:
Will do

Lets hope it compiles with no problems
[Nexus 9 Original Android Development] fifasarajevo:
Should the tablet say Unencrypted after flashing this, mine still says Encrypted?
[Nexus 9 Original Android Development] USBhost:
You only get Unencrypted

If you do a factory reset
[Nexus 9 Original Android Development] fifasarajevo:
OK thanks for letting me know
[Nexus 9 Original Android Development] USBhost:
r6

fsync can be disabled

init.d support
[Nexus 9 Original Android Development] USBhost:
SELinux is Disabled every one cheers!!!!!

Guess what guys

usbhost@G46VW:~/Desktop/AIK-Linux$ adb reboot bootloader
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
fastboot usbhost@G46VW:~/Desktop/AIK-Linux$ fastboot boot image-new.img
downloading 'boot.img'...
OKAY [ 0.564s]
booting...
OKAY [ 0.161s]
finished. total time: 0.725s
usbhost@G46VW:~/Desktop/AIK-Linux$ adb shell
shell@flounder:/ $ getenforce
Disabled
shell@flounder:/ $

I finally figured it out Cheers R7 is coming
[Nexus 9 Original Android Development] USBhost:
R7 is up
[Nexus 9 Original Android Development] zanoli99:
That's awesome. Installing now
[Nexus 9 Original Android Development] USBhost:
R8 is up

backlight control v1 !!

you can now go lower then the default lowest

better at night

To enable it

in terminal or adb

BL (the level of light you want) 0-255 i cant seem to go lower then 5. 4 my screen goes off

if your screen goes off just press your power button and then again

so like

BL 5
[Nexus 9 Original Android Development] zanoli99:
Thank you. I have been using lux brightness but hasn't worked well with lollipop
[Nexus 9 Original Android Development] USBhost:
I tryed that app

And it looks like it uses some kind of filter

because my softkeys are not affected lol

Note it may not go as low as lux just fyi
[Nexus 9 Original Android Development] mag13:
Which terminal should I use to fix the governor?
[Nexus 9 Original Android Development] USBhost:
https://play.google.com/store/apps/details?id=jackpal.androidterm
[Nexus 9 Original Android Development] Zadeis:
OK assuming I keep this tablet I may be able to look into finely tuning these settings. If these values are what you came to don't mind me nor let me step on your toes.
[Nexus 9 Original Android Development] BigJPNut:
I think those settings are google/htc's doing.
[Nexus 9 Original Android Development] Zadeis:
They very well could be. Either way I'm going to see if I can get a set up that works a bit more efficiently. If I can't get better settings then in the end I'll just have gotten a bit more familiar with these tuneables.
[Nexus 9 Original Android Development] idelgado782:
Ok thank you. I appreciate it.
[Nexus 9 Original Android Development] USBhost:
If you find some good settings

Pls post it here :good:
[Nexus 9 Original Android Development] Hiro Nakamura:
These here are my settings for interactive governor. I tried to lower boostpulse duration but it resulted in laggy UI.
[Nexus 9 Original Android Development] :
Looks like usbhost combination, aicp + ice kernel k8.2 plus over clock getting like 1h and 20min sot every 10% = nearly 13h sot in total from 100-0 lol.
[Nexus 9 Original Android Development] albsat:
You didn't change any other settings in kernel or rom? Looks good.
[Nexus 9 Original Android Development] tyvar1:
Any news about new TWRP :D
[Nexus 9 Original Android Development] USBhost:
Today

Also k8.3 may come out today
[Nexus 9 Original Android Development] tyvar1:
Awesome! :D New AICP 5.1 with BT fix is out so it seems it is time for some flashing ;)
[Nexus 9 Original Android Development] USBhost:
recovery R7 is up

r7

-| twrp 2.8.6.0
[Nexus 9 Original Android Development] tyvar1:
Thank you :D
[Nexus 9 Original Android Development] USBhost:
After a long day of try of trial and error

I got to Linux 3.10.71 Cheers!!
[Nexus 9 Original Android Development] USBhost:
K8.3 is up

K8.3

-| Linux 3.10.73 :: thats the latest guys all rejoice

-| cache ext4 :: with mount changes for speed

-| Makefile optimizations :: Big ones

-| toolchain update

others I don't remember, its has been to long lol

just know its a big update

Notes:

No f2fs for cache

the reason why cache is not f2fs is because

for some odd reason when one formats it to f2fs

~50% gets used up. for f2fs a full partition is not good.
[Nexus 9 Original Android Development] R3Lax1:
Strangely, k8.3 doesn't boot for me on rastapop 5.1. Going back to k7.7.3 boots normally.
[Nexus 9 Original Android Development] Ishwara Sandesh C M:
Same here on AICP, I think it may require a clean flash..

I returned to k8.2 (5.1)
[Nexus 9 Original Android Development] R3Lax1:
Tried clean flashing - to no avail, same bootloop. I wonder what's the issue.
[Nexus 9 Original Android Development] Vit Riddare:
Also got a lovely endless boot, but all is well after geing back to 8.2 :D This is on the latest Sabermod AICP as well, in case anyone wonders.
[Nexus 9 Original Android Development] 12paq:
5.1. 0 - K8.3 kernel boots if you first;

Boot into recovery and change cache file system to ext4.

Then flash the kernel.

Then wipe caches to be safe.

It will then boot. I am on AICP 5.1 03-30-15, and it booted just fine.

Also, make sure you have the 5.1 kernel to match your 5.1.0 rom, and or the 5.0.x kernel to match your 5.0.x rom.

Hope this helps.
[Nexus 9 Original Android Development] R3Lax1:
Booted fine, can confirm.
[Nexus 9 Original Android Development] USBhost:
Sorry guys!!!

A quick fix will be up

Looks like I must have messed up the update script

Edit: it should be fixed now
[Nexus 9 Original Android Development] 12paq:
Way nice to be up to date on 3.10.73

Thanks!
[Nexus 9 Original Android Development] ousoonerchase:
How long does the initial boot take on upgrading to 8.3 from 7.7.3? I've been staring at the boot screen for a while (10+minutes). Wiped caches and checked that cache was ext4. I'm not on 5.1.