Emwno's Cuisine, All You Can BuildThis is a Terminal Cuisine for Linux users. If you have used dsixda's Android Kitchen, you will have an idea of how this works. This includes a bunch of scripts written by me just this morning to build an Android Kernel and a ROM such as CM10 from source through an automated process. Also to Flash boot.img to Device as well as Compile and Decompile system files. Yes more features can be added upon request. Wondering why this is called a Cuisine? Thats because like kitchens, im not going to limit this to one specific category. But keep on adding more and more for even easier Android Development
These scripts were written to help new developers or users compile their own Kernels and ROMs from source, Decompile and Compile Apks or Frameworks. Explanations are given for your understanding. More features will be added as well as more automated processes in the future to ease building even further. Please read the thread to get a hold of the directory listings to avoid confusion. More features can be added upon request. Leave you feedback here. This script is file is intended for personal and/or educational use only. It shall not be duplicated for monetary benefits or any other purpose without the permission of the developer
Features:
[Kernel Compiler]
Information about processes
Automatically grabbing Toolchain
Grabbing Kernel Source from script itself
Automatically Compiling Kernel from Source
Packing Compiled Kernel to boot.img
-----------------------------------------------
[ROM Compiler]
Auto Initialize Build Environment
Separate packages across Linux versions
Preset Repo Initialization / Easy Custom Initialization
Auto Update Repositories (Preset / Custom)
Auto Compilation of ROM Source Code
-----------------------------------------------
[Flasher]
Flash boot.img to Device (Enter Name and Done!)
Flash recovery.img to Device (Enter Name and Done!)
-----------------------------------------------
[Apktool]
Install Dep
Install framework-res.apk
Decompile .apk and .jar
Compile .apk and .jar
How to Install:
Download attachment. Extract contents to Desktop
Open run-once script.
Read...
Changelog:
5 April 2013 [0.30]
Added Automated Apktool Functions
1 Script as MAIN
Updated Flasher
Cleaned up ROM Compile
More TheMuppets repo's added
4 April 2013 [0.22]
Added (C)
Rewritten a couple of echo's
Recovery command fix
Heimdall-frontend
31 March 2013 [0.21]
More code clean
More exports added
Flash boot.img automatically
Flash recovery image automatically
(Forgot to include credits file, will be done in following version)
31 March 2013 [0.20]
Major Update
Cleaned up code
Added automated ROM Compiler
Added alternative boot.img extraction
30 March 2013
Initial release
Automated Kernel Compiler
Res. Screen tutorial
this will be helpful to me
you should apply for RD
Glad to see you found it useful. Do report if you have any problems or find an error within the scripts
0.21 Released. More features added.
0.22 Released
0.30 Released
Somewhat of a newb. Will let you know in a couple of weeks how it's going. Lots to learn. I need to take my time and not rush in like a bull in a china shop.
thanks for u work
Can we compile a MTK Kernel using it? Really interested to learn about compiling one
Sent from my Micromax A116 using xda app-developers app
Dark4Droid said:
Can we compile a MTK Kernel using it? Really interested to learn about compiling one
Sent from my Micromax A116 using xda app-developers app
Click to expand...
Click to collapse
If MTK stands for an android devices kernel then yes. If not then could you explain?
emwno said:
If MTK stands for an android devices kernel then yes. If not then could you explain?
Click to expand...
Click to collapse
MTK stands for Mediatek if i am not wrong and Mediatek is a company which manufactures chipset
The Droid Master said:
MTK stands for Mediatek if i am not wrong and Mediatek is a company which manufactures chipset
Click to expand...
Click to collapse
Ya bro....I own Mediatek 6577 chipset device.....So if possible provide me some info on it...I am a beginner for Kernel Development..But really interested in your tool
Sent from my Micromax A116 using xda app-developers app
Dark4Droid said:
Ya bro....I own Mediatek 6577 chipset device.....So if possible provide me some info on it...I am a beginner for Kernel Development..But really interested in your tool
Sent from my Micromax A116 using xda app-developers app
Click to expand...
Click to collapse
It will build properly if the kernel source can be built upon gcc toolchains.
Bro by the way I am also new to building kernels I too have an mediatek mt6577 device will it work
Sent from my Micromax A110 using xda premium
---------- Post added at 06:41 PM ---------- Previous post was at 06:40 PM ----------
nikhilmendu said:
Bro by the way I am also new to building kernels I too have an mediatek mt6577 device will it work
Sent from my Micromax A110 using xda premium
Click to expand...
Click to collapse
You should apply for recognized developer bro thanks a lot got a right answer at right time just yesterday my devices sources were released so searching around got this one
Sent from my Micromax A110 using xda premium
nikhilmendu said:
Bro by the way I am also new to building kernels I too have an mediatek mt6577 device will it work
Sent from my Micromax A110 using xda premium
---------- Post added at 06:41 PM ---------- Previous post was at 06:40 PM ----------
You should apply for recognized developer bro thanks a lot got a right answer at right time just yesterday my devices sources were released so searching around got this one
Sent from my Micromax A110 using xda premium
Click to expand...
Click to collapse
All you need is the proper source code and that's about it. (If android based thrn you'll get a hang of it)
emwno said:
All you need is the proper source code and that's about it. (If android based thrn you'll get a hang of it)
Click to expand...
Click to collapse
I will do more research on it ......Thanks a lot for this Wonderful TOOL buddy.... :thumbup:
Sent from my Micromax A116 using xda app-developers app
This toolkit is awesome guy, keep up the good work!
Now I can start to build a kernel for my GT-I9305.
Can this tool run in Cygwin?
Send from my GT-I9305 using xda premium
Bro kernel stuck at boot loop help
Sent from my Micromax A110 using xda premium
Related
Add your signature if you want the team cyanogenmod supporting of LG GT540
this is the link http://www.petitiononline.com/CMGT540/petition.html
Haha my petition has really caught on
Sent from my GT540 using XDA Premium App
eoghan2t7 said:
Haha my petition has really caught on
Sent from my GT540 using XDA Premium App
Click to expand...
Click to collapse
haha yes sure
How many signings do we need?
Sent from my GT540 using XDA Premium App
as many as we can get the more the better chance CM will support the gt540
We need a lot
Wow 600 already once we get 1000 we will start. spamming cyanogen mod until they agree to make a rom for us
Sent from my GT540 using XDA Premium App
haha i pm'ed the cyanogenmod admin to see what he/she thinks im just waiting on a reply thats if i get it
you do no you can sign the petition as may time as you want just put in fake email address
Lets keep it legit for now until we run out of people sign.
The site sez that emails are not stored because of viruses but your email is clearly visible at the bottom!
Mark
Ah well its a risk I'm willing to take for use to hopefully get Cm support
Sent from my GT540 using XDA Premium App
I think all of you din not correctly undrstand situation with added new devices to CyanogenMod.
They can not support devices. Newly added devices is maintained by usual user who do a porting and regular commit to CM sources tree and not by CM team. So if CM add a GT540 to "official" devices list, they sould not support the device in future. Support should be by community of LG GT540 users.
Sorry for my Runglish.
Mur4ik said:
I think all of you din not correctly undrstand situation with added new devices to CyanogenMod.
They can not support devices. Newly added devices is maintained by usual user who do a porting and regular commit to CM sources tree and not by CM team. So if CM add a GT540 to "official" devices list, they sould not support the device in future. Support should be by community of LG GT540 users.
Sorry for my Runglish.
Click to expand...
Click to collapse
Is true all device
Support the community of lg gt540
Yeah cyanogen said himself that any rom is official as long as it comes of their git tree.
Mark
Oh snap
Lets concentrate on swift Droid again eoghans hardwork gone into vain any chance we can show it to LG? ;P
Sent from my GT540 using XDA Premium App
Here you go guys: http://forum.cyanogenmod.com/topic/7108-lg-optimus-gt540/page__view__findpost__p__162313
if you will find the developer for gt540 then CM Team will help to him a little bit - what means: advices and separate board on the CM forum.
Mur4ik could you upload your source code to thread on CM forum and start cooperate with guys from CM team??.I understand that you spend many hours to hard (&excellent)work about your rom, but these guys could help you. Anyway this is only my request. I also know that learning programming is very hard but I promise that I will begin to learn to create, not just download and install haha and maybe someday you'll help
Best regards
The rom he making is official because it branches of their git tree.
Mark
Ah so i understand now...Cyanogen will only offer advice to Mur4it.
Anyone know if Mur4it has agreed to be a maintainer for our phone on cyanogenmod and submit his code to the gerrit review.
I like many others thought if cyanogenmod added our device they would take alot of the weight off Mur4it's great shoulders but seems not to be the case so the petition is not as important as we all thought because cyanogenmod support only means the gt540 would be added to the list.
Guyz, let's post the feature request in CM7 bug tracker and let us all star it. Would get noticed sooner.
Btw, why shouldn't we create a petition to LG as well? To add official 2.2 or 2.3 support.
Update 2: You won't get a stable build from here, just treat this as a massive development thread now. Feel free to continue your great work.
Update: I have successfully built CyanogenMod 10 for you guys. I don't know if it'll boot or not, so please provide the logcat (adb logcat) and dmesg (adb shell dmesg)
You can download UNTESTED, EXPERIMENTAL builds here:
goo.im/devs/benjamingwynn/icong/CyanogenMod10
Original post: Feel free to discuss your thoughts on developing this for this device here, I don't have this device but I did say to BigBearEvo that I'll help him if I can. I will compile this ROM from source code.
I need help with this as I don't own the device (as I just said) but will make at least one build for it. I can't even promise this'll boot.
IF YOU WANT TO HELP MORE THEN PLEASE GATHER INFORMATION ABOUT YOUR DEVICE - TOUCHSCREEN TYPE, ETC IS HELPFUL. TELLING ME ITS A CERTAIN COLOUR ISNT!
Hope I'll get you folks a booting port soon.
- Benjamin
benjamingwynn said:
Feel free to discuss your thoughts on developing this for this device here, I don't have this device but I did say to BigBearEvo that I'll help him if I can. I will compile this ROM from source code.
I need help with this as I don't own the device (as I just said) but will make at least one build for it. I can't even promise this'll boot.
IF YOU WANT TO HELP MORE THEN PLEASE GATHER INFORMATION ABOUT YOUR DEVICE - TOUCHSCREEN TYPE, ETC IS HELPFUL. TELLING ME ITS A CERTAIN COLOUR ISNT!
Hope I'll get you folks a booting port soon.
- Benjamin
Click to expand...
Click to collapse
feel free. ill add it to the 2 that already boot up lol, i have been trying again with other kernels to experiment, all have failed again, most didn't boot, the one that did, again a non responsive screen same as others.
all I need is someone with some good knowledge of the kernel and tamper with it...
ill pull all the info i can from it.
BigBearEvo said:
feel free. ill add it to the 2 that already boot up lol, i have been trying again with other kernels to experiment, all have failed again, most didn't boot, the one that did, again a non responsive screen same as others.
all I need is someone with some good knowledge of the kernel and tamper with it...
ill pull all the info i can from it.
Click to expand...
Click to collapse
Hm, I'll boot into Linux and change some stuffs. I'm aiming to get jellybean running on this device.
Source: https://github.com/benjamingwynn/android_device_htc_icon_g
benjamingwynn said:
Hm, I'll boot into Linux and change some stuffs. I'm aiming to get jellybean running on this device.
Source: https://github.com/benjamingwynn/android_device_htc_icon_g
Click to expand...
Click to collapse
now that i would love to see.....basic cm7 would be nice too lol but maybe a tad outdated for you though lol
BigBearEvo said:
now that i would love to see.....basic cm7 would be nice too lol but maybe a tad outdated for you though lol
Click to expand...
Click to collapse
CM... 7?? lol, I think CM10 would run brilliantly on this device though I'll get CM10 working then work my way down lmao.
This is by far the best news ive read in this forum in a long time
I am also joining in this dev I'll help u BB
---------- Post added at 10:28 AM ---------- Previous post was at 10:26 AM ----------
The non booting kernels may have some library damage,which is associated with the screen
Second reason : in init.rc the bootclasspath must be changed it might be the link to an sense framework
---------- Post added at 10:40 AM ---------- Previous post was at 10:28 AM ----------
I saw ur github u can boot up but it would lag our touchscreens are weird to say
I think we could hack the chachas kernel tree, I'll contact Lucas now. I've worked with him on other projects for the chacha.
Sent from my Wildfire S A510e using xda app-developers app
benjamingwynn said:
I think we could hack the chachas kernel tree, I'll contact Lucas now. I've worked with him on other projects for the chacha.
Sent from my Wildfire S A510e using xda app-developers app
Click to expand...
Click to collapse
BTW chachas screen resolution is half of ours and has a hardware keyboard"can remove the ime part"
I was gping to look into using the chacha kernel and other bits to see if it will boot. Just haven'thad tthe time yet.
BigBear is using Xparent Tapatalk Purple
BigBearEvo said:
I was gping to look into using the chacha kernel and other bits to see if it will boot. Just haven'thad tthe time yet.
BigBear is using Xparent Tapatalk Purple
Click to expand...
Click to collapse
Gwynn and bb why u guys ignore me
Sent from my HTC One X using xda app-developers app
Lol I'm not ignoring anybody
@BB well done on your RC status
I'm going to work on the device tree, if you folks know how to use github feel free to contribute stuffs as I can shift the stuff over to an organisation or just give you write permissions.
benjamingwynn said:
Lol I'm not ignoring anybody
@BB well done on your RC status
I'm going to work on the device tree, if you folks know how to use github feel free to contribute stuffs as I can shift the stuff over to an organisation or just give you write permissions.
Click to expand...
Click to collapse
currently i don't have a working Ubuntu.
My HDD crashed proper, lost it all lol.
Awaiting a new larger drive lol
other than that i can always send u what's required anyway lmao.
TY...im chuffed! :laugh:
@BB or whoever, you can find touchscreen stuff in the kernel.
benjamingwynn said:
@BB or whoever, you can find touchscreen stuff in the kernel.
Click to expand...
Click to collapse
nps will look into asap
I'll also need a user to run the following command with their device plugged in:
Code:
adb shell df -a
benjamingwynn said:
I'll also need a user to run the following command with their device plugged in:
Code:
adb shell df -a
Click to expand...
Click to collapse
that cmd gives me -a no such file or directory
but remove the -a and i get a whole list, will mail it you
....................................................................................................................................
mailed
Okay, I'm going to compile this and go to Judo because I can.
When I get back you might/might not see a build uploaded. If you don't then don't blame me.
but if you do then please do the following:
0) Set up ADB on your computer and backup stuff
1) Download it
2) Clear data as normal
3) Install it via Clockworkmod recovery (if possible)
4) Run the following...
adb dmesg > dmesg.txt
adb logcat > logcat.txt
at the same time to log everything your phone does.
Once this is done, please use logcat.miui.us, pastie.org or pastebin.com to report all the logs so I can read them later.
If it boots, screen cap it along with everything that's working. Please also include the recovery version you used too.
Click to expand...
Click to collapse
benjamingwynn said:
Okay, I'm going to compile this and go to Judo because I can.
When I get back you might/might not see a build uploaded. If you don't then don't blame me.
but if you do then please do the following:
Click to expand...
Click to collapse
tisnt there lol, but will wait for you laddie!
BigBearEvo said:
tisnt there lol, but will wait for you laddie!
Click to expand...
Click to collapse
Lol, its not there because repo was all being stubborn not syncing
Sent from my Wildfire S A510e using xda app-developers app
Hi to all, this time I'm trying to port Ubuntu Touch, I have built device-specific zip file for Ubuntu Touch but after installing it and daily preinstalled Ubuntu armhf image from http://cdimage.ubuntu.com/ doesn't boot, no black screen, only Galaxy bootscreen, in kernel's defconfig I've done all modifications listed on https://wiki.ubuntu.com/Touch/Porting and compiled with brunch janice
Hi guys any one working on this?
Sent from my GT-I9070 using xda app-developers app
No logs?
Sent from my GT-I9070 using Tapatalk 4
Shaaan said:
No logs?
Sent from my GT-I9070 using Tapatalk 4
Click to expand...
Click to collapse
ADB not working in bootscreen, last_kmsg is useless because to enable ADB I have to enter in recovery so the file is overwritten. With device-specific package the recovery's graphic changes according to Ubuntu, and flashing a CM kernel boots the Android part (I can see CM bootanimation, but OS obviously doesn't load). Maybe the problem is in the kernel's ramdisk, I have to add something to init.rc or change BOOTCLASSPATH to boot Ubuntu?
Any updates?
Sent from my GT-I9070 using xda app-developers app
I don't think the project will be succesful.As you know we even can't get a proper AOSP ROM and Cyanogens are unofficial and we should hope another OS ?
But of course I'm not hate just saying; maybe my knowledge would be false, thanks for work.
Darkness and Hope said:
I don't think the project will be succesful.As you know we even can't get a proper AOSP ROM and Cyanogens are unofficial and we should hope another OS ?
But of course I'm not hate just saying; maybe my knowledge would be false, thanks for work.
Click to expand...
Click to collapse
This project is just for test, the OS is based on CM kernel, so it should be boot if all is done correctly, I think that the error is in the kernel's ramdisk
Inviato dal mio GT-I9070
Are there any realistic chances that there will ever be a Ubuntu Touch OS for this phone? I mean i certainly do not ask for a ETA. But i would love to have a Ubuntu Touch on my phone. If this is not possible then Ohhhkehhh no problem. So will there any further progress on this or not?
Finally something moves! I recompiled again with other changes, now after installing device-specific zip file and preinstalled image I get a bootloop with a black screen for 5 seconds, so kernel tries to boot OS but unfortunately I can't use ADB shell because is not working...
If any dev can/wants to help me is welcome! Two brains are better than one...
Uart. You need uart to debug it if the kernel cannot reach the point of loading adb!
Sent from my GT-I9070 using Tapatalk 4
Tesla-MADAL93 said:
Finally something moves! I recompiled again with other changes, now after installing device-specific zip file and preinstalled image I get a bootloop with a black screen for 5 seconds, so kernel tries to boot OS but unfortunately I can't use ADB shell because is not working...
If any dev can/wants to help me is welcome! Two brains are better than one...
Click to expand...
Click to collapse
Try starting adb service on early-init and start services using logwrapper binary to debug
Sent from my GT-S5367 using xda app-developers app
Shaaan said:
Uart. You need uart to debug it if the kernel cannot reach the point of loading adb!
Sent from my GT-I9070 using Tapatalk 4
Click to expand...
Click to collapse
I was thinking about uart but I don't have an interface...
frapeti said:
Try starting adb service on early-init and start services using logwrapper binary to debug
Sent from my GT-S5367 using xda app-developers app
Click to expand...
Click to collapse
Okay, I will try this
I upload device-specific zip on my dev-host as soon as I can, so if a dev wants to take a look into it he can
Inviato dal mio GT-I9070
EDIT: Device-specific zip available here
Code:
[CODE][CODE]
[/CODE][/CODE]
Tesla-MADAL93 said:
I was thinking about uart but I don't have an interface...
Okay, I will try this
I upload device-specific zip on my dev-host as soon as I can, so if a dev wants to take a look into it he can
Inviato dal mio GT-I9070
EDIT: Device-specific zip available here
Click to expand...
Click to collapse
Part of TeamCanjica is interested in getting ubuntu touch running . I have already made all modifications needed if you want to join this project please pm me. I am running a test build now on my ste device.
Edit: understand it's not Janice. Diego or Frapeti are doing it. I have another ste device similar to s3 mini.
---------- Post added 26th January 2014 at 12:06 AM ---------- Previous post was 25th January 2014 at 11:20 PM ----------
Tesla-MADAL93 said:
Finally something moves! I recompiled again with other changes, now after installing device-specific zip file and preinstalled image I get a bootloop with a black screen for 5 seconds, so kernel tries to boot OS but unfortunately I can't use ADB shell because is not working...
If any dev can/wants to help me is welcome! Two brains are better than one...
Click to expand...
Click to collapse
I get the same issue as well interesting I have a different ste device so hey it's a common issue
https://github.com/Novathor-Touch
A little info on the real issue with ubuntu touch bootloop
That's my data partition pretty sure you have the same issue. Now if I can change the features I should be ok
Code:
sec-battery sec-battery: sec_bat_monitor_work: Status(Discharging), Health(Good), Cable(1)
[ 2.924194] initrd: mounting /dev/mmcblk0p25
[ 2.927978] EXT2-fs (mmcblk0p25): error: couldn't mount because of unsupported optional features (44)
[ 2.951538] EXT4-fs (mmcblk0p25): couldn't mount as ext3 due to feature incompatibilities
[ 3.029205] EXT4-fs (mmcblk0p25): recovery complete
[ 3.029235] EXT4-fs (mmcblk0p25): mounted filesystem with ordered data mode. Opts: (null)
[ 3.587127] Kernel panic - not syncing: Attempted to kill init!
dead or undead?
So is this it now for our Ubuntu Touch hopes?
Will there be anything done?
Or is this here just a relict of a dead end road?
I would love to see Ubuntu on my phone and certainly i am not the only one - but if it will not be possible then please just tell me and i will check for compatibility on a future phone i will buy just to be sure.
dawnofkardath said:
So is this it now for our Ubuntu Touch hopes?
Will there be anything done?
Or is this here just a relict of a dead end road?
I would love to see Ubuntu on my phone and certainly i am not the only one - but if it will not be possible then please just tell me and i will check for compatibility on a future phone i will buy just to be sure.
Click to expand...
Click to collapse
I can see the desperation in you for Ubuntu touch, good. Then why don't you try yourself and contribute to others instead of cribbing here. Your post sounded very rude, sorry to say this.
Sent from my GT-I9070 using Tapatalk
No ETAs please. I am still working on it. Btw, Nexus devices have the maximum compatibility by Canonical, but issues too.
Annasarp said:
I can see the desperation in you for Ubuntu touch, good. Then why don't you try yourself and contribute to others instead of cribbing here. Your post sounded very rude, sorry to say this.
Sent from my GT-I9070 using Tapatalk
Click to expand...
Click to collapse
Sorry.
I did not want to:
- offend anybody or anything
- ask for ETA
- sound rude in any way
I was asking if there is still work in progress or if this is totally abandoned.
This was answered by Tesla and i am grateful to hear that he is still working on it.
So please excuse me for writing words that can be misunderstood.
For participating:
I have some minor Linux skills and compiled some kernels due to real time audio applications within linuxmint and opensuse.
I work as a 3d design egineer for special machines.
I never had the time to get into compiling ubuntu touch (married and 2 kids and a - but if you think my skills would be of help please feel free to contact me via pm and i will do what i can to help you or anybody who needs help with the issue.
any updates
londheaakash said:
any updates
Click to expand...
Click to collapse
Tesla-Madal is working on it. Be patient. And pls. Stop asking questions like when next update.
Sent from my GT-I9070P using xda app-developers app
Anyone trying on this can share their progress here so we can help
Enviado desde mi GT-I9505 mediante Tapatalk
Hi There we have found complete sources of our phone Micromax A110 MTK 6577
We were hoping if any one Awsum Dev could compile an omni rom for our Beloved Phone here is the link to the sources http://pan.baidu.com/s/1ACPRk#dir/path=%2F8377%E8%BD%AF%E4%BB%B6%E5%8C%85
If u want u can contact our devs u can contact @[email protected] and @khan_frd2002 and also our kernel dev @varun.chitre15
And for compiling there is this guide http://wenku.baidu.com/link?url=GlZC...3XdjfuZXcip5zm
I hope i will receive Positive results and replies
Thnx
Andromodgod:cyclops:
if possible please upload to a better file hosting site. this is so slow it's causing the download to fail
cybojenix said:
if possible please upload to a better file hosting site. this is so slow it's causing the download to fail
Click to expand...
Click to collapse
Thnx for the reply 2 Questions
Are you from the omni team I.E help us in making rom
How long would the compilation take
U can contact all of us we are at http://forum.xda-developers.com/micromax-a110/development
Or Here
http://forum.xda-developers.com/micromax-a110/
Link will be provided as soon as possible :angel:
I'm a contributor there. I'm just curious as to what parts they change. seeing as mtk devices are dirt cheap here, I might consider getting some to work on if their sources aren't desperately bad
edit:
compilation doesn't take long. getting to the stage of getting a working compilation may take a while though
ps can the file labelled "alps patch" be uploaded first please. thanks
Thnx
@cybojenix Thnx for ur interest in our Phone one developer @[email protected] is already working on cm 10.2
And Varun Chitre is also a great dev u can ask anyone and all of them will help u
About the mirror i dont think it is possible cuz most of the people(Dev) Live in india or other places where the Internet connection is slow u can use an extension for firefox i will link it to you https://addons.mozilla.org/en-US/firefox/addon/downthemall/
ANd please try not to post cuz if u see ur post it say """"555 Posts"""" Lucky number
U can PM Me Thnx
I will ask devs to mirror it
yes buddy mirroring is needed....the downloading speed is so less that my downld has failed more than 4 tiimes..
Alps Patch file
Here is the link to patch file @cybojenix http://d-h.st/BAg
Leeching that to take a look.
Since none of us have a 6577 device, someone else will have to do the bringup work, but it would be interesting to see how much commonality there is between 6577 and 6589.
Unfortunately the problem is MTK's sources are a disorganized mess, and in many cases, their HALs are just wrappers around a blob. The source we have for R819 is for 4.2 - while xplodwild got 4.3 partially booting on R819, so far, the display drivers just crash on boot on 4.4.
Entropy512 said:
Leeching that to take a look.
Since none of us have a 6577 device, someone else will have to do the bringup work, but it would be interesting to see how much commonality there is between 6577 and 6589.
Unfortunately the problem is MTK's sources are a disorganized mess, and in many cases, their HALs are just wrappers around a blob. The source we have for R819 is for 4.2 - while xplodwild got 4.3 partially booting on R819, so far, the display drivers just crash on boot on 4.4.
Click to expand...
Click to collapse
From what I've looked at so far in the uploaded patch file, it doesn't seem to be too good. I was expecting to see diff patches.. from what is included in it, it seems to be partial, and out of the camera, there are only headers.
Waiting for the full source to be uploadec
Sent from my Nexus 7 using Tapatalk
cybojenix said:
From what I've looked at so far in the uploaded patch file, it doesn't seem to be too good. I was expecting to see diff patches.. from what is included in it, it seems to be partial, and out of the camera, there are only headers.
Waiting for the full source to be uploadec
Sent from my Nexus 7 using Tapatalk
Click to expand...
Click to collapse
Source are uploaded here you go http://forum.xda-developers.com/showthread.php?p=48303269
Sent from my Nexus 4 using XDA Premium 4 mobile app
[SOURCE]Full MTK6577 AOSP tree + proprietary source: http://forum.xda-developers.com/showthread.php?t=2172440
*edit: These are sources for ICS. Reason: http://forum.xda-developers.com/showpost.php?p=48307124&postcount=134
Progress
Any report on the progress @cybojenix
andromodgod said:
Any report on the progress @cybojenix
Click to expand...
Click to collapse
Sources seem somewhat unhelpful at a first glance, however going deeper into them may reveal key parts that have Been overlooked
Sent from my Nexus 7 using Tapatalk
Any Good News
DO we have any good news from u @cybojenix
We are eagerly waiting for u
andromodgod said:
DO we have any good news from u @cybojenix
We are eagerly waiting for u
Click to expand...
Click to collapse
Please, check this comments:
http://forum.xda-developers.com/showpost.php?p=48628112&postcount=43
http://forum.xda-developers.com/showpost.php?p=48642380&postcount=44
mtk你还是放弃吧,很多都没有开源的,mtk提供整套方案给生产商,连生产商都没有源代码的。
Sent from my One X using xda app-developers app
I thought it is complete
Sent from my Nexus 4 using Tapatalk
Any news?
Related:
MediaTek driver sourcecode (want custom ROMs? read this!): http://forum.xda-developers.com/showthread.php?p=50146816
No complete source, nothing to accomplish.
Introduction
Hello everyone, this is a thread to introduce both users and kernel developers to the concept of linux-stable as well as give developers some tips and a tree to either merge into their own, use as a base, or just as a reference. Feel free to ask questions and enjoy!
What is it?
linux-stable is, as the name implies, the stable branch of the Linux kernel, the base of Android. The phone could not run without the Linux kernel (at least not without reworking a lot of stuff). The Android kernels are based on the longterm stable trees:
Longterm
There are usually several "longterm maintenance" kernel releases provided for the purposes of backporting bugfixes for older kernel trees. Only important bugfixes are applied to such kernels and they don't usually see very frequent releases, especially for older trees.
Click to expand...
Click to collapse
Source: https://www.kernel.org/category/releases.html
All Linux development happens on the master branch, which is governed by Linus Torvalds. When issues are discovered there, the fixes are applied then backported to these various stable trees for consumption. It is not uncommon for a fix to need to go back a few years.
There is a LOT more information available in the notes repo in the android-linux-stable organization if you care to learn more in-depth: https://github.com/android-linux-stable/notes
What does this mean for me?
If you are a developer, this means you should be merging these changes into your own tree. These are vetted, stable fixes to real world problems and they are being handed out for free. It does not take long to get up to date (as you can just merge this tree directly into your own or do it yourself using the tree as a reference) and once you are up to date, there is usually a release once every two weeks, give or take. I provide a rebuttal to a lot of various complaints here. If you still feel like there is a good reason not to do this, please let me know, I'll be happy to try and debate on it!
If you are a user, it means that you should be looking for and using kernels that have these fixes, as it shows the developers care for your security and stability. The current version for this device is 3.18.100 and the current version upstream is 3.18.124 so all you need to do is go into Settings > About phone and look at the kernel version to know if you are up to date.
How do I use?
If you are a developer, the reference tree is located in the android-linux-stable organization: https://github.com/android-linux-stable/marlin
This can either be merged into your existing kernel tree if you have one or be used as a fresh base. You do not need my permission to use it nor do you need to give me credit (although it would be appreciated).
If you are a user, use a kernel that has the changes added in!
Getting notified about updates
There are a few ways to get notified of linux-stable updates:
The linux-kernel-announce mailing list: http://vger.kernel.org/vger-lists.html#linux-kernel-announce
The android-linux-stable Telegram channel: https://t.me/alsupdates
Subscribe to this thread
Follow me on Google+ or Twitter
Getting help
If you have any issues with getting these changes into your tree or want to ask a question, there are a few different ways to do it:
Post in this thread
Join the linux-stable support chat on Telegram: https://t.me/joinchat/C1UAJ1EMSX31PCFdwLnOSg
File an issue either in the android-linux-stable notes repo or the android-linux-stable repo for this device
When requesting help, please give some solid details as to what you are struggling with, as I am happy to provide assistant and clarity but not to do something for you (unless I screwed up).
3.18.88 has been merged in.
3.18.89 has been merged in.
3.18.90 has been merged in.
3.18.91 has been merged in (conflict notes).
Hi Nathan, thanks for the code - built the kernel and flashed (wasn't easy at first). All working well, will use it at a later stage when I build the ROM. BTW, I am running the factory image. Credit also to Anykernel for the zip file
GeyerA said:
Hi Nathan, thanks for the code - built the kernel and flashed (wasn't easy at first). All working well, will use it at a later stage when I build the ROM. BTW, I am running the factory image. Credit also to Anykernel for the zip file
Click to expand...
Click to collapse
Not a Dev, but totally would like to give this a try if you have a zip. On the factory image + twrp 3.2.1
Sent from my [device_name] using XDA-Developers Legacy app
Hi, No problem. There you go... Just flash in TWRP and feedback if all went ok
3.18.92 has been merged in.
Hi, thanks for the code, compiled it against linaro 6.4 (built the cross-compiler following your thread). Tested for one day. All smooth. Sharing the job for those who might be interested. BTW, flashed it directly from fastboot....
Code:
fastboot flash kernel Image.lz4-dtb
Hi, added WireGuard support.
@ nathanchance, sorry, do not mean to hijack your thread...
GeyerA said:
Hi, added WireGuard support.
@ nathanchance, sorry, do not mean to hijack your thread...
Click to expand...
Click to collapse
No worries lol, gives it some life :silly:
Sent from my Pixel 2 XL using XDA Labs
GeyerA said:
Hi, added WireGuard support.
@ nathanchance, sorry, do not mean to hijack your thread...
Click to expand...
Click to collapse
Running this now, so far so good! Thanks!
Definitely interested in wire guard, but currently use WindScribe and am not sure how to properly configure it.
Will try and Frankenstein a config file together tonight and report back [emoji106]
Thanks again
Sent from my [device_name] using XDA-Developers Legacy app
Hi, question. Added DSPManager to my ROM and see that it always gets killed. Can you support the idea to build the kernel with
Code:
CONFIG_SECURITY_SELINUX=n
. Will this get me the kernel permissive and any disadvantages with this? I also see that Viper4android needs a permissive kernel.
3.18.93 has been merged in.
Somebody willing to do a build of the update to flash with fastboot?
I would if I could (still learning how to build myself)
Thnx in advance.
Cheers
Sent from my Google Pixel using XDA Labs
Sgace said:
Somebody willing to do a build of the update to flash with fastboot?
I would if I could
Thnx in advance.
Cheers
Sent from my Google Pixel using XDA Labs
Click to expand...
Click to collapse
Was just going to ask if someone could point me to a good resource on how to do so. Will post anything I manage to do [emoji106]
Sent from my [device_name] using XDA-Developers Legacy app
jimbub said:
Was just going to ask if someone could point me to a good resource on how to do so. Will post anything I manage to do [emoji106]
Click to expand...
Click to collapse
Hi,
I used this for the most part: https://forum.xda-developers.com/yureka/help/guide-compiling-64-bit-android-kernel-t3352728
And this:
https://forum.xda-developers.com/an...-how-to-compile-android-kernel-t3627297/page1
Was very helpful and am building right now
Credits to those guys offcourse.
Sent from my Google Pixel using XDA Labs
Sgace said:
Hi,
I used this for the most part: https://forum.xda-developers.com/yureka/help/guide-compiling-64-bit-android-kernel-t3352728
And this:
https://forum.xda-developers.com/an...-how-to-compile-android-kernel-t3627297/page1
Was very helpful and am building right now
Credits to those guys offcourse.
Sent from my Google Pixel using XDA Labs
Click to expand...
Click to collapse
If it's ok, here is my personal first ever self built kernel from source. It's 3.18.93 and flashable in fastboot (unzip the zip and then: fastboot flash kernel Image.lz4-dtb)
Offcourse thnx to @nathanchance for the source and all the work!
Cheers
Sgace said:
If it's ok, here is my personal first ever self built kernel from source. It's 3.18.93 and flashable in fastboot (unzip the zip and then: fastboot flash kernel Image.lz4-dtb)
Offcourse thnx to @nathanchance for the source and all the work!
Cheers
Click to expand...
Click to collapse
Thanks for doing this, very much appreciate it! For some reason though, this prevented my phone from booting. Ended up restoring my boot partition and things are well now!