yashsingh1/xdaforums huggingface dataset:
[Zenfone 5 Android Development] czjohns:
Hello,

this was my first custom ROM installation and I must thank you, because it works great - faster than original that had many issues.

Great work, and good luck :)
[Zenfone 5 Android Development] q0kHaN:
Can someone try this sensor fix for zenfone 6

extract zip to sdcard then run code with su privileges:

sh /sdcard/dnfix.sh
[Zenfone 5 Android Development] kodirovshchik:
Still no difference.
[Zenfone 5 Android Development] kishor882288:
openGapps flash switch of the phone why

i flash Resurrection Remix N 5.8.2 28/03/2017 after flashing openGapps switch of the phone

plz help.
[Zenfone 5 Android Development] tank0412:
Install another TWRP
[Zenfone 5 Android Development] tank0412:
It will not work because we are using a bit another blobs so this script is not compatible with this blobs.

I will do something with it in next RR N update because current (latest) RR N build has this scripts in /sbin folder but it does not works because init.dgadelha.rc was not called in init.redhookbay.rc. ( i forgot to call it)
[Zenfone 5 Android Development] LeKoolGuy:
Proximity bug

proximity is always on. Latest build on t00f zenfone 5. I hope it will be fixed soon. :) Thanks for the ROM
[Zenfone 5 Android Development] narueon:
Did anyone try porting MIUI ROM? IS is possible... Can we have a substratum theme ??
[Zenfone 5 Android Development] ketansharmar:
Miui is not based on intel processor so we can't port that rom
[Zenfone 5 Android Development] yongkukut:
anyone here use app2sd ?

why i can't move app to 2nd partition

when i try to move to 2nd partition its keep saying can't execute : Permission denied :rolleyes:
[Zenfone 5 Android Development] PzainXD:
Does this way worked?
[Zenfone 5 Android Development] emirfahimi:
does anyone install theme with substratum?any theme suggestion?
[Zenfone 5 Android Development] juyel92:
Yes I am using theme with substratum.

You can try Domination substratum theme.

Or else you can search in play store for other substratum themes.
[Zenfone 5 Android Development] Boomshiva:
Neon colors, fantasy , fruit , deity ,magpie reborn, spectrum , risalto,spectra,biohazard

The list is long but i could remember only these .
[Zenfone 5 Android Development] emirfahimi:
do you know how substratum works? and do you need install team ready gapps?
[Zenfone 5 Android Development] Boomshiva:
What is team ready gapps ? I know nothing about that . If you asking about theme ready gapps ? Then .... No need of flashing all that . Just gapps from opengapps suffice the need .

substratum guide here
[Zenfone 5 Android Development] Davega:
RR Zenfone 5 will receive this update?
[Zenfone 5 Android Development] tank0412:
It depends on RR Team
[Zenfone 5 Android Development] Galdix:
ZenFone 5 T00J

Guys, I'm newbie in this, sorry for an stuppid questions pls. Well, I'm not satisfeid with my smartphone and I want to try this kind of things like new ROM's and OS but I really dont understand nothing, I was looking in xda and find two ROM's with Android N, the RR and Unofficial LineageOS 14.1 Nightly Builds, which one should I try ? And how can I do this? And please ...My zenfone 5 is T00J, maybe I will have some problems? Sorry about the horrible English
[Zenfone 5 Android Development] juyel92:
You can try both of these ROM (Resurrection remix & Lineage OS 14.1), but if you want more customization option then you should try Resurrection Remix v5.8.2 ROM.

To install/flash this ROM you have to follow this things -

1. Firstly, Your device bootloader should be unlocked.

2. Second, You should have the latest TWRP recovery installed in your device i;e twrp 3.0.M2.0.

3. Then Download the ROM.

4. Download the GApps pico x86 7.1

5. Download root add-on_x86 (if you want the root access (OPTIONAL))

For step-by-step flashing procedure please read below.

So you are newbie here, then first unlock your bootloader then install TWRP recovery, visit the link below to unlock the bootloader of your device as well as install the TWRP recovery together in just one click -

Click here to unlock bootloader and Install the TWRP-3.0.M2-0 recovery

After unlocking bootloader and then installed TWRP recovery, just download the ResurrectionRemix v5.8.2 ROM from below-

