How do I port POCO's MIUI Camera to Custom ROM - Xiaomi Poco F1 Questions & Answers

What things will I require? What know how? Is someone ready to help?

AEonAX said:
What things will I require? What know how? Is someone ready to help?
Click to expand...
Click to collapse
The fact you are asking this question signifies you have no idea about porting

Negi9 said:
The fact you are asking this question signifies you have no idea about porting
Click to expand...
Click to collapse
One can always learn. Right?
I am currently using Resurrection Remix. I have already taken a TWRP backup of original MIUI rom. what else will i require?

AEonAX said:
One can always learn. Right?
I am currently using Resurrection Remix. I have already taken a TWRP backup of original MIUI rom. what else will i require?
Click to expand...
Click to collapse
It's not that simple. You'll need to learn a lot about coding in order to be anywhere close to doing it. It's not copy pasting stuff here and there or installing from a backup.

Negi9 said:
It's not that simple. You'll need to learn a lot about coding in order to be anywhere close to doing it. It's not copy pasting stuff here and there or installing from a backup.
Click to expand...
Click to collapse
I think being a software engineer will help mostly :fingers-crossed:

Why would you wanna do that when we have Gcam

Slow motion video, portrait mode and other things. Some body please provide some guidance.

AEonAX said:
Slow motion video, portrait mode and other things. Some body please provide some guidance.
Click to expand...
Click to collapse
Ok, seeing that you are pretty serious about this, contact this guy as he has experience in porting Mi A2 stock camera to custom roms

I hear you !
AEonAX said:
What things will I require? What know how? Is someone ready to help?
Click to expand...
Click to collapse
Since you're a noob, I can't think of anything easier than this for you
Go through the ports which are already available (like Mi A2) (must be xiaomi)
See what files the dev used to get the camera working on non-miui roms
To give you rough idea there will be xiaomi framework , some xmls, libs etc.
Try replicating those exact files from your stock firmware and create a flashable zip or directly paste em into root
Also try contacting the dev of that camera and see if he agrees to help you out !
Ask him if you face any trouble throughout.
Ignore people who are discouraging,
Today a noob, tomorrow a pro

Thanks a lot. I trialed and error-ed and came to same method you mentioned below.
blacklisted.rock said:
Since you're a noob, I can't think of anything easier than this for you
Go through the ports which are already available (like Mi A2) (must be xiaomi)
See what files the dev used to get the camera working on non-miui roms
To give you rough idea there will be xiaomi framework , some xmls, libs etc.
Try replicating those exact files from your stock firmware and create a flashable zip or directly paste em into root
Also try contacting the dev of that camera and see if he agrees to help you out !
Ask him if you face any trouble throughout.
Ignore people who are discouraging,
Today a noob, tomorrow a pro
Click to expand...
Click to collapse
I learnt a lot, Got a little bit working port by myself. I will create a new thread with further details

AEonAX said:
Thanks a lot. I trialed and error-ed and came to same method you mentioned below.
I learnt a lot, Got a little bit working port by myself. I will create a new thread with further details
Click to expand...
Click to collapse
Bro can you give the link of the apk and instructions to install it.

SamyakJ said:
Bro can you give the link of the apk and instructions to install it.
Click to expand...
Click to collapse
https://forum.xda-developers.com/poco-f1/themes/port-t3879357

AEonAX said:
https://forum.xda-developers.com/poco-f1/themes/port-t3879357
Click to expand...
Click to collapse
Thanx bro

I'm glad I helped
AEonAX said:
Thanks a lot. I trialed and error-ed and came to same method you mentioned below.
I learnt a lot, Got a little bit working port by myself. I will create a new thread with further details
Click to expand...
Click to collapse
My Poco is arriving in 3 days, I might just test your port and solve a few problems after I unlock my bootloader.

Related

Read please! Can anyone make rom for N9389/ HDC GALAXY S3 LEGEND?

