Kerne Sources Now Available - Samsung Galaxy M40 Guides, News, & Discussion

Hi, Samsung has released kernel source for this device at opensource.samsung.com . So if someone wants to build TWRP or a custom ROM, go ahead.
Now, before someone says "Why don't you do it?", I'll tell that I don't own this device, I have another phone with same SOC and was looking at development status for other devices with same SOC.
Good luck, peeps.
May devs bless you with some good stuff.

Suraaj Vashisht said:
Hi, Samsung has released kernel source for this device at. So if someone wants to build TWRP or a custom ROM, go ahead.
Now, before someone says "Why don't you do it?", I'll tell that I don't own this device, I have another phone with same SOC and was looking at development status for other devices with same SOC.
Good luck, peeps.
May devs bless you with some good stuff.
Click to expand...
Click to collapse
is it easy to bulid twrp now with this open source files?
I tried to build twrp several times, but it didn't work

Related

Lollipop for the Optimus 2x

Welcome to the official thread for the Lollipop roms for our Optimus 2x
As to start, this thread is exclusively for the developers who are interessted/working on on the Lollipop ports for our Optimus 2x
We had alredy some build like the OmniRom , CM12 and even ParanoidAndroid.
This thread is exclusively for discussions for the developers and for the testers to test the new made roms so I will update the links as the roms get made. So I am only posting here the links of the latest version, to get the versions from the past you wil need to browse throught this thread
Update 05/6/2016
Gucky did it again! New build for CyanogenMod 12.1 is up, and now with fixed camera! When I get the full list of working features and bugs, I will upload it here. Thank you Gucky for your massive help and contribution to this community. This device is very old after all, and you still find the time to tinker on it. No words really. Respect!
CM12.1 : https://sourceforge.net/projects/lg...cm-12.1-20160531-UNOFFICIAL-p990.zip/download
WARNING the Rom is still not stable, but we are close!
ParanoidAndroid: https://s.basketbuild.com/devs/Puri/p990/AOSPA(lollipop)
Take in mind that all these roms are unstable besides the CM12 rom,but it still has some major bugs which we as a group will fix.
As in all of this, stay tuned for updates
Good job my friend
Thank you very much. I'm downloading right now. It would be useful, if you could upload your (Lokal) Manifest, too. So we are able to re- build the rom with the necessary changes.
Looking forward!
Credits goes to you!
um
gucky01 said:
Thank you very much. I'm downloading right now. It would be useful, if you could upload your (Lokal) Manifest, too. So we are able to re- build the rom with the necessary changes.
Looking forward!
Credits goes to you!
Click to expand...
Click to collapse
um.......*noob mode activated.....BOOP * what you mean with manifest? lol
Could you please share your sources.
TheMysteryouse said:
Hello everyone.As you might know me from some threads where i comment some stuff.Anyways, since Lollipop was announced i was obssesed with it and my wish was that i would be the first one to make the version availble for our device.
Well i kinda did it....KINDA of course but we need some help if we wanna make it work.I call ALL of the developers for our device to work together to make it work.We are so close to get it fully booting.I made it boot to the animation and now where the help comes in use.We need some developers who can enable ADB on our device in the bootanimation.TO be honest i dont really know anything about sources and that stuff but i know some things.With the help of @tonyp and @timduru which I am the most thankfull of that gave me hope to make this.So here we go!
WARNING!!!
ONLY FOR DEVELOPERS
No one should download and flash this rom because you will get stuck in the bootanimation and will need to install previouse rom again and install everything over...blah blah blah.
Also the link to the rom is here ----> https://www.dropbox.com/s/fwhg08ux7qhtgsh/5.0 test.zip?dl=0
So if someone gets it working, please pm me in the progress. Cheers
Click to expand...
Click to collapse
TheMysteryouse said:
um.......*noob mode activated.....BOOP * what you mean with manifest? lol
Click to expand...
Click to collapse
a little help.
http://wiki.cyanogenmod.org/w/Doc:_Using_manifests
Oh
Hugo-PT said:
a little help.
http://wiki.cyanogenmod.org/w/Doc:_Using_manifests
Click to expand...
Click to collapse
Well to be honest, i dont really know how to share the menifest because i didn't use much the source. I was porting the Cm11 tonyp's rom and the rom from timduru, so i dont really know how to share the manifest lol
TheMysteryouse said:
Well to be honest, i dont really know how to share the menifest because i didn't use much the source. I was porting the Cm11 tonyp's rom and the rom from timduru, so i dont really know how to share the manifest lol
Click to expand...
Click to collapse
Did you change some files in the zips or did you build a new rom in the way Raum described, my friend?
http://forum.xda-developers.com/nexus-4/general/guide-cm11-how-to-build-cyanogenmod-11-t2515305
nope
gucky01 said:
Did you change some files in the zips or did you build a new rom in the way Raum described, my friend?
http://forum.xda-developers.com/nexus-4/general/guide-cm11-how-to-build-cyanogenmod-11-t2515305
Click to expand...
Click to collapse
nope, didn't touch anything other than the updater script i think and the build prop because i wanted fully stock experience
I can be your tester my phone got a battery problem so im having fun with flashing roms
I will try to exchange the updater script from my build with yours.
Lets see if I can flash mine.
And your your problem: I think there are one or more patches that we maybe need, witch timduru wont need because of the tegra3 hardware. (maybe some patch for our old egl hardware)
DJNoXD said:
I will try to exchange the updater script from my build with yours.
Lets see if I can flash mine.
And your your problem: I think there are one or more patches that we maybe need, witch timduru wont need because of the tegra3 hardware. (maybe some patch for our old egl hardware)
Click to expand...
Click to collapse
Well, it might be that he used KatKiss from timduru for the TF101 which has a Tegra 2, but still our phone uses the Tegra 2 AP20H, while the TF101 uses Tegra 2 T20. Small difference in the chipset, but still a difference. Easiest would be to port from the Galaxy R or Captivate Glide, but they too struggle with Lollipop over in their forum. Anyway, TheMysteryouse used timduru's AOSP rom, so maybe it would be easier building the whole thing from the demo CM12 sources available.
nonono
DJNoXD said:
I will try to exchange the updater script from my build with yours.
Lets see if I can flash mine.
And your your problem: I think there are one or more patches that we maybe need, witch timduru wont need because of the tegra3 hardware. (maybe some patch for our old egl hardware)
Click to expand...
Click to collapse
Nope, this rom has NOTHING to do with the tegra 3 rom.I used the rom for TF101 tablet which is tegra 2 but had a cmall chipset difference.So yeah I am still trying to do some things like searching the framework sources from tony to see if he has a code in the build.prop which directly enables ADB from the boot, but cant really find it.Anyways try your best and so the others.Cheers
Hi guys, after some testings I could get booting to finish. There are some errors left. But I will work further this evening and upload the rom afterwards. Think this will remain a test build for some time, till Tony or DJ can fix the errors.
Stay tuned!
Any video or screenshot? xD
Sorry for nob request, but working well or not, its great to our comunity
p.s. if need tester in future, you, TheMysteryouse or DJNoXD.
Im ready for
...WoW!...That´s Good News...Thank You for All of You, Guy´s...
gucky01 said:
Hi guys, after some testings I could get booting to finish. There are some errors left. But I will work further this evening and upload the rom afterwards. Think this will remain a test build for some time, till Tony or DJ can fix the errors.
Stay tuned!
Click to expand...
Click to collapse
Awesome news buddy! Lollipop on first power dual core android device! Switch to 1+ One as a primary phone for some reason but I will continue to follow and supporto you!
That is great!!! ))))))))
Ok. I have to go one step back. The rom is not ready for the testers and I'm too tired to test more. For those, who want to repeat my steps or want to finish...
I replaced the files in Mystery's rom with my own Kitkat ones. The first half, than the second. Now I could get it to finish the booting process. This steps I went on and on. So I could reduce the problem to the framework-files in "system". If you replace all of them, it boots up with some error messages.
I think we have to reduce the 40 files inside more and more to find the reason for the bootloop.
All the best to you,my friends!
Damm this is great a device from 2010 receives android L. 4years later. If I can borrow the old optimus 2x from my father then I could also look into the problems if it's not booting yet then. Till then continue your work.