Click here to download ResurrectionRemix_v5.8.2 ROM

After that download the GApps pico x86 7.1

Click Here to download GApps

Then download SU Addon_x86 if you want root access. (This step is optional, it depends on you)

Click here to download SU Addon_x86 for root access

Now put the downloaded zip files in your external memory card.

Now follow the step-by-step procedure to flash the ROM -

1. Reboot to recovery

2. Go to Wipe - Advance Wipe, and select cache, dalvik cache, system, data and internal.

Now swipe to wipe.

3. After wiping is completed, go back to wipe section again and then click on "format data" and then type "yes" and press okay to start formatting.

4. After formatting, go back to main screen of TWRP, and then go to "INSTALL SECTION".

5. Now locate the ROM zip file which you have downloaded earlier. Select the ROM zip file and swipe to start flashing the ROM.

6. After flashing the ROM, go back again and locate the GApps pico x86 7.1 zip file and select it and swipe to start flashing GApps.

7. Now you have successfully flashed the ROM and GApps.

8. Now flash the SU Addon_x86 zip file. (Optional) if you don't want root access then you can ignore this step.

9. After flashing everything, Now go back to main screen and then go to Reboot section and select reboot the system.

It's done. First boot will take approximately 5 - 10mins.

After booting, enjoy your all new nougat custom ROM.

NOTE: Please follow the steps carefully otherwise you will face problems.​
[Zenfone 5 Android Development] mpguchii:
So, i'am developing an app in c# xamarin, using my zen 5 to debug the app. But is not working, showing this errors:

In VS debug output:

Loaded assembly: MonoDroidConstructors [External]

04-04 19:51:20.126 D/Mono (27435): Assembly Ref addref App2[0xb2d28e40] -> mscorlib[0xb24b6e80]: 12

WARNING: linker: /system/vendor/lib/hw/gralloc.redhookbay.so

: is missing DT_SONAME will use basename as a replacement: "gralloc.redhookbay.so"

WARNING: linker: /system/lib/libpvr2d.so: is missing DT_SONAME will use basename as a replacement: "libpvr2d.so"

04-04 19:51:20.391 W/linker (27435): /system/vendor/lib/hw/gralloc.redhookbay.so: is missing DT_SONAME will use basename as a replacement: "gralloc.redhookbay.so"

04-04 19:51:20.392 W/linker (27435): /system/lib/libpvr2d.so: is missing DT_SONAME will use basename as a replacement: "libpvr2d.so"

04-04 19:51:20.403 I/OpenGLRenderer(27435): Initialized EGL, version 1.4

04-04 19:51:20.404 D/OpenGLRenderer(27435): Swap behavior 1

04-04 19:51:20.405 W/OpenGLRenderer(27435): Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...

04-04 19:51:20.405 D/OpenGLRenderer(27435): Swap behavior 0

04-04 19:51:20.415 W/linker (27435): /system/vendor/lib/libPVROCL.so: is missing DT_SONAME will use basename as a replacement: "libPVROCL.so"

WARNING: linker: /system/vendor/lib/libPVROCL.so: is missing DT_SONAME will use basename as a replacement: "libPVROCL.so"

In my zen 5:
[Zenfone 5 Android Development] tank0412:
New RR N build is released.

Changelog:

Sync RR sources

Merge https://github.com/zenfone-legacy/android_kernel_asus_T00F into cm-14.1

Merge https://github.com/zenfone-legacy/android_device_asus_T00F into cm-14.1

T00F: use MM scripts by dgadelha

T00G: made changes to fix sensors and camera

Download:

https://drive.google.com/open?id=0B-Fin8UxrD6PUWxKMUs3REFKMTg

P.S. All changes in device tree were pushed to https://github.com/zf5
[Zenfone 5 Android Development] Davega:
MM Script?
[Zenfone 5 Android Development] tank0412:
See commits on Github for more info.

https://github.com/zf5/android_device_asus_T00F/commit/75b038f61a2fa22d8e68f6771eb1cb18c6920412