So the first person who makes completely working miui or cm10.1 or both will get 100-150 dollars
Sent from my Samsung Galaxy SIV using xda app-developers app
gogozx said:
So the first person who makes completely working miui or cm10.1 or both will get 100-150 dollars
Sent from my Samsung Galaxy SIV using xda app-developers app
Click to expand...
Click to collapse
does this offer still stand?
If so, I will give it a go.
OpenMinded said:
does this offer still stand?
If so, I will give it a go.
Click to expand...
Click to collapse
Yes, it still stands, but i found out that CM10.1 is currently impossible to make, so you can try with MIUI V5.
gogozx said:
Yes, it still stands, but i found out that CM10.1 is currently impossible to make, so you can try with MIUI V5.
Click to expand...
Click to collapse
so how did you make the nexus rom for it?
The issue is that I do not own the phone, but I am looking at porting CM to MTK6589.
MIUI porting is a bit different, it would not involve kernel compiling per se I believe (CM either, but I would like to).
To give it a go, I would need info from here:
http://wiki.cyanogenmod.org/w/Doc:_porting_intro
So your ROM version, partition info etc.
When I manage to port to a device I own, I can give it a go.
OpenMinded said:
so how did you make the nexus rom for it?
The issue is that I do not own the phone, but I am looking at porting CM to MTK6589.
MIUI porting is a bit different, it would not involve kernel compiling per se I believe (CM either, but I would like to).
To give it a go, I would need info from here:
http://wiki.cyanogenmod.org/w/Doc:_porting_intro
So your ROM version, partition info etc.
When I manage to port to a device I own, I can give it a go.
Click to expand...
Click to collapse
It's not really Nexus ROM, it's just stock ROM modified to look like stock Android.
I have Android 4.2.1
I will PM you the partition info.
gogozx said:
It's not really Nexus ROM, it's just stock ROM modified to look like stock Android.
I have Android 4.2.1
I will PM you the partition info.
Click to expand...
Click to collapse
Just started with practicing on my Nexus 7 . I ordered the same model as well, N9389.
I also have a N9599, let's see how far I get .
OpenMinded said:
Just started with practicing on my Nexus 7 . I ordered the same model as well, N9389.
I also have a N9599, let's see how far I get .
Click to expand...
Click to collapse
Wow, it seems that you have alot of money to order it just because you want to develop ROM for that phone.
Good luck man, if you need any help message me
gogozx said:
Wow, it seems that you have alot of money to order it just because you want to develop ROM for that phone.
Good luck man, if you need any help message me
Click to expand...
Click to collapse
Well, not really, but I like to spend money on those things.
When the ROM works I'll sell it .
Well dump info and the stuff on the CM porting page is still usefull.
cheers
OpenMinded said:
Well, not really, but I like to spend money on those things.
When the ROM works I'll sell it .
Well dump info and the stuff on the CM porting page is still usefull.
cheers
Click to expand...
Click to collapse
I will be testing those ROMs that you make for N9389, is it OK?
gogozx said:
I will be testing those ROMs that you make for N9389, is it OK?
Click to expand...
Click to collapse
If I manage to make something working, sure !
OpenMinded said:
If I manage to make something working, sure !
Click to expand...
Click to collapse
i compiled my first recovery based on cm 10.1 for Thl W8.
I have no easy way to push the image to the phone to test.
If it works, I can start to create a recovery for this phone based on sources.
I would need that info I requested.
Are you able to post the build.prop file and the partition dump?
Look at the page with instructions I posted earlier.
Meantime I look for an easy way to flash that recovery, somehow sp flashtool does not read the scatter file created by mtkdroidtools .
cheers
managed to flash it, but it does not work , just a black screen .
Harder than it looks.
Can't promise anything, but I'll post if I get further.
Compiling on an old C2D now, so it takes time .
OpenMinded said:
managed to flash it, but it does not work , just a black screen .
Harder than it looks.
Can't promise anything, but I'll post if I get further.
Compiling on an old C2D now, so it takes time .
Click to expand...
Click to collapse
Even if you failed, thank you for trying and i hope you will make it
gogozx said:
Even if you failed, thank you for trying and i hope you will make it
Click to expand...
Click to collapse
you are welcome .
I do still need the information I mentioned once I get it working.
Especially the partition info is important.
You may always hit the thanks button when you are happy .
I am currently working on CWM 6 to get working.
I'll post when I have progress (or when I quit ).
You can always give it a go yourself:
http://wiki.cyanogenmod.org/w/Doc:_porting_intro
cheers!
OpenMinded said:
If I manage to make something working, sure !
Click to expand...
Click to collapse
So, like I requested before, please :
- post your build.prop file
- post identification stuff of the device, like screen resolution, memory and recovery.fstab (or the recovery image)
- in general take a look at the link I posted before and read it, so you know what info is needed :
http://wiki.cyanogenmod.org/w/Doc:_porting_intro
The reason I ask is because there are at leat 2 different versions, 1 had 960x480 screen and 1/4gb ram/rom, the other 1280x720 and 2/8.
They obviously at least have different partitions and displays and perhaps even other different hardware.
You can also post a full working ROM on dropbox or something.
thanks
P.S. for the needed tools, see here:
http://forum.xda-developers.com/showpost.php?p=44096751&postcount=371
This is a CWM 6.0.3.3 which works on my device.
Use SP Flash Tools 3.13 something to flash.
My scatter file is attached, please compare it with yours.
Needless to say perhaps, but still: this is on your own risk.
You may damage your device if you do not know what you are doing.
Bricking it is not my fault!
So think before you act.
If you try: please give feedback if it works.
If does it is the same device: N9389 5.3", 960x480 (qHD) , 1 gb ram, 4 gb rom.
Device identifier: v89_gq2002s
Baseband v: MOLY.WR8.W1248.MD.WG.MP.V6.P2, 2013/03/26 12:42
cheers!
OpenMinded said:
This is a CWM 6.0.3.3 which works on my device.
Use SP Flash Tools 3.13 something to flash.
My scatter file is attached, please compare it with yours.
Needless to say perhaps, but still: this is on your own risk.
You may damage your device if you do not know what you are doing.
Bricking it is not my fault!
So think before you act.
If you try: please give feedback if it works.
If does it is the same device: N9389 5.3", 960x480 (qHD) , 1 gb ram, 4 gb rom.
Device identifier: v89_gq2002s
Baseband v: MOLY.WR8.W1248.MD.WG.MP.V6.P2, 2013/03/26 12:42
cheers!
Click to expand...
Click to collapse
OK, thank you man but i already have CWM :/
Anyways yes that is my phone
And here is the stock ROM
http://www.needrom.com/mobile/star-n9389/
gogozx said:
OK, thank you man but i already have CWM :/
Anyways yes that is my phone
And here is the stock ROM
http://www.needrom.com/mobile/star-n9389/
Click to expand...
Click to collapse
You have CWM 6 already? If you are sure, I will continue.
OpenMinded said:
You have CWM 6 already? If you are sure, I will continue.
Click to expand...
Click to collapse
I'm sure You have no idea how happy i am now, you honestly make me happy because you try so hard for person that you don't even know DD
gogozx said:
I'm sure You have no idea how happy i am now, you honestly make me happy because you try so hard for person that you don't even know DD
Click to expand...
Click to collapse
Hi,
Well I am partly motivated by your offer, but I enjoy Android and Linux hacking.
Let's hope those attempts will lead to something.
How about LewaOS? There are good porting guides for that.
I will try to look for MIUI or CM in the weekend.
Initial CM would miss dual sim support.
Maybe MIUI is easier, because some work has been done.
Well, I'll see.
Don't overestimate the complexity, if you have CM 6 and made it yourself, porting a rom is doable I suppose ?
cheers

