Hi Everyone, I am a rom dev who just bought this device, just wanted to say hi - Xiaomi Mi A1 Guides, News, & Discussion

A little about me for those who don't know.
I have been building roms since the galaxy s2, I also built for Nexus 10, galaxy s5 and mainly the LG G3.
Once the kernel is released I will start to work on bringing roms, mainly CAF AOSP to our device plus some kernel improvements .
Anyway just wanted to introduce myself. Great phone so far!

sooti said:
A little about me for those who don't know.
I have been building roms since the galaxy s2, I also built for Nexus 10, galaxy s5 and mainly the LG G3.
Once the kernel is released I will start to work on bringing roms, mainly CAF AOSP to our device plus some kernel improvements .
Anyway just wanted to introduce myself. Great phone so far!
Click to expand...
Click to collapse
Hey man. Awesome! Looking forward to test your work.
Cheers

sooti said:
A little about me for those who don't know.
I have been building roms since the galaxy s2, I also built for Nexus 10, galaxy s5 and mainly the LG G3.
Once the kernel is released I will start to work on bringing roms, mainly CAF AOSP to our device plus some kernel improvements .
Anyway just wanted to introduce myself. Great phone so far!
Click to expand...
Click to collapse
Cool! Looking forward to seeing/using your builds! Is AOSP Extended CAF-based - really like those roms

antimatter.web said:
Cool! Looking forward to seeing/using your builds! Is AOSP Extended CAF-based - really like those roms
Click to expand...
Click to collapse
I was building pure CAF using the latest code from CAF for my chipset with minimum changes to keep it optimized, not sure ill go the AOSP-EX way.. we'l see

Right. I'll read up on CAF to see what it's about ^^

Just go for lineage os
It its stabled all works than

antimatter.web said:
Right. I'll read up on CAF to see what it's about ^^
Click to expand...
Click to collapse
Its pure AOSP with qualcomm's latest optimizations for each chipset
https://wiki.codeaurora.org/xwiki/bin/QAEP/release

sooti said:
Its pure AOSP with qualcomm's latest optimizations for each chipset
https://wiki.codeaurora.org/xwiki/bin/QAEP/release
Click to expand...
Click to collapse
Looking forward to testing it. Will additional features like night light, advanced reboot menu etc make the cut or are they not part of CAF-based roms?

antimatter.web said:
Looking forward to testing it. Will additional features like night light, advanced reboot menu etc make the cut or are they not part of CAF-based roms?
Click to expand...
Click to collapse
Night light is built in, advanced menu will be added. Not much more then that, the cleaner it is the easier to keep it maintained

sooti said:
Night light is built in, advanced menu will be added. Not much more then that, the cleaner it is the easier to keep it maintained
Click to expand...
Click to collapse
Im looking forward for your work. The minimum features are also my choice. Good luck with building the rom!

Welcome to the hood man hope ur work will be start soon gud luck

soylukral said:
Im looking forward for your work. The minimum features are also my choice. Good luck with building the rom!
Click to expand...
Click to collapse
Thanks! Let's just hope xiaomi don't take ages to release the kernel...

Welcome !

Dear Brother
.. hey brother!. Nice to meet you!. I am very appreciative that you are here!. I would be so appreciative if you could create a room for us, or even port lineage os?, I know a lot of other family members around here would be ever so grateful. I am so happy I bought the Mi A1, but also sad that I can't find even oNe rom for our beloved device.

@sooti could you try port MIUI to this device? I'm not sure if you need the kernel code or not. And before someone says "Oh, buy the Mi 5X" I can't find the phone in any market from my country.

vraciu' said:
@sooti could you try port MIUI to this device? I'm not sure if you need the kernel code or not. And before someone says "Oh, buy the Mi 5X" I can't find the phone in any market from my country.
Click to expand...
Click to collapse
But... why would you buy this device if you wanted MIUI? in any case, I'm sure someone will port miui, just not worth my time right now, sorry, i'm more interested in overclocking CPU and GPU and other features that can be added into kernel + qualcomm optimizations to stock android, not much more.