https://github.com/zf5/android_device_asus_T00F/commit/e6904a1ad3a5e89e8304776290447b50fa439bd7
[Zenfone 5 Android Development] tank0412:
Our antient Lollipop blobs has text relocations and we can not do something with it.
[Zenfone 5 Android Development] juyel92:
Bro did you fixed the proximity sensor bug which stays always on even after screen is unlocked ?
[Zenfone 5 Android Development] trunghieu1810:
How to install Magisk Manager? I can't remove or install it in RR 20170404. In each version, i removed it.

Thanks.
[Zenfone 5 Android Development] tank0412:
Testers is needed!

Guys, it looks like i

fixed a proximity sensor bug

.

Pls test this kernel and report.

https://drive.google.com/open?id=0B-Fin8UxrD6PeDVXZFhkUm95TFE

Thanks.
[Zenfone 5 Android Development] doganay08:
Why is not the double-window screen size set?

---------- Post added at 09:39 AM ---------- Previous post was at 09:31 AM ----------

Why is not the double-window screen size set?
[Zenfone 5 Android Development] tank0412:
What?
[Zenfone 5 Android Development] doganay08:
(multi window) split window two set the screen size gives error
[Zenfone 5 Android Development] Boomshiva:
He means .... In split screen the windows cannot be resized .

Right doganay08 ?
[Zenfone 5 Android Development] Drake009:
:( for some reason i am unable to do factory reset. orientation still not working (ZF6)
[Zenfone 5 Android Development] doganay08:
I apologize for the bad english. At the end someone came out who understands the problem.In split screen the windows cannot be resized bug give

---------- Post added at 01:11 PM ---------- Previous post was at 01:01 PM ----------

he throws busy incoming calls automatically.a new error has occurred.
[Zenfone 5 Android Development] udaykapoor97:
Bro someone plz help me to flash magisk I m getting error 1 if I try to flash it....I am on the latest build [MENTION=5875920]tank0412[/MENTION]
[Zenfone 5 Android Development] vladcloud:
Dirty flashed and working good!
[Zenfone 5 Android Development] Boomshiva:
Magisk is not supported on zenfone 5 yet .
[Zenfone 5 Android Development] Davega:
Tested, proximity on when phone locked ( lockscreen ), and off when phone is unlocked. Now i explore again;)
[Zenfone 5 Android Development] tank0412:
So is something changed? Is it fixed?
[Zenfone 5 Android Development] Davega:
I think its fixed for now. Good job:good:
[Zenfone 5 Android Development] Boomshiva:
Hello try this

1: from settings > display

Turn off prevent accidental wake up .

2: from rr configuration .... Turn on ambient display

Enable override system default

Now tick on sensor trigger .

Do both 1 and 2 . This has solve my issue and hope it will solve yours too. From like last 3 to 4 builds i don't face sensor issue .
[Zenfone 5 Android Development] Davega:
Firstly i flash this rom 1 is off and 2 is on by default but when i touch sensor trigger the sensor is on but for now its fixed after flashing new kernel
[Zenfone 5 Android Development] juyel92:
STILL TESTING.

I'm still testing this kernel. Till now everything is working fine. Proximity sensor is working fine. When screen is unlocked,proximity sensor also turn off by itself. I will test this kernel for two-three days more, then I will share my results again. Hope that this issue never happens again.

*fingercrossed*
[Zenfone 5 Android Development] tank0412:
Magisk is unsupported due to rare boot filesystem type.

No fix.
[Zenfone 5 Android Development] Tiagomullerbr:
Does SuperSU also have the same problem?
[Zenfone 5 Android Development] MiMiTheBeauty:
[MENTION=5875920]tank0412[/MENTION] I need help:

I'm using T00G (Zenfone 6), i flashed the latest build, but the phone still saying it's T00F and the fixes you added to support T00G don't work. I tried to change my model name in build.prob to T00G but nothing happen. What should I do?
[Zenfone 5 Android Development] tank0412:
I think yes.

So try to use older SuperSU versions which did not patch boot.img.
[Zenfone 5 Android Development] tank0412:
Ok, thanks.

Attach logcat and dmesg. And will look at it.
[Zenfone 5 Android Development] kodirovshchik:
Looks like dgadelha.sh and dnfix.sh aren't run (Zenfone 6) at all. After first boot there is no such file like /data/dgadelha/dnfix, there is no changes in /system/build.prop.

If i manually use something like this