[Q] Need 4.4 or else 4.3 for my s duos

I have s duos still it is not rooted and it is out of warranty so I was thinking to root and get 4.4 or 4.3.I have not done any customization on it. As 4.0.4 now about get outdate and offical update of 4.1 is not released I am bored of its ui is also boring so if you give any good ui that would be bonus. Please give the direct download links of rom, rooting app, bootloader, ui and what is necessary. I am at the starter level so try to explain detail as i know very less of all these and if possible do it as early as possible because I already wasted my 2-3 days in search about the rom I could not find any proper site. I would be grateteful to u if u will do just that work for me.
If your phone model is GT-S7562 then this thread may help you a lot
Confused about the rom
UltraWelfare said:
If your phone model is GT-S7562 then this thread may help you a lot
Click to expand...
Click to collapse
I undterstood to root and installing cwm recovery. But i am confused about how to get 4.4 and the ui can u explain it here rather than giving another link. Please say me what is difference in this rom and which will give me nice ui and latest android.
vrbobde said:
I undterstood to root and installing cwm recovery. But i am confused about how to get 4.4 and the ui can u explain it here rather than giving another link. Please say me what is difference in this rom and which will give me nice ui and latest android.
Click to expand...
Click to collapse
If you only need ui you can always install a "launcher" from Google Play.
If you want also to have the latest android and its functions then you will need a ROM.
The only rom found about your phone is HyperX
If you have rooted and installed cwm recovery then you will install the ROM.
Each rom has individual instructions.You can take a look at HyperX thread to see the procedure of how to install the rom.
I can't give you instructions through a post I'm sorry .Check out the HyperX Thread
UltraWelfare said:
If you only need ui you can always install a "launcher" from Google Play.
If you want also to have the latest android and its functions then you will need a ROM.
The only rom found about your phone is HyperX
If you have rooted and installed cwm recovery then you will install the ROM.
Each rom has individual instructions.You can take a look at HyperX thread to see the procedure of how to install the rom.
I can't give you instructions through a post I'm sorry .Check out the HyperX Thread
Click to expand...
Click to collapse
Will the hyperX rom give me 4.4.2
Even if you will give answer by thread I will understand
vrbobde said:
Will the hyperX rom give me 4.4.2
Even if you will give answer by thread I will understand
Click to expand...
Click to collapse
I don't know it doesn't mention.You can check the comments if some user reports or even ask!
UltraWelfare said:
I don't know it doesn't mention.You can check the comments if some user reports or even ask!
Click to expand...
Click to collapse
I only want 4.4.2 for my device I do not want anything extra. Is there any way to get or i have to leave it
vrbobde said:
I only want 4.4.2 for my device I do not want anything extra. Is there any way to get or i have to leave it
Click to expand...
Click to collapse
Search more for roms...I can't find anything else than the one I sent you :/.If you don't find then you will need to install CM if it is available for your phone or else you gotta leave it
UltraWelfare said:
Search more for roms...I can't find anything else than the one I sent you :/.If you don't find then you will need to install CM if it is available for your phone or else you gotta leave it
Click to expand...
Click to collapse
I did not understtod it can u explain in detail and what is cm can it do my work.
vrbobde said:
I did not understtod it can u explain in detail and what is cm can it do my work.
Click to expand...
Click to collapse
CM is Cyanogen Mod and it's like a rom...
You can read more here
HELP
UltraWelfare said:
CM is Cyanogen Mod and it's like a rom...
You can read more here
Click to expand...
Click to collapse
I saw that site before but I was unable to understand. Do it work for me how can I find pleae help
vrbobde said:
I saw that site before but I was unable to understand. Do it work for me how can I find pleae help
Click to expand...
Click to collapse
There are tutorials on youtube you can check .
It's really easy when you finally understand it