sooti said:
But... why would you buy this device if you wanted MIUI? in any case, I'm sure someone will port miui, just not worth my time right now, sorry, i'm more interested in overclocking CPU and GPU and other features that can be added into kernel + qualcomm optimizations to stock android, not much more.
Click to expand...
Click to collapse
Will the kernel also work on Stock ROM? Since CAF kernel normally dont since they're for CAF ROMs only.

MrPhilo said:
Will the kernel also work on Stock ROM? Since CAF kernel normally dont since they're for CAF ROMs only.
Click to expand...
Click to collapse
The kernel will be shipped with the ROM and is meant to be used with it. in any case, let's not get ahead of ourselves, first Xiaomi need to release the source code

sooti said:
The kernel will be shipped with the ROM and is meant to be used with it. in any case, let's not get ahead of ourselves, first Xiaomi need to release the source code
Click to expand...
Click to collapse
Bro Xiaomi will take another 2 months to release the source code and by that time Mi A1 will also get the Oreo update...though I'm not 100% sure about Oreo update, Xiaomi is always late about releasing the source code :crying::crying::crying:

talk2indrajit said:
Bro Xiaomi will take another 2 months to release the source code and by that time Mi A1 will also get the Oreo update...though I'm not 100% sure about Oreo update, Xiaomi is always late about releasing the source code :crying::crying::crying:
Click to expand...
Click to collapse
Then we'll just have to wait won't we

Related

Cyanogenmod for Honor 8?

Does anyone know or have any insights about whether Cyanogenmod ROM will be available in the near future for Honor 8 or not? I'm really looking forward to see an AOSP ROM for this devices
samanbabah said:
Does anyone know or have any insights about whether Cyanogenmod ROM will be available in the near future for Honor 8 or not? I'm really looking forward to see an AOSP ROM for this devices
Click to expand...
Click to collapse
It's not the same. From my experience with Kirin platforms, AOSP is easier to get working (since EMUI is based on it).
About the 'near future', no idea, if you want me to talk from my experience, I've been sending Huawei emails since December and I am still waiting lol.
Relax, explore the device, try not to scratch it and wait for the roms.
According to @svetius Huawei is close to releasing the kernel code. It's not everything needed for CM13, but it's a place to start. I'm hoping they are going to provide more than just the kernel, and they provide a device tree and vendor proprietary files as well. I know I'll be trying my hand at building cm13 as the source files are released.
anks329 said:
According to @svetius Huawei is close to releasing the kernel code. It's not everything needed for CM13, but it's a place to start. I'm hoping they are going to provide more than just the kernel, and they provide a device tree and vendor proprietary files as well. I know I'll be trying my hand at building cm13 as the source files are released.
Click to expand...
Click to collapse
Not to necro this thread, but it's out, uploading it to github at the moment.
grumpy.medic said:
Not to necro this thread, but it's out, uploading it to github at the moment.
Click to expand...
Click to collapse
Your link refers to FRD-L04. What about L09?
pupsidze said:
Your link refers to FRD-L04. What about L09?
Click to expand...
Click to collapse
Is there even a difference? Try to find a difference between the FRD-L09 kernel and the FRD-L04 one.
And no, it won't speed up rom development or whatever, we've discussed about that countless times.
XePeleato said:
Is there even a difference? Try to find a difference between the FRD-L09 kernel and the FRD-L04 one.
And no, it won't speed up rom development or whatever, we've discussed about that countless times.
Click to expand...
Click to collapse
This is sad cause EMUI gives me a lot of pain. Probably will sell the phone because of it.
pupsidze said:
This is sad cause EMUI gives me a lot of pain. Probably will sell the phone because of it.
Click to expand...
Click to collapse
Not sure what parts of EMUI is giving you pain, but if it's just the UI you could just change to Nova Launcher or another Launcher for now. I've been using Nova-Launcher since the moment I got it and I think it works great.
Mgvguy said:
Not sure what parts of EMUI is giving you pain, but if it's just the UI you could just change to Nova Launcher or another Launcher for now. I've been using Nova-Launcher since the moment I got it and I think it works great.
Click to expand...
Click to collapse
Stock UI is great. The problem is Xposed, some modules I want do not work with EMUI.
pupsidze said:
Stock UI is great. The problem is Xposed, some modules I want do not work with EMUI.
Click to expand...
Click to collapse
EMUI is the reason, only custom ROMs can help
PalakMi said:
EMUI is the reason, only custom ROMs can help
Click to expand...
Click to collapse
Exactly! It will probably take months before a working custom ROM be released.
pupsidze said:
Exactly! It will probably take month before a working custom ROM be released.
Click to expand...
Click to collapse
True
There is progress on P9 Plus for CM so i hope there will be a working CM soon.
http://forum.xda-developers.com/p9-plus/help/info-t3463627/page1
http://forum.xda-developers.com/p9-plus/development/rom-t3476084/page1
Sent from my HUAWEI VIE-L29 using XDA Labs
Looks promising
Keep faith, but don't hope for too much....
Does this phone really need cm? I don't personally like emui but the phone is such a powerhouse that I can live with it. Plus I use my phone for aleast three weeks as the manufacturer intended. And I'm leaning more on it than past emui software...
WHAT AM IM TALKING ABOUT! BRING ME CM LOL!
Sent from my FRD-L04 using XDA-Developers mobile app
903tex said:
Does this phone really need cm? I don't personally like emui but the phone is such a powerhouse that I can live with it. Plus I use my phone for aleast three weeks as the manufacturer intended. And I'm leaning more on it than past emui software...
WHAT AM IM TALKING ABOUT! BRING ME CM LOL!
Click to expand...
Click to collapse
Hh, xposed don't work properly on CM, plus I am a flashaholic, if the device don't have custom ROMs, I won't buy it