sed -i 's/T00F/T00G/g' /system/build.prop
printf "\ndgadelha.dnfix=20160626\n" >> /system/build.prop

rm /system/lib/hw/sensors.redhookbay.so
ln -s /system/lib/hw/a600cg.sensors.redhookbay.so /system/lib/hw/sensors.redhookbay.so

mv /system/bin/akmd09911 /system/bin/a500cg_akmd09911
ln -s /system/lib/a600cg_akmd09911 /system/bin/akmd09911

rm /system/lib/libxditk_DIT_Manager.so
ln -s /system/lib/ditlib_a600cg/libxditk_DIT_Manager.so /system/lib/libxditk_DIT_Manager.so
rm /system/lib/libxditk_DIT_CloverTrailPlus.so
ln -s /system/lib/ditlib_a600cg/libxditk_DIT_CloverTrailPlus.so /system/lib/libxditk_DIT_CloverTrailPlus.so

chmod 0755 /system/bin/akmd09911
chmod 0755 /system/bin/a500cg_akmd09911
chmod 0755 /system/bin/a600cg_akmd09911
chmod 0644 /system/lib/hw/a500cg.sensors.redhookbay.so
chmod 0644 /system/lib/hw/a600cg.sensors.redhookbay.so
chmod 0644 /system/lib/hw/sensors.redhookbay.so
chmod 0644 /system/lib/ditlib_a500cg/libxditk_DIT_Manager.so
chmod 0644 /system/lib/ditlib_a500cg/libxditk_DIT_CloverTrailPlus.so
chmod 0644 /system/lib/ditlib_a600cg/libxditk_DIT_Manager.so
chmod 0644 /system/lib/ditlib_a600cg/libxditk_DIT_CloverTrailPlus.so
chmod 0644 /system/lib/libxditk_DIT_Manager.so
chmod 0644 /system/lib/libxditk_DIT_CloverTrailPlus.so
chmod 0644 /system/build.prop

It helps with camera, but orientation sensor still doesn't work. Any else logs can i provide?
[Zenfone 5 Android Development] MiMiTheBeauty:
Ability limited...

Sorry, I dont know how to take logcat and dmesg so i'll try to describe what i did:

1. Build.prob:

Change all "T00F" to "T00G"

2. /system/lib/ditlib_a500cg

copy all file from /system/lib/ditlib_a600cg to /system/lib/ditlib_a500cg

chmod 644 all file inside /system/lib/ditlib_a500cg
[Zenfone 5 Android Development] tank0412:
Again. Commands from original dnfix will not work because we use another blobs.

I thought that changing device name from T00F to T00G must be enough to fix sensors with new blobs.

So i edited dnfix script and it must change device name only.

init: (Parsing init.dgadelha.rc took 0.00s.)

Init.dgadelha.rc was called. In this file dgadelha.sh must be called which will create data/dgadelha and etc.

It is very strange.

Is /data/dgadelha exists?
[Zenfone 5 Android Development] kodirovshchik:
No. There is no folder.

Script didn't change device name. In 10min i will have clean logs from fresh (with no manual changes) install.

UPD: done, first run - logs
[Zenfone 5 Android Development] Tiagomullerbr:
Do you recommend any specific version? Those that I tested for twrp could not install, version 2.52 beta installed, but caused bootloops.
[Zenfone 5 Android Development] juyel92:
You can try SuperSU 2.79

When I tried this SuperSU 2.79, it doesn't caused any bootloop.

You can also try your luck.

Download it from below.
[Zenfone 5 Android Development] MustafaCN:
[MENTION=5875920]tank0412[/MENTION] My phone zenfone 6 and screen rotation not working ?
[Zenfone 5 Android Development] Tiagomullerbr:
This work for you? I can't flash it. Not work for me.
[Zenfone 5 Android Development] Scrluiz:
modem SIM isn't working (always 2G/G/E signal), solutions?
[Zenfone 5 Android Development] melcries14:
??????

?Any improvements for the Latest Build? :confused:
[Zenfone 5 Android Development] dheemiz:
Thank you for the ROM! I came from nguyen's RR build and clean install your build and it's great! Deep sleep is working as it should, scrolling and swiping feels a little faster now. The problem I experienced so far was the Substratum theme (using DNA theme from Google Play). I was able to use it perfectly but an hour or so after installation the System UI started to freeze​, I tried to reboot but it still the same and luckily I had a nandroid backup before and restore it from there. Maybe minor problems such as live display tile not appear and night light is not working. Other than that I think its pretty stable.
[Zenfone 5 Android Development] fakhri_adi551:
Hey dev,

