yashsingh1/xdaforums huggingface dataset:
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] surdu_petru:
* AOSP Oreo Project Treble For Honor View 10 by OpenKirin Team *

/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

About

There is a slightly AOSP customization adapted for our device Honor View 10

* stock Honor V10 EMUI Camera with the last "AR lens" feature

* FPS gestures

* Oreo Google Pixel Bootanimation

* Chrome Browser

* OmniClockOSS

* This ROM already included Nano Gapps

* Security Patch 1 February 2018

Downloads

* system_hv10_02.zip md5 : 896f9c0f5e7e2d056a7b08bfbdd944a0

* system_hv10_01.zip md5 : 28d0e7c049f2699803d7c41b622040b7

Installations

* first of all, make sure that you have already frp & bootloader unlocked

* second : you may want to backup system partition ( just check the second post )

* go to recovery and perform : "Wipe data/factory reset" & "Wipe cache partition"

* with USB cable connected, keep pressing volume down and check at the same time "Reboot system now"

* fastboot flash system system.img

* fastboot reboot

* Note : just extract system.img from previous system_hv10_02.zip !

Issues

* 3G & 2G always full signal

* you can play media files stored on external storage, only from Files manager

* SafetyNet still not pass

( we'll try to fix these issues on the next updates )

Warning

* Stock EMUI Camera is not 100% working - there are some features that still do not work !

* this cannot be a ROM issue, as any other third-party camera application it's working like expected

Credit

phhusson for his awesome work on Project Treble !

OldDroid

XePeleato

Special Thanks :

svetius

Screenshots

​

XDA:DevDB Information

AOSP, ROM for the Honor View 10

Contributors

surdu_petru, OldDroid, XePeleato, phhusson

Source Code: https://github.com/OpenKirin-Treble

ROM OS Version: 8.x Oreo

ROM Kernel: Linux 4.x

ROM Firmware Required: EMUI 8

Based On: AOSP

Version Information

Status: Stable

Stable Release Date: 2018-02-18

Created 2018-02-18

Last Updated 2018-02-22
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] surdu_petru:
Backup system partition !

You may want to backup first system partition, if you want later to go back to stock EMUI.

Here are the steps :

- install Magisk to root your device

- connect usb cable and type into a command :

Copy system.img to your desktop :

Whenever you want to go back to stock Emui , put your device in bootloader mode and type :

It may require also a factory reset into recovery !

Sparse system image from BKL-L09 B130 (C432) : BKL-C432B130_system .img
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] surdu_petru:
*** reserved ***
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] Santi_SAZ:
Wow first AOSP ROM for this device

Many thanks Openkirin Team

Enviado desde mi BKL-L09 mediante Tapatalk
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] shihabsoft:
Awesome work mate. I've been refreshing this forum since the day I bought this device for any custom ROMs ;)

---------- Post added at 07:23 PM ---------- Previous post was at 06:57 PM ----------

Could you please post a What's not working list please? Or is it the issues list you've mentioned?
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] surdu_petru:
Yes, the bugs was listed on the Issue section in OP ... if you find more bugs, please just let us to know :)
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] shihabsoft:
I'll surely try tomorrow.

Before that,

Is the face unlock working?

Is the fingerprint scanner based navigation working?
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] surdu_petru:
Fixed some microSD issues !

I just pushed a quick update in order to fix some external sdcard issue !

Patch fix .

Most likely it's a workaround and not a final fix, because we should update properly sdcardfs part into kernel - for a proper fix . This will be done in the next updates .

Huawei/Honor implemented their sdcardfs stuff into kernel and it's not 100% compatible AOSP .

Please use system.img from system_hv10_02.zip, and external sdcard issues will be fixed for moment !
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] cartic_21:
Finally released ????.

Thanks to the devs..
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] bhargavpa:
How much time it will take to copy system.img to root?

Its taking lot of time for me to copy img file to root. I granted root privileges to shell as well.
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] shihabsoft:
Apart from the known issues, everything is working flawlessly.

1)Face unlock working.

2)Fingerprint working.

3)Fingerprint scanner based navigation working (limited tho)

4)WiFi & Bluetooth working.

Issues

1)ADB not working, "Allow USB Debugging" alert not popping up, as the device stays unauthorized.

Tried killing the adb server, restarting the device. But it's not showing up.

Temporary Fix for unauthorized ADB

1)Go to C:\users\user_name\.android and copy the file adb_key.pub to your phone via MTP.

2)Enable developer options, and check Local Terminal in the list.

3)Open the terminal app from the app drawer.

4)Execute "stop adbd"

4) Copy adb_key.pub from your internal storage to /data/misc/adb/adb_keys.

Example - cp /sdcard/adb_key.pub /data/misc/adb/adb_keys

5)Execute "start adbd"

6)Now just do "adb kill-server" in the windows cmd and try listing the devices "adb devices".