Request: may someone port NitrogenOS?

I'm having this on my Nexus4 and it's a great Nougat experience.
Unfortunately, i have zero knowledge on how to port this to OPO or any other device.
http://forum.xda-developers.com/nex...nitrogen-os-n-substratum-10-09-2016-t3459341/
Would help testing such ROM if a dev picks it up.
zagzag99 said:
I'm having this on my Nexus4 and it's a great Nougat experience.
Unfortunately, i have zero knowledge on how to port this to OPO or any other device.
http://forum.xda-developers.com/nex...nitrogen-os-n-substratum-10-09-2016-t3459341/
Would help testing such ROM if a dev picks it up.
Click to expand...
Click to collapse
it cannot be ported just aosp rom there are 7.0.0 rom for opo too
Dhairya said:
it cannot be ported just aosp rom there are 7.0.0 rom for opo too
Click to expand...
Click to collapse
Too bad, because it has a stable amount of customizations added to it.
zagzag99 said:
Too bad, because it has a stable amount of customizations added to it.
Click to expand...
Click to collapse
Well you tell me snapdragon s4 processor to 801 ? How that to 7.0
Dhairya said:
Well you tell me snapdragon s4 processor to 801 ? How that to 7.0
Click to expand...
Click to collapse
Obviously I'm not expecting one to one port of code.
But I'm guessing the NitrogenOS rom branches can be mixed with the OPO device branches so to make that rom ported.
Just like other ROMs, right?
Simply I never done that and none of the 'build yourself' guides i tried worked out for me.
zagzag99 said:
I'm having this on my Nexus4 and it's a great Nougat experience.
Unfortunately, i have zero knowledge on how to port this to OPO or any other device.
http://forum.xda-developers.com/nex...nitrogen-os-n-substratum-10-09-2016-t3459341/
Would help testing such ROM if a dev picks it up.
Click to expand...
Click to collapse
I'll try building it from source, should be easy enough lol
noahvt said:
I'll try building it from source, should be easy enough lol
Click to expand...
Click to collapse
With multirom supported script, please.
Bump.
Look they're already at 7.1
http://forum.xda-developers.com/nex...n-substratum-10-09-2016-t3459341/post69287502
No one with some experience can to try the build from source??
@noahvt, any progress?
zagzag99 said:
Bump.
Look they're already at 7.1
http://forum.xda-developers.com/nex...n-substratum-10-09-2016-t3459341/post69287502
No one with some experience can to try the build from source??
@noahvt, any progress?
Click to expand...
Click to collapse
I was able to build the rom for the one but it didn't boot (logcat said: "Slim services.jar not found") I contacted the dev but have not received a response yet. I will try syncing the 7.1 source to see if it works
noahvt said:
I was able to build the rom for the one but it didn't boot (logcat said: "Slim services.jar not found") I contacted the dev but have not received a response yet. I will try syncing the 7.1 source to see if it works
Click to expand...
Click to collapse
Thanks.
Would like very much to see the manifest and changes you've done to make it happen.
I tried some stuff myself but failed to get it to build for bacon.