can/will you change the offline charging animation ??
[Zenfone 5 Android Development] ds374677:
Ys

---------- Post added at 05:28 AM ---------- Previous post was at 05:26 AM ----------

I m facing earphone problem..

Is it because i uninstalled stock music player and using other music app???????
[Zenfone 5 Android Development] tank0412:
I will try to do something with it.

P.S.

I pushed some changes to RR sources and i built TWRP 3.0 Noughat. It booted but touchscreen works unstable there. Can not figure it out why.
[Zenfone 5 Android Development] fakhri_adi551:
It sounds good
[Zenfone 5 Android Development] ds374677:
Hey dev ..

My earphones are not supporting
[Zenfone 5 Android Development] tank0412:
It is strange.

On my phone headphons works fine. Check your headphons on other devices.
[Zenfone 5 Android Development] ds374677:
I uninstalled the music player and using walkman music player..

Is it the reason ???
[Zenfone 5 Android Development] tank0412:
No. I tested my headphones in youtube app.

P.S. But check that you still have AudioFx app.
[Zenfone 5 Android Development] ds374677:
Ys i hv...
[Zenfone 5 Android Development] tank0412:
New RR N build is released.

Changelog:

T00F: spam to localversion

T00F: fix typo in charger path + remove keyhandler from overlay because it crashes on new RR Noughat sources

Add ota_conf

Sync RR sources

Change build status to weekly

P.S. If somebody whants to test unstable TWRP N, it is there:

https://basketbuild.com/devs/tank0412/TWRP/T00F_N
[Zenfone 5 Android Development] Davega:
I want to test TWRP, how to install? Can you make it to zip ?
[Zenfone 5 Android Development] FusuyevO:
gapps

Which gapps should ı download ? I want smallest one.Need only play store.
[Zenfone 5 Android Development] tank0412:
Opengapps pico
[Zenfone 5 Android Development] tank0412:
It is unstable. So it will be hard for you to restore stable TWRP.
[Zenfone 5 Android Development] fakhri_adi551:
Is the offline charging animation changed ?
[Zenfone 5 Android Development] tank0412:
Yeah. It is fixed.
[Zenfone 5 Android Development] Boomshiva:
Hello dev , did you check the sensor issue (proximity bug)
[Zenfone 5 Android Development] fakhri_adi551:
wow ... sound good . i will try now
[Zenfone 5 Android Development] FusuyevO:
what need to do update ? redownload and flash ? or its updating automaticaly ? if redownload and flash,my files will be deleted ? thanks..
[Zenfone 5 Android Development] Hiidx:
i geting the error: 'E: Error executing updater binary in zip ', 'Error flashing zip' and a red msg 'Failed'.

Tried so many times but not success. If anoyne know whats wrong and can help will apreciate it. Thanks!

edit: Just updated TWRP to 3.0.2 and worked.
[Zenfone 5 Android Development] jhephoy:
When can you make final and stable build?
[Zenfone 5 Android Development] PzainXD:
Bro [MENTION=8005486]juyel92[/MENTION]..

On latest build just

1. Flash rom

2. Flash Gapps

3. Wipe dalvik and cache

4. Flash su addon

5. Reboot

Or this build has any additional steps?
[Zenfone 5 Android Development] tank0412:
I think current build is stable enough, is not it?
[Zenfone 5 Android Development] doganay08:
Hello tank

I asked a question about multi window

In split screen the windows cannot be resized.

THANK YOU NOW FOR HELP
[Zenfone 5 Android Development] tank0412:
I do not know what to do with this.

It can be a bug of RR sources or a fault of overlay in device tree.

Anyway i saw your messages and i will check it.
[Zenfone 5 Android Development] doganay08:
thank you for this perfect rom and work.
[Zenfone 5 Android Development] PzainXD:
This rom are stable.. U did great job bro tank..
[Zenfone 5 Android Development] doganay08:
He worked prior to version 21.03 2017.

