yashsingh1/xdaforums huggingface dataset:
[Zenfone 5 Android Development] Stonecaper:
- Copying image to cache

- Device platform: x86

- Existing zip found

- Extracting files

- Unpacking boot image

MagiskBoot v17.2(17200) (by topjohnwu) - Boot Image Modification Tool

Parsing boot image: [/data/user_de/0/com.topjohnwu.magisk/install/boot.img]

PXA_BOOT_HDR

KERNEL [1464750080]

RAMDISK [1702126437]

SECOND [1679840844]

EXTRA [174351732]

PAGESIZE [1702126437]

NAME [d

]

CMDLINE [b Version: 1.4 ...

]

CHECKSUM [6f756e640a00426f6f74737475623a206d617020534649204d4d415020746f20]

Segmentation fault

- Checking ramdisk status

MagiskBoot v17.2(17200) (by topjohnwu) - Boot Image Modification Tool

- Stock boot image detected

- Backing up stock boot image

MagiskBoot v17.2(17200) (by topjohnwu) - Boot Image Modification Tool

Compressing to [stock_boot_d44114ab409e59257f7286f32ada2e1f77935cae.img.gz]

cp: can't stat 'ramdisk.cpio': No such file or directory

- Patching ramdisk

MagiskBoot v17.2(17200) (by topjohnwu) - Boot Image Modification Tool

Add entry [init] (0750)

Patch with flag KEEPVERITY=[false] KEEPFORCEENCRYPT=[false]

Save SHA1: [d44114ab409e59257f7286f32ada2e1f77935cae] -> [.backup/.sha1]

Record new entry: [init] -> [.backup/.rmlist]

Dump cpio: [ramdisk.cpio]

- Repacking boot image

MagiskBoot v17.2(17200) (by topjohnwu) - Boot Image Modification Tool

Parsing boot image: [/data/user_de/0/com.topjohnwu.magisk/install/boot.img]

PXA_BOOT_HDR

KERNEL [1464750080]

RAMDISK [1702126437]

SECOND [1679840844]

EXTRA [174351732]

PAGESIZE [1702126437]

NAME [d

]

CMDLINE [b Version: 1.4 ...

]

CHECKSUM [6f756e640a00426f6f74737475623a206d617020534649204d4d415020746f20]

Segmentation fault

! Unable to repack boot image!

! Installation failed

Error while trying to patch boot.IMG :(
[Zenfone 5 Android Development] Stonecaper:
New error :(
[Zenfone 5 Android Development] himanshuhnaamdev:
It is the default launcher ? If yes try to uninstall it and then install through play store
[Zenfone 5 Android Development] Stonecaper:
Not default, its the Ruthless pixel launcher
[Zenfone 5 Android Development] ezrawk:
Thank you so much bro, ViperOS has always been my favorite ROM to boot with since it first came out. Blazing fast, liquid smooth, never disappointed me. Once again, thank you so much for this bro!

The sad thing is ViperOS has stopped it's development since years ago. They tried rebooting it on Oreo (named AOSVP) which stopped too, and then some of their team went to ToxycOS... So I think you won't get updated sources from ViperOS.

But still this ROM is so underrated.. I don't know what magic the Viper team did to make ViperOS in every device, blazing fast.. I've tested ViperOS on a Redmi 2, Redmi 3, other snapdragon Zenfones, LG L70 (dis an old phone) and other devices, they all deliver damn good performance.
[Zenfone 5 Android Development] Stonecaper:
Official Telegram chat - https://t.me/viperos_chat
[Zenfone 5 Android Development] ImamRz_:
how to root this thing

it say binary occupied problem with supersu
[Zenfone 5 Android Development] himanshuhnaamdev:
Did you install superuser zip
[Zenfone 5 Android Development] sar092:
please update the rom, as new sources are available :)

Hello I'm having trouble to make viperos from myself.

can you please update the viper os rom , As I tried to make with new source, but I didn't succeed.

please..
[Zenfone 5 Android Development] himanshuhnaamdev:
Where u building and what error u got tell me
[Zenfone 5 Android Development] sar092:
Thanks Gothic 84 for your greate work

Hello Gothic84 you are such a nice working guy.

I'm So glad that you update it .

Nice work dude. keep it up.
[Zenfone 5 Android Development] gothic84:
Your welcome ,enjoy :)
[Zenfone 5 Android Development] sar092:
Rom Not booting (just viper logo)

