yashsingh1/xdaforums huggingface dataset:
[Zenfone 5 Original Android Development] ZenI717:
another bugs i found.

-video play lags at the beginning(audio comes out but no video just black)

-no vibrate

-recent menu lags

-the signal bar just show one sim but both working
[Zenfone 5 Original Android Development] tank0412:
Yeah, i know about problem with video playing but only this way camera recording was fixed. So if i fix video playing, you will not be able to record videos via camera.

Android 5.0.2 does not have a native support of second SIM (only AOSP 5.1. got native support of second SIM) So I was surprised when i heared that second SIM at least works on my AOSP 5.0.2.

I did not test vibrator.patch on AOSP roms but i think that it will work on CM-based roms only.

Also i did not see any lags but i test latest AOSP build only 5 minutes (Oops) :D
[Zenfone 5 Original Android Development] dgadelha:
[MENTION=5875920]tank0412[/MENTION]

This should work for AOSP: https://github.com/zf5mk/android_frameworks_base/commit/e30c904aa23b7cfe82c259987fd3f53245025e9d

I've tested it although I dont know if the Patch will work, but you should try

DIFF Patch

If it doesn't, just add the modifications on services/core/java/com/android/server/VibratorService.java and replace services/core/jni/com_android_server_VibratorService.cpp

Thanks!
[Zenfone 5 Original Android Development] KonikoO:
Glad to see that there's some possible fix for this issue =D. I just wonder if you could check something for that Data connection which is missing.
[Zenfone 5 Original Android Development] dgadelha:
Multi-Sim support was added natively on Android 5.1: http://www.gizmag.com/android-5-1-update/36468/ 5.0 doesn't support that natively
[Zenfone 5 Original Android Development] tank0412:
Yeah, vibrator.patch from CM is incompatible with AOSP

I got many this errors:

patching file Android.mk
Hunk #1 FAILED at 149.
1 out of 1 hunk FAILED -- saving rejects to file Android.mk.rej
patching file core/java/android/os/IVibratorService.aidl
Reversed (or previously applied) patch detected! Assume -R? [n]

The problem is i have not applyed any patches before so it is a strange error.
[Zenfone 5 Original Android Development] dgadelha:
Apply manually the way I told you.

I did and it worked, vibration works.

ALSO, the one I sent you doesn't even modify Android.mk

You're using the wrong. Use the one from the link above
[Zenfone 5 Original Android Development] Boomshiva:
hello i installed aosp rom nd then locked my bootloader so i cant flash any other boot image for fixing vibration (like xanwar kernel) so is there any workaround to fix this. and yes after locking bootloader the screen freezes i.e i cannot touch anything :(
[Zenfone 5 Original Android Development] tank0412:
Use unbrick method to fix bootloader.

After unlock you will get a phone with correctly locked bootloader. After that you can flash AOSP rom.
[Zenfone 5 Original Android Development] Boomshiva:
thank you its fixed but vibrator is not working any workaround ?
[Zenfone 5 Original Android Development] arraiyan123:
Prevision for the next update?
[Zenfone 5 Original Android Development] tank0412:
All bugs was fixed exept GPS&FM, is not it?
[Zenfone 5 Original Android Development] arraiyan123:
But [MENTION=5875920]tank0412[/MENTION] can you shared it via google drive?

It says download expired when downloading...
[Zenfone 5 Original Android Development] akiralee:
Vibrator is not working...
[Zenfone 5 Original Android Development] tank0412:
Oops. :D

Vibrator works on AOSP 5.1 (it uses kernel which was compiled from kernel sources by me) so i think that it is not a fault of rom or device tree.

AOSP 5.0.2 use stock kernel so vibrator can be dead due to it. (IMHO)
[Zenfone 5 Original Android Development] dgadelha:
Nope, you must patch AOSP 5.0.2 base framework, but you should use this patch. I've already tested it and it works.
[Zenfone 5 Original Android Development] LawrenceR2:
Gapps

Installing Gapps? I can not unlock bootloader :confused:
[Zenfone 5 Original Android Development] dgadelha:
Unlock bootloader, install and relock. Simple.
[Zenfone 5 Original Android Development] akiralee:
dude... have any idea for avoid freezing cause unlocking bootloader?...
[Zenfone 5 Original Android Development] ChristopherXI:
He said unlock to install gapps then relock it.
[Zenfone 5 Original Android Development] akiralee:
I mean that we can use another rom, not only aosp 5.0.2 within unlocking bootloader and no freezing... not for install gapps...
[Zenfone 5 Original Android Development] kihope12:
but in service centrer will know obout unlock

:D i think
[Zenfone 5 Original Android Development] dgadelha:
They won't if you relock it....

Trust me, I've done it and sent my phone to service center.
[Zenfone 5 Original Android Development] kihope12:
I too, but i dont remeber if i lock themm i think yes and i pay 150 dolars for new motherboar ._. :D but it maybe beacuse i had problems with relocking so my relock didnt work right :D ._.

BUT, thanks for this good news :D
[Zenfone 5 Original Android Development] SteinAkuma:
No gapps? And this ROM have low performance
[Zenfone 5 Original Android Development] akiralee:
150 dollars for new motherboard?... that money can buy another zen 5...
[Zenfone 5 Original Android Development] kihope12:
it was about 3000,- czech moneys, transport cost about 650,- from this sum, so it is 135-150 euros :/ new zenfone cost obout 200,- in my cauntry and i wont make some ZenUI themes, so i need my zenfone :)

