yashsingh1/xdaforums huggingface dataset:
[Pixel C Android Development] followmsi:
Thanks for your Infos .. may have a look into flounder TWRP.

As said before, you are the "real" developer .. not me. :)

Cheers
[Pixel C Android Development] NYCHitman1:
Don't sell yourself short. Majority of people on XDA barely have coherent thoughts, so the fact that you were able to a) bring in kernel source from upstream b) compile your own recovery image(s) c) fix some issues with the aforementioned recovery image(s) is an accomplishment in and of itself.

I wish more people would learn things like you.
[Pixel C Android Development] followmsi:
The last try !

if it´s not working I will forget TWRP encryption on Pixel C. :)

Same like v.4.6 .... plus the "new" encryption part ... only original dragon libs now. :p

Update.ZIP_TWRP_dragon_3.0.2-0_v5.5.zip

Cheers
[Pixel C Android Development] NYCHitman1:
There's a nice tool on XDA for Linux distros called SuperR's kitchen. It allows you to take images and extract/decompile them. You could use this to extract the necessary keymaster or related libs you may need for encryption to function properly from the Dragon factory image(s).

As an aside, are you maintaining any kind of source for this on Github or just doing this all locally?
[Pixel C Android Development] followmsi:
Thanks for the hint .. will have a look into this tool.

I have used the linux console to unpack and repack all that stuff .. compiled the vboot tools and use latest mkbootimg from google sources. Works fine ..

Thats what I did now .. taken out the MXC89 keymaster_messages.so and libcrypt.so from stock dragon System.img.

As I saw .. the only difference here .. no extra service in init.rc.. etc.

Maybe I am wrong.

All is done locally !

Right now I do have some time for this Pixel C "development" .. so I use the time and "play" !
[Pixel C Android Development] brando56894:
I can't seem to get N to boot. I used your zip (I flashed the kernel zip too IDK if I should have done that since I'm unencrypted) and it finished without error but when I rebooted it kicked me back into TWRP. I flashed all the images via fastboot and fully wiped data, thinking it would maybe encrypt data and boot but it still kicked me back into TWRP.
[Pixel C Android Development] ericp2:
Thanks for taking the time to answer so thoroughly, and explaining all the steps involved. At this point, i don't have enough experience to do this on my own, nor the time. Maybe somebody else will !
[Pixel C Android Development] flopponator:
Dumb question but will the flashable kernel fix the ****ty wifi on the pixel c?
[Pixel C Android Development] followmsi:
No special fixes vor WiFi ..
[Pixel C Android Development] Alxoom33:
Wi-Fi is excellent on the Pixel C!
[Pixel C Android Development] Deltalfa:
Ahah what? What kind of pixel c has a good WiFi? Downloading 1 GB takes more than 15 minutes with a 50 mbs
[Pixel C Android Development] Alxoom33:
Perhaps on yours?
[Pixel C Android Development] EddieK23:
Xceed's kernel worked fine on Stock + Rooted Nougat, but Xceed's hasn't been updated in a while and I instead flashed PureNexus for the Pixel C. No longer getting random reboots and wifi has great connection, and no more wifi randomly disconnecting and refusing to reconnect.

In hindsight, writing my response like that looks like an infomercial, but I swear it's all true lol
[Pixel C Android Development] Alxoom33:
Xceed's kernel is so out of date, it should not even be considered unless you use a much older ROM.
[Pixel C Android Development] drewski_1:
my Pixel C wifi works great :svetius:
[Pixel C Android Development] 12paq:
Mine does.

Running 7.1.1 Pure Nexus 02/15/17
[Pixel C Android Development] Alxoom33:
Mine has lightning fast wifi. Running 7.1.2 beta.
[Pixel C Android Development] drewski_1:
Not quite, but still enough :cool:
[Pixel C Android Development] followmsi:
All these WiFi discussions .. here is my result :)

Cheers

EDIT:. Running BETA 7.1.2 and my kernel.
[Pixel C Android Development] followmsi:
AOSP ....

Time for a new AOSP release for Pixel C ..

AOSP_7.1.1_r14_N4F26O_dragon-ota-eng.followmsi.zip

Installation:

1. Reboot into TWRP -> TWRP_dragon_3.0.3-3.img

2. Wipe your current system partition.