The Rom you made is not booting.

I've wipe all the partition and then flash rom, its not booting just showing viper logo.

I've tried flashing gapps and without gapps, but its not booting.

Please check the rom and update.

thanks
[Zenfone 5 Android Development] gothic84:
I don't have any issues so far, and i will never post a rom without tested by my self.
[Zenfone 5 Android Development] naikxda18:
The ROM isn't booting up I've trued for like 5 times ! Please fix this sir
[Zenfone 5 Android Development] sar092:
but my device is not booting, Do I have to flash supersu zip or change the kernel?

sorry to know you that my device is not booting just showing viper logo for 1+ hour till now

flashing rom and gapps was successful.

do i need to change the kernel.

please suggest.
[Zenfone 5 Android Development] gothic84:
try to flash This kernel and give the feedback.
[Zenfone 5 Android Development] sar092:
device boot successful but im stuck on google setup wizard

When using your linage os kernel device boot was successful, but i'm stuck on "checking for update this may take a minute or two" for 2+ hour. I've perfect Internet connection.

I request please check the viperos kernel and update. thanks
[Zenfone 5 Android Development] sar092:
It was the issue with gapps picio x86 7.1 20181222 compatibility

When I flash older build of gapps it worked for me to login in google accout.

Thanks Gothic84 for your great support, good job thanks
[Zenfone 5 Android Development] gothic84:
ooh happy to hear that you can boot the rom now. :)

yes, i have experience also the problem related to gapps
[Zenfone 5 Android Development] rafoca:
Hi! It´s been a long time I don´t flash anything on my old zen 5. I tried your rom and I am stuck at the viper logo.

Here is what I did:

installed TWRP 3.2 (I had twrp 2.8.7 installed),

wiped system/cache/dalvik/data,

installed rom/gapps/addon,

reboot

Because I was stuck at the logo, I went back to recovery and wiped everything (even selecting format data) and this time the only thing I flashed was the rom. Still no luck and the viper logo is all I get :(

I´m coming from a Lollipop modified rom. Is there anything else I should have done?
[Zenfone 5 Android Development] gothic84:
Check my previously post above, and flash that kernel.
[Zenfone 5 Android Development] bensy1899:
Can it stable work on T00G(ZenFone 6)?
[Zenfone 5 Android Development] gothic84:
I don't own a T00G, but according to device specific is yes it's can work on T00G.

would you like to give a try and give the feedback? :)
[Zenfone 5 Android Development] Darkreunion:
Last night i installed the rom and gapps but the phone stuck on viper logo after an hour when i tried to open twrp nothing was happening and the phone is dead it doesn't charge and pc doesn't recognise the device it shows clover device and after searching on xda I found that my device is bricked so I tried some methods but none of them worked the phone boots up usb logo appears and suddenly it gets shut down please anyone help !!
[Zenfone 5 Android Development] gothic84:
what is your device? zf5 or zf6?
[Zenfone 5 Android Development] Darkreunion:
Zf5
[Zenfone 5 Android Development] himanshuhnaamdev:
Which tree u use please tell
[Zenfone 5 Android Development] Darkreunion:
Tooj
[Zenfone 5 Android Development] saurav_xdadev:
Happened to me few days back.

Go into the fastboot mode and reflash twrp and rom.

Happens when the battery is low and the rom is not flashed properly.

If you need help PM me. :):)
[Zenfone 5 Android Development] Kejoenil:
Can i root this rom with magisk,any help please?

Thanks.
[Zenfone 5 Android Development] himanshuhnaamdev:
Yes try lower version
[Zenfone 5 Android Development] Kejoenil:
Fisrtly,sory for my bad english

Hello [MENTION=8992519]himanshuhnaamdev[/MENTION] thanks.

Now i have a new problem when instaling this rom,using twrp 2.8.7 to flash this and the process going properly but when i flash the gapps there's alot of error result shown,i have confuse wich gapps should i use?

