Xiaomi MI-ONE plus android development plz - Android General

I have been waiting for a long time assuming some developer might take up development for Xiaomi Mi-ONE phone which ships with MIUI ROM as stock, with recovery that can let you boot into two different partitions for flashing an updated ROM when you need etc.
However, there seems to be absolutely no interest in developing for this phone, even after the sources are out ! I bought this phone hoping I can make good use of the "unlocked from factory " ecosystem. The phone has a recovery, but it can flash only an update.zip file which means i can only update the OS with a newer MIUI version that releases every week. Other than that, there is no custom kernel/recovery that i can use with this phone, simply because there is nothing developed yet.
Having a custom recovery would help people flash MODS like beatsaudio apks & libs, framework mods etc . I somehow like this phone even with all this handicap of custom recovery not being available yet, but hope some one starts a development effort for this beast of a phone and help ppl like me
I would myself try and help in whatever way i can for the development of this phone, but since i have never tried any development activity for a phone, i am at sea !!
Esteemed developers, plz help !!

cwm mi-onespuniq;27636172]I have been waiting for a long time assuming some developer might take up development for Xiaomi Mi-ONE phone which ships with MIUI ROM as stock, with recovery that can let you boot into two different partitions for flashing an updated ROM when you need etc.
However, there seems to be absolutely no interest in developing for this phone, even after the sources are out ! I bought this phone hoping I can make good use of the "unlocked from factory " ecosystem. The phone has a recovery, but it can flash only an update.zip file which means i can only update the OS with a newer MIUI version that releases every week. Other than that, there is no custom kernel/recovery that i can use with this phone, simply because there is nothing developed yet.
Having a custom recovery would help people flash MODS like beatsaudio apks & libs, framework mods etc . I somehow like this phone even with all this handicap of custom recovery not being available yet, but hope some one starts a development effort for this beast of a phone and help ppl like me
I would myself try and help in whatever way i can for the development of this phone, but since i have never tried any development activity for a phone, i am at sea !!
Esteemed developers, plz help !![/QUOTE]
My mi-one is awaiting.collection at the post office, so keep on eye on miui-au
---------- Post added at 03:26 PM ---------- Previous post was at 03:23 PM ----------
And the reason there is no custom kernel/recovery/rom is because no source is available. The rom is not open source (only a few apps are), and no kernel source has.ever.been made public (which is against gpl, i know, but its the truth)

lenny_kano said:
My mi-one is awaiting.collection at the post office, so keep on eye on miui-au
And the reason there is no custom kernel/recovery/rom is because no source is available. The rom is not open source (only a few apps are), and no kernel source has.ever.been made public (which is against gpl, i know, but its the truth)
Click to expand...
Click to collapse
well its good then.. i ll keep an tab on miui-au Thanks for the info.
I heard MIUI is actually built on CM9 base. So could it be possible to take AOSP CM9 kernel source and tweak it for MI-One ? I guess most of the hardware is similar between Nexus S & Mi-One, except for some specific functionality. May be i should give it a try .. do you hav any suggestions ? I basically hate the stock recovery which comes with this phone, coz it allows me to flash only update.zip and not any other zip file unlike the awesome CWM recovery !!!

And you most likely won't many developers are not happy about what the Dev of MIUI did by taking the code of another developer making it closed source and then selling it. Not to mention there are things that are legal in China that are not in the rest of the world. With a huge China government backing backing it makes many people avoid it.
sent from my cell in Arkham

krispuniq said:
well its good then.. i ll keep an tab on miui-au Thanks for the info.
I heard MIUI is actually built on CM9 base. So could it be possible to take AOSP CM9 kernel source and tweak it for MI-One ? I guess most of the hardware is similar between Nexus S & Mi-One, except for some specific functionality. May be i should give it a try .. do you hav any suggestions ? I basically hate the stock recovery which comes with this phone, coz it allows me to flash only update.zip and not any other zip file unlike the awesome CWM recovery !!!
Click to expand...
Click to collapse
The mi-one is more similar to the htc sensation than anything else, but no, without device specific stuff from xiaomi its just not gonna happen. I might try sometime if i can do it just via ramdisk mods but i doubt it (wouldnt hold your breath).
As for the comment about taking stuff and selling it, that was hardly the case. CM was used as a base for ports, but the mi-one rom (which is the only one thats "sold") is xiaomi code. The only thing theyve done which is a violation of other developers is not releasing the kernel source.