3. Install AOSP_7.1.1_r14_N4F26O_dragon-ota-eng.followmsi.zip

4. Install gapps for android 7.1 and arm64 - optional

5. Install SuperSU.zip - optional

6. Reboot into system

You need the vendor.img of release N4F26O.

For this reason I have made a seperate Update.ZIP for the vendor.img only.

Update.ZIP_PixelC_Ryu_vendor_N4F26O.zip

Maybe I will make regular monthly AOSP releases .. and maybe I will switch to AOSP myself :)

And maybe I will open another thread for AOSP ROMs.

Pls report any issues .. still needs to be tested !

Thanks
[Pixel C Android Development] followmsi:
It's March :)

Android 7.1.1 Monthly Release (N4F26T, Mar 2017):

Update.ZIP_PixelC_Ryu_system-vendor_N4F26T.zip

Update.ZIP_PixelC_Ryu_kernel_dragon_N4F26T.zip

New "followmsi" kernel will be released later ...

Enjoy !
[Pixel C Android Development] followmsi:
New kernels as well ...

For the BETA 7.1.2 :

Update.ZIP_PixelC_Ryu_kernel_tegra-3.18_v170307_NPG05D_followmsi.zip

PixelC_Ryu_kernel_tegra-3.18_v170307_NPG05D_followmsi_boot.img

For the monthly update from today ...

Update.ZIP_PixelC_Ryu_kernel_tegra-3.18_v170307_N4F26T_followmsi.zip

PixelC_Ryu_kernel_tegra-3.18_v170307_N4F26T_followmsi_boot.img

Enjoy !
[Pixel C Android Development] JLowe:
Thank you very much for your quick updates. I tested your last r14 AOSP compiled Rom, which is very lean what I really like. I am interested in compiling AOSP myself, but don't know how to start. First i need a clean actual build

CODE]

repo init -u https://android.googlesource.com/platform/manifest -b android-7.1.1_r14

repo sync -n -j 4 && repo sync -l -j 12[/CODE]

Can you please give some hints what I need to start? (btw using Debian)

Thank you for your efforts!
[Pixel C Android Development] followmsi:
Yes .. this is a good start .. now in March you can change to android-7.1.1_r24

Here you find the how-to for initializing your build envrioment:

https://source.android.com/source/initializing.html

For further building have a look here ..

https://xdaforums.com/showpost.php?p=67098091&postcount=64

https://xdaforums.com/showpost.php?p=67050085&postcount=59

Sorry, I will not be able to help you better here ..

Good luck !
[Pixel C Android Development] JLowe:
Thank you! Is it possible to compile an AOSP 6.01 base including latest security fixes? I prefer MM because of Xprivacy ;)
[Pixel C Android Development] followmsi:
You need to find sources with current security updates for Android 6

Somebody needs to merge the fixes into old sources.. quite a lot of work.

Some custom ROM teams are patching old sources .. e.g. lineageos

They still release cm13 builds for some devices.

You need to search for the sources .. good luck !
[Pixel C Android Development] Alxoom33:
Any guess when Google might update its Android 7.1.2 beta Factory Images and OTA's?
[Pixel C Android Development] JLowe:
Can anybody please upload a last version of AOSP 6.01 which was posted in this thread?
[Pixel C Android Development] followmsi:
AOSP_6.0.1-r43_Dragon_v160530.zip

This is not an OTA file .. just the boot.img, vendor.img and system.img packed into zip file -> to be installed via fastboot.

Download soon - will be removed soon as well.

As I remeber correctly, the DragonKeyboard was missing in this AOSP version ... test-versions at this time.

But I still suggest you go the "repo init" way ... :)

repo init -u https://android.googlesource.com/platform/manifest -b android-6.0.1_r63
repo sync -n -j 4 && repo sync -l -j 12

Good luck !
[Pixel C Android Development] followmsi:
Mabye they merge directly into AOSP - no more beta :) :laugh:
[Pixel C Android Development] Alxoom33:
That would not be the way Google did their beta program previously.
[Pixel C Android Development] Alxoom33:
Got the beta OTA notification for 7.1.2. NPG47I, looking for full factory images, which have still not been updated by Google.
[Pixel C Android Development] followmsi:
They did not upload the late Nexus 6p beta image and not the new images ..

