Related
I know this has been asked before, but can anyone guide me into cobbling up even a simple mod for Mediatek Android phone ROMs?
blakegriplingph said:
I know this has been asked before, but can anyone guide me into cobbling up even a simple mod for Mediatek Android phone ROMs?
Click to expand...
Click to collapse
have fun.
we already have gravitybox with xposed framework. no point in reinventing the wheel unless you work at mediatek
Lgrootnoob said:
have fun.
we already have gravitybox with xposed framework. no point in reinventing the wheel unless you work at mediatek
Click to expand...
Click to collapse
I know, but what I'm aiming for is a custom ROM, similar to the ones circulating here on XDA.
blakegriplingph said:
I know, but what I'm aiming for is a custom ROM, similar to the ones circulating here on XDA.
Click to expand...
Click to collapse
not sure about mediatek but start with compiling your own build with working instructions.
copying proprietary files, and anything else you can find around here
Never mind, just saw a tutorial about editing ROMs. It claims to be universal but I'm wondering about some specific stuff for my phone, i.e. removing preloaded applications and other stuff.
I modified some frameworks of the Tablet to enable Advanced Power Menu...I posted it in General section of the forum but looks like it isn't visible there.
I also need a tester more things (a whole new rom!). @Aeyan Ashraf used to be my tester, but it looks like he isn't, anymore.
Anyone interested in testing can lead to here for more informations http://forum.xda-developers.com/galaxy-tab-3/general/mod-advanced-reboot-menu-tab-3-10-1-t2983139
If u need a tester for P5200 i could help u
xTear said:
If u need a tester for P5200 i could help u
Click to expand...
Click to collapse
Provide android.policy.jar; services.jar; framework-res.apk and twframework-res.apk from your current ROM please.
I will try to patch it, but it's not guaranteed. Cause both devices are a bit different.
Not to be a downer, but this is already easily accomplished by installing the xposed framework, and APM.
cmlusco said:
Not to be a downer, but this is already easily accomplished by installing the xposed framework, and APM.
Click to expand...
Click to collapse
Ikr, I used that module in AmatROM v1.0
Don't be mean!
Here, sorry I saw this post a little bit late.
cmlusco said:
Not to be a downer, but this is already easily accomplished by installing the xposed framework, and APM.
Click to expand...
Click to collapse
XPosed is cool, and great. However wouldn't it be great if the features we wanted were already part of a ROM and we didn't need to install addons just to customize how we want?
I install xposed. I see a module I like. Then I try to find how to hard code so I don't need xposed.
Thank you Nonta. I will try this when possible.
CAG-man said:
XPosed is cool, and great. However wouldn't it be great if the features we wanted were already part of a ROM and we didn't need to install addons just to customize how we want?
I install xposed. I see a module I like. Then I try to find how to hard code so I don't need xposed.
Thank you Nonta. I will try this when possible.
Click to expand...
Click to collapse
Thank you CAG-man
Hi,
I would like to request some testers who are currently running stock MIUI to test the stock kernel. Feel free to comment below.
Instructions:
- You should be on CWM
- Download zip
- Flash kernel
- reboot
- cross your fingers
What to check:
- WLAN -> see if it works
Source:
https://github.com/emceethemouth/kernel_cancro/tree/mi-stock
WLAN:
git://codeaurora.org/platform/vendor/qcom-opensource/wlan/prima/
blah blah blah
Wifi not working after flashing the kernel.
Armin_van_buuren said:
Wifi not working after flashing the kernel.
Click to expand...
Click to collapse
Hold on I'm uploading a new one.
Edit:
Attachment updated
Wifi doesn't work, everything else does.
alphoz said:
Wifi doesn't work, everything else does.
Click to expand...
Click to collapse
Ok thanks, seems MIUI still has no proper fix for it. Anyways will keep this thread posted for any updates. Thanks!
Gnome said:
Ok thanks, seems MIUI still has no proper fix for it. Anyways will keep this thread posted for any updates. Thanks!
Click to expand...
Click to collapse
Thanks to you, and all your hard work. I would also like to mention that the miband unlocking worked a lot better with your kernel than the MIUI stock one. Thanks again.
Wow. Thanks GNOME... Good to kernel for miui
Sent from my MI 3W using Tapatalk
Audahudi also build stock miui kernel. This also has same bugs, no WiFi, cit etc menu take while to open.
One bug I have doubt of is, whether all 4 cores work simultaneously. In my testing I saw most time 2 work, sometimes 3. Benchmarks also give scores like that. Also CPU performance control pro, which can set individual frequency of all cores could make 2 cores work together.
Any app you know which can monitor every core usage over period of time?
The 2nd bug is what I'm curious off, as I don't have WiFi lol.
Plus these miui kernel can be used in some custom Chinese KitKat ROMs. Iuni is 1 example, fiui I havent tested.
Gnome said:
Ok thanks, seems MIUI still has no proper fix for it. Anyways will keep this thread posted for any updates. Thanks!
Click to expand...
Click to collapse
Thanks for your hard work. But did you read this? https://github.com/MiCode/Xiaomi_Kernel_OpenSource/wiki/How-To-Use
I tried to compile kernel according to this instructions. Compilation through without problems. But kernel freeze while booting. I am not kernel developer, so don't have experience, how to debug it. If you find time, please can you try it?
Thanks
Pepe.II said:
Thanks for your hard work. But did you read this? https://github.com/MiCode/Xiaomi_Kernel_OpenSource/wiki/How-To-Use
I tried to compile kernel according to this instructions. Compilation through without problems. But kernel freeze while booting. I am not kernel developer, so don't have experience, how to debug it. If you find time, please can you try it?
Thanks
Click to expand...
Click to collapse
That happened to me when I did all that.
I found no solution, so I left it.
@Pepe.II you should see the issues section, I'm always there.
https://github.com/MiCode/Xiaomi_Kernel_OpenSource/issues/16
@Gnome
on what miui we should try stable or developer ?
Stable just to be safe.
Edit: @alexret, can you try the instructions on that misleading turorial but use my kernel source? Branch is mi-stable. I have a feeling it'll work
@Gnome anything with the bug I have doubt of?
@Gnome I tried to flash your kernel STX-MI-PRIMA-TEST-2015-06-24 from first post attachment.
Its only kernel, no modules included. This has a effect, that no modules are loaded while booting. When i try load module manually, it crashes with this message:
[email protected]:/ # insmod /system/lib/modules/wlan.ko
insmod: init_module '/system/lib/modules/wlan.ko' failed (Exec format error)
Please, can you compile kernel with modules? Thanks
@Me_Ashish_ its MIUIs kernel source, its incomplete it needs a lot of patches. And yes this kernel is just stock MIUI I added nothing to it just the opensource wlan from qualcomm w/c they claim works.
@Pepe.II thats the idea, the kernel should have it by default already, no need for the modules to be included in the package. The Modules are being built with the zImage-dtb itself, adding those modules to rhe zip package is very wrong. Adding it to the kernel package for CM Bases ROMs are just a work around, and I tell you know it wont work on stock MIUI ROM, unless you build MIUI from source and use my kernel source to be built with it.
Gnome said:
@Me_Ashish_ its MIUIs kernel source, its incomplete it needs a lot of patches. And yes this kernel is just stock MIUI I added nothing to it just the opensource wlan from qualcomm w/c they claim works.
@Pepe.II thats the idea, the kernel should have it by default already, no need for the modules to be included in the package. The Modules are being built with the zImage-dtb itself, adding those modules to rhe zip package is very wrong. Adding it to the kernel package for CM Bases ROMs are just a work around, and I tell you know it wont work on stock MIUI ROM, unless you build MIUI from source and use my kernel source to be built with it.
Click to expand...
Click to collapse
As far as I understand it, you did not compile drivers as modules but compile them as part of the kernel?. Ok. But why, when I look in to kmesg log (/proc/kmesg), I find not a single mention about the WLAN. That's weird. Are you sure, that WLAN part is compiled correctly?
@Pepe.II if Im building kernels wrong, by all means please guide me on how to build kernels correctly.
Well if I'm getting this kind of critisczm might as well stop this. Anyways thanks for all that tested, I'm dropping this.
Gnome said:
@Pepe.II if Im building kernels wrong, by all means please guide me on how to build kernels correctly.
Well if I'm getting this kind of critisczm might as well stop this. Anyways thanks for all that tested, I'm dropping this.
Click to expand...
Click to collapse
Sorry, I only asking, because I do not understand how you work with drivers. Prima WLAN you set as a module but I do not see any module in a flashable zip. You assume that your kernel will use modules from stock MIUI kernel?
I do not criticize, just asking. if this sounds like criticism, so it is due to my poor English and i am sorry.
Can someone please tell me how to enable double tap to wake on LOS 14.1 on desire 816. Is there any patch or flashable zip or anything which will help me to do it
rjcool1999 said:
Can someone please tell me how to enable double tap to wake on LOS 14.1 on desire 816. Is there any patch or flashable zip or anything which will help me to do it
Click to expand...
Click to collapse
There is no patch for that or a flashable zip, but there are some apps that might help with it like this one or this one, but if you find any fast battery drain, then uninstall them
Actually I dnt want to use any app rather I want it to be inbuilt.....It would have been good if I get some source code so developer could integrate it into LOS14.1
rjcool1999 said:
Actually I dnt want to use any app rather I want it to be inbuilt.....It would have been good if I get some source code so developer could integrate it into LOS14.1
Click to expand...
Click to collapse
It won't be integrated in LOS source because it's always features-clean, but if there is a based rom like RR or AICP for your device, then you can ask the developers to integrate this feature in their roms.
Good luck
rjcool1999 said:
Can someone please tell me how to enable double tap to wake on LOS 14.1 on desire 816. Is there any patch or flashable zip or anything which will help me to do it
Click to expand...
Click to collapse
May be flashing custom kernel that supports double tap to wake up solve your problem.
Ashwinrg said:
May be flashing custom kernel that supports double tap to wake up solve your problem.
Click to expand...
Click to collapse
Ohhh custom kernel........Any idea to get that or build it
rjcool1999 said:
Ohhh custom kernel........Any idea to get that or build it
Click to expand...
Click to collapse
Building a custom kernel requires a very high linux and android development knowledge, but you can look in the Original development thread or the development thread of the Desire 816, you may find custom kernels there that supports this feature...i once needed that function on my s2 as well, but since it requires some specific screens to prevent battery drain, i couldn't have it, so after all, maybe it's a limitation of your phone
MigoMujahid said:
Building a custom kernel requires a very high linux and android development knowledge, but you can look in the Original development thread or the development thread of the Desire 816, you may find custom kernels there that supports this feature...i once needed that function on my s2 as well, but since it requires some specific screens to prevent battery drain, i couldn't have it, so after all, maybe it's a limitation of your phone
Click to expand...
Click to collapse
Ohhhhhh then I'm not going to look after it anymore.......custom kernel is there for the LOS13 rom made by @Grarak but I'm on LOS14.1 now so I'll prefer the power button
INTRO:
I present a new version of my kernel, now for the lg k7, the kernel has patches that will help you get a very good performance, as well as a longer battery life, and better fluidity, is compiled with UbertTC in its version 5.2, in addition to containing patches for a correct stability.
Features:
* Compiled with UberTC
* More coming soon...
Downloads:
Preview version -> Download
Instructions:
* Flash in TWRP
Notes:
* Im only test in MetroPCS variant
Sources:
GitHub
Reserved
....
Worked flawlessly. Flashed with TWRP and rebooted and system loaded up fine. There was a few minor lags as it booted into the system past the MetroPCS logo but that was probably due to the changes made by the zip but after that the system was more fluid than it previously was even after having soo many apps installed. Great work. This is one step closer to completing a custom rom like CM13 or Lineage OS. Good luck with more development.
thepcwiz101 said:
Worked flawlessly. Flashed with TWRP and rebooted and system loaded up fine. There was a few minor lags as it booted into the system past the MetroPCS logo but that was probably due to the changes made by the zip but after that the system was more fluid than it previously was even after having soo many apps installed. Great work. This is one step closer to completing a custom rom like CM13 or Lineage OS. Good luck with more development.
Click to expand...
Click to collapse
Im already working on Lineage
xperiafan13 said:
Im already working on Lineage[/QUO
Hey people don't forget to hit the thanks button.
By the way ty Dev keep up the good work. This phone is def a decent phone surprise nothing been built for it.
Click to expand...
Click to collapse
xperiafan13 said:
Im already working on Lineage
Click to expand...
Click to collapse
Nice. I hope Development is going well. If you need any testers i am up for testing any builds.
thepcwiz101 said:
Nice. I hope Development is going well. If you need any testers i am up for testing any builds.
Click to expand...
Click to collapse
I second that statement... I'll be a test dummy ?? anything for a new ROM!
Im already compile lineage, but this not boot, im need more time
xperiafan13 said:
Im already compile lineage, but this not boot, im need more time
Click to expand...
Click to collapse
Need any help let me know. . I'd love to help!
xperiafan13 said:
Im already compile lineage, but this not boot, im need more time
Click to expand...
Click to collapse
Hopefully it boots. Many of us have been waiting for a custom rom ??? btw, I tried to make help with compiling a custom rom but haven't had time. I'm also a noob in this so Im researching on "How to complie a custom rom from scratch" but its really difficult ?? Thank you for your efforts???
SageTheMage99 said:
Hopefully it boots. Many of us have been waiting for a custom rom ??? btw, I tried to make help with compiling a custom rom but haven't had time. I'm also a noob in this so Im researching on "How to complie a custom rom from scratch" but its really difficult ?? Thank you for your efforts???
Click to expand...
Click to collapse
Yeah I have ported a few ROMs but when it comes down to comp... A ROM that's a whole different ball park for me also.
You could try to Port the LG Leon ROMs. There's 2 I don't have the phone so I can not try.
Good job on the kernel compile i couldnt get mine to boot, good luck on the lineage compile. Ive picked this phone back up so let me know if you need any help.
NASSTYROME said:
Good job on the kernel compile i couldnt get mine to boot, good luck on the lineage compile. Ive picked this phone back up so let me know if you need any help.
Click to expand...
Click to collapse
Hello, i just downloaded LineageOS but everytime i type:
"breakfast m1", i get:
** Don't have a product spec for 'lineage_m1'
** Do you have the right repo manifest?
Any help is appreciated, for better way to reach me is my kik: SageOfSixPaths999
Breakfast wont work u need to manually set variables and make calls like old android.
NASSTYROME said:
Breakfast wont work u need to manually set variables and make calls like old android.
Click to expand...
Click to collapse
Would you please guide me or send link to where i could do this?
At the moment I am not working on this, since I am in school projects, but once I finish with it I will continue with this, both the kernel and the development of rom, the sourves are in my github of the kernel, if they want to modify it or Add improvements
xperiafan13 said:
At the moment I am not working on this, since I am in school projects, but once I finish with it I will continue with this, both the kernel and the development of rom, the sourves are in my github of the kernel, if they want to modify it or Add improvements
Click to expand...
Click to collapse
Ok thank you for your work ether way but i can try to help, i just need info. But i will do and find out whatever i can. I really am exited for a new rom lol. I will continue once i get home.
xperiafan13 said:
At the moment I am not working on this, since I am in school projects, but once I finish with it I will continue with this, both the kernel and the development of rom, the sourves are in my github of the kernel, if they want to modify it or Add improvements
Click to expand...
Click to collapse
Just curious, what version of Lineage OS were you building?
EDIT: I am running the kernel on the T-Mobile K330 variant with no issues. Good work :good:
QuickNET Tech said:
Just curious, what version of Lineage OS were you building?
EDIT: I am running the kernel on the T-Mobile K330 variant with no issues. Good work :good:
Click to expand...
Click to collapse
I know you didn't ask me but if it helps, I'm working on CM-14.1
All i need is to "set the variables manually" but so far no luck in my research and also no one helps me with my questions. I also posted a post on the thread of k7 questions and such but so far no luck.