Regard.
[Zenfone 5 Android Development] himanshuhnaamdev:
Firstly use latest twrp and use pico gapp
[Zenfone 5 Android Development] Kejoenil:
Hello [MENTION=8992519]himanshuhnaamdev[/MENTION] i'll try to upgrade first :D then flash gapp. Thanks for advice
[Zenfone 5 Android Development] sar092:
please update rom

Hello please update the ROM as new source codes are available.

It :)

thanks.
[Zenfone 5 Android Development] RadixCube:
thanks
[Zenfone 5 Android Development] masbro foxconnindo:
finally it can also install viper4android on this ROM. thanks for this good rom. the update is awaited.
[Zenfone 5 Android Development] bnymnshn:
Hi, does this rom work in Asus Zenfone 6 (T00G-A600CG) properly? I couldn't get any information about this.
[Zenfone 5 Android Development] mzj4213:
It is up to the dev whether he updates the rom or not. Don't ask for ETAs or request updates.

Any rom for T00F technically works for T00G, sensors won't work, and camera would only have T00F settings.
[Zenfone 5 Android Development] bnymnshn:
Then, i'll try it. Thanks.
[Zenfone 5 Android Development] floress__ou:
I have followed the instructions & tutorial above ...

but the camera cannot be opened "can't connect to the camera"

there is a solution?

Zenfone 5 (T00F)

sorry my english is bad, i'm from indonesia
[Zenfone 5 Android Development] Kaustav_Nag:
Hello..... How can root with Magisk.... And what version of magisk do i use....!!

Thank you!!!
[Zenfone 5 Android Development] gothic84:
Did you do the clean install?

We cannot use magisk root on this rom.
[Zenfone 5 Android Development] Kaustav_Nag:
Ohhh okk....
[Zenfone 5 Android Development] brunnew:
hello im Brazilian, and i decided to test this rom on my phone for better battery consume. I tried use the RR rom but battery consume for me is not cool.

But i have a some questions:

For this rom its necessary lineageos kernel mandatory? because i have a kernel rr by tank in the phone now and the viperOS installed sucessfull. Have a performance difference between the kernels?

And other questios is: have a another link to addonsu for this rom? because the actual link dont have the file more.

Thanks and congratulations for this ROM.

Obrigado e parabéns por esta ROM.
[Zenfone 5 Android Development] brunnew:
Good Sound!

With this rom the sound as great! the equalizer are very good, i liked this with headphones.
[Zenfone 5 Android Development] gothic84:
Thank you for the feedback, enjoy. :)
[Zenfone 5 Android Development] xc4rt:
Can I root this ROM using the addons? because I tried another ROM and the pop up notification did not appear
[Zenfone 5 Android Development] gothic84:
Yes, this addon can use to root this rom.
[Zenfone 5 Android Development] Ne Ve:
Please completely supoort A601CG on this ROM (both your LineageOS ROM). Please, I'm begging for this... (because there is no custom ROM on A601CG devices) (and your ROMs is the best!)

Before, I am setup your ROM on my A601CG (but its burning my SD card, Phone heat, temprature is too high... (I tested your ROM is on 8 devices. All devices are Zenfone6 A601CG) Please support US!!!!!
[Zenfone 5 Android Development] brunnew:
The new build can be updated from phone direct, such a some menu in this rom? or only per twrp / clean install?
[Zenfone 5 Android Development] gothic84:
If you are on the previous build, just flash via TWRP. and if you are coming from another ROM, clean flash is mandatory.
[Zenfone 5 Android Development] sar092:
:) Nice work, little query from my side

Thanks bro for your work and time, i'm using it wonderful :)

I also tried to build viperos using source code repository , all things done with the viperos source code, but showing " TOP not set" , i'm confused how to use device tree that i've downloaded github.com/zf5

Can you please tell what are the steps for building. I'll be happy if you help

actually i'm new at android development.

please help , thnks :):o
[Zenfone 5 Android Development] gothic84:
if you already downloaded all the source include device tree, it's will be easy.