Need Help...

I am on a custom rom,(cm14)
it has a bug "Video decoding & encoding".
I want to fix it....
But dont know how to....
Please Help me!
Link to the thread of cm14
https://forum.xda-developers.com/cr...velopment/rom-cyanogenmod-14-alpha-1-t3454714
Device:- Android One (sprout)
Who made it? We really need more information mate, like your device name. And if this rom has a thread, post the issue there instead. Also, if you want help on such things, always provide as much information as possible, especially if you want people to help you from their free time (logs would be quite useful as well)
RAZERZDAHACKER said:
Who made it? We really need more information mate, like your device name. And if this rom has a thread, post the issue there instead. Also, if you want help on such things, always provide as much information as possible, especially if you want people to help you from their free time (logs would be quite useful as well)
Click to expand...
Click to collapse
Sir,the developer of rom has discontinued it...
(/¯–‿・)/¯ said:
Sir,the developer of rom has discontinued it...
Click to expand...
Click to collapse
Still, what about the other questions left unanswered?
RAZERZDAHACKER said:
Still, what about the other questions left unanswered?
Click to expand...
Click to collapse
I have added link to rom in op.
Actually,i shifted to another rom as in cm 14 i cant record video neither play any video

Custom rom for Asus X00BD (zenfone go zb500kg)

