Need help to build AOSP 5.0.2 - Zenfone 5 Q&A, Help & Troubleshooting

Hey guys, I'm trying to build a AOSP 5.0.2 to use with stock kernel in my phone (I have the freeze issue, and I want a pure Lollipop ROM, because Stock ROM is a great sh*t)
I already downloaded the sources, device tree and vendor tree, put all files in specific folders according to this tutorial: http://forum.xda-developers.com/zen...w-to-compile-roms-zenfone-5-x86-chip-t3312889
But when I try to build, I'm getting this error: https://s31.postimg.org/4tqyt91pn/Captura_de_tela_de_2016_07_07_20_17_15.png
Since this is my first time building a ROM from source, I don't know what's wrong...
Anyone could help me? Since all developers are building Marshmallow ROMs, I will try to build this ROM by myself for daily use

Man, i have already built AOSP 5.0.2 a half of year ago.
http://forum.xda-developers.com/zenfone-5/orig-development/alpha-aosp-lollipop-tank0412-t3284781
To fix your building error, you should use this hardware/intel folder:
https://github.com/tank0412/android_hardware_intel-1

tank0412 said:
Man, i have already built AOSP 5.0.2 a half of year ago.
http://forum.xda-developers.com/zenfone-5/orig-development/alpha-aosp-lollipop-tank0412-t3284781
Click to expand...
Click to collapse
Yes, I know. I used your ROM and liked it very much, but in the last build it lags so much. Also, vibrator isn't working, and I'll try to apply the vibration.patch to fix this.
tank0412 said:
To fix your building error, you should use this hardware/intel folder:
https://github.com/tank0412/android_hardware_intel-1
Click to expand...
Click to collapse
Thanks, this folder worked, fixed the above error. But now I get this after 44 mins of building: https://s31.postimg.org/ktcf8817f/Captura_de_tela_de_2016_07_08_13_49_18.png
EDIT: Fixed this, now I'm having problems with "hal/hal_public.h: No such file or directory".Trying to figure this....

leonardohenrique10 said:
Yes, I know. I used your ROM and liked it very much, but in the last build it lags so much. Also, vibrator isn't working, and I'll try to apply the vibration.patch to fix this.
Thanks, this folder worked, fixed the above error. But now I get this after 44 mins of building: https://s31.postimg.org/ktcf8817f/Captura_de_tela_de_2016_07_08_13_49_18.png
EDIT: Fixed this, now I'm having problems with "hal/hal_public.h: No such file or directory".Trying to figure this....
Click to expand...
Click to collapse
It looks like you applyed multidisplay patch but you can not apply patches for Marshmallow on Lollipop
Use hal_public.h from aosp device tree and put it to hal folder.

tank0412 said:
It looks like you applyed multidisplay patch but you can not apply patches for Marshmallow on Lollipop
Use hal_public.h from aosp device tree and put it to hal folder.
Click to expand...
Click to collapse
In what folder I should put the "hal" folder with "hal_public.h"? I put the "hal" folder in *Android-Source Code* folder and tried to build, and always I get this error:
https://s32.postimg.org/js807bqth/Captura_de_tela_de_2016_07_09_17_17_11.png

leonardohenrique10 said:
In what folder I should put the "hal" folder with "hal_public.h"? I put the "hal" folder in *Android-Source Code* folder and tried to build, and always I get this error:
https://s32.postimg.org/js807bqth/Captura_de_tela_de_2016_07_09_17_17_11.png
Click to expand...
Click to collapse
To hardware/intel/common/libmix/videoencoder
If you get same error but with another folder, just putl hal fodler to this folder.

tank0412 said:
To hardware/intel/common/libmix/videoencoder
If you get same error but with another folder, just putl hal fodler to this folder.
Click to expand...
Click to collapse
Man, you helped me a lot until now But this "intel" folder is fuc**** me
I got another error in build, from intel folder: https://s31.postimg.org/hwjgw2lt7/13621510_915931948552972_2004321755_o.jpg
And I'm already using the intel folder from your link
(Sorry if I'm disturbing you )

leonardohenrique10 said:
Man, you helped me a lot until now But this "intel" folder is fuc**** me
I got another error in build, from intel folder: https://s31.postimg.org/hwjgw2lt7/13621510_915931948552972_2004321755_o.jpg
And I'm already using the intel folder from your link
(Sorry if I'm disturbing you )
Click to expand...
Click to collapse
Try this intel folder:
https://github.com/n0ak/android_hardware_intel

Simple, use prebuilts whenever possible, then go adding things from source as you want.
That's how I did the Marshmallow.

tank0412 said:
Try this intel folder:
https://github.com/n0ak/android_hardware_intel
Click to expand...
Click to collapse
I tried, and get the same error...
It's sad I didn't know what is wrong...
dgadelha said:
Simple, use prebuilts whenever possible, then go adding things from source as you want.
That's how I did the Marshmallow.
Click to expand...
Click to collapse
Can you give me an example how I could do that? (Yes, I'm still a noob)

leonardohenrique10 said:
Can you give me an example how I could do that? (Yes, I'm still a noob)
Click to expand...
Click to collapse
Instead of building them from source, delete the source and put the prebuilts (original .so files from stock) of the libraries of the sources that you removed at vendor/asus/(a500cg|T00F|ctp-common)/proprietary/system/lib

leonardohenrique10 said:
Yes, I know. I used your ROM and liked it very much, but in the last build it lags so much. Also, vibrator isn't working, and I'll try to apply the vibration.patch to fix this.
Thanks, this folder worked, fixed the above error. But now I get this after 44 mins of building: https://s31.postimg.org/ktcf8817f/Captura_de_tela_de_2016_07_08_13_49_18.png
EDIT: Fixed this, now I'm having problems with "hal/hal_public.h: No such file or directory".Trying to figure this....
Click to expand...
Click to collapse
Do you continue building rom aosp 5.0.2?
Sent from my ASUS_T00F using XDA-Developers mobile app

adhit_barker said:
Do you continue building rom aosp 5.0.2?
Sent from my ASUS_T00F using XDA-Developers mobile app
Click to expand...
Click to collapse
Yes, I'm trying, but I'm getting an error that I don't know how to fix (at now)... (It's an undefined reference)
I'm trying to fix this at now...

leonardohenrique10 said:
Yes, I'm trying, but I'm getting an error that I don't know how to fix (at now)... (It's an undefined reference)
I'm trying to fix this at now...
Click to expand...
Click to collapse
Owhh yeaa, maybe i will wait your build.. U can talk @tank how to fix that..
Sent from my ASUS_T00F using XDA-Developers mobile app

Waiting your Build too

adhit_barker said:
Owhh yeaa, maybe i will wait your build.. U can talk @tank how to fix that..
Sent from my ASUS_T00F using XDA-Developers mobile app
Click to expand...
Click to collapse
I tried to contact him, he helped me a lot, but didn't replied about this error...
I'll try to contact other developers too.

leonardohenrique10 said:
I tried to contact him, he helped me a lot, but didn't replied about this error...
I'll try to contact other developers too.
Click to expand...
Click to collapse
Okkk.. I will wait your build too..
If i ubl my phone freeze
Sent from my ASUS_T00F using XDA-Developers mobile app

adhit_barker said:
Owhh yeaa, maybe i will wait your build.. U can talk @tank how to fix that..
Sent from my ASUS_T00F using XDA-Developers mobile app
Click to expand...
Click to collapse
AkumaStein said:
Waiting your Build too
Click to expand...
Click to collapse
adhit_barker said:
Okkk.. I will wait your build too..
If i ubl my phone freeze
Sent from my ASUS_T00F using XDA-Developers mobile app
Click to expand...
Click to collapse
The ROM was successful build, with @dgadelha help
When we fix the bugs, I'll publish it!

leonardohenrique10 said:
The ROM was successful build, with @dgadelha help
When we fix the bugs, I'll publish it!
Click to expand...
Click to collapse
Relly??
Sent from my ASUS_T00F using XDA-Developers mobile app

adhit_barker said:
Relly??
Sent from my ASUS_T00F using XDA-Developers mobile app
Click to expand...
Click to collapse
Yes, really:
https://s31.postimg.org/7yjyx2q4b/Screenshot_2016_08_01_01_07_27.png
https://s32.postimg.org/mesmf2fit/Screenshot_2016_08_01_01_08_04.png

Related

ICS Port - coming closer to reality ?

Paul @Modaco has uploaded the boot, system and recovery images from a test Nexus. I presume the dev's will begin work on a proper port of ICS now using that instead of trying to hack the SDK...
deccos1804 said:
Paul @Modaco has uploaded the boot, system and recovery images from a test Nexus. I presume the dev's will begin work on a proper port of ICS now using that instead of trying to hack the SDK...
Click to expand...
Click to collapse
You presumed wrong. A dump of boot, system and recovery is not the same as having the source code.
It's deodexed.
cann i flahs it witout wipe
TheSaw said:
cann i flahs it witout wipe
Click to expand...
Click to collapse
seriously? This is no rom and even if it was it is not for your phone
Sent from my GT-I9100 using XDA App
TheSaw said:
cann i flahs it witout wipe
Click to expand...
Click to collapse
trololololol.
deccos1804 said:
Paul @Modaco has uploaded the boot, system and recovery images from a test Nexus. I presume the dev's will begin work on a proper port of ICS now using that instead of trying to hack the SDK...
Click to expand...
Click to collapse
A dump of those components will be in the form of binary files which can't really be ported. You will need the source code to properly port software.
punshkin said:
seriously? This is no rom and even if it was it is not for your phone
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
LOL you've failed to see the sarcasm !
Well it's up and running according to here. Give it a day or two and I'm sure we'll have a public alpha. Oh and you can continue discussion on this over here to keep the thread uncluttered

Twrp v2.3 for o1

here is twrp v2.3 for our o1
http://teamw.in/project/twrp2/73
x dira i think u tried so how was it
Did you tried?its working?
Am I just blind, or is there no download link?
sweetnsour said:
Am I just blind, or is there no download link?
Click to expand...
Click to collapse
tap the github thing
vikasb32 said:
Did you tried?its working?
Click to expand...
Click to collapse
actually i dont have my phone right now so ya i havent but u can
sorry i havent informed
androidisfuture said:
tap the github thing
Click to expand...
Click to collapse
Under what category is it? The only thing github related that I found is under source code
EDIT: Actually can you post the download link here?
> It needs to be compiled
https://github.com/TeamWin/Team-Win-Recovery-Project/archive/jb-wip.zip
one click download
reply soon sweetnsour
neko95 said:
> It needs to be compiled
Click to expand...
Click to collapse
androidisfuture said:
https://github.com/TeamWin/Team-Win-Recovery-Project/archive/jb-wip.zip
one click download
reply soon sweetnsour
Click to expand...
Click to collapse
Yeah, I thought it was a flashable zip
Maybe next week or so, I'll give it a shot, but no promises though since I have never compiled anything before
sweetnsour said:
Yeah, I thought it was a flashable zip
Maybe next week or so, I'll give it a shot, but no promises though since I have never compiled anything before
Click to expand...
Click to collapse
hey u can try its always first time i am also eagrr to use so start complining
I got 2.3.3.0 compiled for the p500. PM me if you'd like to test it.
cougarcougar said:
I got 2.3.3.0 compiled for the p500. PM me if you'd like to test it.
Click to expand...
Click to collapse
> if it works, you can share it and proper credits to teamwin.
Sent from my little fingers.. to your face using XDA app
neko95 said:
> if it works, you can share it and proper credits to teamwin.
Sent from my little fingers.. to your face using XDA app
Click to expand...
Click to collapse
ya u r right i just forgot
2.3.2 wouldn't restore backups, but now it's fixed in 2.3.3. It just needs a few things worked out before i release it.
Big issue is the jb api that TWRP 2.3 uses. Some older zip files like kernels or patches won't flash. You have to swap out the update-binary in those zips.
cougarcougar said:
2.3.2 wouldn't restore backups, but now it's fixed in 2.3.3. It just needs a few things worked out before i release it.
Big issue is the jb api that TWRP 2.3 uses. Some older zip files like kernels or patches won't flash. You have to swap out the update-binary in those zips.
Click to expand...
Click to collapse
> well that did turn off me, i'll stick on 2.2 if thats the case
Sent from my little fingers.. to your face using XDA app
Release it i am waiting for it.
@cougarcougar, if you are there, please check your PM. Successfully flashed TWRP 2.3 but there is a major issue with your zip file.
sweetnsour said:
@cougarcougar, if you are there, please check your PM. Successfully flashed TWRP 2.3 but there is a major issue with your zip file.
Click to expand...
Click to collapse
Can you share recovery.plz
sweetnsour said:
@cougarcougar, if you are there, please check your PM. Successfully flashed TWRP 2.3 but there is a major issue with your zip file.
Click to expand...
Click to collapse
whats the issue

[SOURCE CODE ROM BUILD] [NOT FULL WoRKING]

https://github.com/victara
Need help to make working the builds...
CyanogenMod -> Reboot to recovery
Omnirom -> Bootloop
David_Vaz said:
https://github.com/victara
Need help to make working the builds...
CyanogenMod -> Reboot to recovery
Omnirom -> Bootloop
Click to expand...
Click to collapse
Hi David!
Can you send me the CM version?
I want to take a look.
Sent from my XT1097 using XDA Free mobile app
from where did you get : android_device_motorola_victara & proprietary_vendor_motorola
marcelotorres said:
Hi David!
Can you send me the CM version?
I want to take a look.
Sent from my XT1097 using XDA Free mobile app
Click to expand...
Click to collapse
View cm-11.0 branch
FlyinGrub said:
from where did you get : android_device_motorola_victara & proprietary_vendor_motorola
Click to expand...
Click to collapse
I write all.
David_Vaz said:
View cm-11.0 branch
I write all.
Click to expand...
Click to collapse
How is it going with CM11? Probably very early alpha I think? Or is most of it working?
nerotix said:
How is it going with CM11? Probably very early alpha I think? Or is most of it working?
Click to expand...
Click to collapse
CM11 reboot to recovery after flash
Omnirom bootloop
Need help to fix
http://wiki.cyanogenmod.org/w/Doc:_porting_intro
You are serious?
What about you ?
I try to help, if you don't like it don't ask for it.
I say this because I already did...
David_Vaz said:
I say this because I already did...
Click to expand...
Click to collapse
just to find out why it bootloops you could simply use the monitor tool provided with the android SDK
should give you more info as to why it bootloops
SDK/tools/{cmd here} monitor.exe
ADB is not working (no accept permission in device, no screen...)
up!
David_Vaz said:
ADB is not working (no accept permission in device, no screen...)
Click to expand...
Click to collapse
take a look at ramdisk give right permission for adb ro.debugable=1 someting like this in default.prop
0 to dissable 1 to enable debugging
make the boot insecure
also see if u have right usb.{hardware}.rc
goodluck
untill there is a working build to share I have moved this to the general.
When it works then PM me and I will review for moving

Cm13 on n920cd

Flash ,,,,,Jovy23,,,,, kernel
And boot up on stock Rom
Now reboot to recovery and flash cm13
Nice work on n920cd
No Random reboot
No random reboot for YouTube
alijamilabadi said:
Flash ,,,,,Jovy23,,,,, kernel
And boot up on stock Rom
Now reboot to recovery and flash cm13
Nice work on n920cd
No Random reboot
No random reboot for YouTube
Click to expand...
Click to collapse
Show me a screen shot of your kernel
any way to run it on N920G?
nishanta2006 said:
any way to run it on N920G?
Click to expand...
Click to collapse
Cm13 by battle hero.
LiL_Assassin said:
Cm13 by battle hero.
Click to expand...
Click to collapse
Thanks, but where is the link? I cant see it in the development section
UPDATE on N920G: I succesfully installed cm13 build by Battlehero. Then I installed the L Speed app and disabled kernel panic. That seems to have solved the random reboot issue. Sim card is working, i can make and receive calls. Testing it further....
nishanta2006 said:
UPDATE on N920G: I succesfully installed cm13 build by Battlehero. Then I installed the L Speed app and disabled kernel panic. That seems to have solved the random reboot issue. Sim card is working, i can make and receive calls. Testing it further....
Click to expand...
Click to collapse
There's a few triggers that cause random reboots. Let me know and I'll help
LiL_Assassin said:
There's a few triggers that cause random reboots. Let me know and I'll help
Click to expand...
Click to collapse
Any help with the camera?
nishanta2006 said:
Any help with the camera?
Click to expand...
Click to collapse
Nope. No can do on that..
nishanta2006 said:
Thanks, but where is the link? I cant see it in the development section
Click to expand...
Click to collapse
Found it, I agree it was careless the OP failed to mention the source.
http://forum.xda-developers.com/note5/general/device-fundraiser-cyanogenmod-note-5-t3280294
Turbine1991 said:
Found it, I agree it was careless the OP failed to mention the source.
http://forum.xda-developers.com/note5/general/device-fundraiser-cyanogenmod-note-5-t3280294
Click to expand...
Click to collapse
The source code links were mentioned on page 28 by @RaymanFX but here you go if you really need them https://github.com/CyanogenMod/android_device_samsung_noblelte-commonhttps://github.com/CyanogenMod/android_device_samsung_noblelte-common
Sent from my SM-N920T using XDA-Developers mobile app

[App ] Aegis [AIO app]:;hibernation,wakelocks,service off

Hey guys, I am new to xda developers ..I wanted to share somethings, one app particularly.[From Mokee Rom] All of you have used greenify Along with Amplify..These xposed module are one of the best. Well I found a app named Aegis which does all stuffs better than greenify and Also Controls wakakelocks like Amplify
..
it is really a great app..*hibernates *limits wakelocks
*controls background launches *Autorun control *
attached the zip, that's flashable...just Try it...:laugh:
Installed on my note 3,ican not find the app!!
Sent from my SM-N9005 using Tapatalk
Can I get the link?
lets hope it works good on RR rom like it works on mokee rom!
update - not working FC
Uninstall script plz
Try this one
Not tested but it should work
and I think you must be 6.0.1
can i use it on Lollipop ?
Điệp Khối said:
Can I get the link?
Click to expand...
Click to collapse
http://forum.xda-developers.com/attachment.php?attachmentid=3851026&d=1471899587
kuranzi said:
can i use it on Lollipop ?
Click to expand...
Click to collapse
Not sure..download the zip..and try installing apK.
3lambda said:
Try this one
Not tested but it should work
and I think you must be 6.0.1
Click to expand...
Click to collapse
I am on 6.0. tested in mokke
love4chat said:
lets hope it works good on RR rom like it works on mokee rom!
update - not working FC
Uninstall script plz
Click to expand...
Click to collapse
did it worked? bro I tried in mookke 6.0. and it worked... Maybe u should try installing apk....Or can you fix problem?
donvito62 said:
Installed on my note 3,ican not find the app!!
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
did u flashed the zip without having error? Maybe issues with lolipop!... Try just installing the apk(
~post deleted~
YechiamTK said:
Hi, I'm entirely new to the ARISE system (been using only v4a until I've reached this mod), and I'd like to know what should I install? Because in the main post there's an androidfilehost link with several possible downloads (deprecated, deuteronomy, exodus, numbers..).
Click to expand...
Click to collapse
Wrong thread Bro.
Sent from my SM-N930F using XDA-Developers mobile app
ctrlaltdeln said:
Wrong thread Bro.
Sent from my SM-N930F using XDA-Developers mobile app
Click to expand...
Click to collapse
Dear lord how did my post got here :0
Is this working for anyone?
larswars said:
Is this working for anyone?
Click to expand...
Click to collapse
sure, I am using..Others maybe
Not working for me lollipop.
Sent from my SM-N9005 using Tapatalk
donvito62 said:
Not working for me lollipop.
Click to expand...
Click to collapse
Which one you flashed ? Op one ?
And what you mean by not working ? FC ?
Doesn't work for me flashed no error booted up and don't see the app tried install it manually but doesn't work to install.
S7 edge
3lambda said:
Which one you flashed ? Op one ?
And what you mean by not working ? FC ?
Click to expand...
Click to collapse
Both of them.i cannot find the app.the apk file does not work either.
Sent from my SM-N9005 using Tapatalk

Categories

Resources