[Kernel}[CM11][Source][WIP]Cyangenmod11 Kernel Source for Samsung Gear by Count

First of all, every credit goes to Count([email protected]). He did everything to port CM11 and its Kernel source to Gear 1.
Second, I am just a mere messenger. I am not the developer! I don't have any knowledge about building android. I just wanted to contribute to this amazing forum. If you have any question regarding complex android internal things, send them to Count himself to the email above.(Count and I are Koreans, so our English will not be good
Third, this is a development section. No noob or meaningless questions. I won't answer them(I am a student, so I don't have much time, either.).
Forth, this kernel's state is WIP(Work in progress). ANY damage or loss due to using this source is your own risk!
Fifth, this is my first time writing a thread. If I have to write something more(I heard about GNU, but not sure how it works), please kindly tell me.
Screenshots of CM11 is in attachments
I hope development of Gear 1 will rise once again with this kernel source.
Here is the Github link :
https://github.com/tyler6389/android_kernel_samsung_ls02
Enjoy
P.S. Count is working on CM12.1, too, but don't get excited. Too much issues in this moment.
https://youtu.be/rb0R_JeI6gg
[ROM][ALPHA][WIP]'DayDream' CM11 based Rom for Gear 1
A rom to test CM11 in Gear 1.
Warning! This rom is in early Alpha stage and is really laggy and unstable. Flash this at your own risk!
This is real CM11 based rom. Made by Korean developers(including Count). Looks really good.
Battery life is great, but again, this is really laggy and unstable! ANY damage or loss due to using this Rom is your own risk!
Working
Boot
Touch
Button
Not Working
Camera
Bluetooth pairing
and many thing I didn't(and doesn't want to) try.
Please don't fill this thread with nooby questions. The rom is mainly for developers who wants to build stable and fast rom.
Users can use it, but no spamming in this thread(e.g. XX doesn't work! halp!). Every feedback will be ignored unless you have a logcat or a really specific detailed explanations.
If you want development conversation, please contact Count with email(in OP).
Installation :
do a factory reset in TWRP
flash this rom
reboot(initial boot takes 5~10 minutes)
enjoy
Download :
http://sourceforge.net/projects/cou...FFICIAL-1.8-20150822-v700-Alpha1.zip/download
Thanks to :
Daydream Team
Count
Reserved
Another one in case
ddaggebi said:
First of all, every credit goes to Count([email protected]). He did everything to port CM11 and its Kernel source to Gear 1.
Second, I am just a mere messenger. I am not the developer! I don't have any knowledge about building android. I just wanted to contribute to this amazing forum. If you have any question regarding complex android internal things, send them to Count himself to the email above.(Count and I are Koreans, so our English will not be good
Third, this is a development section. No noob or meaningless questions. I won't answer them(I am a student, so I don't have much time, either.).
Forth, this kernel's state is WIP(Work in progress). ANY damage or loss due to using this source is your own risk!
Fifth, this is my first time writing a thread. If I have to write something more(I heard about GNU, but not sure how it works), please kindly tell me.
Screenshots of CM11 is in attachments
I hope development of Gear 1 will rise once again with this kernel source.
Here is the Github link :
https://github.com/tyler6389/android_kernel_samsung_ls02
Enjoy
P.S. Count is working on CM12.1, too, but don't get excited. Too much issues in this moment.
https://youtu.be/rb0R_JeI6gg
Click to expand...
Click to collapse
Great news, do you have the github source code for the cm11 and cm12?
@litan1106
Count ports CM from existing smdk4x12(exynos 4412) devices, so we don't have any sources for CM.
I flashed the cm11 apha1 for the gear, it's a bit slow but it's looking good.
litan1106 said:
I flashed the cm11 apha1 for the gear, it's a bit slow but it's looking good.
Click to expand...
Click to collapse
It is a sort of a variant of CM11. Mainly made for design.
Count said he had increased the performance by editing the Mali drivers, so hopefully it will be faster when he releases the next version.
any chance for android wear ?
ddaggebi WOW good work
atleast there is someone who is still interested in developing for our beloved galaxy gear wish looks better than the gear s2
Time to get the dust from my good ol' Galaxy Gear. First it was about time to get rid of Tizen on it. That downgrade manual here worked very well. (http://forum.xda-developers.com/showthread.php?t=2776157)
Just needed Odin 3.09 (http://androidhost.org/PVAIv) and Samsung's USB drivers (http://developer.samsung.com/technical-doc/view.do?v=T000000117) for downgrading. After this was finished and it was able to boot on the old Samsung Linux AND WITH working touchscreen, I did a reset and flashed TWRP from here with Odin: http://forum.xda-developers.com/showthread.php?t=2537338 Last part was adb sideloading this test ROM here. Of course not working at first due to missing ADB drivers. I modded these here: https://dl-ssl.google.com//android/repository/latest_usb_driver_windows.zip with that android-winusb.inf http://pastie.org/10428849 Works really really nice. Not very useful yet, but it's SOO great to see work bein done on this old device
Wow, just wow. Almost 2 years after buying this I see that people are still developing for my watch !? and kitkat 4.4.4 (and soon lollipop it seems) means a possibility for android wear maybe ! That's cool ! Big up from France to the dev if he comes here ahah
Is there a way like with null_ rom thought to still be able to have notifications on it like with TW rom ?
This looks so sweet. Hopefully Bluetooth pairing works out soon. would really like to try this out, downloading Rom now.
Thanks for all the hard work on this to all involved
Any work still being done on this?
Wait, you can install CM11 on a gear 's? Wouldn't you lose all Bluetooth stuff?
754boy said:
Any work still being done on this?
Click to expand...
Click to collapse
Developers says he is still working on perfecting cm11 and making cm12.1. It will take some time 'cause he has many devices to develope for.
illistration said:
Wait, you can install CM11 on a gear 's? Wouldn't you lose all Bluetooth stuff?
Click to expand...
Click to collapse
Yes, as the op says bluetooth pairing does not work at the moment.
I see.

[ROM][H60-L04][Cherry?][Unofficial] CM 14

~wrong devices kek
Cherry is Honor 4/4X - https://wiki.cyanogenmod.org/w/Cherry_Info
I think the Honor 6 codename was hwH60 or something like that.
Please delete the links or the entire thread as soon as possible, if people will start flashing this then we will likely have a lot of bricked devices. Venipa, this is horrible irresponsibility on your side to upload links to unknown stuff without even testing it yourself (even if you put a disclaimer)! And to all the guys thinking that we will magically get working CM one day, think again. You found a semi-official build of CM for some Huawei device and seriously thought it's a H60 build we didn't hear about before? If there is ever a proper CM release, it will take time to do it. But people posting stuff like "I've already posted the Full Source including Kernel Source and still no one wants to do it" will never understand how hard it is to make a ROM, or what exactly "full sources" mean...
MaRtYy01 said:
Cherry is Honor 4/4X -
I think the Honor 6 codename was hwH60 or something like that.
Click to expand...
Click to collapse
Honor 6 is mogolia​
sado1 said:
Please delete the links or the entire thread as soon as possible, if people will start flashing this then we will likely have a lot of bricked devices. Venipa, this is horrible irresponsibility on your side to upload links to unknown stuff without even testing it yourself (even if you put a disclaimer)! And to all the guys thinking that we will magically get working CM one day, think again. You found a semi-official build of CM for some Huawei device and seriously thought it's a H60 build we didn't hear about before? If there is ever a proper CM release, it will take time to do it. But people posting stuff like "I've already posted the Full Source including Kernel Source and still no one wants to do it" will never understand how hard it is to make a ROM, or what exactly "full sources" mean...
Click to expand...
Click to collapse
Can you tell me what exactly is missing from the source provided by Huawei?
Henrikx said:
Can you tell me what exactly is missing from the source provided by Huawei?
Click to expand...
Click to collapse
I'm not a developer so somebody else should be able to explain it better, but in general, the sources provided by Huawei are at most only useful enough to make a AOSP-style ROM based on the same Android version as the EMUI ROM the source is released for. So, no CM, no newer Androids than Marshmallow, etc.
nooo, got my hopes up (
sado1 said:
I'm not a developer so somebody else should be able to explain it better, but in general, the sources provided by Huawei are at most only useful enough to make a AOSP-style ROM based on the same Android version as the EMUI ROM the source is released for. So, no CM, no newer Androids than Marshmallow, etc.
Click to expand...
Click to collapse
Not true.Then why kirin based p8 lite has cm14?
http://forum.xda-developers.com/p8lite/general/cyanogenmod-14-t3458451
Its because we dont have devs and our device isnt that popular.Kirins arent the most rom friendly cpus,but they arent totally useless.
MaRtYy01 said:
Not true.Then why kirin based p8 lite has cm14?
http://forum.xda-developers.com/p8lite/general/cyanogenmod-14-t3458451
Its because we dont have devs and our device isnt that popular.Kirins arent the most rom friendly cpus,but they arent totally useless.
Click to expand...
Click to collapse
Okay, this proves me wrong. And obviously, I completely ignored the fact that our device already had a CM port, so indeed with a dedicated developer we'd have a chance to get something. What I probably should've said is that a potential developer has a lot of work ahead because of poor sources quality from Huawei, and absolutely no chance to make an official CM port for example. Of course, this all is based on random stuff I read on XDA about it, so you guys should wait until someone more knowledgeable responds to have a clear picture on the problems the development for this device is facing.
Heartbreak.
Thread closed as per OP's request

LineageOS 16.0 (Pie) for z5c

Hi,
after some time having trouble to build a LineageOS 16.0 ROM for z5c, I'm now able to build it successfully!
But, unfortunately, it crashes while booting with kernel panic (led flashes red), and reboots on and on.
While trying to boot the device is getting very hot and the battery looses about 20%.
I don't know where to search, so I decided to stop LineageOS 16.0 development at this point! I'm sorry about that...
Kernel sources
Tree sources
We love you regardless!
Appreciate the effort, Berni ?
Some new info ? I want try your ROM . ( sorry for my english im from Czech Republic)
No new info. I'm sorry.
Berni-0815 said:
No new info. I'm sorry.
Click to expand...
Click to collapse
I have a Z5C as "play" device, so maybe we can work together and boot this little porky up...?!
Sidenote: no experience in development, but in desaster rescue of devices
As I've written, it's not booting at all...
reflash FTF and start over. dont give up.
if u get the phone up booting with pie Syncmaster will help ya to fix the **** perfomance problems since he also owns a z5. if someone can fix the kernel perfomance issuses and UV/OC this brick then its him.
Nice job
Can it not for the docomo series?
For those who are interested in; I've added my tree sources in my 1st post!

			
				
Does Lineage 17 availability bring us closer or farther from someone porting this to the Z5c? I had a brain fart yesterday when wiping and re-installing a fresh ROM; visited the Z3C forums (my old device) to get falsely excited by all the awesome dev underway for that older phone. Where's the love for the Z5C???
You can't compare a z3c with a z5c! They're using different hardware bases and the closed source drivers for a z3c are more easily usable with lineages' sources.
I don't have the time and the knowledge to do this for a z5c! Sorry...
Check my LOS 17 build for Z5:
https://forum.xda-developers.com/xperia-z5/orig-development/rom-lineageos-17-1-t4049463
Sources included.
I hope it will help you guys on Z5C.
Thank you very much for that information! :good:

[INFO][LineageOS 16.0] Realme 1 Custom ROMs and Development Info

Update(29/05/20): We have now Android 10 build for our Realme 1. Check out the thread here: [ROM][CPH1859/61][10][UNOFFICIAL] LineageOS 17.1
Download the latest build and twrp recovery given there and flash!
Update(11/03/20): I have resumed development. The first build is already up. Check it here: LineageOS 16.0 for Realme 1
I will start bug fixing and weekly builds soon.
reserved
Waiting bro
thanks
Sorry bro i cabt help i am not developer but thanks for your efforts
Good
Is anything happening on this front?
When can we get rid of this ColorOS?
akash1988 said:
Is anything happening on this front?
When can we get rid of this ColorOS?
Click to expand...
Click to collapse
I have stopped development for now due to less time for it and also I don't own the device. Will think of it after we have Stable Pie and work on LOS 16.0 then. If I get some help then things can be better.
Ask for donations from people if they want roms for this device
cash money42k said:
Ask for donations from people if they want roms for this device
Click to expand...
Click to collapse
People generally don't think of that and most of the users won't do. Also its Mediatek the development process would be itself hard and also fixing bugs would be troublesome
Invincible-Venom said:
People generally don't think of that and most of the users won't do. Also its Mediatek the development process would be itself hard and also fixing bugs would be troublesome
Click to expand...
Click to collapse
its hard process i agree but not impossible bro, many micromax devices aslo run on mediatek but almost all hv custom roms thn why not our device?? due its new upgraded chipset??
abhi.s4u said:
its hard process i agree but not impossible bro, many micromax devices aslo run on mediatek but almost all hv custom roms thn why not our device?? due its new upgraded chipset??
Click to expand...
Click to collapse
Firstly, those builds are Ports and not compiled from Source. Also after Android 7.1.2 Nougat and Treble Enbaled devices things have changed and not easy as they used to be. When I worked for Meizu devices I was successful in booting AOSP ROM for 2-3 devices but that not how things work now!
Bro we got stable pie now, team up who have experience developing rom for mediatek devices and please try lineageOS 16
Can't I use this rom for oppo f7 youth? As i know both are one.
I am happy with stock OS and rootless launcher !
I don't feel any other ROM required!
Sent from my SM-G950F using Tapatalk
huzz45 said:
Bro we got stable pie now, team up who have experience developing rom for mediatek devices and please try lineageOS 16
Click to expand...
Click to collapse
I haven't got any people who want to work on this device.
ntkien400 said:
Can't I use this rom for oppo f7 youth? As i know both are one.
Click to expand...
Click to collapse
First of all the builds are not ready. Also I don't think we can unlock bootloader on Oppo F7 Youth
Invincible-Venom said:
I haven't got any people who want to work on this device.
Click to expand...
Click to collapse
I'd like to volunteer to contribute in the dev process. I haven't ever done anything related to custom ROMs but I'd like to try and invest a few weeks/months into it. Invincible-Venom, it'd help me a lot if we could connect via some IM service (discord? or smth).
arvindpunk said:
I'd like to volunteer to contribute in the dev process. I haven't ever done anything related to custom ROMs but I'd like to try and invest a few weeks/months into it. Invincible-Venom, it'd help me a lot if we could connect via some IM service (discord? or smth).
Click to expand...
Click to collapse
Thanks for showing interest pal but I need some experienced guys to join me. Firstly, you try building ROMs for any other device which you own from scratch(Build trees, make them stable) then you will learn how things work. Also this is Mediatek device with Treble enabled so things are not easy here.
Thanks!!
Invincible-Venom said:
Thanks for showing interest pal but I need some experienced guys to join me. Firstly, you try building ROMs for any other device which you own from scratch(Build trees, make them stable) then you will learn how things work. Also this is Mediatek device with Treble enabled so things are not easy here.
Thanks!!
Click to expand...
Click to collapse
@APHACKER007 and @anuragroy will help you developing rom
So all the hopes are dead for a decent stock custom ROM?

Categories

Resources