That's it now will show up as authorized.

I've one request tho, please add options to enable/disable navigation bar and add utouch capabilities. I hate the on screen navigation bar ;)

Will be updating this post as I encounter any issues.

Once again, thanks for the ROM :)
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] surdu_petru:
Yes, I already see it ... as soon as you install Magisk adb stop working.
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] shihabsoft:
I've followed your steps to take backup of system.img. But now I tried to flash it back it says "Invalid sparse file format at header magic" even though it eventually completes the flashing process. But the phone is now in bootloop, could you please help me out?

---------- Post added at 09:12 AM ---------- Previous post was at 08:44 AM ----------

Please upload the stock system.img if you have one, am kinda stuck now. :(

---------- Post added at 10:04 AM ---------- Previous post was at 09:12 AM ----------

Temporary Fix for unauthorized ADB

1)Go to C:\users\user_name\.android and copy the file adb_key.pub to your phone via MTP.

2)Enable developer options, and check Local Terminal in the list.

3)Open the terminal app from the app drawer.

4)Execute "stop adbd"

4) Copy adb_key.pub from your internal storage to /data/misc/adb/adb_keys.

Example - cp /sdcard/adb_key.pub /data/misc/adb/adb_keys

5)Execute "start adbd"

6)Now just do "adb kill-server" in the windows cmd and try listing the devices "adb devices" - it will show up as authorized.
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] surdu_petru:
Please can you provide a screenshot from your desktop when you flash system.img via fastboot ?

Yes, I can provide you stock Emui B130 system.img for BKL-L09, today later.
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] yash989:
hi guys i am new to honor and i got my device a week back can any one help me in detail how to flash this and i have indian version v10 and is the camera qualtiy same or bad?
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] shihabsoft:
Please check the attached screenshot.

That's what am getting, when I tried to flash the backup system.img of my device. Even though the flashing process finishes, but the device is stuck in a boot loop. The backup system.img file is around 5.50 gb.

Please do provide the stock system.img for BK-L09 (C675) BUILD.
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] surdu_petru:
OK, thanks ... Does you already tried a data/factory reset in recovery ? Its already stated on the second post.
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] alohahe3000:
Thanks for providing stock system.img. Could you please add the download link to first post?
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] surdu_petru:
Yes sure, but a bit later ... BTW it should work also with your backup of system.img and after flash it via fastboot just force device to go to recovery and perform a data/factory reset and cache as well .
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] shihabsoft:
I've done a factory reset. Then, rebooted to boot loader and flashed the backup system.img, and rebooted the device. Since then, the device is in a boot loop. If possible, please upload the stock system.img ASAP
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] surdu_petru:
Yes, but I'm not at home so you should wait ... Also I'll make a test on my device to see if I'm able to revert to stock Emui by flashing my backup of system.img . In the meantime you should try to flash back Oreo treble system.img if you want to use your device.
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] shihabsoft:
Ya am currently using the AOSP rom. Anyway am gonna try another way, factory reset after flashing instead of factory reset before flashing. I'll update if that works

---------- Post added at 12:45 PM ---------- Previous post was at 12:37 PM ----------

Nope it didn't work. After flashing the backup image, I've reboot into recover and tried wipe data/factory reset. It simply says "Reset Failed" with a big red exclamation mark. Reverting to AOSP until you push the stock image.

---------- Post added at 12:51 PM ---------- Previous post was at 12:45 PM ----------

Looks like the system.img we took with dd command is not suitable for fastboot flash. If we could access adb out of the system, like via a recovery like TWRP we simply do the reverse dd command to restore the system image, like

dd if=system.img of=system
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] svetius:
Good work, guys!
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] oopppyy:
is this rom can work for mate9? can you give me a reply? thank you
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] svetius:
https://www.xda-developers.com/stock-android-oreo-huawei-mate-9-project-treble/
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] oopppyy:
But I failed, is it because of some incompatibilities?sorry for my poor english
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] 4RK4N:
just a little question: since this is a treble rom it should work on honor 9 lite as well, right?the treble rom from phhusson works.
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] shihabsoft:
Man, at last I've managed to successfully flash the backup system.img. It was all due to the invalid sparse header, which I managed to fix it via a converter. If you want I could provide the step by step method to fix the backup system.img for fastboot flashing.
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] bhargavpa:
Yes please... Currently Im successfully running aosp+magisk(without safety net though) + substratum + xposed + gravity box...

One word I can say... It's kickass
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] surdu_petru:
I already switched right now to EMUI without any issues, only to test the second post, with my backup of system.img which have 5.9GB !

I didn't made any conversion, everything went very easily, just as it is described in the second post :