Is there a Android 8.0 Oreo ROM yet for the Tab 2?

Is there a Android 8.0 Oreo ROM yet for the Tab 2?
secretwolf98 said:
Is there a Android 8.0 Oreo ROM yet for the Tab 2?
Click to expand...
Click to collapse
not yet. maybe never.
smart-t78 said:
not yet. maybe never.
Click to expand...
Click to collapse
RIP. Is there a reason why?
secretwolf98 said:
RIP. Is there a reason why?
Click to expand...
Click to collapse
Because people keep asking for it
Android-Andi said:
Because people keep asking for it
Click to expand...
Click to collapse
Oh ok. I thought maybe the device structure just can't handle it with it kind of RAM.
secretwolf98 said:
Oh ok. I thought maybe the device structure just can't handle it with it kind of RAM.
Click to expand...
Click to collapse
OEMs would say that, yes.
Android-Andi said:
OEMs would say that, yes.
Click to expand...
Click to collapse
ahh ok
there is actually an oreo rom for our device here is the link
github(dot)com/Unlegacy-Android/android_device_samsung_espresso3g
github(dot)com/Unlegacy-Android/android_device_samsung_espresso
but it was not compiled and surely there is a lot of bugs
thanks to unlegacy android for making this
my internet was slow so i could not verify if this would work on our device (yet!)
ps. could not post url links yet srry
@ezrexl you are really funny, it's device source not a rom.
There's nothing changed for oreo on the source, we automatically created 8.0 branches for all our repos independent of Oreo support for the devices.
Android-Andi said:
@ezrexl you are really funny, it's device source not a rom.
There's nothing changed for oreo on the source, we automatically created 8.0 branches for all our repos independent of Oreo support for the devices.
Click to expand...
Click to collapse
So you are saying, if someone tries to compile it... It won't be real Oreo or what?
Android-Andi said:
@ezrexl you are really funny, it's device source not a rom.
There's nothing changed for oreo on the source, we automatically created 8.0 branches for all our repos independent of Oreo support for the devices.
Click to expand...
Click to collapse
Im sorry, I assumed it was a source ready to be compiled as a rom because Im really new to learning with these things, but I hope someone would make an oreo rom for galaxy tab 2 considering the fact that nougat was being patched right now.
secretwolf98 said:
So you are saying, if someone tries to compile it... It won't be real Oreo or what?
Click to expand...
Click to collapse
It can't compile, it has nothing changed to work on O and you will need a lot to change (and don't forget a massive kernel update you'll also need).
Have fun working on it, I am not and I won't in future
Android-Andi said:
It can't compile, it has nothing changed to work on O and you will need a lot to change (and don't forget a massive kernel update you'll also need).
Have fun working on it, I am not and I won't in future
Click to expand...
Click to collapse
I don't work on trees anymore. I got frustrated to try to change my GitHub LineageOS 15 for SM-T230NU degaswifi. From it saying HTML to Makefile. So I gave up.
I still love marshmallow rom it's enough for our tab 2 (stable rom ever)
anybody??
No oreo?
Thread closed at OP request.

Kernel Source available for Mi A1

