[ROM][8.0][OpenKirin's AOSP - Treble - Oreo for Honor View 10]

Search This thread

surdu_petru

Recognized Contributor
Feb 3, 2010
7,089
23,072
Paris
oreo.jpg



* AOSP Oreo Project Treble For Honor View 10 by OpenKirin Team *


Code:
/*
 * 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

Screenshot_20180218-155238.png
Screenshot_20180218-155246.png


Screenshot_20180218-155207.png




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
 

surdu_petru

Recognized Contributor
Feb 3, 2010
7,089
23,072
Paris
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 :

adb shell
su
dd if=/dev/block/bootdevice/by-name/system of=/storage/emulated/0/system.img

Copy system.img to your desktop :

adb pull storage/emulated/0/system.img
Whenever you want to go back to stock Emui , put your device in bootloader mode and type :

fastboot flash system system.img
It may require also a factory reset into recovery !

Sparse system image from BKL-L09 B130 (C432) : BKL-C432B130_system .img
 
Last edited:

shihabsoft

Senior Member
Nov 1, 2013
118
44
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?
 

surdu_petru

Recognized Contributor
Feb 3, 2010
7,089
23,072
Paris
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?

Yes, the bugs was listed on the Issue section in OP ... if you find more bugs, please just let us to know :)
 
  • Like
Reactions: shihabsoft

surdu_petru

Recognized Contributor
Feb 3, 2010
7,089
23,072
Paris
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 !
 
Last edited:

bhargavpa

Member
Dec 14, 2014
31
2
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 !

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.
 

shihabsoft

Senior Member
Nov 1, 2013
118
44
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 :)
 
Last edited:
  • Like
Reactions: venreddy

surdu_petru

Recognized Contributor
Feb 3, 2010
7,089
23,072
Paris
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.

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 :)

Yes, I already see it ... as soon as you install Magisk adb stop working.
 

shihabsoft

Senior Member
Nov 1, 2013
118
44
Yes, I already see it ... as soon as you install Magisk adb stop working.

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 ----------

Yes, I already see it ... as soon as you install Magisk adb stop working.

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.
 

surdu_petru

Recognized Contributor
Feb 3, 2010
7,089
23,072
Paris
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.

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.
 
  • Like
Reactions: shihabsoft

yash989

Senior Member
Sep 10, 2012
2,369
2,260
jodhpur
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?
 

shihabsoft

Senior Member
Nov 1, 2013
118
44
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.

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.
 

Attachments

  • fastboot-backup-flash.png
    fastboot-backup-flash.png
    21.6 KB · Views: 439
  • Like
Reactions: surdu_petru

surdu_petru

Recognized Contributor
Feb 3, 2010
7,089
23,072
Paris
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.

OK, thanks ... Does you already tried a data/factory reset in recovery ? Its already stated on the second post.
 

shihabsoft

Senior Member
Nov 1, 2013
118
44
OK, thanks ... Does you already tried a data/factory reset in recovery ? Its already stated on the second post.

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
 

Top Liked Posts

  • There are no posts matching your filters.
  • 30
    oreo.jpg



    * AOSP Oreo Project Treble For Honor View 10 by OpenKirin Team *


    Code:
    /*
     * 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

    Screenshot_20180218-155238.png
    Screenshot_20180218-155246.png


    Screenshot_20180218-155207.png




    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
    14
    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 :

    adb shell
    su
    dd if=/dev/block/bootdevice/by-name/system of=/storage/emulated/0/system.img

    Copy system.img to your desktop :

    adb pull storage/emulated/0/system.img
    Whenever you want to go back to stock Emui , put your device in bootloader mode and type :

    fastboot flash system system.img
    It may require also a factory reset into recovery !

    Sparse system image from BKL-L09 B130 (C432) : BKL-C432B130_system .img
    6
    *** reserved ***
    4
    Can I use TWRP to backup stock system, and restore back if required??
    Can we install this rom from TWRP??

    Yes
    No !


    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, @surdu_petru?
    Thanks a lot for this wonderful Nexus-like bare-bone approach!

    Our dear developer @OldDroid already working on it :)
    3
    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 !