---------- Post added at 09:13 AM ---------- Previous post was at 09:08 AM ----------

He worked prior to version 21.03 2017.
[Zenfone 5 Android Development] adekcan:
it's boot.zip ???

i need restore my backup but i don't have boot.zip

twrp 3.0 M5 on zenfone 5 not support backup boot

i've been tried boot.img in your room, but not boot
[Zenfone 5 Android Development] recep74:
so do sensors work now for zf6?
[Zenfone 5 Android Development] Faieqwan:
I got my wifi connection disconnected when my device goes to sleep.. I have did as shown in screenshot but the problem still happen.. What should i do guys? ?
[Zenfone 5 Android Development] juyel92:
The latest build is already rooted. So no need to flash su addon.

1. Flash the ROM.

2. Flash gapps

3. Wipe cache and dalvik cache

4. Reboot.

After booting, just uninstall magisk manager like before. And then reboot again. You will get the option for root access in developer option.

This build is already pre-rooted, just because of magisk manager, root option is missing from developer menu. Just uninstall it and then reboot.

So flashing the ROM and gapps is enough. No need to flash su addon again.
[Zenfone 5 Android Development] PzainXD:
Ouh.. Im already flash su addon..

Any problem will come? Or nothing happen?

(Sorry bad english)
[Zenfone 5 Android Development] juyel92:
Nothing will happen bro. Just chill?
[Zenfone 5 Android Development] PzainXD:
Haha.. Sorry.. How about the kernel?
[Zenfone 5 Android Development] macuilxochitlwind:
Does the latest update solved problems on houdini library? E.g. Some ARM apps can't run on 32bit devices because of the lack of houdini.
[Zenfone 5 Android Development] juyel92:
Till now kernel is doing the great job. After flashing the new kernel, I'm not facing any proximity sensor related bug (like proximity sensors stays on even after screen is unlocked). I think this bug is solved?

Thanks to [MENTION=5875920]tank0412[/MENTION]
[Zenfone 5 Android Development] PzainXD:
Do i need to flash the kernel? Im on asus zen5 t00j
[Zenfone 5 Android Development] juyel92:
When i flashed this zip file, it worked for me.

I don't know why it doesn't worked for you?

---------- Post added at 04:48 PM ---------- Previous post was at 04:43 PM ----------

If you want then you can flash this new kernal. It will solve the proximity sensor bug issue. Till now I didn't got any proximity related problem. It works fine .

Steps for flashing the kernal -

1. Download the new boot.img zip file from previous post by tank0412

2. Reboot to recovery.

3. Flash the new kernal.

4. Wipe cache and dalvik cache.

5. Reboot.
[Zenfone 5 Android Development] recep74:
i tested the latest build and secreen rotation still does not work for zf6 : (
[Zenfone 5 Android Development] anikadhi94:
Keeps rebooting into droidboot. [MENTION=5875920]tank0412[/MENTION] please fix the screen freeze problem. This rom is awesome but only the screen freeze until restart stops it from becoming the daily driver. My device is t00f, how do i get the logcat?
[Zenfone 5 Android Development] juyel92:
There are several ways to get a log from TWRP. The easiest is to tap on advanced and the use the Copy Log button. This will place the log on your storage device. For most devices this will be /sdcard/recovery.log but on some devices it might be in /data/media/recovery.log or wherever your internal storage is located.

You can also pull the log Via adb . The most up-to-date log can be pulled with this command:

adb pull /tmp/recovery.log

Or You may also be able to find the log in cache. It can either be in /cache/recovery/log or /cache/recovery/last_log

---------- Post added at 02:40 AM ---------- Previous post was at 02:28 AM ----------
[Zenfone 5 Android Development] juyel92:
Then try to flash the lower version of SuperSU.

But why you need to flash the SuperSU. This latest build is already pre-rooted.

If still your device is not rooted or you are getting error in flashing SuperSU, then download the SU Addon from below and flash it in recovery.

After flashing reboot system.

If you have magisk manager app installed then uninstall it after flashing the SU Addon and then reboot again. Then you will get option of root access in developer menu.
[Zenfone 5 Android Development] minhduongtrung:
Deleted
[Zenfone 5 Android Development] Davega:
Recovery or TWRP ?