put the device source on each folder by using local_manifests.xml. i'm followiing this tutorial, and it works perfectly. and follow this tutorial to make your LineageOS device source can be used for Viper building.
[Zenfone 5 Android Development] brunnew:
thanks bro! ROM is great! build changed sucessfuly
[Zenfone 5 Android Development] gothic84:
your welcome, enjoy :)
[Zenfone 5 Android Development] PhantomAssassin:
is there a way to install magisk with this rom?

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

btw thanks for your work on the rom it's perfect.
[Zenfone 5 Android Development] gothic84:
Nope, and i still can't find how to install magisk on our device.
[Zenfone 5 Android Development] sar092:
thanks for replying, i'm getting this error when setting local_manifest.xml

I'm getting this when tried to set local_manifest.xml

astrata@kunda-lab:~/vippn$ repo init -m /home/astrata/vippn/.repo/manifests/local_manifest.xml

... A new repo command ( 1.25) is available.

... You should upgrade soon:

cp /home/astrata/vippn/.repo/repo/repo /usr/bin/repo

warning: local_manifest.xml is deprecated; put local manifests in `/home/astrata/vippn/.repo/local_manifests` instead

fatal: manifest '/home/astrata/vippn/.repo/manifests/local_manifest.xml' not available

fatal: remote /home/astrata/asus/Asus_development/android_device_asus_T00F not defined in /home/astrata/vippn/.repo/manifests/local_manifest.xml

please help me.
[Zenfone 5 Android Development] gothic84:
Make a new folder inside .repo folder and named it to local_manifests. Then put local_manifests.xml on that dolder.
[Zenfone 5 Android Development] CupangTerbang:
Lag

Why after update this os getting lag ?

Tried fresh install but still same
[Zenfone 5 Android Development] sar092:
thanks dude, it worked for me :)

It works thanks for reply :)
[Zenfone 5 Android Development] gothic84:
Good, happy to hear that now edit your device tree inside the folder device/asus/T00F, so that you can compile for ViperOS. here is the list of the files that you need to edit.

-device.mk

-lineage.mk

-lineage.dependencies

-vendorsetup.sh
[Zenfone 5 Android Development] x86zen:
Root Detection

I don't install the su addon, but why are there some applications that can't be opened because root is detected.

how to remove root on this rom ?

sorry for my bad english
[Zenfone 5 Android Development] gothic84:
go to settings => developer options => root accesses => Disabled
[Zenfone 5 Android Development] CupangTerbang:
Hide my root

Use this root tool.

You can use this root tool without open developer tool

https://www.dropbox.com/s/n1wb0rz7rj8i32g/RR_T00F_ROOT_cloak.zip?dl=0

Need terminal to activated it

Type "root 1" or "root 0" to switch it

*if some app still detect root, it may cause SElinux still permissive

Use terminal and write "sudo root setenforce 1"

**WARNING set SElinux to enforce may cause crash (systemUI force stop if you press volume button). Use this when you already passed that app then revert back to permissive (sudo root setenforce 0)

*tested on game "dragnalia lost" and it can passed root detection
[Zenfone 5 Android Development] sar092:
thanks , I'm getting this

when I'm running lunch is showing: (all things done with the viperos source and device tree(used local_manifests.xml)