Hi all,
Xiaomi has finally released kernel sources for Mi A1 (tissot). You can find it on following official github page:
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/tissot-n-oss
thanks
So half a year later they release nougat source code
I dont know why it is no surprise coming from xiaomi
I was just about to make a thread lol sadly nougat sources not oreo hmm.
Still good thou roms/kernels will start devolpment
t0per666 said:
I was just about to make a thread lol sadly nougat sources not oreo hmm.
Still good thou roms/kernels will start devolpment
Click to expand...
Click to collapse
What's the point?
Now a good number of people are on Oreo and its pretty darn good. IMO, a custom kernel and Magisk should be enough for most people.
---------- Post added at 05:18 PM ---------- Previous post was at 05:16 PM ----------
t0per666 said:
I was just about to make a thread lol sadly nougat sources not oreo hmm.
Still good thou roms/kernels will start devolpment
Click to expand...
Click to collapse
Where'd you read that BTW? I mean, which document or file?
KalolParty said:
What's the point?
Now a good number of people are on Oreo and its pretty darn good. IMO, a custom kernel and Magisk should be enough for most people.
---------- Post added at 05:18 PM ---------- Previous post was at 05:16 PM ----------
Where'd you read that BTW? I mean, which document or file?
Click to expand...
Click to collapse
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/tissot-n-oss?files=1
Yep it's nougat sources, but still better than nothing.
t0per666 said:
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/tissot-n-oss?files=1
Click to expand...
Click to collapse
Yeah, I got you're on the tissot branch but which line in which file? I tried searching for Nougat or api25. Nothing turned up
Waiting for Los?????
Finally! :laugh:
KalolParty said:
Yeah, I got you're on the tissot branch but which line in which file? I tried searching for Nougat or api25. Nothing turned up
Click to expand...
Click to collapse
Look at the name of the branch. Its 'tissot-n-oss'. In that name, n stands for nougat. Xiaomi names their branches this way.
Gaurav Rathod said:
Look at the name of the branch. Its 'tissot-n-oss'. In that name, n stands for nougat. Xiaomi names their branches this way.
Click to expand...
Click to collapse
Got it! Cheers!
Any developer here who build miui rom (nougat based) for mi a1 by using this source code..
A$h!$h said:
Any developer here who build miui rom (nougat based) for mi a1 by using this source code..
Click to expand...
Click to collapse
lol it's been out for like 2 hours.. give it time, someone will come along and build miui, though i don't see why you would want it on this phone but im sure someone will build it.
t0per666 said:
I was just about to make a thread lol sadly nougat sources not oreo hmm.
Still good thou roms/kernels will start devolpment
Click to expand...
Click to collapse
Does it really matter?
I believe kernel sources are released once only and there are so many devices that get ROMs and Kernels made for them - years after their official development has stopped. For eg. - If sources are released for Lollipop (and not for Nougat), LOS is also there for Nougat.
Could you please clarify and how much time will it take for an Oreo kernel (tentatively in your opinion, obviously)?
@sooti could you pitch in?
we should be thankful that we got the second latest kernel source code. this is enough for the great developer gang to get the custom kernel and rom working for MIA1.
KalolParty said:
Does it really matter?
I believe kernel sources are released once only and there are so many devices that get ROMs and Kernels made for them - years after their official development has stopped. For eg. - If sources are released for Lollipop (and not for Nougat), LOS is also there for Nougat.
Could you please clarify and how much time will it take for an Oreo kernel (tentatively in your opinion, obviously)?
@sooti could you pitch in?
Click to expand...
Click to collapse
Generally speaking any new android version simply requires a few commits to support the latest features especially security, they are usually common across all devices with some devices needing some extra patches to bring it up to oreo (usually selinux related) but for the most part its not complicated, The complex part is setting up the device tree and vendor IMO, for custom roms that is. but i'm not a huge kernel dev so i don't know.
sooti said:
Generally speaking any new android version simply requires a few commits to support the latest features especially security, they are usually common across all devices with some devices needing some extra patches to bring it up to oreo (usually selinux related) but for the most part its not complicated, The complex part is setting up the device tree and vendor IMO, for custom roms that is. but i'm not a huge kernel dev so i don't know.
Click to expand...
Click to collapse
Thanks for clearing that up. Considering many devs have switched to from other devices running Oreo, I don't think it'll be an issue then.
I'm sure development for LOS will be up soon
Now can we get fast charging via custom rom?
goreprasad said:
Now can we get fast charging via custom rom?
Click to expand...
Click to collapse
Yes, we have it already.

Searching a volunteer to provide OmniROM 9.0 builds