Anyway, I'm glad that you managed to fix it :)
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] shihabsoft:
I did the same, it shows the same thing in the terminal. But as soon as I reboot, it was stuck in bootloop. And yes, the backup image was around 5.50 image, after the sparse conversation it was diminished to around 2.79 GB and I flashed the converted file and voila it worked right away.

Sparse converter is somewhere around XDA, just a search would bring up the link.

Thanks for trying though, hoping for more updates from you :)
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] alohahe3000:
Is It nonetheless possible to upload a stock system.img?
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] surdu_petru:
Please check the second post once again, thanks !
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] alohahe3000:
Great, thanks a lot.
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] shihabsoft:
You've converted the image ah. Nice ;)
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] surdu_petru:
The image was uploaded by [MENTION=4960686]OldDroid[/MENTION], and yes he converted it previously ... on my Ubuntu desktop I don't need to convert it because I guess my "fastboot" can do it inline :) ... that's why I have no issue to flash 5.9GB of system.img !
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] Eddio0306:
Thanks for this great ROM! Managed to get a safety net pass by using Magisk and the full unroot tool with SuperSU.
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] venreddy:
Can somebody tell me what is working, what is not working in camera?
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] franciscofranco:
This is awesome, thank you!
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] bhargavpa:
Phone is unlocked, however FRP is locked, I can't go back to EMUI, anyone help....factory reset is done, and bootlooping hence cant go to developer options too....:crying::crying::crying:
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] shihabsoft:
Go back to fastboot relock the bootloader and unlock again
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] bhargavpa:
I relocked bootloader as u mentioned, how to unlock the bootloader now??? FRP is still locked and I cannot go to Developer options..
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] shihabsoft:
Can you boot into your device? And is the OEM unlock option enabled in your dev settings?
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] bhargavpa:
I cannot boot into the phone also....I can only go to recovery and Fastboot...stuck there:crying:
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] shihabsoft:
Did you try the fastboot oem unlock procedure once again?
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] bhargavpa:
yes, now FRP is culprit here, got the below response.

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem unlock BCxxxxxxxxxxxxxxxxxxL

...

(bootloader) Necessary to unlock FRP!

(bootloader) Navigate to Developer options, and enable "OEM unlock"!

FAILED (remote: Command not allowed)

finished. total time: 0.021s

C:\Program Files (x86)\Minimal ADB and Fastboot>

---------- Post added at 06:01 AM ---------- Previous post was at 05:55 AM ----------

and BTW just now saw, TWRP is also out for honor v10, where do I download it?
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] shihabsoft:
How did you relock the bootloader? Like fastboot oem relock <code>? And did you try flashing the AOSP system.img whilst the bootloader was unlocked?
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] bhargavpa:
Yes I used fastboot oem relock <code> and now both bootloader and FRP is locked. However before relocking, I tried flashing system, even that failed becos the FRP was locked. now I'm stuck here...maybe I need to flash update.zip via twrp...can u let me know where I can download TWRP? I cant see in the post created by Dees_troy
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] shihabsoft:
Go ahead and read this thread, an interesting one with the same problem you're facing.

https://xdaforums.com/honor-5x/help/remove-frp-lock-fastboot-t3530220/

---------- Post added at 07:37 AM ---------- Previous post was at 07:37 AM ----------

And, nope I haven't got the link yet.
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] Nexus lover:
Safety Net pass?

How exactly did you do this?
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] surdu_petru:
I guess that you need to boot Oreo treble with stock ramdisk ( and not the one patched from Magisk) , its what I understand from [MENTION=4960686]OldDroid[/MENTION], because he already managed to pass saftynet in this way.
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] Nexus lover:
I tried this. Magisk says that Magisk is not installed (understandable), but the Safety Net Status still fails (both ctsProfile and basicintegrity).
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] OldDroid:
You have to be on stock ramdisk when you first boot aosp after a wipe data/factory reset in stock recovery. Once the system booted you can install magisk.

Regards
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] Rj_Param:
Hey thanks for the ROM.

Why to start with Oreo 8.0. We already have AOSP Oreo 8.1.
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] yash989:
hi guys i am new to honor please help me i know how to unlock bootloader but what is frp can you please explain its done before unlocking or after unlocking
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] bhargavpa:
can you share oeminfo.img with me so that I can try flashing it again?...It could be available in the same place as system .img
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] surdu_petru:
To avoid any issues, you should wait a bit, because today later our dear developer [MENTION=7354786]XePeleato[/MENTION] will share with us a custom frp image unlockable. For some unknown reason sometimes frp become locked and you'll not be able to flash any partitions via fastboot.

Thank you for understanding !
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] shihabsoft:
The problem is if you can't even use fastboot flash, then how could you flash the oeminfo.img? I'd ask you to wait for the twrp image to be released, so that you could

fastboot boot recovery.img