It seems they want to force the people to join the beta program ..

Shame on you Google :)
[Pixel C Android Development] sxg75:
Maybe because Android O Developer Preview had to be released first?;)
[Pixel C Android Development] Alxoom33:
Lol, found both. Flashed Preview 2 and downloading O preview now.
[Pixel C Android Development] followmsi:
Android 7.1.2 BETA 2 (NPG47I):

All in one package ...

Update.ZIP_PixelC_Ryu_system-vendor-boot_NPG47I.zip

Android 8 Developer Preview 1 (OPP1):

All in one package ...

Update.ZIP_PixelC_Ryu_system-vendor-boot_OPP1.zip

Not sure if I will leave my lovely AOSP for the O preview :)
[Pixel C Android Development] Alxoom33:
When I flashed O preview factory image with FF I lost Root. Have you been able to maintain Root with the zip file? [MENTION=631273]Chainfire[/MENTION] is looking for a root solution.
[Pixel C Android Development] followmsi:
Not yet installed .. still not sure if I will go for it.

For now I have ripped the new Pixel C launcher from BETA 2 .. works cool now.

Using the full screen now .. works on Nexus 10 too :)

If somebody wants to test ...

PixelCLauncherPrebuilt_NPG47I.zip

Cheers
[Pixel C Android Development] Alxoom33:
After working fine yesterday, my Android O is now in a recovery loop (stock, not TWRP). Unfortunately, my drivers need to be updated to fastboot reebot. So Pixel C is offline for now.
[Pixel C Android Development] followmsi:
Have seen the bootloader is the same as the beta is using .50

Fastboot should work the same way ..

Good luck anyway !

EDIT:

It seems I will stay with AOSP ;)

EDIT 2:

You need to get fastboot version from sdk for next API level ..
[Pixel C Android Development] Alxoom33:
Thanks, but where do I get that?
[Pixel C Android Development] followmsi:
Not available yet ..

https://developer.android.com/preview/overview.html

The "old" fastboot binary should work ..

https://developer.android.com/studio/index.html#downloads

Good luck !
[Pixel C Android Development] followmsi:
The lazyflasher tool is just excellent .. Big thanks to [MENTION=5672995]jcadduono[/MENTION] !

I have started to use this tool for all my kernels now.

This way you can install the same kernel binary on all the various ROM's.

( STOCK, AOSP, PURE, BETA, DP .. etc. )

The existing ramdisk will not be modified at all !

If you were rooted before, you just reboot and you are still rooted. :)

No need to install SuperSU again ..

To be installed via TWRP only !

Update.ZIP_PixelC_Ryu_chromeos-3.18_KERNEL_v170323_followmsi.zip

Update.ZIP_PixelC_Ryu_chromeos-3.18_KERNEL_v170323_followmsi.zip.sha1

Pls use latest TWRP version ...

Enjoy ... :)
[Pixel C Android Development] nigelhealy:
Works. On stock with your kernel and yes didnt need to run supersu zip.
[Pixel C Android Development] bbawden:
Hi all

So I flashed Update.ZIP_PixelC_Ryu_system-vendor-boot_N4F26T.zip and my Pixel C now just hangs on the Google logo.

I left it for over an hour in case it sorted itself out and no joy.

I then tried wiping and it still wouldn't work.

Then I tried to restore my previous backup (which was Android 6.something) and it still won't boot.

What can I do to solve this?

Ideally I'd like to be able to get at the data in my backup, either with a successful restore and an in place upgrade without wipe or by digging into the backup file with titanium backup, but more important is getting the tablet working.

Thanks in advance.
[Pixel C Android Development] followmsi:
Pls install latest bootloader via fastboot.

Pls unzip the Update.Zip package and install boot.img via fastboot.

Pls install TWRP 3.1.0-2 via fastboot

Reboot into recovery via hardware keys - not into system in between.

Restore your last backup.

You may install supersu at this point.

Reboot into system
[Pixel C Android Development] bbawden:
Thanks for the quick reply. I'll try that and let you know.

:good:
[Pixel C Android Development] followmsi:
I have added one point .. to clean your "old" stuff first.

- Pls install latest bootloader via fastboot.

- Pls unzip the Update.Zip package and install boot.img via fastboot.

