Fixes for CM10.2 port - HTC Desire C

This should be a reply to the thread at http://forum.xda-developers.com/showthread.php?t=2418318, but as I'm a new user, I can't yet post to development-related forums apparently, so I'll post it here instead:
I've tried building CM10.2 with the device tree @ https://github.com/codexblack/golfu, but the build failed when trying to build the wpa_supplicant parts, this fixes it (I also needed to add https://github.com/drmarble/android_hardware_atheros_wlan/tree/cm-10.2 to my local manifest):
https://github.com/codexblack/golfu/pull/3

that device tree is very verry very outdated i dont use it for compiling.

@<CyberAnarchy>.... you tell to me!
it means cm10.2 is fixed .... isn't it?!
---------- Post added at 11:54 PM ---------- Previous post was at 11:52 PM ----------
[/COLOR @<CyberAnarchy>.... you tell to me!
it means cm10.2 is fixed .... isn't it?!

<CyberAnarchy> said:
that device tree is very verry very outdated i dont use it for compiling.
Click to expand...
Click to collapse
So, where can I find an up-to-date device tree then?

We are still waiting...

Fix..
Need fix for restarting problem....
CM restarts during some process:crying:

Related

working [PATCH][Mirage Kang][CM7.2] PDROID patches for 05-27 Mirage Kang Build

Hi,
because I don't have permission for writing in nook color development thread - I will post it here:
PDROID patch files for the Mirage Kang build 05272012
can be downloaded here:
working patch CWMzip:
http://dl.dropbox.com/u/12364391/PDroid-v1.31-encore_CM72-MiRaGe-05272012_intl.zip
restorer CWMzip:
http://dl.dropbox.com/u/12364391/PDroid-RESTORE-encore_CM72-MiRaGe-05272012_intl.zip
regards
bitstra
Do you mind me asking which patcher you used?
(Not that the effectiveness of the files you posted depend on it, I am just curious.)
mateorod said:
Do you mind me asking which patcher you used?
(Not that the effectiveness of the files you posted depend on it, I am just curious.)
Click to expand...
Click to collapse
Hi mateorod,
1st of all, thank You for your great support in the xda forums! AND for your PDroid app!!!
(BTW, I've sent a review of your product to a local radio station in berlin, gemany - they discussed safety-issues of Android device/software in a technical report.)
PDROID patcher 1.32 failed for this...
PDROID patcher 1.31/Win7 did the job.
regards
bitstra
P.S. I'm looking for a solution to implement the patches in a Custom ICS ROM 'VegaCream' for Advent-Vega tablets and clones. It has a squashfs r/o system-file in the CWM-zip because of small RAMspace, that I can unsquash/resquash on PC side...
Any ideas?
Thanx
Depends how "custom" it is, you know?
If it is mostly based off of CM9, AOKP or AOSP with tweaks and mods, then you can for sure do a build patch. You might even have a chance with the ICS auto-patcher, depending on the degree of derivation from source.
The build patches are on post 1 and the auto-patcher is post 4
I see you have Win 7, but since you're dealing with squashfs, do you have cygwin or something? I don't know if windows handles squashfs, but the ICS auto-patcher is just Linux right now. And of course, to patch anything on a PC, let alone build, you'll need Linux as well.
The auto-patcher's Gingerbread patches were actually made from Mirage, so if you want 1.3.2, you could use this patcher for sure.
Let me know how it goes, would you?
---------- Post added at 03:58 AM ---------- Previous post was at 03:50 AM ----------
bitstra said:
Hi mateorod,
1st of all, thank You for your great support in the xda forums! AND for your PDroid app!!!
(BTW, I've sent a review of your product to a local radio station in berlin, gemany - they discussed safety-issues of Android device/software in a technical report.)
Thanx
Click to expand...
Click to collapse
Whoa...maybe you edited this as I was responding, or maybe I just missed it the first time...
Just an FYI, I don't have what you'd really call a product. I work somewhat extensively with a bunch of other people's software, making it available to devices or OS's they aren't otherwise. That's really it.
Svyat is PDroid's dev, me and pastime1971 just ported it to ICS and made the patcher.
Hi,
thanx for the response.
The squashfs thing I will work out on a mac - squashfs tools are working under mac osx...
Will have a look for the possibilities today evening.
The Berlin radio station RBB 88.8 will publish a small review about Pdroid and patcher on coming saturday. They/we have researched all informations about svyat's app and yours patches. If I get a handout of the RBB publisher's article, I will post it here.
regards
bitstra
mateorod said:
Depends how "custom" it is, you know?
If it is mostly based off of CM9, AOKP or AOSP with tweaks and mods, then you can for sure do a build patch. You might even have a chance with the ICS auto-patcher, depending on the degree of derivation from source.
The build patches are on post 1 and the auto-patcher is post 4
I see you have Win 7, but since you're dealing with squashfs, do you have cygwin or something? I don't know if windows handles squashfs, but the ICS auto-patcher is just Linux right now. And of course, to patch anything on a PC, let alone build, you'll need Linux as well.
The auto-patcher's Gingerbread patches were actually made from Mirage, so if you want 1.3.2, you could use this patcher for sure.
Let me know how it goes, would you?
---------- Post added at 03:58 AM ---------- Previous post was at 03:50 AM ----------
Whoa...maybe you edited this as I was responding, or maybe I just missed it the first time...
Just an FYI, I don't have what you'd really call a product. I work somewhat extensively with a bunch of other people's software, making it available to devices or OS's they aren't otherwise. That's really it.
Svyat is PDroid's dev, me and pastime1971 just ported it to ICS and made the patcher.
Click to expand...
Click to collapse
Well, how about that. Glad to see the interest.
If you have a link to the ROM, I could run it through a patcher for you, although no promises, sight unseen, that it'll work.

Want to develop my own ROM, but don't know where to start.

I have been using custom roms on my Nexus 6 for a while now, but really want to try to develop my own. I have some programming experience, but would like to know if anyone has any guides on how to get started. I would mainly like it to be for my personal use, with only the features I need. I would like it to be AOSP based too. If anyone could offer any help it would be much appreciated.
Learn to build AOSP for your phone first, and how to use git, then go from there.
Sent from my Nexus 6
@wilder_mason
1st, get a Linux computer if you don't already have one.
2nd, go here > http://forum.xda-developers.com/showthread.php?t=2974055
cam30era said:
@wilder_mason
1st, get a Linux computer if you don't already have one.
2nd, go here > http://forum.xda-developers.com/showthread.php?t=2974055
Click to expand...
Click to collapse
Thanks. I am installing ubuntu right now.
The hardest part is troubleshooting a build failure. You can find step-by-step instructions on the internet, but going through logs and troubleshooting is a PITA. You have to start somewhere and going through the troubleshooting process will give you loads of experience. I've seen people progress very fast once they get their feet wet. Good luck :good:
wilder_mason said:
Thanks. I am installing ubuntu right now.
Click to expand...
Click to collapse
Many of us prefer Linux Mint. Close to Windows and stable. There are many good tuts for building from source. Look for tuts from Scrosler, FHEM and Syko. They all enter twined and and do tuts for N6.
---------- Post added at 09:11 PM ---------- Previous post was at 09:10 PM ----------
I dual boot Mint and Win 10. No problems even after upgrade from Win 8.1 to Win 10.
---------- Post added at 09:12 PM ---------- Previous post was at 09:11 PM ----------
FHEM also has a tut I think for building your own GIT.
prdog1 said:
Many of us prefer Linux Mint. Close to Windows and stable. There are many good tuts for building from source. Look for tuts from Scrosler, FHEM and Syko. They all enter twined and and do tuts for N6.
---------- Post added at 09:11 PM ---------- Previous post was at 09:10 PM ----------
I dual boot Mint and Win 10. No problems even after upgrade from Win 8.1 to Win 10.
---------- Post added at 09:12 PM ---------- Previous post was at 09:11 PM ----------
FHEM also has a tut I think for building your own GIT.
Click to expand...
Click to collapse
I went from Ubuntu to Mint. I think I prefer Ubuntu. In fact Mint makes me want to buy a new laptop and stick windows on it.
danarama said:
I went from Ubuntu to Mint. I think I prefer Ubuntu. In fact Mint makes me want to buy a new laptop and stick windows on it.
Click to expand...
Click to collapse
Using to build roms and kernels we found Mint to be more stable. Been running it for months. Had to rebuild Ubuntu every few days. Lol
prdog1 said:
Using to build roms and kernels we found Mint to be more stable. Been running it for months. Had to rebuild Ubuntu every few days. Lol
Click to expand...
Click to collapse
Never had an issue building on Ubuntu at all. Built on many versions since Gingerbread. I never set mint up as a build environment. Mint is basically Ubuntu anyway so they should build identically. But I find Mint unstable in everyday use. Particularly the use of browsers

Axon 7 GitHub Resources

@jcadduono - http://forum.xda-developers.com/showpost.php?p=68223333&postcount=5
sources: https://github.com/jcadduono/android...e_zte_ailsa_ii
kernel: https://github.com/jcadduono/android...mmits/twrp-6.0
@Unjustified Dev
TWRP: https://github.com/TeamRegular/android_device_zte_ailsa_ii
A user on the Chinese ZTE forums has created a github with the Axon 7 kernel code in it based on the A2017U B18 kernel dump.
http://www.myzte.cn/thread-272111-1-2.html
https://github.com/snowwolf725/ZTE_Axon7
TeutonJon78 said:
A user on the Chinese ZTE forums has created a github with the Axon 7 kernel code in it. Seems based off of the A2017U kernel dump.
http://www.myzte.cn/thread-272111-1-2.html
https://github.com/snowwolf725/ZTE_Axon7
Click to expand...
Click to collapse
ZTE have the kernel uploaded. (been up for quiet a while now)
http://opensource.ztedevice.com/
Under smartphone - ZTE A2017U
DrakenFX said:
ZTE have the kernel uploaded. (been up for quiet a while now)
www.opensource.zte.com
Under smartphone - ZTE A2017U
Click to expand...
Click to collapse
Yes, I've had since then. However, this is all github'ed, compile tested, and ready for forking.
We also have @jcadduono device tree and kernel posted from his TWRP work: http://forum.xda-developers.com/showpost.php?p=68195475&postcount=17
anks329 said:
We also have @jcadduono device tree and kernel posted from his TWRP work: http://forum.xda-developers.com/showpost.php?p=68195475&postcount=17
Click to expand...
Click to collapse
Indeed, I recommend folks clone this:
https://github.com/jcadduono/android_kernel_zte_msm8996/commits/stock-6.0
It's merged into CAF and allows future CAF merges without any issues. I updated it just the other day. Very clean kernel from ZTE, I've been really impressed.
From my stock-6.0 branch you can just run ./build.sh to compile a Image.gz and ./dtbgen.sh is automatically run after build to create a dtb.img.
I dont recommend using Image.gz-dtb as dtb building was not correctly set up by ZTE and I haven't bothered fixing it. Separated dtb.img works great though.
DEFCONFIG=zte_defconfig
DEVICE_DEFCONFIG=device_ailsa_ii
Otherwise you can use opensource-caf branch which is pure ZTE with no build modifications or scripts from me.
As for flashing kernels you build, check out LazyFlasher installer at:
https://github.com/jcadduono/lazyflasher
It will dynamically replace kernel image and dtb, and has a folder to put patch shell scripts. dm verity and forced encryption disabling already included as an example. Supports LZ4, Gzip, Bzip2, and LZO so far. Readme has more info. Avoids the need to constantly update ramdisks, and other branches have examples of things like SuperSU policy mod.
Hey guys, I am a developer thinking of buying this great cell phone. I've never tried to develop kernels or ROMs but I would love to learn and contribute to this community.
How could be the easiest way to learn and to start working in things related with this phone?
Thanks.
Thanks a lot for all the info!
@TeutonJon78 Maybe it would be beneficial to add these infos to the OP?
So...now we have two competing TWRP/device tree setups. @jcadduono and @Unjustified Dev it might make sense to keep them similar as make sure there aren't competing versions running around and making support harder.
Edit: I also updated the title of the thread to reference a more generic change -- just listing all known github resources.
grujildo said:
Hey guys, I am a developer thinking of buying this great cell phone. I've never tried to develop kernels or ROMs but I would love to learn and contribute to this community.
How could be the easiest way to learn and to start working in things related with this phone?
Thanks.
Click to expand...
Click to collapse
Well first of all you need the cellphone but it is heavily back-ordered, you can pre-order it now and you might or might not get it on 09/09/16.
I pre-ordered a month ago so I'll get my Gray Axon 7 on monday 08/22/16 (already have the tracking number), I would be willing to sacrifice it (selling it to you) if you want it, for the full price of course ($400 plus shipping). No means to sell anything, I'm not here to sell phones BUT if it is for a developer I'll do it and sacrifice a couple more weeks of wait time. All for the team.
grujildo said:
Hey guys, I am a developer thinking of buying this great cell phone. I've never tried to develop kernels or ROMs but I would love to learn and contribute to this community.
How could be the easiest way to learn and to start working in things related with this phone?
Thanks.
Click to expand...
Click to collapse
https://wiki.cyanogenmod.org/w/Doc:_porting_intro
This would be the best place to start learning Rom building.
Jose-MXL said:
Well first of all you need the cellphone but it is heavily back-ordered, you can pre-order it now and you might or might not get it on 09/09/16.
I pre-ordered a month ago so I'll get my Gray Axon 7 on monday 08/22/16 (already have the tracking number), I would be willing to sacrifice it (selling it to you) if you want it, for the full price of course ($400 plus shipping). No means to sell anything, I'm not here to sell phones BUT if it is for a developer I'll do it and sacrifice a couple more weeks of wait time. All for the team.
Click to expand...
Click to collapse
Hey thanks bro, don't worry. I just checked in Amazon and they are announcing that they will have stock on the 22 August, so maybe I will buy it there.
---------- Post added at 02:03 AM ---------- Previous post was at 01:58 AM ----------
Recon Freak said:
https://wiki.cyanogenmod.org/w/Doc:_porting_intro
This would be the best place to start learning Rom building.
Click to expand...
Click to collapse
Hey thanks Recon Freak. Are you going to start developing for this phone? Who are the developers that want to be involved porting CM for the Axon 7.
It would be great to have a master dev on porting ROMs and lp him with the process. Otherwise are there any devs interested on porting CM to this phone?
Thanks.
grujildo said:
Hey thanks bro, don't worry. I just checked in Amazon and they are announcing that they will have stock on the 22 August, so maybe I will buy it there.
---------- Post added at 02:03 AM ---------- Previous post was at 01:58 AM ----------
Hey thanks Recon Freak. Are you going to start developing for this phone? Who are the developers that want to be involved porting CM for the Axon 7.
It would be great to have a master dev on porting ROMs and lp him with the process. Otherwise are there any devs interested on porting CM to this phone?
Thanks.
Click to expand...
Click to collapse
I wish I had the time and skilz. I can build roms and tweak stuff, but that's it. I know the processes but time and knowledge are not on a 44 year old father of two's side. Tree development is best left to the young and knowledgable.
grujildo said:
Hey thanks bro, don't worry. I just checked in Amazon and they are announcing that they will have stock on the 22 August, so maybe I will buy it there.
Click to expand...
Click to collapse
I just ordered one yesterday and it will arrive 8/25, but seems that they are already out of stock by now... 1 to 2 months is the status now
Recon Freak said:
I wish I had the time and skilz. I can build roms and tweak stuff, but that's it. I know the processes but time and knowledge are not on a 44 year old father of two's side. Tree development is best left to the young and knowledgable.
Click to expand...
Click to collapse
Nice, If I managed to get the phone early I will tell you and we'll be able to port CM for sure
---------- Post added at 08:05 PM ---------- Previous post was at 08:05 PM ----------
Gachmuret said:
I just ordered one yesterday and it will arrive 8/25, but seems that they are already out of stock by now... 1 to 2 months is the status now
Click to expand...
Click to collapse
Yes ****, I just saw. Anyone know another way to get the phone?
grujildo said:
Nice, If I managed to get the phone early I will tell you and we'll be able to port CM for sure
---------- Post added at 08:05 PM ---------- Previous post was at 08:05 PM ----------
Yes ****, I just saw. Anyone know another way to get the phone?
Click to expand...
Click to collapse
There is some on Ebay right at the $400 mark, that's how I planned to sell you mine in case you wanted it.

Android nougat 7.0 source code releae

any want to make a new rom
get souce code: https://github.com/CyanogenMod/android_device_samsung_klte-common/tree/cm-14.0
Arjunfire said:
any want to make a new rom
get souce code: https://github.com/CyanogenMod/android_device_samsung_klte-common/tree/cm-14.0
Click to expand...
Click to collapse
you can make
I think he asked that because he cant do this. But I think it is only a matter of time until something will be released. At least I hope so.
I want it
Guys cm14 is under progress for klte.
We can have a high hopes for android 7 via cm14. We have devs like @albinoman887 and @haggertk and few others too. So for now let's just wait.
:good:
rayzen6 said:
Guys cm14 is under progress for klte.
We can have a high hopes for android 7 via cm14. We have devs like @albinoman887 and @haggertk and few others too. So for now let's just wait.
:good:
Click to expand...
Click to collapse
I think there will be no drivers for Spadragon 800/801...?
Athanatos81 said:
I think there will be no drivers for Spadragon 800/801...?
Click to expand...
Click to collapse
Yup looks like but for vulkan api only. I don't it'll be much problem with that. As u can see aosp 7 builds are already up for nexus5 , one plus one and few other devices which are 800 or 801 .
I hope stil working on s5 sm g900f
Can't wait for CM14, although qualcomm won't release new drivers for gpu. So I do not know, if it is worth to wait.. But our devs are geniuses, maybe the current driver packages will work, too.. But at first, I have to root my phone, what I don't like to do, because 0x1 is bad with warranty till January.. hmmmmmm... But Paranoid Android, CM14, ...
rayzen6 said:
Yup looks like but for vulkan api only. I don't it'll be much problem with that. As u can see aosp 7 builds are already up for nexus5 , one plus one and few other devices which are 800 or 801 .
Click to expand...
Click to collapse
Yup but i guess it can be done without vulkan api. As in nexus 4 port.
kardinal969 said:
Yup but i guess it can be done without vulkan api. As in nexus 4 port.
Click to expand...
Click to collapse
That's what I said brother
freibergisch said:
Can't wait for CM14, although qualcomm won't release new drivers for gpu. So I do not know, if it is worth to wait.. But our devs are geniuses, maybe the current driver packages will work, too.. But at first, I have to root my phone, what I don't like to do, because 0x1 is bad with warranty till January.. hmmmmmm... But Paranoid Android, CM14, ...
Click to expand...
Click to collapse
it is possible to update drivers for gpu if you have an unlocked bootloader and are on mm aosp rom
Ill take a stab at this. Installing ubuntu on my laptop now, any of you guys think its a good idea to follow this tutorial that was made for AOSP MM? Would the steps be the same? https://wiki.cyanogenmod.org/w/Build_for_klte
Please just set up a build, can't wait to use nougat
---------- Post added at 10:27 PM ---------- Previous post was at 10:27 PM ----------
chippinganimal said:
Ill take a stab at this. Installing ubuntu on my laptop now, any of you guys think its a good idea to follow this tutorial that was made for AOSP MM? Would the steps be the same? https://wiki.cyanogenmod.org/w/Build_for_klte
Click to expand...
Click to collapse
They should
Paoletti said:
Please just set up a build, can't wait to use nougat
---------- Post added at 10:27 PM ---------- Previous post was at 10:27 PM ----------
They should
Click to expand...
Click to collapse
Alright, got ubuntu installed (windows partition had a heart attack afterwards lmao) so now Ill do my best to follow that guide and see what happens i guess... Should build pretty fast since this machine has a i7 3770 and 16gb of ram and it seems the guide says 8gb of ram is fine.
Alright guys, i got to the part where I have to sync the repo, so i pasted the link in the cm device tree github page that is in the "clone or download" dropdown (ends with .git) and i get this error in the screenshot... got any ideas?
chippinganimal said:
Alright guys, i got to the part where I have to sync the repo, so i pasted the link in the cm device tree github page that is in the "clone or download" dropdown (ends with .git) and i get this error in the screenshot... got any ideas?
Click to expand...
Click to collapse
No idea.. I googled a bit but i didn't find anything exactly like that, maybe you can just try another time, I'm not an expert developer, so I just hope someone could help us.
Try checking here http://stackoverflow.com/questions/...-find-remote-ref-refs-heads-xxxx-and-hangs-up
Paoletti said:
No idea.. I googled a bit but i didn't find anything exactly like that, maybe you can just try another time, I'm not an expert developer, so I just hope someone could help us.
Try checking here http://stackoverflow.com/questions/...-find-remote-ref-refs-heads-xxxx-and-hangs-up
Click to expand...
Click to collapse
This is a git thing. Basically the branch name has changed. It's now in the staging branch so:
-b staging/cm-14.0
Hey guys just for us kind information we can hope cm14 aswell as ROMs based on it. Look this post by aicp developer/contributor . he has booting aicp n dev build. The awesome thing yo notice in this post is network indicators. Looks like ril is working also I think its usable too. But we have to wait a lil more to get public build.
Hit thanks button on his post.
http://forum.xda-developers.com/showpost.php?p=68899345&postcount=1613
rayzen6 said:
Hey guys just for us kind information we can hope cm14 aswell as ROMs based on it. Look this post by aicp developer/contributor . he has booting aicp n dev build. The awesome thing yo notice in this post is network indicators. Looks like ril is working also I think its usable too. But we have to wait a lil more to get public build.
Hit thanks button on his post.
http://forum.xda-developers.com/showpost.php?p=68899345&postcount=1613
Click to expand...
Click to collapse
We want to try that build, beta, alpha or wathever it is. We just want to try it, feel nougat in our hands, we want a download link for that build, even if it isn't stable, daily usable and public. We want that, we must have that.

[KERNEL]Despair Kernel

This is the new refined home for DarkRoom Development. If you submit bug reports without a log, you may be prosecuted...or executed.
Disclaimer:
If your device fails to comply with your standards of what you consider functioning, I am not liable. This is provided free of charge and does not come with a warranty. Although, if you provide a log, I can provide some sort of assurance that I will look into your issue.
Links:
Social:
Telegram - https://t.me/darkroomdev
Discord - https://discord.gg/BGTFutW
Downloads:
https://drive.google.com/drive/folders/1dS3IOzAjj6hKtL6VVt_-nVpCL1nbnB9S
Source: https://github.com/DespairFactor/bonito
Anyone know what does this kernel feature? That is different to stock.
I have no idea if I want this or not, the complete lack of information is puzzling. But the cutesy disclaimer is a dealbreaker.
borxnx said:
I have no idea if I want this or not, the complete lack of information is puzzling. But the cutesy disclaimer is a dealbreaker.
Click to expand...
Click to collapse
Check Github? ?
xFirefly93 said:
Check Github?
Click to expand...
Click to collapse
Cool, yeah I found the generic Linux Kernel 4.0 description right there on the readme page. That does not tell me what is special about this kernel. I am not going to read through every single file on github to find out what is special about this kernel. It seems that nothing is special at all, or else the developer would want to make it quite clear what stands his work apart from the rest of the pile.
---------- Post added at 12:37 PM ---------- Previous post was at 12:34 PM ----------
MrPhilo said:
Anyone know what does this kernel feature? That is different to stock.
Click to expand...
Click to collapse
Nobody has any idea what this kernel does, not even the developer apparently

Categories

Resources