and flash a system.img
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] surdu_petru:
As I remember , I wasn't able to boot into TWRP on my Honor 9 when frp become locked, basically fastoboot failed to any commands. That's why I fixed my device with FunkyHuawei tools, but of course not for free.
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] Nexus lover:
Thanks, I will try that with the next release.
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] 4RK4N:
sry to ask again but the last time i got overread i guess:

the title says "AOSP Oreo Project Treble" so my question is: is this rom compatible to any trebleized device like phhusson's treble rom?
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] shihabsoft:
Wouldn't there be a way like using dload method?
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] bravonova:
How to avoid FRP re-lock once we unlock bootloader of Honor View 10?

Does FRP get locked by itself automatically or does it re-locked only when we use "fastboot oem lock" command?

If it's get locked by itself automatically, then in which scenarios will it happen?

Kindly guide.
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] Santi_SAZ:
Please read some post above yours.

We need to wait for a FRP image unlockable

Enviado desde mi BKL-L09 mediante Tapatalk
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] surdu_petru:
Please install the ROM and let us to know, in principle it should work. We just tried to keep compatibility as much as possible with this device.

This is the best known method, but unfortunately you have to wait a full firmware suitable to this method ;)
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] Ced91620:
BKLAL20

Bonjour,

J'ai malencontreusement acheté 2 BKL-AL20 et je souhaite installer une ROM Europe.

Votre firmware peut-il convenir pour ce modèle?

Merci de votre réponse.

Bien à vous.
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] Santi_SAZ:
Please write in English following xda's rules [emoji6]

Perhaps you need rebrand phones before applying that system.img to avoid bricks or malfunction

Enviado desde mi BKL-L09 mediante Tapatalk
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] surdu_petru:
Yes, unfortunatly it's get locked by itself, especially when system partition is inappropriately altered !

If the device went into the bootloop due to the inappropriate modified of the system partition ( by installing untested stuff ), we have a big chance that the frp gets stuck.

[MENTION=7354786]XePeleato[/MENTION] already provided a unlockable frp image for all previous Honor/Huawei models , but this time his solution doesn't seems to work in the same way, so we need to wait a bit more until he find the new solution !

Yes, this ROM should be working without issues on your device.

Next time please attach a translation in English, this is mandatory according to XDA rules . Thank you for understanding :)
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] Ced91620:
Thanks for your answer!

Are your sure the BKL_AL20 and BKL_L09 hardware is the same?

Sorry for the english translation! This was an Honor to speak french with a french dev onXDADev ! :highfive:

---------- Post added at 11:18 PM ---------- Previous post was at 11:12 PM ----------

Thanks for your reply.

(Already apologize for english ;))

I don't want to have to pay...

How can you explain my phone will be brick ?

Not the same hardware.

For now it is Huawei unlocked, but that's all.

I will wait a more finalize firmware and TWRP.

Thanks again.

Best!
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] bravonova:
Thank you very much for clarification on the issue. So simple rooting, flashing magisk, etc. will not lock FRP. Right? And flashing the ROM you developed also won't lock FRP. Right? As it is tested and working. :confused:
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] shihabsoft:
It's kind of a give and take thingy. For me I've flashed a corrupted system.img and the system went into an auto recovery, but didn't lock my FRP. So it's better to be on the safe side, as we are still testing these out
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] Santi_SAZ:
Oh sorry, I get confused when I replied to you. The hardware has to be the same in the different versions of the device, you can see that in Oneplus per example, same device 3 versions and same ROM for that 3 versions.

You can flash this ROM in you device and shouyld be work. Think we're right now in early days of development.
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] venreddy:
Can I use TWRP to backup stock system, and restore back if required??

Can we install this rom from TWRP??
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] denzel09:
Sorry for question, wireless display works? Thanks
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] surdu_petru:
No, sorry to not added to issues list :)
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] Nexus lover:
Is there a good chance this get's updated to Android 8.1?

Somewhere I read (@phhusson?) there's no big benefit/too much effort to do so. But then Lineage & RROS are already on 8.1, and those are more features packed = one think more complicated to update?

What is your strategy, [MENTION=2335078]surdu_petru[/MENTION]?

Thanks a lot for this wonderful Nexus-like bare-bone approach!
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] surdu_petru:
Yes

No !

Our dear developer [MENTION=4960686]OldDroid[/MENTION] already working on it :)
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] yash989:
please anyone can help me how to install magisk and root?
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] cheeze.keyk:
its in the 2nd post of Page 1. :good:
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] Rj_Param:
How you managed to flash stock system.img I'm having same issue . Please provide the details...thanks
[Honor View 10 ROMs, Kernels, Recoveries, & Other D] Rj_Param:
Sparse system image from BKL-L09 B130 (C432) : BKL-C432B130_system .img[/QUOTE]

Hey, My Device IS BKL-L09 B130 (C675) Can I use this system image for my device or if you can provide System.img for my device. I have the backup but somehow it's not working.