{{{{{{{{{{{local_manifests.xml>>>>>>>>>>>

<?xml version="1.0" encoding="UTF-8"?>

<manifest>

<project path="device/asus/T00F" name="zf5/android_device_asus_T00F" remote="github" revision="cm-14.1" />

<project path="kernel/asus/T00F" name="zf5/android_kernel_asus_T00F" remote="github" revision="cm-14.1" />

<project path="vendor/asus/T00F" name="zf5/android_vendor_asus" remote="github" revision="cm-14.1" />

</manifest>

## is it right## }}}}}}}}}}}}}

when running lunch>>>>>

astrata@kunda-lab:~/vipernougat$ lunch

▌ ▐·▪ ▄▄▄·▄▄▄ .▄▄▄ .▄▄ ·

▪█·█▌██ ▐█ ▄█▀▄.▀·▀▄ █·▪ ▐█ ▀.

▐█▐█•▐█· ██▀·▐▀▀▪▄▐▀▀▄ ▄█▀▄ ▄▀▀▀█▄

███ ▐█▌▐█▪·•▐█▄▄▌▐█•█▌▐█▌.▐▌▐█▄▪▐█

. ▀ ▀▀▀.▀ ▀▀▀ .▀ ▀ ▀█▄▀▪ ▀▀▀▀

Feel the venom in your vein

Welcome to the device menu

Below are all the devices currently available to be compiled

1. lineage_T00F-eng	2. lineage_T00F-userdebug

... and don't forget the bacon!

Go ahead and pick a number or enter viper_device-userdebug ... 2

build/core/product_config.mk:249: *** Can not locate config makefile for product "lineage_T00F". Stop.

Device T00F not found. Attempting to retrieve device repository from ViperOS-Devices Github (http://github.com/ViperOS-Devices).

Failed to search GitHub

build/core/product_config.mk:249: *** Can not locate config makefile for product "lineage_T00F". Stop.

build/core/product_config.mk:249: *** Can not locate config makefile for product "lineage_T00F". Stop.

build/core/product_config.mk:249: *** Can not locate config makefile for product "lineage_T00F". Stop.

** Don't have a product spec for: 'lineage_T00F'

** Do you have the right repo manifest?

Can you please help what is the solution for that.

thanking you.
[Zenfone 5 Android Development] gothic84:
edit these files below on your device tree, and make it compatible for building with viperOS, as these files is for lineageOS build only, check the link that previously i given to you on the tutorials.

-device.mk => and have a look inside the file with your text editor change the lineage things to viper

-lineage.mk (rename to viper.mk) and have a look inside the file with your text editor change the lineage things to viper

-lineage.dependencies ( rename to viper.dependencies) and have a look inside the file with your text editor change the lineage things to viper

-vendorsetup.sh => look inside the files on text editor and change cm_T00F-userdebug to viper_T00F-userdebug also cm_T00F-eng to viper
[Zenfone 5 Android Development] sar092:
Again stuck at this feeling sad.

dear, after spending my fulll day i'm again stuck on this:

Checking API: checkpublicapi-last

/home/astrata/vipernougat/out/target/common/obj/PACKAGING/public_api.txt:10309: error 17: Field android.content.res.Configuration.UI_MODE_NIGHT_MASK has changed value from 48 to 240

******************************

You have tried to change the API from what has been previously released in

an SDK. Please fix the errors listed above.

******************************

ninja: build stopped: subcommand failed.

build/core/ninja.mk:166: recipe for target 'ninja_wrapper' failed

make: *** [ninja_wrapper] Error 1

#### make failed to build some targets (01:51 (mm:ss)) ####

I've also done "mka update-api" but the same problem,

can you please help me, thanks.
[Zenfone 5 Android Development] gothic84:
edit your .bashrc, and put this on last line export USE_NINJA=false

then source ~/.bashrc
[Zenfone 5 Android Development] sar092:
Again stuck at this :(

Again I'm stuck at this:

astrata@kunda-lab:~/vipernougat$ make

=================================================================

▌ ▐·▪ ▄▄▄·▄▄▄ .▄▄▄ .▄▄ ·

▪█·█▌██ ▐█ ▄█▀▄.▀·▀▄ █·▪ ▐█ ▀.

▐█▐█•▐█· ██▀·▐▀▀▪▄▐▀▀▄ ▄█▀▄ ▄▀▀▀█▄

███ ▐█▌▐█▪·•▐█▄▄▌▐█•█▌▐█▌.▐▌▐█▄▪▐█

. ▀ ▀▀▀.▀ ▀▀▀ .▀ ▀ ▀█▄▀▪ ▀▀▀▀

Feel the venom in your vein

=================================================================

VIPER_VERSION=Viper-T00F-20190424-Coral-v3.1.1-UNOFFICIAL

PLATFORM_VERSION=7.1.2

TARGET_PRODUCT=viper_T00F

TARGET_BUILD_VARIANT=userdebug

TARGET_ARCH=x86

BUILD_ID=NJH47F

OUT_DIR=/home/astrata/vipernougat/out

=================================================================

find: ‘src/android’: No such file or directory

find: ‘src’: No such file or directory

find: ‘../commonutil/src’: No such file or directory

/bin/bash: line 0: cd: cts/tests/libcore/ojluni/resources: No such file or directory

find: ‘../../libs/commonutil/src’: No such file or directory

build/core/binary.mk:1253: external/compiler-rt/Android.mk: libcompiler_rt: Unused source files:

{{I thought it will not be possible to build rom from my side :(}}

again & again problem is coming can you please help me with that. as you helped me alot .

thanks bro.
[Zenfone 5 Android Development] gothic84:
at this point, i have no idea what files that you edit, or updated on the Rom source. the clue that i given to you it's should be working flawlessly if you do all correctly.

Don't give up, keep try and find a solution. even me I'm still failed many times to build a different roms or make it better until now.

try to go here to fixed any error

This article can be applied to build any roms in general.

and go here for the command on how to build viperos
[Zenfone 5 Android Development] sar092:
Thanks bro for your help

Bro It may be possible it's my fault in the whole process.

and again thanks for helping me , I glad you help me alot, thanks for giving me time.

why don't you try to build android 8.0 rom (not 8.1) as device tree is available for 8.0,

I know there will be some bugs, but your success will be boon for others.

thanks dude.

sent from jangidsarvesh21@gmail.com
[Zenfone 5 Android Development] gothic84:
try to start over from the beginning, at least you already improve the process with whole the experience so far and got more knowledge by what the things that we shared.

I tried already to build oreo and still failed, but I still try again and again.
[Zenfone 5 Android Development] sar092:
can you try this?

Hi Gothic84,

can you use this as device tree T00F https://github.com/VTEK-TEAM

hope it will help you to build android 8.1

Greetings.
[Zenfone 5 Android Development] NoviceBuilder:
Hi, Gothic84. Thanks a ton for you rom -- it works perfectly.

Additional 'thank you' for your links and comments about rom building.

I have a question.

I used the guide you linked and build the ROM. Everything went well.

The problem is: it doesn't boot. The only thing I can see is Asus logo.

I found out 2 things:

1. The ZIP file itself is 308.5Mb (yours is 425Mb). I looked inside: system.new = 685.4Mb (yours is 961.3Mb). I bet it somehow connected to the freezing problem.

2. It kills TWRP.

How you debug those?

I looked everywhere. All guides "How to build Custom ROMs" address error during preparation or compilation. I found nothing on how to debug something you already build.

Any advice?
[Zenfone 5 Android Development] gothic84:
to find it out, just check what is the error shown when you build the rom, and then correct it, and compile again.

did u get all dependencies for the build completely?

and which device tree that you use?
[Zenfone 5 Android Development] NoviceBuilder:
As I told, everything builds fine. No errors. Nothing to debug -- that was the problem.

I had to reread all the mk and config files. And finally I found that my vendor directory was off by 1 level.

Instead of vendor/asus/T00F, I got vendor/asus/T00F/T00F, so I was building OS without proprietory blobs.

I would be nice if the building scripts actually check if the blobs are present or not, if would save me a ton of time.

The build works perfectly, except some error about Lawnchair native libraries or something.
[Zenfone 5 Android Development] gothic84:
Good to know that your build is now perfect. :)

And about the lawnchair,it's came from the source,so you just need to update from play store, or you can add or replace with other launcher like i did on my build, i add nexus laucher on it.

Find how to do it, there is alot tutorial regarding this.
[Zenfone 5 Android Development] NoviceBuilder:
Hi again Gothic. Question about root. I downloaded addonsu_x86.zip and flashed it with TWRP. Nothing changed, root is still not there.

I also tried to flash SuperSU 2.82 after that -- it can't patch boot.img.

What I'm doing wrong?

Ignore that, I'm dumb, I forgot to turn on root in developer options.
[Zenfone 5 Android Development] ThiagoHDS:
Lawchair problem

Is the lawchair language problem solved? When I tried the room a few months ago an error box used to show up quite often.
[Zenfone 5 Android Development] gothic84:
you can update the lawnchair from play store to solve the error, or you can use nexus launcher as the default for alternative options. :)