- Pls install TWRP 3.1.0-2 via fastboot

- Reboot into recovery via hardware keys - not into system in between.

- Do "factory reset" in TWRP

- Restore your latest backup - data partition only !

- You may install supersu at this point.

- Reboot into system

Good luck !
[Pixel C Android Development] bbawden:
Here are the steps I did:

- fastboot flash bootloader bootloader-dragon-google_smaug.7900.50.0.img

- fastboot flash boot boot.img (the boot.img extracted from Update.ZIP_PixelC_Ryu_system-vendor-boot_N4F26T.zip)

- fastboot flash recovery TWRP_dragon_3.1.0-2.img

- power + volume dn to reboot to recovery

- TWRP factory reset

- TWRP restore backup of data partition

- reboot

Still get the hang on Google logo for over 1 hour

What can I try now? Is there a different zip I need to install?

Thanks
[Pixel C Android Development] followmsi:
No need to wait for one hour.. maybe a few minutes.

Pls use n4f26t stock image and flash system.img and vendor.img via fastboot.

We need to get your system running first.
[Pixel C Android Development] bbawden:
Hi

Do you mean the img files from AOSP_Update.ZIP_PixelC_Ryu_vendor_N4F26T.zip?

Thanks

ETA: Found the official stock image, so will use the img files from that.

---------- Post added at 12:13 PM ---------- Previous post was at 11:51 AM ----------

OK, I got ryu-n4f26t-factory-d05202a0.zip from https://developers.google.com/android/images and extracted system.img and vendor.img

I did:

- fastboot flash system system.img

- fastboot flash vendor vendor.img

It boots!

You are a champion.

So do I now go back to your post #422 to get my data partition restored?

---------- Post added at 12:16 PM ---------- Previous post was at 12:13 PM ----------

Hope I didn't get my hopes up too soon - it's still on the 4 animated circles. Going out for lunch now, so I'll see what state it's in when I return.

Thanks again for all your help.

---------- Post added at 12:35 PM ---------- Previous post was at 12:16 PM ----------

Yippee; circles have gone and it's booting into system now.
[Pixel C Android Development] followmsi:
We still don't know the root cause of your problem ...

Pls check SHA256 checksum for the .zip file ...

135c5664a06ddb95f48d85787c256094c513755c10f25110f8d7e648560f06ae

*Update.ZIP_PixelC_Ryu_system-vendor-boot_N4F26T.zip

Ok ?
[Pixel C Android Development] bbawden:
Hi

All looks good on the tablet. Booted into 7.1.1, and all installed apps are fine.

I just need to flash SU to get root back, and all will be good.

No idea what went wrong before, but the checksum of the zip I applied is 13 5c 56 64 a0 6d db 95 f4 8d 85 78 7c 25 60 94 c5 13 75 5c 10 f2 51 10 f8 d7 e6 48 56 0f 06 ae

---------- Post added at 02:43 PM ---------- Previous post was at 02:23 PM ----------

Had to reflash TWRP (as the process above removed it) in order to install SU but all looks good now.
[Pixel C Android Development] followmsi:
If you are not rooted the system is may removing custom recovery.

Like happened for you.

The process you did is valid for all ROM problems.

Always get back a good running state.

If you don't mind install the Update.zip package again ..

Normally there should be no issue.

Install SuperSU afterwards and reboot into system.

Cheers
[Pixel C Android Development] bbawden:
OK, so you'd like me to just install Update.ZIP_PixelC_Ryu_system-vendor-boot_N4F26T.zip and SU, to test it?
[Pixel C Android Development] followmsi:
Yes, please .. should work for you too.
[Pixel C Android Development] bbawden:
I first took a backup.

When I installed the zip, it rebooted to recovery. I tried to boot it again and it went to recovery again.

I did a wipe and install and it boot looped: not hanging like before, but totally rebooting.

But a restore of my backup got it all back OK.

Let me know if you want me to test anything else.

Cheers
[Pixel C Android Development] gnome9er:
im trying to install.the andri

oid 8 beta in twrp. after i flash it i flash super su and it boots back to recovery. do i jeed to flash bootloader too?
[Pixel C Android Development] followmsi:
Yes .. Bootloader is not part of the zip.

Have seen it's version .50 like the beta 2.