Hello people!
After AOSP the OmniROM is now the second custom rom available on the XZ2, XZ2C and XZ3. (Needed to omnify the device files to build TWRP with it.)
Due of lack of my free time (plus I am providing AOSP and TWRP and don't have enough free space on my online storage), we need someone providing us builds for the XZ2, XZ2C and XZ3.
Of course it need to be a DualSim and a SingleSim build.
At the moment the omni device trees only offer a SingleSim variant, but it does only take 3-4 lines of code to offer a DualSim build option after lunching the device tree's.
You only need to adapt the code of the AOSP project.
PS:
They won't accept code changes at https://gerrit.omnirom.org, because they never actively support them.
Yes. I don't like this opinion, too.
PS0:
I can confirm from too people running OmniROM 9.0 on their XZ2C and XZ3 that it works.
At this moment I am running OmniROM 9.0 on my device as a test if it works.
PS1:
I can confirm, that you can directly integrate TWRP into the OmniROM (and maybe AOSP, I will test it on the next successful build).
Just build the entire ROM with "-userdebug", but the bootimage with "-eng".
Of course you need to replace the standard recovery with TWRP, while building.
This is a good place for an example how to modify the manifest files:
https://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni/tree/twrp-9.0
Of course you should put your changes into the "local_manifest" folder and modify the omni manifest files.
Of course you can build an twrp installer, if you don't want to run an "-eng" bootimage.
But I can't execute "fastboot boot twrp.img" on my XZ2.
You you may need todo the same stuff like we are doing with out stock rom, to install TWRP. (TWRP thread).
Pictures :laugh:
A screenshot I forgott.
does camera work on this rom?
Faruk.ErdaL said:
does camera work on this rom?
Click to expand...
Click to collapse
Yes, as you can see in the screenshots.
The same like in Sony AOSP (the base for every custom ROM for our device).
Of course the implementation still needs Bugfixes and feature enhancements.
You can see the open tasks in the bugtracker linked in the AOSP topic in XDA.
If it's only the builds you need I can help but I probably won't be much help adapting the code.
LaputaCake said:
If it's only the builds you need I can help but I probably won't be much help adapting the code.
Click to expand...
Click to collapse
Yes
Same here.
But you would of course need to help answering questions and redirect the people to the bug tracker.
Thank you.
Without your message I would build it myself this or next month :silly:
MartinX3 said:
Yes
Same here.
But you would of course need to help answering questions and redirect the people to the bug tracker.
Thank you.
Without your message I would build it myself this or next month :silly:
Click to expand...
Click to collapse
I can help people to the best i can though it'll probably consist of them dirty flashing and everything being broken. Yeah i've got a server lying around I can throw mint on.
LaputaCake said:
I can help people to the best i can though it'll probably consist of them dirty flashing and everything being broken. Yeah i've got a server lying around I can throw mint on.
Click to expand...
Click to collapse
Nice.
I use Linux Mint, too.
I can assist you :silly:
@MartinX3 Maybe we can build the ROMs on AWS EC2 instance or similar service, then push them to S3 or similar service and have a nice effortless build env and maybe achieve some automation. It's pricy, tho...
nasko_spasko said:
@MartinX3 Maybe we can build the ROMs on AWS EC2 instance or similar service, then push them to S3 or similar service and have a nice effortless build env and maybe achieve some automation. It's pricy, tho...
Click to expand...
Click to collapse
Yes
But after the Omni support become "official" it will be build in the omnirom servers
can you provide the rom for me to test ?my computer is broken....... my aosp code will be all lost........:crying:
yangchenglei said:
can you provide the rom for me to test ?my computer is broken....... my aosp code will be all lost........:crying:
Click to expand...
Click to collapse
AOSP is already available in the AOSP thread.
MartinX3 said:
AOSP is already available in the AOSP thread.
Click to expand...
Click to collapse
what about omni?I know your good work ,yesterday when you upload it I had flashed it.good job my friend !
yangchenglei said:
what about omni?I know your good work ,yesterday when you upload it I had flashed it.good job my friend !
Click to expand...
Click to collapse
At the moment no time. After exams 10. February I have more time
MartinX3 said:
At the moment no time. After exams 10. February I have more time
Click to expand...
Click to collapse
Thank you Wish you have a good result
yangchenglei said:
Thank you Wish you have a good result
Click to expand...
Click to collapse
Thank you
I Volunter!!!
Sent from my Sony H9436 using XDA Labs
MurroFX said:
I Volunter!!!
Click to expand...
Click to collapse
Thx, but already tried since 1 February
MartinX3 said:
Thx, but already tried since 1 February
Click to expand...
Click to collapse
Hi
Don't you need hesters on every build to fix bugs? ?
And why is it not available to have a SDCard in XZ3 AKATSUKI when you put in double/2 Sim-Cards.? ? ?

Categories

Resources