Related

[Q] ASOP Sidekick 4G ROM?

Am I the only one who is unhappy with the slim pickings of ROMs that are available for the SK4G?
Does anyone know anything about an ASOP ROM?
It's AOSP (Android Open Source Project) and you're not the only one not happy with the current SK4G options. I personally want MIUI or CM7, but seeing as we're currently stuck with Froyo, we'll have to see what the devs can cook up.
Sent from my SGH-T839 using XDA App
For future reference, questions go in the General forum, not the Development Forum.
As for AOSP or MIUI, I know that AyoTeddy and Revolution are currently working on separate MIUI roms, and for AOSP, I'm working on that, but not sure exactly what you want from AOSP that's different from what we have?
If you are unhappy with the selection of ROMS here, you are always welcome to make your own, android is open source for a reason.
sduvick said:
For future reference, questions go in the General forum, not the Development Forum.
As for AOSP or MIUI, I know that AyoTeddy and Revolution are currently working on separate MIUI roms, and for AOSP, I'm working on that, but not sure exactly what you want from AOSP that's different from what we have?
If you are unhappy with the selection of ROMS here, you are always welcome to make your own, android is open source for a reason.
Click to expand...
Click to collapse
If they want the real miui we will need some sort of aosp gingerbread to start with and a custom CM7 kernel or something.. Since we dont have either yet I guess we'll have to make the best out of what we have now like we have been. But those wanting a taste of miui may like what I have planned for my next release.
Sent from my SGH-T959 using XDA App
ayoteddy said:
If they want the real miui we will need some sort of aosp gingerbread to start with and a custom CM7 kernel or something.. Since we dont have either yet I guess we'll have to make the best out of what we have now like we have been. But those wanting a taste of miui may like what I have planned for my next release.
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
And so anticipation had set in, i can't wait ayoteddy. im very excited. SMX was great, and SMGC was awesome, and now with this? whewwww. think i better go lay down, lol.
I'm also interested in porting CM7 to Sk4g cause I'm used to when I had G1 and now I'm using Sk4g without it.
I have programming skill and understanding of linux architecture. I've read about android architecture and AOSP and how to build Cyanogen from source. I'm running a tech firm (about 30 employees) - we are developing games that's why I don't have enough time to port it faster but I'm going to do it in a month or two.
So, I need help from experienced dev for android who is willing to build AOSP rom for Sk4g.
Here is what I'm going to do:
1) I'm gonna try to build Kd1 rom from source (there is an opensource code from samsung) and flash it to my Sk4g
2) Change the platform in original source to AOSP 2.2 and remove all TMOBILE apps - then build and flash
3) I'll try to find all hardware specs of the phone to compare with other samsung devices. It can help to exctract proprietary drivers of the phone. I think that the drivers are commonly the same, but I need to identify it.
After that I'm gonna upgrade to AOSP 2.3 but I don't have enough knowledge right now. Can some experienced devs answer the questions:
1) Are the linux kernels of AOSP 2.2 and 2.3 identical?
2) Can I use device drivers from 2.2 on 2.3?
If someone is interested in this project - please let me know and let's start the job. I think that my progress wouldn't be fast due to lack of time.
Thank you for joining the Sidekick 4G section , & we welcome you but if you want you could pause the game's for the ROM if anything & Question 1 is a no & Question 2 no cause they have to be compiled with the 2.3 kernel .
- Said by Sduvick
jmpz said:
I'm also interested in porting CM7 to Sk4g cause I'm used to when I had G1 and now I'm using Sk4g without it.
I have programming skill and understanding of linux architecture. I've read about android architecture and AOSP and how to build Cyanogen from source. I'm running a tech firm (about 30 employees) - we are developing games that's why I don't have enough time to port it faster but I'm going to do it in a month or two.
So, I need help from experienced dev for android who is willing to build AOSP rom for Sk4g.
Here is what I'm going to do:
1) I'm gonna try to build Kd1 rom from source (there is an opensource code from samsung) and flash it to my Sk4g
2) Change the platform in original source to AOSP 2.2 and remove all TMOBILE apps - then build and flash
3) I'll try to find all hardware specs of the phone to compare with other samsung devices. It can help to exctract proprietary drivers of the phone. I think that the drivers are commonly the same, but I need to identify it.
After that I'm gonna upgrade to AOSP 2.3 but I don't have enough knowledge right now. Can some experienced devs answer the questions:
1) Are the linux kernels of AOSP 2.2 and 2.3 identical?
2) Can I use device drivers from 2.2 on 2.3?
If someone is interested in this project - please let me know and let's start the job. I think that my progress wouldn't be fast due to lack of time.
Click to expand...
Click to collapse
Revolution, thanks for relaying my responses.
jmpz, I tried building the source before, but was unable to build it completely, but that was possibly because of some errors with my dependencies. The kernel compiles fine from source, you just need to pull initramfs, or you can get it from Dr. Honk's github.
Thank you for your answers.
So, can anyone enumerate the list of drivers which we should extract from kernel?
I can name these:
1) Keyboard
2) Mic
3) 2 speakers
4) buttons
5) front camera
6) rear camera
7) trackpoint
8) lcd
9) digitizer
10) 3.5 jack
Please correct me and add missing
If I understanding it rightly the key problem is getting proprietary drivers from the kernel. Right?
nope, the key problem is trying to build the system entirely, without any errors, which may be easier with someone following a stock designed build environment. I don't use Ubuntu which is what has the listed dependencies for every tutorial I can find. You can get the drivers out of Dr. Honk's voodoo kernel ramdisk here: http://forum.xda-developers.com/showthread.php?t=1145139
There shouldn't be any problems if you just set up a build environment following the directions in any of the tutorials, then add the platform from the samsung source.
I'm a linuxoid - so these tutorial are for me. Thank you for the link.
By the way, drivers are in Linux Kernel, so I don't think that I need to use Samsung Platform from the source. Instead I wanna use platform from AOSP or Cyanogen. Correct me if I'm wrong.
I think that grabbing drivers from kernel source from samsung would be enough to build the rom.
jmpz said:
I'm also interested in porting CM7 to Sk4g cause I'm used to when I had G1 and now I'm using Sk4g without it.
I have programming skill and understanding of linux architecture. I've read about android architecture and AOSP and how to build Cyanogen from source. I'm running a tech firm (about 30 employees) - we are developing games that's why I don't have enough time to port it faster but I'm going to do it in a month or two.
So, I need help from experienced dev for android who is willing to build AOSP rom for Sk4g.
Here is what I'm going to do:
1) I'm gonna try to build Kd1 rom from source (there is an opensource code from samsung) and flash it to my Sk4g
2) Change the platform in original source to AOSP 2.2 and remove all TMOBILE apps - then build and flash
3) I'll try to find all hardware specs of the phone to compare with other samsung devices. It can help to exctract proprietary drivers of the phone. I think that the drivers are commonly the same, but I need to identify it.
After that I'm gonna upgrade to AOSP 2.3 but I don't have enough knowledge right now. Can some experienced devs answer the questions:
1) Are the linux kernels of AOSP 2.2 and 2.3 identical?
2) Can I use device drivers from 2.2 on 2.3?
If someone is interested in this project - please let me know and let's start the job. I think that my progress wouldn't be fast due to lack of time.
Click to expand...
Click to collapse
I 100% support your efforts. I want Cyanogen on the SK4G badly, but I'm not sure what kind of help a non-programmer like me could do, but do have some experience with flashing phones and such, so if there is anything you need let me know.
If you do get rolling heavily on this, I'd be willing to donate monetarily to your efforts.
If anyone can get CyanogenMod 7 on the Sidekick they would definetely get a donation from me. Id be thrilled. Glad to see its going to be worked on.
Sent from my Sidekick 4G using XDA Premium App!