Will need to check the packages again ... you face similar problems like above.
[Pixel C Android Development] followmsi:
Thanks for your testing ..

Have used the packages myself for long time without issues.

Made a few changes the last time .. will check the packages again.

Will come back to you ;)

Cheers
[Pixel C Android Development] followmsi:
I have tested your installation .. no issues at all.

Not able to reproduce your problems !

- Boot into TWRP 3.1.0-2

- Wipe System

- Install Update.ZIP_PixelC_Ryu_system-vendor-boot_N4F26T.zip

- Install SR3-SuperSU-v2.79-SR3-20170114223742.zip

- Reboot into system

Made some small modifications to the Update.zip files -> forced unmount of system before start of installation.

Have seen issues where SuperSU was installing in system mode and not systemless mode .. this could make problems too.

Pls download the Update.ZIP_PixelC_Ryu_system-vendor-boot_N4F26T.zip from onedrive folder directly to your device.

Pls have another try ... just wipe system before your start to install .. nothing else.

I wish I could replicate your issue ... :)
[Pixel C Android Development] followmsi:
Here as well .. can't replicate your issue on my device.

Pls download the Update.Zip from the onedrive folder again .. and have another try.

Thx
[Pixel C Android Development] nigelhealy:
I see the 7.1.2 full images are imminent as some OTAs out.

Just so I know, will I need to download and fastboot flash a new bootloader before the recovery zips? I have no idea what I'm on I've not flashed an official fastboot image for some months.
[Pixel C Android Development] followmsi:
My update zip packages are the same format like all the time before.

Never included bootloader.

Yes, it's recommended to use the latest one .. version .50 now ?

It's part of the factory image .Zip file from Google.

EDIT: .. google released OTA only.. the factory images will follow soon .. :)
[Pixel C Android Development] nigelhealy:
7.1.2 up now
[Pixel C Android Development] followmsi:
Android 7.1.2 Monthly Release (N2G47D, Apr 2017):

Update.ZIP_PixelC_Ryu_system-vendor-boot_N2G47D.zip

Waiting for the AOSP sources :)
[Pixel C Android Development] followmsi:
Made 2 new kernels ... both have F2FS and NTFS support, like always.

Based on N sources .. android-7.1.2_r0.1

Update.ZIP_PixelC_Ryu_chromeos-3.18_KERNEL_v170404_followmsi.zip

Update.ZIP_PixelC_Ryu_chromeos-3.18_KERNEL_v170404_followmsi.zip.sha1

Based on O preview sources .. a few more little changes ...

Update.ZIP_PixelC_Ryu_chromeos-3.18_KERNEL_v170403_followmsi.zip

Update.ZIP_PixelC_Ryu_chromeos-3.18_KERNEL_v170403_followmsi.zip.sha1

Installation:

1. Boot into TWRP

2. Install the Kernel Update.Zip file

3. Reboot into system .. no need for SuperSU !

Just running the O preview kernel version on AOSP 7.1.1 .. works fine.

Cheers
[Pixel C Android Development] nigelhealy:
Update.ZIP_PixelC_Ryu_chromeos-3.18_KERNEL_v170403_followmsi.zip.zip

good to use or wait?
[Pixel C Android Development] followmsi:
Just running it ... Seems to be quick. :)
[Pixel C Android Development] nigelhealy:
So are you recommending the O kernel or the N kernel?

---------- Post added at 05:22 PM ---------- Previous post was at 04:51 PM ----------

Running April's 7.1.2 and your N kernel. Working well. Thanks.
[Pixel C Android Development] twirtle2:
Trying to install either one of these kernels comes up with an error. Any idea why?

Updater process ended with ERROR: 1

Error installing zip file '/sdcard/Download/Update.ZIP_PixelC_Ryu_chromeos-3.18_KERNEL_v170403_followmsi.zip'
[Pixel C Android Development] followmsi:
Which TWRP version are you using ?

Pls use latest version.

Pls post recovery.log as well ..

Installed both versions .. no problems at all.
[Pixel C Android Development] twirtle2:
That's my bad! I didn't realise there was a new TWRP version

Thanks heaps!
[Pixel C Android Development] followmsi:
"Your" problem was actually the reason for the new TWRP version ;)