BUT IT ISNT point of this thread :)
[Zenfone 5 Original Android Development] leonardohenrique10:
With the Android M bootable ROMs, I think this ROM will no more to be updated :crying:
[Zenfone 5 Original Android Development] tank0412:
Yeah, I will work on Marshmallow.
[Zenfone 5 Original Android Development] swiczak:
Good rom ;)
[Zenfone 5 Original Android Development] Emresaygin:
Bro please you add gapps packet rom...

---------- Post added at 05:30 PM ---------- Previous post was at 05:23 PM ----------

YouTube any work this rom ?
[Zenfone 5 Original Android Development] leonardohenrique10:
Yes, YouTube works.
[Zenfone 5 Original Android Development] Geeki_Review:
sir i installed this rom but dont find gapps

So how do i install gapps without unlocking bootloader
[Zenfone 5 Original Android Development] kihope12:
try unzip gapps package and move all aps to right directory try google for some tutorials :D
[Zenfone 5 Original Android Development] adhit_barker:
Is it stable bro [MENTION=5875920]tank0412[/MENTION]?
[Zenfone 5 Original Android Development] adhit_barker:
Bro [MENTION=5875920]tank0412[/MENTION] i have problem, why after i instal xposed can make my photo not view at galery n my song can douplikat 3 or 4 at music where file is 1? Before i instal xposed just normal

Anyone can help me??
[Zenfone 5 Original Android Development] cnswico:
Simple solution.

1. Unlock your bootloader (temporarily). Use (this bootloader unlock tool).

Just select option 1, then option 1 again.

2. Install a custom recovery (TWRP, preferably).

3. Flash it via TWRP.

4. Confirm GApps are installed by rebooting normally.

5. Re-lock the bootloader.

Regarding TWRP, just Google it. It should lead you to its XDA thread. We're all grown-up here.
[Zenfone 5 Original Android Development] cnswico:
I guess I pretty much have only one problem with this... Only one SIM works? I've a dual-SIM ZF5 and I use both of them. Would be nice if you could get both SIM slots working.
[Zenfone 5 Original Android Development] adhit_barker:
Do u using this rom?
[Zenfone 5 Original Android Development] cnswico:
Yes. Yes, I am. I'm using the 5.0.2 ROM. Only SIM 1 works. SIM 2 doesn't. Plus, if I try to install a messaging app that supports dual-SIM use (like ASS-US Messaging), it fails to install.
[Zenfone 5 Original Android Development] adhit_barker:
I not get bug that, i just using SIM 1..

but i get problem media, i understand how can like that
[Zenfone 5 Original Android Development] cnswico:
Well, if there's no way to fix the dual-SIM issue, I guess I should just head back to ASS-US stock Lollipop. I need both of my SIMs.