[Q]

Hello there , I want to ask about custom Roms as cyanogen mod and PAC and all those teams out there.
First of all ,, the android that they make is similary to the stock one that I can get it from Google website to open it on jdk simulator. Then what is the deal in making custom roms??
And what about Samsung Galaxy Roms features.. Are they closed source? So there is no one can steel there features and use them in other Roms ???
I wish some one answer me because I am so confused about this .. Thanks
yahyanael said:
Hello there , I want to ask about custom Roms as cyanogen mod and PAC and all those teams out there.
First of all ,, the android that they make is similary to the stock one that I can get it from Google website to open it on jdk simulator. Then what is the deal in making custom roms??
And what about Samsung Galaxy Roms features.. Are they closed source? So there is no one can steel there features and use them in other Roms ???
I wish some one answer me because I am so confused about this .. Thanks
Click to expand...
Click to collapse
So to start from my understanding of the beginning, Samsung or HTC or LG and such will plan out a device, they put all the stuff they want on it ( as in the battery size, the specific GPU and CPU), and towards the end they slap on what version of android they want. this android is Stock like what you see with cyanogenmod or Aosp roms ( they are almost stock but with a few modifications like CPU governors and I/Os) from there they are able to put in all the features they want to feature on the device (so if you think about it, Samsung makes their own Custom rom for the phones but its very professional and are made for the General population where we are the few developers that aren't very professional.) like for Samsung, you will only see S Memo on Samsung phones (so yes Samsung Features are closed source if you develop a rom you are able to put features that come from the Stock rom you get when you buy the phone.), its possible to put s memo on other devices like one of HTC's, but is sorta illegal since Samsung owns s memo. for custom roms, we as developers are able to put stock android features into a rom because Google made android open source. (its not quite open source in some areas) now if you have a Samsung phone and want to make a rom based on Touchwiz (the normal Samsung Ui) or HTC phone and want to base a rom off Sense (Htc's Ui) we are allowed to do this only on these specific phones, otherwise making a Sense rom on a Samsung phone would be illegal and they would ask you to take down a download link. im sorry you had to hear me rant and i hope this made sense! if it sounds like i left anything out please ask.
OK I understood a part, but im still confused about Cyanogen mod part .. I mean what is that thing that they do and others cant do so every Dev make a ROM sayed it based on Cyanogen mod ??

[Q] [Help] [New Device] I need help creating a ROM for my new phone

Hello everyone! I am a little new to this, so please take it easy on me. I have actually never created my own Android ROM via the AOSP, but I have opened up Zip files for ROMs other developers have created and have been able to do basics.
I recently bought this device: MPie G7 (gearbest . com/cell-phones/pp_76182.html)
As you can all tell, it is not exactly a very popular phone. So, finding source code for this phone's ROM is basically, impossible. I have also been unable to find the manufactures website address either (anyone have any ideas?).
Anyway, here are my very noob questions. I am obviously planning on hitting base with the AOSP code, but with Lollipop. This poses a new problem to me, because I cannot find the source code, how am I supposed ot create a kernel specific ROM? This thing runs on a MTK, most precisely: MTK6582. It came with Android 4.4.2 (KitKat).
I am also worried about one small other thing, which is the gestures. If my phone is on standby, screen is off, I can do gestures on the off screen to do certain things. Similar to the OnePlus One. But, I am worried I will not be able to do that if I build my own ROM from source.
Anyone have suggestions? Or can possibly help? Thank you very much. All your help is appreciated!
By
omarquazi said:
Hello everyone! I am a little new to this, so please take it easy on me. I have actually never created my own Android ROM via the AOSP, but I have opened up Zip files for ROMs other developers have created and have been able to do basics.
I recently bought this device: MPie G7 (gearbest . com/cell-phones/pp_76182.html)
As you can all tell, it is not exactly a very popular phone. So, finding source code for this phone's ROM is basically, impossible. I have also been unable to find the manufactures website address either (anyone have any ideas?).
Anyway, here are my very noob questions. I am obviously planning on hitting base with the AOSP code, but with Lollipop. This poses a new problem to me, because I cannot find the source code, how am I supposed ot create a kernel specific ROM? This thing runs on a MTK, most precisely: MTK6582. It came with Android 4.4.2 (KitKat).
I am also worried about one small other thing, which is the gestures. If my phone is on standby, screen is off, I can do gestures on the off screen to do certain things. Similar to the OnePlus One. But, I am worried I will not be able to do that if I build my own ROM from source.
Anyone have suggestions? Or can possibly help? Thank you very much. All your help is appreciated!
Click to expand...
Click to collapse
Why don't you list down some of the specifications of your phone and compare them with other mediatek devices!!!
That way if u have the stock ROM of the phone then u can port ROMs from another mediatek device like xolo q700i which has a dedicated thread!!! xolo q700i has many different number of ROMs !!! That way by zip based theming and porting you might be successful in at least creating a ROM for yourself which u can use as a base for different roms!!!
The way I see it if you don't have source or downloadable ROM from your OEM, you have two options:
- like @thecoolster said you could try flashing ROMs from similar devices, and hope you don't end up stuck with a soft brick.
- or, likely your device can be easily rooted (in the settings perhaps?) if it isn't already. Then you can make nandroid to give yourself a stock ROM to cook.
Actually porting your ROM from a developer device tree and AOSP or CM is hard if you are only a hobbyist cook.
Even with a cooked ROM, you'd need a recovery that lets you flash it or you'd have to use SP flashtool and make your own config files for the flash.

[Completed] [Q] I want to flash a custom rom but I'm worried about security/privacy issues.

Hi,
I'm kinda new to android, I've rooted my phone (Samsung Galaxy S2 Skyrocket sgh-i727r / on jellybean 4.1.2) and I'm ready to flash a custom rom (SlimKat to be specific). I feel the stock rom can be "trusted", but can a custom rom be trusted to be secure and have privacy? I'm concerned that a custom rom dev may have added anything to the rom to be a security or privacy issue (where they can listen in on texts or phone calls, steal contacts or even steal passwords).
What are your thoughts?
p.s because I have limited knowledge of android I can't look through the code to inspect it.
I hope someone can please help.
Hi,
Thanks for using XDA Assist Well no Developer adds anything which may effect your security if that was the case then no one would have used Custom Rom's... Custom are too build from source and in all Rom's thread they link the source used but OEM never release it hence you wont be able to find but Custom Rom's have their source and all security previlages even Root has all security option to suit to users needs.. There is no such issues no one tracks nor steales anything developers have a lot of things in real life and in Android world they enhance Android Experience to full potential so that users can enjoy it
End of the Day its your choice
Good Luck!

Several Noob questions about custom ROMs?

Hi guys,
I always read in the Xda forum but never wrote or asked a question...usually someone already asked them.
so I have the Mi 5S PLUS...but I hate the miui UI. can't get used to it. And yesterday I finally found that there are custom ROM for this device.
So I got few questions.
1. As far as i know, the source code hasnt been released but should be released soon. should I wait for a ROM that uses the source code?
2. I see that the most popular costum ROMs for this device are - Lineage and resurrection remix. In terms of battery life, stability and bug free rom. which one is the best?
3. I see there is one ROM with the tag [OFFICIAL]....does this mean it uses the source code? if not, what does it mean?
thanks a lot to those that answer
eliko2000 said:
Hi guys,
I always read in the Xda forum but never wrote or asked a question...usually someone already asked them.
so I have the Mi 5S PLUS...but I hate the miui UI. can't get used to it. And yesterday I finally found that there are custom ROM for this device.
So I got few questions.
1. As far as i know, the source code hasnt been released but should be released soon. should I wait for a ROM that uses the source code?
2. I see that the most popular costum ROMs for this device are - Lineage and resurrection remix. In terms of battery life, stability and bug free rom. which one is the best?
3. I see there is one ROM with the tag [OFFICIAL]....does this mean it uses the source code? if not, what does it mean?
thanks a lot to those that answer
Click to expand...
Click to collapse
1. Source code is released but rom based on source code are not released yet .You can use them but their are some bugs,
2.You can check yourself
3. Official means official rom from lineage team or other maintainers just like Global MIUI rom from xiaomi is official while xiaomi.eu is unofficial .
You can check for source in rom page for more info about what device tree and source code it uses
ashish289 said:
1. Source code is released but rom based on source code are not released yet .You can use them but their are some bugs,
2.You can check yourself
3. Official means official rom from lineage team or other maintainers just like Global MIUI rom from xiaomi is official while xiaomi.eu is unofficial .
You can check for source in rom page for more info about what device tree and source code it uses
Click to expand...
Click to collapse
Thanks for the answers. But I asked because I prefer to install one and that's it. and if someone used the both ..why not to hear opinions.
I recomend RR
eliko2000 said:
Thanks for the answers. But I asked because I prefer to install one and that's it. and if someone used the both ..why not to hear opinions.
Click to expand...
Click to collapse
The reason that people don't recommend one over the other is because YMMV. I know I came from a cyanogen ROM with my previous phone and dirty unicorns on the phoen before that (along with a whole set of custom ROMs). In the end though, I found them all to be "similar". Yes, some do some things differently like some offer a lot of CPU governors, while others keep the list pretty tight. Some default with swap space on, some don't use swap space at all (this phone shouldn't need swap space). Sometimes the difference between two ROMs is just the launcher.
For me, I don't really like the MIUI launcher. It feels a lot like an iphone. This isn't a bad thing. Some people like it. I just install Apex (from the play store) and my issues with the ROM were mostly resolved. The only remaining problem is MASS STORAGE. But, based on my experience with mly previous phone, I doubt I'll find a ROM that natively supports it. But I know how to hack my way in and get that going (just need root... which requires an unlocked bootloader... and if I am reading things correctly, you need to wipe everything which I currently not willing to do... but may have found a workaround... going to test it out tomorrow).
bmg002 said:
The reason that people don't recommend one over the other is because YMMV. I know I came from a cyanogen ROM with my previous phone and dirty unicorns on the phoen before that (along with a whole set of custom ROMs). In the end though, I found them all to be "similar". Yes, some do some things differently like some offer a lot of CPU governors, while others keep the list pretty tight. Some default with swap space on, some don't use swap space at all (this phone shouldn't need swap space). Sometimes the difference between two ROMs is just the launcher.
For me, I don't really like the MIUI launcher. It feels a lot like an iphone. This isn't a bad thing. Some people like it. I just install Apex (from the play store) and my issues with the ROM were mostly resolved. The only remaining problem is MASS STORAGE. But, based on my experience with mly previous phone, I doubt I'll find a ROM that natively supports it. But I know how to hack my way in and get that going (just need root... which requires an unlocked bootloader... and if I am reading things correctly, you need to wipe everything which I currently not willing to do... but may have found a workaround... going to test it out tomorrow).
Click to expand...
Click to collapse
Wipe everything is very simple connect the phone via USB cable to PC and via twrp wipe everything then past a Rom on the phone and flash it, that's it
venezolano69 said:
Wipe everything is very simple connect the phone via USB cable to PC and via twrp wipe everything then past a Rom on the phone and flash it, that's it
Click to expand...
Click to collapse
Wiping everything is easy, yes, but I want to avoid wiping if I don't have to.
Got the phone rooted without needing to wipe it (yay), but getting mass storage enabled failed on me. I can't seem to write to the file I need to which confuses me... but that is off topic so I'll refrain from boring you with details on that.
Back on topic, if you are switching to a custom ROM you will need to wipe things. I personally would wait for a custom kernel to come out before you start playing with custom ROMs unless the custom ROM has a feature you REALLY want. With my previous phones, the one that had a custom Kernel as well as custom ROMs was a lot more stable and had a lot fewer bugs. The one that had only factory kernel, the custom ROMs were flaky. They mostly worked, but they did have bugs. If I got a phone call or called somebody and they hung up first, it would crash the dialer and the dialer would fail to start again until I rebooted. Now a custom kernel may not have helped that, but since the kernel was based on a previous version of Android, it was unstable.
The current custom ROMs (that I have seen) are all based off of the stock kernel and not newer ones so I personally do not expect to see much benefit in changing ROMs except having different bloat and a different launcher. Well, at lest for the things I use my phone for. But YMMV.

Categories

Resources