is there any CUSTOM ROM AND TWRP/CWM in Asus Zenfone Go ZB500kg ?
Found anything?
Uqbar said:
Found anything?
Click to expand...
Click to collapse
me too men help me please?
i've already search all the custom ROM here
roms and development
RAver Miles said:
me too men help me please?
i've already search all the custom ROM here
Click to expand...
Click to collapse
hello guys still do not get anything, I'm also looking for roms or some development for this phone would like a roms cleaner something more to the pure android I have if you want can leave contact to join the owners of this phone to see if we can get some development and we help each other say? :good:
This is a low end, low interest phone (and an oldish one too) so I think the search for a custom ROM is vane.
ROM are developed by people owning that phone. No dev owns one of this, so ther'll be no ROM.
I think the best we can do now is to debloat it in order to lighten the OS and make it work more efficiently.
I will go this path.
Uqbar said:
This is a low end, low interest phone (and an oldish one too) so I think the search for a custom ROM is vane.
ROM are developed by people owning that phone. No dev owns one of this, so ther'll be no ROM.
I think the best we can do now is to debloat it in order to lighten the OS and make it work more efficiently.
I will go this path.
Click to expand...
Click to collapse
sad to say did not work for me..
Unlocking the bootloader?
easyasf said:
is there any CUSTOM ROM AND TWRP/CWM in Asus Zenfone Go ZB500kg ?
Click to expand...
Click to collapse
Do you know how to Unlock the bootloader?
reply
darknemesisx said:
Do you know how to Unlock the bootloader?
Click to expand...
Click to collapse
i made a TWRP recovery for the exact phone
Asus zenfone go x00bd zb500kg if you want DM me on twitter cuz the im new User on XDA
Check the below answer for the recovery D
and like any thread do it at your own .. the image has been tested many time with positive result and no bricks happend but be careful anyway
easyasf said:
is there any CUSTOM ROM AND TWRP/CWM in Asus Zenfone Go ZB500kg ?
Click to expand...
Click to collapse
yes
Please send me a link for zb500kg twrp file.. thanks
Dacara1234 said:
Please send me a link for zb500kg twrp file.. thanks
Click to expand...
Click to collapse
Jump to my Twitter account MuhammedSabbagh so I can give you the link since my account on xda isn't privileged to post links here
twitter is no longer needed check below answer
hello fellow xda developers community!
i hope everyone is alright
i'm sorry if i take too long to respond on twitter as i rarely hop there (can't blame me tho it's isnt the best place to be in anyway..)
to immediately go to topic here is the link of the Recovery: https://mega.nz/#!5gtmhCjQ!_utHIgyVgHvLW2qPoESeC_XeAlyBAD1sixQxYzIAZPc
my device is broken because bad battery so i'm not using it anymore, tho the recovery is 100% usable
finally if you please just don't contact me on twitter for the recovery anymore because there is a high chance that i'm not going to respond..
that's it enjoy the recovery !!!
an XDA Thank is highly appreciated!
EDIT: Looking back at the answers
There is NOT any custom ROMS for that particular device so please don't waste your time on looking for one and only debloat it
right now there is a TWRP for this device to use so that's that
thank you. yeah, i received the file by conctanting him on twitter because it was not here before )

About Android Porting

Guys, i've tried to port a j500fn rom to a j510FN, and everything worked out pretty well. Most of the things were working and everything was fine. I tried to use the camera but I remembered I forgot to change some files. I changed those files and I double-checked if I missed any bad files. I reflashed the ROM, everything was working but guess what, camera still didn't work. I changed the base ROM, still no result, I searched for a tutorial to see if I missed any file, and i didn't. I don't know what went wrong, can you guys help me? The rom was Validus 8.1 (Unofficial).
DankMemz said:
Guys, i've tried to port a j500fn rom to a j510FN, and everything worked out pretty well. Most of the things were
...
the base ROM, still no result, I searched for a tutorial to see if I missed any file, and i didn't. I don't know what went wrong, can you guys help me? The rom was Validus 8.1 (Unofficial).
Click to expand...
Click to collapse
Hi there,
Porting is buggy, you have really many bugs to deal with, moreover there aren't so many tutorials on how to do that and fix errors.
I'll advice you to check how to build a ROM from source. That's the easiest way to do because you'll have less bugs to deal with, and there are tons of tutorial about that.
Here is one of the most complete.
https://forum.xda-developers.com/chef-central/android/guide-android-rom-development-t2814763
It's getting old but it's still fine, and XDA is filled with those kind of tutorial , go search the forum for other tutorial.
Have fun !
RaiZProduction said:
Hi there,
Porting is buggy, you have really many bugs to deal with, moreover there aren't so many tutorials on how to do that and fix errors.
I'll advice you to check how to build a ROM from source. That's the easiest way to do because you'll have less bugs to deal with, and there are tons of tutorial about that.
Here is one of the most complete.
https://forum.xda-developers.com/chef-central/android/guide-android-rom-development-t2814763
It's getting old but it's still fine, and XDA is filled with those kind of tutorial , go search the forum for other tutorial.
Have fun !
Click to expand...
Click to collapse
Thx for advice, but i really want to finish porting this rom, because I worked pretty hard on it..
DankMemz said:
Thx for advice, but i really want to finish porting this rom, because I worked pretty hard on it..
Click to expand...
Click to collapse
Oh I see, unfortunately I can't help you for this particular issue , sorry.
RaiZProduction said:
Oh I see, unfortunately I can't help you for this particular issue , sorry.
Click to expand...
Click to collapse
I eveb replaced the whole Vendor folder, and still didn't work ....

Categories

Resources