If AOSP 6.0 comes out, however, I'll be willing to throw away my 2nd SIM :)
[Zenfone 5 Original Android Development] adhit_barker:
May be u can question [MENTION=5323266]tank[/MENTION] to help U..

If i understand about building rom maybe i will fix it
[Zenfone 5 Original Android Development] TrueMS:
So I heard that you can flash this rom without unlocking bootloader, my question is: If I now lock bootloader with TWRP, will TWRP work? Using 3.0.2.x
[Zenfone 5 Original Android Development] cnswico:
I don't think so. But in the instances when I need TWRP, like flashing GApps, I unlock the bootloader temporarily to do so (just to be sure). When I don't need it anymore, I reflash stock recovery and relock the bootloader.
[Zenfone 5 Original Android Development] adhit_barker:
If dev build until stable and little bug maybe many People (people feel frezzing) want use this rom, because can lock bootloader
[Zenfone 5 Original Android Development] cnswico:
Yo, [MENTION=5875920]tank0412[/MENTION], does your ROM support Dual-SIM functionality? I tried using it once, but all it was able to detect was my one of my SIMs. Perhaps I may have done something wrong. Could you please verify if it works? Thanks!
[Zenfone 5 Original Android Development] tank0412:
The problem is Google does not add support of second SIM to Android 5.0.2.

They have added it since Android 5.1. only.
[Zenfone 5 Original Android Development] cnswico:
Oh. Ok. Thanks for the heads-up!

If ever you have plans for that (or 6.0), I'll greatly consider it. Great work!
[Zenfone 5 Original Android Development] adhit_barker:
Maybe This rom not Continue, i still use the rom but my song douplicate in my music, maybe it bug of media
[Zenfone 5 Original Android Development] TrueMS:
Well, so if it uses stock kernel and not locked bootloader, it should fix laggy 1080p video, or not? (If I again re-lock it)
[Zenfone 5 Original Android Development] tank0412:
No.

It is a bug of first Lollipop device tree like GPS and FM.
[Zenfone 5 Original Android Development] adhit_barker:
How fix this bug brow [MENTION=5875920]tank0412[/MENTION]
[Zenfone 5 Original Android Development] cnswico:
Is this topic even still breathing? I don't think it is. I'm losing hope on my ZenFone 5. Stupid ASS-US had to ship "defective" ones along with the other good models.
[Zenfone 5 Original Android Development] TrueMS:
Can I access root in this rom?
[Zenfone 5 Original Android Development] cnswico:
Link is dead.
[Zenfone 5 Original Android Development] dgadelha:
Updated patch :)
[Zenfone 5 Original Android Development] arraiyan123:
[MENTION=5875920]tank0412[/MENTION] are you abandoned this rom??
[Zenfone 5 Original Android Development] cnswico:
It's been a while since the last update.

And if you check OP's post history, you could conclude that he is very focused on Resurrection Remix.

I'd understand the fact that he may have very well abandoned this project. It's very unlikely he will be giving out some new update. Let's just move on with this.

The Gist: Yes. He has probably abandoned it. (I said "probably". Go and PM OP if you want to be sure.)
[Zenfone 5 Original Android Development] cnswico:
Question here. How exactly do I patch that? Do I use the Terminal Emulator or something?
[Zenfone 5 Original Android Development] dgadelha:
On sources, before build the ROM.

If you're a user, you can't do anything.
[Zenfone 5 Original Android Development] adhit_barker:
How tow fix this bug bro [MENTION=6292495]dgadelha[/MENTION] , maybe u can help me
[Zenfone 5 Original Android Development] dgadelha:
Sorry, I don't understand your language.

What's your issue?
[Zenfone 5 Original Android Development] adhit_barker:
In album asus my photo not see.. N my music 1 file view tow 4 in all app music

Sory for my bad english
[Zenfone 5 Original Android Development] AkumaStein:
ROM lags too much, fix it please
[Zenfone 5 Original Android Development] TUSAB:
thanks

a502cg working in the model? :( Have ROM a502cg ? :'(
[Zenfone 5 Original Android Development] LuanHalaiko:
No, dosn't support
[Zenfone 5 Original Android Development] TUSAB:
Please developed a ROM for a502cg
[Zenfone 5 Original Android Development] Vingador_Prime:
Pensando em usar...

Based on cyanogenmod or made from scratch? Is she odexed? thank you!
[Zenfone 5 Original Android Development] pedromd:
Prevision to next update [MENTION=5875920]tank0412[/MENTION]
[Zenfone 5 Original Android Development] tank0412:
Guys, major update is released ( system_06012016.img )

Changelog:

Wi-Fi was fixed

Houdini was fixed

Rom become much stable

Camera was totally fixed

Minor fixes for audio

Removed many apps from Asus stock.

The main bug is a RIL. It is still dead.
[Zenfone 5 Original Android Development] vitoor051:
can be used daily now ?
[Zenfone 5 Original Android Development] tank0412:
Nope. RIl (baseband) is dead.
[Zenfone 5 Original Android Development] pedromd:
Thank to update
[Zenfone 5 Original Android Development] LuanHalaiko:
tank, do you think you can fix the Houdini and vibration in Aosp 5.1.0?
[Zenfone 5 Original Android Development] tank0412:
I will try to build AOSP 5.1.0 tomorrow using device tree from AOSP 5.0.2. I think that Houdini will be fixed but i do not know what to do with RIL and vibration. It need more research.
[Zenfone 5 Original Android Development] LuanHalaiko:
RIL is working on AOSP 5.1.0 you can get something from that rom I think, and if I instal with RIL unstable will it be Force closes like houdini?
[Zenfone 5 Original Android Development] tank0412:
I have already fixed Houdini so you will not get force closes but RIL is stay dead.
[Zenfone 5 Original Android Development] akiralee:
[MENTION=5875920]tank0412[/MENTION] please add some Screenshot to make it more interesting... :D i'm waiting for your stable rom...
[Zenfone 5 Original Android Development] tank0412:
What about this?

http://xdaforums.com/devdb/project/?id=13285#screenshots

Rom is stable now (no random reboots and crashes of SystemUI due to Houdini) but RIl (baseband) is dead.
[Zenfone 5 Original Android Development] mado79:
Good luck [MENTION=5875920]tank0412[/MENTION] , I trust you can a good job!

Inviato dal mio ASUS_T00J utilizzando Tapatalk
[Zenfone 5 Original Android Development] pedromd:
When tank set ril I can finally use a visual AOSP rom without freezing in my zenfone 5 as there is no solution for them thanks [MENTION=5875920]tank0412[/MENTION]
[Zenfone 5 Original Android Development] LuanHalaiko:
[MENTION=5875920]tank0412[/MENTION] Since is the thread says "Stock kernel 3.24.40.78" that means that I can flash Borets24 kernel? or is just compiled with 3.24.40.78?
[Zenfone 5 Original Android Development] tank0412:
If my memory does not fail me, it will not work.
[Zenfone 5 Original Android Development] akiralee:
oh thanks... i forgot that tag... ill use your rom until you fix that bug and make it more stable... :highfive:... thanks for your rom...
[Zenfone 5 Original Android Development] XHook:
Rom which you have an interest that is ported to Zenfone 5?

http://xdaforums.com/zenfone-5/help/rom-ported-to-zenfone-5-t3289589
[Zenfone 5 Original Android Development] pedromd:
Prevision next update?
[Zenfone 5 Original Android Development] tank0412:
No.

I do not know how to fix other bugs.
[Zenfone 5 Original Android Development] akiralee:
You are not fixing this rom?... just let it fail??? Tell quanganh2627 for some help?
[Zenfone 5 Original Android Development] tank0412:
quanganh2627 tried to build AOSP and he got a dead RIl too. Moreover he do not know how to fix it.

I know that Omni rom was build at August 2015 for Zenfone5 by another developer. But this rom was not shared due to dead RIL. My rom at least was shared.
[Zenfone 5 Original Android Development] mathan7:
how to backup current rom to system.img ?
[Zenfone 5 Original Android Development] akiralee:
thanks for share but we cant use it withou calling... maybe we have to wait more...
[Zenfone 5 Original Android Development] tank0412:
I have already dropped a line to twitter of Tran Huu Tin. Only he can help me.
[Zenfone 5 Original Android Development] akiralee:
Hope he can... :) but i hope asus will release unlock app v2 for 5.0 more... maybe it will fix freezing issue
[Zenfone 5 Original Android Development] pedromd:
Link?
[Zenfone 5 Original Android Development] Viinnys:
Update?
[Zenfone 5 Original Android Development] pedromd:
awaiting update with RIL fixed because my only chance with custom roms without freezing is that rom
[Zenfone 5 Original Android Development] dgadelha:
[MENTION=5875920]tank0412[/MENTION] there may be a chance to get RIL working

initally, check the RIL class variable on the mk files. i found that the RIL on my CM build wasn't working because the path works as RELATIVE to the directory that 'make' was at the moment that the class was required. so, check for build warnings/errors like this one:

'../../../device/asus/a500cg/ril: not found'

anyway, Google has moved RIL.java to another directory on commit a639b311e93ad14d9ee5c2b2c215ed2d86c32d2a (change-id: If6cb3c6ff952767fc10210f923dc0e4b343cd4ad) with the creation of telephony-common

you can see more info about the commit here: https://github.com/android/platform_frameworks_base/commit/a639b311e93ad14d9ee5c2b2c215ed2d86c32d2a

they moved RIL.java from platform/frameworks/base/telephony/java/com/android/internal/telephony/RIL.java to platform/frameworks/opt/telephony/src/java/com/android/internal/telephony/RIL.java

and I recommend to use GitHub's History feature to check what broke the RIL with our device on old RIL

History for RIL on frameworks/base: https://github.com/android/platform.../java/com/android/internal/telephony/RIL.java

and Google's Git Blame or even Log feature to check the same thing on new RIL

Blame https://android.googlesource.com/pl.../java/com/android/internal/telephony/RIL.java

Log https://android.googlesource.com/pl.../java/com/android/internal/telephony/RIL.java

this may help with something, although I do not have any experience with RIL classes etc

also, if a AOSP is not possible, there's a chance to get CyanogenMod 12 with base as 5.0.2 and mod the stock kernel

I guess Asus wants that everyone stay on their horrible and bloated stock ROM, as they don't provide us a single line of code from anything but kernel (if there wasn't open source licenses, I guess they wouldn't even share this!)

unless people do something like a petition to make asus distribute device files or even build aosp/cyanogenmod on their own servers and allow us to choose the operating system of our device, we'll be stuck here needing help of more experient developers
[Zenfone 5 Original Android Development] shobint7:
[MENTION=5875920]tank0412[/MENTION] did u used this method is this method working?
[Zenfone 5 Original Android Development] tank0412:
No because i think that it is useless.

Anyway i do not have any error like this:

'../../../device/asus/a500cg/ril: not found'
[Zenfone 5 Original Android Development] shobint7:
So is their is any method to solve this ril issue I'm just waiting for this ROM!!
[Zenfone 5 Original Android Development] dgadelha:
I tried to help. Also, this isn't an error, it's a warning/notice. Build will not fail because of it, so you must look for it on make output.
[Zenfone 5 Original Android Development] akiralee:
[MENTION=5392204]quanganh2627[/MENTION] , [MENTION=5875920]tank0412[/MENTION] , help us build this rom...
[Zenfone 5 Original Android Development] kihope12:
WoW o.O very nice and smooth rom, it is very detriment then ril dont work :/

ps: only one sim load
[Zenfone 5 Original Android Development] pedromd:
Fix bugs please
[Zenfone 5 Original Android Development] kihope12:
maybe it will help y

http://23pin.logdown.com/posts/244949-zenfone-aosp-rom
[Zenfone 5 Original Android Development] akiralee:
it can work 1 sim???
[Zenfone 5 Original Android Development] ChristopherXI:
WUT? ONE SIM WORKED FOR YOU? DID YOU GET ANY SIGNALS? I'm hesitant to install this rom because the baseband is dead. IF ONE SIM WORKS I'M ROOTED TO THIS ROM 4EVER

---------- Post added at 12:10 PM ---------- Previous post was at 12:05 PM ----------

Have you [MENTION=5875920]tank0412[/MENTION] asked Knonenull for help? He's using a Zenfone 2 but i think he could help us out a little bit
[Zenfone 5 Original Android Development] akiralee:
try it to make sure one sim works....
[Zenfone 5 Original Android Development] kihope12:
NO SIGNAL and FAKE IMEI so backup your imei before instalation!! y will got imei like 00004589blabla so it is bad, BACKUP your imei before instaling

---------- Post added at 05:31 PM ---------- Previous post was at 05:29 PM ----------

Without signal , but i think then this aosp cant use bouth sims

---------- Post added at 05:32 PM ---------- Previous post was at 05:31 PM ----------

Without signal , but i think then this aosp cant use bouth sims
[Zenfone 5 Original Android Development] akiralee:
If we back up imei, we can use? Or still not get signal?
[Zenfone 5 Original Android Development] kihope12:
I didnt try restore my imei on asp, i restored them on official system,but it will maybe work...
[Zenfone 5 Original Android Development] pedromd:
[MENTION=5875920]tank0412[/MENTION] fix baseband please
[Zenfone 5 Original Android Development] tank0412:
Ok. I will share all my plans according to this rom.

I plan to build AOSP 5.1.0/CM12.1 builds. If i fix RIL/Audio/Media on AOSP 5.1.0 /CM12.1, i will build AOSP 5.0.2. Just wait.

And can you install this AOSP 5.0.2 rom and publish logcat here? (after booting try to manually search the network)
[Zenfone 5 Original Android Development] Emresaygin:
You think update this rom and fix ril ?
[Zenfone 5 Original Android Development] tank0412:
On this moment i am working on AOSP 5.1.0 rom.

If i fix RIL on AOSP 5.1.0, I will make a build of AOSP 5.02. with needed fixes.
[Zenfone 5 Original Android Development] Emresaygin:
Ok goog luck :)
[Zenfone 5 Original Android Development] pedromd:
Waiting update
[Zenfone 5 Original Android Development] Emresaygin:
[MENTION=5875920]tank0412[/MENTION] when you update this rom ?

ı wait...
[Zenfone 5 Original Android Development] tank0412:
OK. OK.,

I re-downloaded AOSP 5.0.2 and started building. Maybe i release new build today.
[Zenfone 5 Original Android Development] tank0412:
Guys, new AOSP 5.0.2 build is alive, it's alive! IT'S ALIVE!

And project is not dead. xD

Changelog: (system_14022016.img file)

Using blobs files from WW V3.24.40.87

Using stock kernel from WW V3.24.40.87 (boot_3.24.40.87.img file)

Using another RIL class (Unfortunatly, RIL is stay dead)
[Zenfone 5 Original Android Development] akiralee:
Im waiting for this speech for a long time :))

Keep working, we are still waiting for you..
[Zenfone 5 Original Android Development] Emresaygin:
thank you hard works. I wait you fix ril...

Good luck...

---------- Post added at 01:02 PM ---------- Previous post was at 12:30 PM ----------

Omg :eek: Bugs list very much :)

Please you first fix Ril...
[Zenfone 5 Original Android Development] arraiyan123:
Hi [MENTION=5875920]tank0412[/MENTION] I love this ROM because this Rom never freezes. But please fix audio & vibrator. I always play my songs in my phone. But in this ROM, audio sometimes work and not working. And please make this ROM more stable, systemui restart often. And please add gapps in next build. Thanks for replying & Sorry for my bad english
[Zenfone 5 Original Android Development] tank0412:
Del
[Zenfone 5 Original Android Development] tank0412:
Really?

SystemUI must not restart. Which build do you use? And can you provide logcat or last kmsg?
[Zenfone 5 Original Android Development] arraiyan123:
I'm on stock now, so I can't give a logcat to you. I use 2nd build before the latest one. And I got the camera error 'can't connect to camera' so I need to restart or clear camera data. That's it.

Sorry I can't quote your reply, I don't know how to using xda again after I leave it 2 years ago.
[Zenfone 5 Original Android Development] tank0412:
Guys, RIL is fixed. xD

The main problem is this build was made in zip archive for TWRP. So you should install TWRP to flash it.