Cheers
[Pixel C Android Development] lapocompris:
Does the N kernel have DT2W ?
[Pixel C Android Development] followmsi:
No .. just fresh google sources and some more file systems like NTFS and F2FS.
[Pixel C Android Development] IIIIkoolaidIIII:
Does your kernel support 'loop devices' need for Linux distro installs via containers?
[Pixel C Android Development] followmsi:
Here you can find the used config ..

https://github.com/followmsi/androi...kernel/arch/arm64/configs/followmsi_defconfig

Do you know the lxc thread here on XDA for pixel c ?

https://xdaforums.com/pixel-c/orig-development/linux-pixel-c-running-ubuntu-xenial-lxc-t3410655

There is a kernel config for lxc posted .. this may help you better.

And ready made kernel too ..

Still want to test the lxc stuff .. ;)

Cheers
[Pixel C Android Development] IIIIkoolaidIIII:
thanks, that's what i was looking for, I should of searched the whole forum instead of just your thread!
[Pixel C Android Development] Alxoom33:
I am on Android O and my keyboard is not working. Btooth settings is not detecting the magnetic keyboard. Any thoughts or suggestions?
[Pixel C Android Development] Alxoom33:
Went back to 7.1.2 April build. Everything works great, including my keyboard. I was afraid it was broken with O. Is there a followmsi kernel for this build?
[Pixel C Android Development] followmsi:
Based on N sources .. android-7.1.2_r0.1

Update.ZIP_PixelC_Ryu_chromeos-3.18_KERNEL_v170404_followmsi.zip

Update.ZIP_PixelC_Ryu_chromeos-3.18_KERNEL_v170404_followmsi.zip.sha1

Installation:

1. Boot into TWRP

2. Install the Kernel Update.Zip file

3. Reboot into system .. no need for SuperSU !

Cheers
[Pixel C Android Development] Alxoom33:
Thanks, went back to OP and found it. Backing up now. [emoji4]

---------- Post added at 07:16 PM ---------- Previous post was at 07:15 PM ----------

What is the zip.sha? Thanks.
[Pixel C Android Development] drewski_1:
Checksum. Like md5, but different ;)
[Pixel C Android Development] Alxoom33:
Oh, I forgot, same as in the factory images.
[Pixel C Android Development] followmsi:
Here you can flash a new one .. :)

Update.ZIP_PixelC_Ryu_chromeos-3.18_KERNEL_v170418_followmsi.zip

Installation:

1. Boot into TWRP

2. Install the Kernel Update.Zip file

3. Reboot into system .. no need for SuperSU !

Changes:

- Enable Network File Systems .. NFS, CIFS, SMBFS ..

Due to the universal installer this kernel works on STOCK, AOSP and LineageOS :)

Cheers
[Pixel C Android Development] Alxoom33:
Update works flawlessly.
[Pixel C Android Development] followmsi:
As we dont have much custom ROMs for Pixel C we don't have much "custom" kernels. :(

For the LineageOS port I have been using standard tegra kernel sources as well.

I have started to search for some sources .. had a look at Dirty Unicorn too - and found a very nice "custom" kernel.

[MENTION=2489052]NYCHitman1[/MENTION] did an excellent job using standard google sources (including regular monthly updates) and integrating a lot of "new" stuff too .. new governors .. a lot of patches .. etc.

Well done !

Have asked him to make a "followmsi" kernel of the nice sources .. :)

The followmsi part is just the activation of NTFS, F2FS, CIFS, NFS, SMBFS .. etc.

And a small hack for integrated kernel building in LineageOS build tree.

Here we are ...

Update.ZIP_PixelC_Ryu_chromeos-3.18_KERNEL_v170420_followmsi.zip

Installation:

1. Boot into TWRP

2. Install the Kernel Update.Zip file

3. Reboot into system .. no need for SuperSU !

Due to the universal installer this kernel works on STOCK, AOSP and LineageOS !

Here are the sources:

https://github.com/followmsi/android_kernel_tegra/tree/followmsi-kernel-du

https://github.com/DirtyUnicorns/android_kernel_google_dragon

Big Thanks to [MENTION=2489052]NYCHitman1[/MENTION] for this nice work !

Hopefully we get more good sources for the "perfect" dragon kernel .. :)
[Pixel C Android Development] NYCHitman1:
Glad you enjoy it :laugh: