Built AOSP extended, sort of works. Someone give me a clue? - Xiaomi Mi MIX Questions & Answers

I posted in the main Android forum for help, but it's so busy there! I figured I may get some help in a more relevant device community. To avoid reposts, here is the original thread:
https://forum.xda-developers.com/android/help/help-build-source-failed-make-otapackage-t3831440
Big thanks to Psy_Man, I used his device tree and kernel to build.
If anyone wants to try my build it's here (use opengapps nano, stock seems to crash the setup wizard, probably because it removes webview). Everything seems to work but I have no clue how to fix anything so don't bother sending me logcats
https://drive.google.com/file/d/139H88lG-iDEK0C5AIsQn7l54eKnXq94s/view?usp=sharing

Inkypen said:
I posted in the main Android forum for help, but it's so busy there! I figured I may get some help in a more relevant device community. To avoid reposts, here is the original thread:
https://forum.xda-developers.com/android/help/help-build-source-failed-make-otapackage-t3831440
Big thanks to Psy_Man, I used his device tree and kernel to build.
If anyone wants to try my build it's here (use opengapps nano, stock seems to crash the setup wizard, probably because it removes webview). Everything seems to work but I have no clue how to fix anything so don't bother sending me logcats
https://drive.google.com/file/d/139H88lG-iDEK0C5AIsQn7l54eKnXq94s/view?usp=sharing
Click to expand...
Click to collapse
Maybe (very probably) I missed something but in your thread asking for help you say the problem is build doesn't complete, error at 99%, but then you do have a build that I think (from what some guys say in telegram) boots and all. So what do you need the help for exactly?
On the other hand I always found help posting my problems in the complete android rom development source to end thread, the one with like 900 pages and going....
https://forum.xda-developers.com/chef-central/android/guide-android-rom-development-t2814763

you should post on development section, if you want to keep updating the ROM, many people will try your ROM and help to test it and maybe will help for the solutions too.
here : https://forum.xda-developers.com/mi-mix/development

albertoduqe said:
Maybe (very probably) I missed something but in your thread asking for help you say the problem is build doesn't complete, error at 99%, but then you do have a build that I think (from what some guys say in telegram) boots and all. So what do you need the help for exactly?
On the other hand I always found help posting my problems in the complete android rom development source to end thread, the one with like 900 pages and going....
https://forum.xda-developers.com/chef-central/android/guide-android-rom-development-t2814763
Click to expand...
Click to collapse
I am a complete Linux noob, I have literally never used a compiler before in my life. Yes my build works and boots (which I am amazed at because it's my first try) but I need help in understanding why one way worked and the other way didn't. Thanks for the tip about the development guide

heindrix said:
you should post on development section, if you want to keep updating the ROM, many people will try your ROM and help to test it and maybe will help for the solutions too.
here : https://forum.xda-developers.com/mi-mix/development
Click to expand...
Click to collapse
I would post there, need to get my post count up first :laugh:

I made another test build after setting up my own github account, this time no compile errors at all, and I got an xxx-UNOFFICIAL.zip this time like I'm supposed to! Who knows why it didn't work the first time, but i'm (very) slowly getting the hang of this

Have made a build that works properly now, will make a dev page as soon as i'm allowed. if anyone wants to try it out it's here https://drive.google.com/open?id=1SQGaI4U0KeQQKJwq6EyRsa2VQph91oHA

Related

[Q] Rom Cooking .

Okay So Basically I Just Started Working With The Rom Kitchen Can Someone Give Me Some Pointers On How To Get A Specific Rom Booting or Anything Else I Need To Know ?
Man do yourself a favor a READ and search for awhile.... all you ever do is ask for handouts. Development is not easy. Its not just a matter of asking questions. You had 134 views of this page before I responded. That's 134 people that didn't wanna help you... if that doesn't say anything I dont know what will.
self proclaimed XDA resident prick
Jurellz said:
Okay So Basically I Just Started Working With The Rom Kitchen Can Someone Give Me Some Pointers On How To Get A Specific Rom Booting or Anything Else I Need To Know ?
Click to expand...
Click to collapse
There is no specific guide to porting, developing, etc. As Matt said, read. And lots of it. I personally started by playing with aosp and CM source, but you currently cannot due to kernel.org being down, but you can go to my signature and read my thread on compiling aosp gingerbread on Ubuntu. It will help you understand how some things work. Try taking apart a ROM and learn the layout of the files and read up on what different folders and files are. The rest is really just trial and error. I started with no experience at all. Hell I still don't know any coding languages, but that's why I'm in college.
dastin1015 said:
There is no specific guide to porting, developing, etc. As Matt said, read. And lots of it. I personally started by playing with aosp and CM source, but you currently cannot due to kernel.org being down, but you can go to my signature and read my thread on compiling aosp gingerbread on Ubuntu. It will help you understand how some things work. Try taking apart a ROM and learn the layout of the files and read up on what different folders and files are. The rest is really just trial and error. I started with no experience at all. Hell I still don't know any coding languages, but that's why I'm in college.
Click to expand...
Click to collapse
Thanks for the positive feedback!

Update Andro-id rc3- With Kernel

Here's the latest Kernel for Andro-id-RC3 by Abenagial. This is an update package for this ROM, so you should be on this ROM to flash it.
It includes
-kernel 35.14
- gpu update
- gui update..
HERE IS THE LINK
NOTE:- Please make a Nandroid backup before flashing this, in case anything goes wrong. Also I am not responsible for anything happens to your device. Flash on your own risk.
credit goes to @ABenagial who posted this on Facebook. Abenagial
thanks for the update. is this by Tjstyle?
leoaeries said:
thanks for the update. is this by Tjstyle?
Click to expand...
Click to collapse
By Aben..
visit Techlions.in for latest tech news..
when it is already posted in respective thread, why you created another thread ?????? don't waste forum space...........
refer this post http://forum.xda-developers.com/showpost.php?p=39101610&postcount=176
vivekb said:
when it is already posted in respective thread, why you created another thread ?????? don't waste forum space...........
refer this post http://forum.xda-developers.com/showpost.php?p=39101610&postcount=176
Click to expand...
Click to collapse
Because I haven't seen it. This is a new kernel source, which require better publishing so our devs can work through it. I haven't copied it from your post. I got it on our facebook page for mi-410. Thank you.
visit Techlions.in for latest tech news..
gautam.is.sharma said:
Because I haven't seen it. This is a new kernel source, which require better publishing so our devs can work through it. I haven't copied it from your post. I got it on our facebook page for mi-410. Thank you.
visit Techlions.in for latest tech news..
Click to expand...
Click to collapse
I am not saying that you copied from my post... even I took it from facebook page and as this kernel is only for RC 3 I posted in that thread... if check thread carefully you will find on last between page only....no need to post separately .... anyway my point is in regards to forum space which is wasting because of repeated post and thread....and its two month old ... no point in posting separate after such a long time ...
Besides the pushing of that old topic, I've tried a number of the newer/recent firmwares and they all have one or the other bug. Something is not working, crashes, or screws up. Nasty stuff sometimes. I am back to the 2.3 series, and perhaps I may refresh my now very old MacLite with a Sharp version. Depends a bit on my time, but I think it's still the better firmware for our phone. That is, one where everything works!
mmaacc said:
Besides the pushing of that old topic, I've tried a number of the newer/recent firmwares and they all have one or the other bug. Something is not working, crashes, or screws up. Nasty stuff sometimes. I am back to the 2.3 series, and perhaps I may refresh my now very old MacLite with a Sharp version. Depends a bit on my time, but I think it's still the better firmware for our phone. That is, one where everything works!
Click to expand...
Click to collapse
Yeah it's true that we are still struggling to get a good, nicely working ICS+ ROM. But without trying new ones, it's impossible to fully utilize our device capabilities.
Hope for the best bro.
And yeah Sharp is a great ROM.
visit Techlions.in for latest tech news..
thanks for this post gautam .... i didn't knew there is .14 version kernel available for our device ... and whatever i try my permanent rom is a gingerbread , so thank you for posting ....
please give some details about functionality .... is everything working like wifi, gsm data , tethering etc.
Yes everything is working except some people having issues with front camera force closing...

Flash CWM10.1 Rom - Coming from DjangoManoucheX1.6.5_AdiosAmigos_30A

Dear all,
I am aware about other threads.
During yesterday and today I studied and tried to follow instructions.
Actually the regarding mobile is flashed with DjangoManoucheX1.6.5_AdiosAmigos_30A ROM.
It works fine but still old.
I just wanna change this MobileROM to Avatar ROM
http://forum.xda-developers.com/showthread.php?t=2167192
I understand that there might be an issue with Bootloader Old and New.
Here my understanding goes to hell.
I am not able to get my Mobile, which is for my son, to start the flashed ROM from above thread.
It always stays with running circle around CyanogenMod Logo.
There is no different if I use the nightly or RC version. Both shows the same.
But a ROM with new Bootloader runs perfect. I found the same through other threads.
Can anyone be so kind and help me by sending an instruction to get back the Bootloader for GB.
I used a NVflash tool but it always flashed the ICS again
I believe actually flashed is ICS.
Many thanks in advance for assit and help.
My dear friend,
I did not want to quote your post. But, flashing the GB (old) bootloader partition can be done with one of the CM+stock Hybrid combination ROM by Stefan (you can actually search it in the development section)....it should be in the first page or the second page.
There are two links....one to be done with recovery and the other with NVFlash method.
Use the NVFlash method and you will be in the GB bootloader + Baseband and you will be ready.
Hope this helps you
FORGOT TO MENTION: this is a Q&A section post and no meaning in opening a new thread in the development section. Please ask the MODs to close this. I have been a newbie....but its good to understand and correct this. THANKS
Thanks SREEPRAJAY for fast reply.
It seems that I am to silly to understand or to explain.
Whatever you mean with Q&A section and close of this thread, it may also possible to move him to right place.
But back to my issue.
This is exact what I have had yesterday.
I am able to understand the problem but the solution is a secret for me.
I had now searched fpr Stefan Gündhör and it the result left me in darkness.
I did not get the link fpr understanding what I have to do or easier for my mind, which ROM I have to use.
The bellyache is creating problems and my frustration is getting on critical level.
Close this thread if you would like.
thomaso said:
Thanks SREEPRAJAY for fast reply.
It seems that I am to silly to understand or to explain.
Whatever you mean with Q&A section and close of this thread, it may also possible to move him to right place.
But back to my issue.
This is exact what I have had yesterday.
I am able to understand the problem but the solution is a secret for me.
I had now searched fpr Stefan Gündhör and it the result left me in darkness.
I did not get the link fpr understanding what I have to do or easier for my mind, which ROM I have to use.
The bellyache is creating problems and my frustration is getting on critical level.
Close this thread if you would like.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1504280 check the last post incase the link is not working from the OP
It is right there in the first page. This is one of the best GB ROMs ever cooked. So you will be happy mostly....but the evaluation depends on user's needs and choices.
Nevertheless, if this solves your issue, I am happy.
\Moving is a good thought....please ask the MODs by yourself.
Thanks for taking it in the right spirit my friend
EDIT: PM me if you need more help to avoid more irrelevant OT posts here in dev section. Thanks
Many Thanks Sreeprajay,
with the last post everything works.

Let us thank all Custom Rom devs here at XDA for our device!

We all bought our devices for one reason or another but have came to XDA with the intention of making them better and some of us have done much more than try to fix tiny issues. I want to thank all who have and are developing Custom Roms for our device. If I have missed anyone who has contributed I compel you to write his name so I could add him along with a link if any! We should all know how hard it is to code. For some it's easy but for the most part it's hard work and people tend to forget that. I myself have started learning Python thanks to these people and a fairly recent show named Silicon Valley from cough* cough* 2014. So without further ado! Here are the people I want to thank and you could thank too if you haven't already in one way or another:
@haky 86 (including anyone who has helped) link to his ongoing process:
http://forum.xda-developers.com/p8l...rom-cyanogen-mod-12-0-huawei-p8-lite-t3433523
@Olrak (including all omnirom devs who helped) link to his ongoing process:
http://forum.xda-developers.com/p8lite/orig-development/rom-unofficial-omnirom-5-1-t3400392
@XePeleato (you know what I' going to write here >____>) link to his ongoing process:
http://forum.xda-developers.com/p8lite/general/rom-aosp-5-1-1-ale-l21-t3350106
http://forum.xda-developers.com/p8lite/development/rom-cyanogenmod-13-0-arrived-t3419852
A thanks to @sokkoban for making ever so slight but very useful changes to our stock emui roms. Link to some of his progress (I had to add his blogspot with his work since most of his threads here are deleted)
http://huaweip8lite.blogspot.bg/
I thank @dkonect for sharing once again the recovery needed for these roms which is developed again by XePeleato link:
http://forum.xda-developers.com/p8lite/general/twrp-3-0-0-0-p8-lite-kirin-t3343320
That includes me thanking haky 86 for giving us CWM but I put TWRP's link up there because it is currently the most used one for our device with full fearures. Pls don't kill me >___>...
And again a thank you to @hackslash (thank you for mentioning him) for helping everyone mentioned above and developing for honor 4C. (If you want to I could add someone here •___•). link to his ongoing process (if I haven't missed any):
http://forum.xda-developers.com/honor-4c/development/cm13-huawei-honor-4c-based-hisilicon-t3367224
I'd like to then thank @codeworkx for even starting to and helping everyone here with his code on the Honor 6. Some of his progress here:
http://forum.xda-developers.com/honor-6/orig-development/rom-cyanogenmod-11-honor-6-t3019056
Also I'd like to thank the Mate 7 developer who I couldn't catch his name again for helping with the RIL issues. If he is the person I think he is then he should be @gabry3795 with his process right here:
http://forum.xda-developers.com/mat...pdate-ascend-mate-7-stock-derivative-t3241661
If that isn't him then I compel someone to help me again but even if that isn't him I'd still like to thank that person for making a petition regarding huawei's closed source information. Granted it isn't for our device but it's for the right cause.
As you also might've noticed, our developers could use help and as somebody who is helpless in coding I feel the need to at least ask around if somebody is capable to help if needed. I am not forcing anyone I just ask politely.
Thank you for reading this long post! Here is a potato person>> (>*__*)>
P.S I excuse myself for any other mistakes in my writing if any because I didn't double check everything.... >____>
Link to my ongoing process: empty............................
still empty
stop reading
must resist
but I can't >____> halp
It looks pretty fine, the name of the MT7 developer is correct. About the help, the help We need comes from China and doesn't want to know anything about us. That doesn't mean that if you are not Huawei you can't help, I appreciate every contribution. In my opinion you should include as well to @hackslash even though he's working on the Honor 4C, his contributions have been really great and it's a pleasure to work with him as well as with all the people you listed above.
XePeleato said:
It looks pretty fine, the name of the MT7 developer is correct. About the help, the help We need comes from China and doesn't want to know anything about us. That doesn't mean that if you are not Huawei you can't help, I appreciate every contribution. In my opinion you should include as well to @hackslash even though he's working on the Honor 4C, his contributions have been really great and it's a pleasure to work with him as well as with all the people you listed above.
Click to expand...
Click to collapse
Thank you for mentioning him and for making me interested in Python. If you're wondering how. You once said you're a C++ dev and I know a little of a similar language named C# but in order to understand more of these two languages I needed Python. And so swish swosh >>
Actually, you should thank for RIL @codeworkx who was developing CM for Honor 6, @gabry3795 just took his code from H6 device tree.
You should include sokoban too for making deodex rom for this phone.
Thanks to all Devs for working on our device ! ^_^
Btw is there any stable rom going to be released ? Wt about CM 13 ? Are we gonna get it or not ? ☹☹☹
Santho07 said:
Thanks to all Devs for working on our device ! ^_^
Click to expand...
Click to collapse
You are welcome, it's nice to have a supportive community.
Santho07 said:
Btw is there any stable rom going to be released ?
Click to expand...
Click to collapse
Is it going to rain tomorrow? Just kidding, no idea. If you want my opinion, I think We'll achieve it (We = someone out of the 5 people that fork our repos each week), not today nor tomorrow, nobody said it was going to be easy !
Santho07 said:
Wt about CM 13 ? Are we gonna get it or not ?
Click to expand...
Click to collapse
Same as above
PS: No offence taken, if someone wondered.
XePeleato said:
You are welcome, it's nice to have a supportive community.
Is it going to rain tomorrow? Just kidding, no idea. If you want my opinion, I think We'll achieve it (We = someone out of the 5 people that fork our repos each week), not today nor tomorrow, nobody said it was going to be easy !
Same as above
Click to expand...
Click to collapse
Thank u very much!
Actually I didn't want to bother u, was just curious!
Thanks again fr the info's !
Hello, sokkoban.
I've installed your B574 Deodexed and I have two suggestions for your future version of ROM:
1) Implement multi window directly inti ROM. It's a feature many people want and also people are having issues with your rom when using multi window.
2) Auto hide navigation bar. There is a button but it's very annoying to press every time you go into an app.
And I have one question:
3) Are you only going to make ROMs based on Chinese ROM or you will also make European ones?
Sent from my ALE-L21 using XDA-Developers mobile app
NeedleGames said:
Hello, sokkoban.
I've installed your B574 Deodexed and I have two suggestions for your future version of ROM:
1) Implement multi window directly inti ROM. It's a feature many people want and also people are having issues with your rom when using multi window.
2) Auto hide navigation bar. There is a button but it's very annoying to press every time you go into an app.
And I have one question:
3) Are you only going to make ROMs based on Chinese ROM or you will also make European ones?
Click to expand...
Click to collapse
There is a rom based on European one.
http://goo.gl/b346Tx
Suleiman01 said:
There is a rom based on European one.
http://goo.gl/b346Tx
Click to expand...
Click to collapse
I just said that I installed this... Why is everyone here at xda blind.
Sent from my ALE-L21 using XDA-Developers mobile app
NeedleGames said:
I just said that I installed this... Why is everyone here at xda blind.
Click to expand...
Click to collapse
I hope you understand what I was trying to say. I am not blind.
Suleiman01 said:
I hope you understand what I was trying to say. I am not blind.
Click to expand...
Click to collapse
Sorry but your link redirects me to old deodexed rom I'm currently using.
Sent from my ALE-L21 using XDA-Developers mobile app
Thank you!
@Prostokuche Thank you for this mention, I am proud to contribute to this project. After all we are all fighting the same battle And yes, I started the petition about a year ago forcing huawei to release the sources needed for a custom ROM (Mate7 scenario is worse than the p8 one )
I also want to point out that the HuaweiRIL.java module belongs to cyanogenmod project as stated in the license header. My edit on RIL project are signed by me and those to the HuaweiRIL.java was just to exclude features that are not supported by Mate7. :highfive:
I hope you can release a fully working ROM for your device! Good luck!
Prostokuche said:
We all bought our devices for one reason or another but have came to XDA with the intention of making them better and some of us have done much more than try to fix tiny issues. I want to thank all who have and are developing Custom Roms for our device. If I have missed anyone who has contributed I compel you to write his name so I could add him along with a link if any! We should all know how hard it is to code. For some it's easy but for the most part it's hard work and people tend to forget that. I myself have started learning Python thanks to these people and a fairly recent show named Silicon Valley from cough* cough* 2014. So without further ado! Here are the people I want to thank and you could thank too if you haven't already in one way or another:
@haky 86 (including anyone who has helped) link to his ongoing process:
http://forum.xda-developers.com/p8l...rom-cyanogen-mod-12-0-huawei-p8-lite-t3433523
@Olrak (including all omnirom devs who helped) link to his ongoing process:
http://forum.xda-developers.com/p8lite/orig-development/rom-unofficial-omnirom-5-1-t3400392
@XePeleato (you know what I' going to write here >____>) link to his ongoing process:
http://forum.xda-developers.com/p8lite/general/rom-aosp-5-1-1-ale-l21-t3350106
http://forum.xda-developers.com/p8lite/development/rom-cyanogenmod-13-0-arrived-t3419852
A thanks to @sokkoban for making ever so slight but very useful changes to our stock emui roms. Link to some of his progress (I had to add his blogspot with his work since most of his threads here are deleted)
http://huaweip8lite.blogspot.bg/
I thank @dkonect for sharing once again the recovery needed for these roms which is developed again by XePeleato link:
http://forum.xda-developers.com/p8lite/general/twrp-3-0-0-0-p8-lite-kirin-t3343320
That includes me thanking haky 86 for giving us CWM but I put TWRP's link up there because it is currently the most used one for our device with full fearures. Pls don't kill me >___>...
And again a thank you to @hackslash (thank you for mentioning him) for helping everyone mentioned above and developing for honor 4C. (If you want to I could add someone here •___•). link to his ongoing process (if I haven't missed any):
http://forum.xda-developers.com/honor-4c/development/cm13-huawei-honor-4c-based-hisilicon-t3367224
I'd like to then thank @codeworkx for even starting to and helping everyone here with his code on the Honor 6. Some of his progress here:
http://forum.xda-developers.com/honor-6/orig-development/rom-cyanogenmod-11-honor-6-t3019056
Also I'd like to thank the Mate 7 developer who I couldn't catch his name again for helping with the RIL issues. If he is the person I think he is then he should be @gabry3795 with his process right here:
http://forum.xda-developers.com/mat...pdate-ascend-mate-7-stock-derivative-t3241661
If that isn't him then I compel someone to help me again but even if that isn't him I'd still like to thank that person for making a petition regarding huawei's closed source information. Granted it isn't for our device but it's for the right cause.
As you also might've noticed, our developers could use help and as somebody who is helpless in coding I feel the need to at least ask around if somebody is capable to help if needed. I am not forcing anyone I just ask politely.
Thank you for reading this long post! Here is a potato person>> (>*__*)>
P.S I excuse myself for any other mistakes in my writing if any because I didn't double check everything.... >____>
Link to my ongoing process: empty............................
still empty
stop reading
must resist
but I can't >____> halp
Click to expand...
Click to collapse
Guys can someone mirror this..im really having problem in Mega downloads..I found this thread outside and features are astonishing.. rooted b574 w/ lightpainting features and lot more..please..http://www.android-hilfe.de/thema/huawei-p8-lite-rom-6-0-c432b574-deodex-rooted.772904/
Adding another vote of thanks
Hi there. On this thread, i would also like to contribute my grattitude and appreciations to the developers who are working for our device here. I'm a new member, so unable to mention anyone more in the list. But want to be a part of the greatfuls to them. thanks alot!

My problem solved but i can't use it !!!

hello
to the point i have managed to creat an issue topic on github (link: https://github.com/topjohnwu/Magisk/issues/5051) and it seems that is my problem have been solved by magisk owner or some i don't know and it was my first time to use github so my question is how to apply changes in my phone ?....i already tried to download the app again but nothing changed....any help please !
eslam.essa.2011 said:
hello
to the point i have managed to creat an issue topic on github (link: https://github.com/topjohnwu/Magisk/issues/5051) and it seems that is my problem have been solved by magisk owner or some i don't know and it was my first time to use github so my question is how to apply changes in my phone ?....i already tried to download the app again but nothing changed....any help please !
Click to expand...
Click to collapse
I don't really understand what kind of help you want.
If you need help with flash Magisk, you need to provide more information.
What kind of you phone you have.
Is your bootloader unlock and so on.
Look up your device form here on XDA and read thru some threads and hopefully they will lead you in the right direction.
@eslam.essa.2011 Your Github issue was marked as solved, but it won't be available to you until there's been another release (unless you use the artifact built at the commit time, but those might be highly unstable). At the time of your post here there hadn't been any new releases, but now Canary 23016 in out and you can test if your issue is actually solved.

Categories

Resources