download official HTC kernel - HTC Jetstream

EDIT - IE is able to download it, will share it once complete.
I need to correct my link, solve it tonight, sorry.
EDIT2 download working on my phone.
try www.my-acoustic.com/puccini_lte_crc-2.6.35-4612ecf.tar.gz
???
AT&T USA android v2.3
try www.my-acoustic.com/puccini-Cingular_USA-crc-2.6.35.tar.gz
???
Rogers WWE android v2.3
official kernel found in page 181,
logged into htcdev.com
download link (but not working) http://dl4.htc.com/RomCode/Source_and_Binaries/puccini_lte_crc-2.6.35-4612ecf.tar.gz
although it is listed as Jetstream AT&T USA
but search using the correct keyword does not appear / list out the results.
look for it page by page found on
page is http://www.htcdev.com/devcenter/downloads/P1800
my browser is CHROME win8 64x
does anyone else have the source kernel file to share? Thanks.

cx5 said:
www.my-acoustic.com/puccini-Cingular_USA-crc-2.6.35.tar.gz
does anyone else have the source kernel file to share? Thanks.
Click to expand...
Click to collapse
That is the same kernel source file as the one that is (usually) available from HTC Dev.
I hadn't realized that Rogers devices had a different kernel. I will have to diff them and see if I find anything interesting. I'll post the results on this thread when I get around to it.

finniest said:
I will have to diff them and see if I find anything interesting. I'll post the results on this thread when I get around to it.
Click to expand...
Click to collapse
I had a look at the two versions of the source tree and found a couple of interesting items. The first is that the WWE kernel appears to lack MHL support. See the following snippet from the WWE source.
Code:
// defconfig
# CONFIG_USB_ANDROID_PROJECTOR is not set
Also f_projector.c exists in AT&T source tree and not in the WWE one.
I also noticed that there were diffs related to power management and suspending. I have observed hard crashing when powering off before and this may be related. See the following snippet from the AT&T source.
Code:
void msm_rpm_set_suspend_flag(bool isSuspendMode)
{
msm_rpm_stat_data->isSuspendMode = (!!isSuspendMode);
}
EXPORT_SYMBOL(msm_rpm_set_suspend_flag);
The AT&T source tree seems to be the slightly newer of the two. It is the one that people have been customizing and that is probably for the best.

Great. Thanks.
Sent from my SGH- I317M (Note II) running CM 11 using XDA Mobile App

Related

[Q] Noob AOSP build on unsupported device

Hello,
I have an Ampe A10 Quad core tablet (Freescale I.mx6q chip) which has quite a small dev community so far so I am looking at building my own rom for the device.
i can get by in Linux and learn fast so feel I can do it. I have been reading constantly for the last week before even starting to get a grip of whats what. I am trying to make an ASOP version of 4.0.4 to replace the stock 4.0.4, rather poor rom.
My question is what do I do about vendor overlays as there is nothing out there for this device or anything similar. I have done a lot of searching on this and found the suggestion "You could just use an extract from a working Rom or phone" " You use the extracted proprietory files to complete the source" . I understand I need the proprietary binaries to make the build but i don't really understand what that the suggestion means.
Any help you could offer on obtaining the files I need from the stock ROM and how to setup the vendor overlay would be most appriciated.
Cheers,
I don't have your device man, but if there is another similar device out there with a similar board and chip configuration search github for a repo that contains an "extract-files.sh" file for that other device. Fork it, clone into your dev environment under your Device folder, connect your tablet via USB (make sure adb is running), and run that script. It should pull the proprietary files required straight from the device and you may be better off.
Hope this helps a little! Good luck with your project.
Sent from my SAMSUNG-SGH-T989 using XDA Premium HD app
djmatt604 said:
I don't have your device man, but if there is another similar device out there with a similar board and chip configuration search github for a repo that contains an "extract-files.sh" file for that other device. Fork it, clone into your dev environment under your Device folder, connect your tablet via USB (make sure adb is running), and run that script. It should pull the proprietary files required straight from the device and you may be better off.
Hope this helps a little! Good luck with your project.
Sent from my SAMSUNG-SGH-T989 using XDA Premium HD app
Click to expand...
Click to collapse
Thanks for the advice. I have spend some time searching but cannot find anything on github. There are only a couple of devices that are similar. The Ampe A10 Sanei N10 and Hiapad F10 are all the same thing just rebranded, the other is the Zenithink C94 but I cant find anything on any of them.
How can I create a new device tree for my device? (which from what I understand is what I want) It would be a good thing to achieve as it would help others in the future. I have been through the "Configuring a New Product" on the AOSP site so now understand a bit more what's going on.
Sp3ktral said:
Thanks for the advice. I have spend some time searching but cannot find anything on github. There are only a couple of devices that are similar. The Ampe A10 Sanei N10 and Hiapad F10 are all the same thing just rebranded, the other is the Zenithink C94 but I cant find anything on any of them.
How can I create a new device tree for my device? (which from what I understand is what I want) It would be a good thing to achieve as it would help others in the future. I have been through the "Configuring a New Product" on the AOSP site so now understand a bit more what's going on.
Click to expand...
Click to collapse
extract-files.sh is a cyanogenmod creation, so you'd be lucky to find anything....... Linaro offer support for the sabre lite development platform which is a i.MX 6q based board, maybe building Linaro's version of the AOSP would be a good start
Here's a couple of links to get you started
https://wiki.linaro.org/Boards/MX6QSabreLite - Overview of the Board, you can check how close it is to your device
https://wiki.linaro.org/Platform/Android/BuildSource
You are correct you need to create a device tree , a couple of good resources I've used in the past when creating device tree from scratch are
Embedded Android ( http://shop.oreilly.com/product/0636920021094.do ) this book is pretty close to the bible on the Android Build System and worth the Investment. Alternatively ( more importantly free! ) a slide deck by the same author ( http://events.linuxfoundation.org/slides/2011/abs/abs2011_yaghmour_porting.pdf )
Android Device Porting - http://www.youtube.com/watch?v=mvxYt3AkbrE
Could the extract script not be used to help pull the right files straight from the device for his vendor folder though? He would just need to edit the list of files to be pulled in the referenced list the script uses in the loop if he knows what configuration files are needed, no?
I'm by no means an expert but on first glance that's all the extract-files script does...or is there something I'm missing? I'm learning too so would be good to know either way lol
Sent from my SAMSUNG-SGH-T989 using XDA Premium HD app
djmatt604 said:
Could the extract script not be used to help pull the right files straight from the device for his vendor folder though? He would just need to edit the list of files to be pulled in the referenced list the script uses in the loop if he knows what configuration files are needed, no?
I'm by no means an expert but on first glance that's all the extract-files script does...or is there something I'm missing? I'm learning too so would be good to know either way lol
Sent from my SAMSUNG-SGH-T989 using XDA Premium HD app
Click to expand...
Click to collapse
Apologieses if that came across as abrupt, Just sayin' you'd be lucky to find one that come close to his board etc, iMX Freescale chips are not that mainstream But yeah if you can find an extract script than have at it! Saying that why do you even need a script? just pull the files yourself through adb, pointless wasting time searching. The question then becomes, what files? And that is unique the each device and each version and how much of it is open source etc,etc.
I think the OP is probably a way off doing that, when I've played around starting a device tree from scratch, I've find it is easier to start off with the base requirements, i.e processor architecture, maybe start with building a mini package first or even BUILD_TINY_ANDROID on a generic arm board. The whole starting from scratch thing is not a small task, which I suppose was your point in the first place lol
For sure. It really does boil down to what files, whether a script is used to pull them or not lol.
Thanks for the links by the way, SUPER informative
Sent from my SAMSUNG-SGH-T989 using XDA Premium HD app
thanks for all the great info Trevd. The Sabre lite board is very similar indeed! There seem to be only a few minor differences which are inconsequential anyway. For example the tablet have less USB and no Ethernet. I think it could be a good starting point.
I guessed when I started this project it wouldn't be a quick fix but that't not a problem, At the end of it I will have my own working ROM and that's the point.
I can see the Freescale chips being taken more in to the main stream in the future. The tablet is VERY fast and reliable it has just been let down by poor, half-arsed software. For example all the aspects of Android relating to telephony have still been left in.
Thanks again,
Sp3ktral said:
thanks for all the great info Trevd. The Sabre lite board is very similar indeed! There seem to be only a few minor differences which are inconsequential anyway. For example the tablet have less USB and no Ethernet. I think it could be a good starting point.
I guessed when I started this project it wouldn't be a quick fix but that't not a problem, At the end of it I will have my own working ROM and that's the point.
I can see the Freescale chips being taken more in to the main stream in the future. The tablet is VERY fast and reliable it has just been let down by poor, half-arsed software. For example all the aspects of Android relating to telephony have still been left in.
Thanks again,
Click to expand...
Click to collapse
Plz keep us in the loop on how the rom is comming along.
Not that many I.MX6Q roms out there yet, and im sure many peeps are waiting for it
Thx for giving it a shot
Ill be watching
Corw1n said:
Plz keep us in the loop on how the rom is comming along.
Not that many I.MX6Q roms out there yet, and im sure many peeps are waiting for it
Thx for giving it a shot
Ill be watching
Click to expand...
Click to collapse
I'm one if those hoping for a decent rom... Apparently freescale have released a beta for jelly bean on the imx6.
MrVanDango said:
I'm one if those hoping for a decent rom... Apparently freescale have released a beta for jelly bean on the imx6.
Click to expand...
Click to collapse
Oh? Where did u find that? Been googeling my ass off trying to find a freescale jb rom....
Hope it comes tho.....already ordered my ampe a10 quad.....
Corw1n said:
Oh? Where did u find that? Been googeling my ass off trying to find a freescale jb rom....
Hope it comes tho.....already ordered my ampe a10 quad.....
Click to expand...
Click to collapse
You can download it from github. I can't post links at the moment. If you can't find it PM me and i'll forward the link i have.
MrVanDango said:
You can download it from github. I can't post links at the moment. If you can't find it PM me and i'll forward the link i have.
Click to expand...
Click to collapse
any updates on this? i cant find it on github either.
goldenpipes said:
any updates on this? i cant find it on github either.
Click to expand...
Click to collapse
The Freescale Github account is here, and it doesn't look like they provide much more useful stuff than their meta-packages there: github.com/Freescale
What I know is that for every SoC they have a page (sorry, not allowed to link yet. just search "i.MX6" on the freescale website) where they offer demo images and at least a set of patches with some documentation on how to build that Android branch.
E.g. at "Operating System Software-Board Support Packages" you can find a demo image for Kitkat and a source package: "IMX6_KK442_100_ANDROID_SOURCE_BSP" (you have to register a free account with your mail to download this). Then usually it works like this:
Get the according AOSP branch from Google
Apply patches provided by Freescale
Clone their kernel repository
Clone their uboot repository
Build
Look for a document named "Sabrelite-Android_User's_Guide.pdf" for more detailed information. Sorry, I can't remember if it was included in the source package or in another download provided in their list.

G2 Sources from LG [All variants]

Not sure if this is common knowledge but LG has posted all their sources for all the models.
This should hopefully help things
lg.com/global/support/opensource/opensourceList?types=ALL&search=G2
PS. I'm posting in the general forum as I don't have permission to post in the dev forum (as I recently registered). If anyone can move this thread or even just copy the link to the relevant threads. Thanks
Edit: I can't even post links so I had to remove www from the start, which breaks the link . Just add www or on the page just enter G2 into the search box
McCaffers said:
Not sure if this is common knowledge but LG has posted all their sources for all the models.
This should hopefully help things
lg.com/global/support/opensource/opensourceList?types=ALL&search=G2
PS. I'm posting in the general forum as I don't have permission to post in the dev forum (as I recently registered). If anyone can move this thread or even just copy the link to the relevant threads. Thanks
Edit: I can't even post links so I had to remove www from the start, which breaks the link . Just add www or on the page just enter G2 into the search box
Click to expand...
Click to collapse
If this is correct we can start a AOSP build with it
Thanks!
Sent from my LG-D800 using Tapatalk 2
https://www.lg.com/global/support/opensource/opensourceList?types=ALL&search=G2
There you go. Yeah, hopefully this gets the ball rolling.
Sent from my VS980 4G using Tapatalk 4
Hopefully if this is the case we will start seeing those great aosp aokp or even CM roms I'm not regretting getting this phone one bit
Sent from my LG-D800 using XDA Premium HD app
I've been going over what's available. There are two zips in the source files, android build and the kernel build and a readme file.
This is what is in the readme file:
1. Android build
- Download original android source code ( jelly bean 4.2.2_r1.2 ) from source.android.com
- Untar opensource packages of LG-D802(G2)_Android_JB_D802_10a_Android.tar.gz into downloaded android source directory
- And, merge the source into the android source code
- Run following scripts to build android
a) source build/envsetup.sh
b) lunch
c) make -j4
- When you compile the android source code, you have to add google original prebuilt source(toolchain) into the android directory.
- After build, you can find output at out/target/product/generic
2. Kernel Build
- Uncompress using following command at the android directory
tar xvzf LG-D802(G2)_Android_JB_D802_10a_Kernel.tar.gz
- When you compile the kernel source code, you have to add google original prebuilt source(toolchain) into the android directory.
- Run following scripts to build kernel
a) cd kernel
b) export PATH=$PATH:tools/lz4demo
c) make ARCH=arm CROSS_COMPILE=../prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi- g2-open_com-perf_defconfig zImage -j4
* "-j4" : The number, 4, is the number of multiple jobs to be invoked simultaneously.
* lz4demo : More information can be found at "https://code.google.com/p/lz4/"
- After build, you can find the build image(zImage) at arch/arm/boot/
Click to expand...
Click to collapse
I'm going to have a test this evening and see what I can do. I'm an experienced programmer but this will be a first for building android. I need to research into recovery first, in case I mess up. Once I know I can recovery my device I'll blast away at developing.
McCaffers said:
I've been going over what's available. There are two zips in the source files, android build and the kernel build and a readme file.
This is what is in the readme file:
I'm going to have a test this evening and see what I can do. I'm an experienced programmer but this will be a first for building android. I need to research into recovery first, in case I mess up. Once I know I can recovery my device I'll blast away at developing.
Click to expand...
Click to collapse
As long as you can get into download mode, volume up and put usb cable in when it's off, you can restore the phone. Check the sticky on top.
I'm just happy they posted the source because I'm thinking the content adaptive brightness is in the kernel because it can't be disabled on a software level. cmon Devs!! woot lol
Sent from my VS980 4G using Tapatalk 4
LG G2 hands on
Guys check out the India's first hand review of LG G2 on Mobile Jury's You Tube channel. :good:
exciting news! can't wait for future development!

[Q] how to use Samsung Open Source files and JB AOSP (4.1.2_r2.1)?

Hello all,
I'm trying hard to figure out how one goes about compiling Android JB AOSP (4.1.2_r2.1) platform for the samsung galaxy s2 (GT-I9100M), with the source code that samsung gives you?
I've setup ubuntu 14, and I see how I can run . build/envsetup.sh, and then lunch.
I get all the options to build, and I see where the saumsung scripts are located, in device/samsung.
I've downloaded the open source file GT-I9100M_BMC_JB_Opensource.zip, and compiled the Kernel.
Now its time to build the platform. I see the folder structure, but I see no instructions.
When I unzip the Platform, I see build, external, vendor, and device, which has the folder "smdk_common".
If I put all files in the corisponding locations within the AOSP, I get errors, as there's only a folder "alsa-lib". (sound drivers).
And if I were to compare what's in here to whats in the AOSP device/samsung folders, there's lots more info.
Do I need to copy files from the default AOSP device/samsung folders and modify to suite my needs or?
Can anyone point me to how-tos? I've been trying to figure this out for days!
I see a lot of how tos on building with existing ROMS, and using kitchen, etc.
But I just want to build samsung from scratch FIRST...
OK, so doing a lot more research, both here and google, I obviously need to create a device tree OFF of the files that samsung has released to everyone. Surely someone has done this already?
I see there are a few GIT repositories that have device trees, but they are based upon existing files, etc.
I'm looking to find a device tree that has all the basics, OR a "template" one i can try and work with samsungs...
technobuddha said:
OK, so doing a lot more research, both here and google, I obviously need to create a device tree OFF of the files that samsung has released to everyone. Surely someone has done this already?
I see there are a few GIT repositories that have device trees, but they are based upon existing files, etc.
I'm looking to find a device tree that has all the basics, OR a "template" one i can try and work with samsungs...
Click to expand...
Click to collapse
Hi,
did you succeeded in your approach to build a device tree with the Samsung-opensource-files? if yes then I'll be very interested in the way you do it as I'm on the same status for a Samsung device which has absolutely no support in the hole internet (except one thread here in XDA
BR
SP
No I didn't.
and I got no help what so ever from the people here at xda-developers.
I even approached some of the people who compile the roms, and got no response from them.
I suspect the only help you'll ever get from these forums is if you ask for help from EXISTING roms,
or you're an "existing" developer that has years of experience.
this place is not for new developers at all.
a lot of brown nosing going on here..
good luck in your search!
SolarPlexus said:
Hi,
did you succeeded in your approach to build a device tree with the Samsung-opensource-files? if yes then I'll be very interested in the way you do it as I'm on the same status for a Samsung device which has absolutely no support in the hole internet (except one thread here in XDA
BR
SP
Click to expand...
Click to collapse
technobuddha said:
No I didn't.
and I got no help what so ever from the people here at xda-developers.
I even approached some of the people who compile the roms, and got no response from them.
I suspect the only help you'll ever get from these forums is if you ask for help from EXISTING roms,
or you're an "existing" developer that has years of experience.
this place is not for new developers at all.
a lot of brown nosing going on here..
good luck in your search!
Click to expand...
Click to collapse
OK, thanks for your response. Thats also my experiance more ore less I have found (with some exceptions which really try to help).
So I'll try to work on it, and if I succseed, I'll make a guide... maybe it will help then others
BR
SP
what phone is it?
and yea, if you need any help,just ask me.
SolarPlexus said:
OK, thanks for your response. Thats also my experiance more ore less I have found (with some exceptions which really try to help).
So I'll try to work on it, and if I succseed, I'll make a guide... maybe it will help then others
BR
SP
Click to expand...
Click to collapse
Its the Samsung sg-i8200 (s3 mini value edition)
The previous phone was supported very well (i8190) but the i8200 has a complete new hardwarebase and its really garbage...
send with my Oneplus One (bacon) SlimKat Tapatalk

ZTE Nubia Z7 Mini (NX507J) - ROM porting

This has been started for people interested in porting other ROM's for the Nubia Z7 Mini (NX507J). If you are interested in seeing/using/asking questions about ROM's that currently exist, please use the thread created by @Seyron here. I previously posted the following information on that thread, but feel a new thread will be better so the other can be used for people with questions about existing ones.
I'm not sure what you mean by a good background for going at it; however, I think having a good understanding of computers and even some basic programming is very helpful. As for myself, everything is self-taught. I'm pretty familiar with mac, PC, and linux. Even if you are completely new at it, there is lots of good information out there - I would just encourage you to start by learning from credible and well established sources. I have only tried porting for nubia Z7 mini - no other android. I previously used the iphone (and am frankly glad I now have android).
It really depends on whether you want to do a simple port (that's how I call it - don't know if there's an official way of calling it) or port from source. If you are doing a simple port, you can use any computer (mac, pc, linux); however, if you want to port/build from source it is by far the easiest to do it from Linux. There are many resources out there for building/porting from linux - most of which are using Ubuntu. I personally use Debian (which incidentally Ubuntu was created from; however, they are now each distinct and different), but you could use most any linux distro as long as you are comfortable using the command line. Also, if you are using linux, make sure you have enough hard drive space available (most recommended is at least 30GB) and have enough RAM (I have 16GB - minimum recommended is 8GB). It's also very helpful if you have a large swap set up as it makes building go faster. Once you have everything put together, compiling/building takes 3-5 hours depending on the specs of your computer. I have a 1.7ghz i5 in my computer and it is slow - 4-5 hour range for me.
For the sources list below, please note I have no affiliation with them and do not know them. Use at your own risk, I assume no responsibility for what may happen to your computer or phone.
I think some of the best (and frankly most detailed) information comes from the android source code website and from XDA-University.
https://source.android.com/index.html
XDA-University
For what I call simple porting, can be done on any computer - this was the site I started with and it seemed to work except that I kept getting boot loop issues. There are many other sites out there with nearly identical information. This person uses a PC, but you can adjust it quite simply for doing this on mac or linux too:
http://seekandroid.info/2014/05/porting-android-roms-for-your-phone.html
The following site/instructions are very interesting as they are different than any other site I found out there with porting instructions. I have not done it this way - primarily because I am concerned about "bricking" my phone. The method this person uses is the same; however, the files that they transfer are opposite to most any other site I've found. I have not used these instruction - be very cautious until someone else can confirm.
http://anythingsyouneed.blogspot.com/2014/06/how-to-port-custom-rom-rom-porting.html
This one seems interesting; however, I have not used anything on this website and have not used one of the Kitchen programs.
http://www.littlegreenrobot.co.uk/tutorials/how-to-cook-your-own-android-rom/
Android - excellent and very detailed. Personally I think most helpful to those with intermediate to advanced programming knowledge. Or at least have the ambition and time to learn.
https://source.android.com/source/building-devices.html
XDA-University - Truly amazing wealth of information, approachable for anyone from absolute beginners to advanced programers.
http://xda-university.com/as-a-developer
http://xda-university.com/as-a-developer/porting-aosp-roms-using-source-code
I've been busy and haven't had a chance to use these pages yet, but it's what I'm going to do next to try and solve the boot loop errors.
http://xda-university.com/as-a-user/zip-based-rom-tweaking
http://xda-university.com/as-a-user/how-to-recover-from-a-bootloop
If anyone has anything to add, please do. I'd be interested in seeing what else people use.
I haven't found the required sources to port from source, so I don't know if that's possible. Neither am I experienced in any of that.
In basic porting I do, however so far it has been unsuccesful for the Z7 Mini.
I have tried to port CM11S from the OPO, but it didn't work out, the phone became stuck in a bootloop, and logcat wasn't working to find out what's the problem of not booting. Might be dual-sim related but that should more likely run into a non-working sim/ril or a lot of crashes, not making it not booting at all.
I do wonder how they got the CM11 / Mokee with eng/ch languages to work. Tried using those as base too but that didn't do the trick.
To build completely from source you need to have the kernel source.
ZTE has not yet released it, but I'm hoping it will be released soon.
You can check here.
On Github there's a repo but it's apparently broken.
Anyway you can build cyanogenmod without having the kernel source (http://wiki.cyanogenmod.org/w/Doc:_porting_intro)
As soon as I get my own device I'll try that.
Nice, will follow this thread
I was trying to port the Z7 Max CM11 to the Z7 Mini, still work in progress because i'm new at this...
So, do you have any idea how the existing ROM's were ported then? If they weren't from source, we should be able to port others without getting the boot loop error - in theory. Not finding the kernel source is the main reason (besides finding the time) why I haven't worked on porting others. I also cannot find the vendor tree for the phone - which incidentally, may well be part of the kernel source. If you can port CM without source the others should be equally possible. Personally, I'm not interested in a CM based ROM (although a couple I listed in the other thread that I tried porting were CM based); I'm more interested in an AOSP based ROM. I wonder why ZTE has been so slow to release the kernel? Especially since they've released all the others (albeit not the other Z7's) and they have been so popular.
Also, as I stated in the other thread, I was able to get a couple to boot, but they were stuck in boot loop issues. I forgot to use logcat to see what the issue was.
@voetbalremco I agree with you, how did they get MoKee and MIUI to work? I tried using MoKee as base too - though didn't try MIUI. Does anyone know if it's possible to extract the kernel from the current stock ROM?
pierg75 said:
To build completely from source you need to have the kernel source.
ZTE has not yet released it, but I'm hoping it will be released soon.
You can check here.
On Github there's a repo but it's apparently broken.
Anyway you can build cyanogenmod without having the kernel source (http://wiki.cyanogenmod.org/w/Doc:_porting_intro)
As soon as I get my own device I'll try that.
Click to expand...
Click to collapse
pedrud said:
So, do you have any idea how the existing ROM's were ported then? If they weren't from source, we should be able to port others without getting the boot loop error
Click to expand...
Click to collapse
There are different ways to port a Rom...or you build it from scratch, so you compile everything. And for that you need source for every component.
Or you can use the various kitchens (this one for example) to repack and tweak an existent rom.
pedrud said:
Does anyone know if it's possible to extract the kernel from the current stock ROM?
Click to expand...
Click to collapse
You can do it with the kitchen above or using one of the tools available (like this one for example.
Probably everything can be done with dd (as mentioned in the cyanogenmod guide).
Hopefully my device will be her soon, so I can also try these as well
pierg75 said:
There are different ways to port a Rom...or you build it from scratch, so you compile everything. And for that you need source for every component.
Or you can use the various kitchens (this one for example) to repack and tweak an existent rom.
You can do it with the kitchen above or using one of the tools available (like this one for example.
Probably everything can be done with dd (as mentioned in the cyanogenmod guide).
Hopefully my device will be her soon, so I can also try these as well
Click to expand...
Click to collapse
Thanks for the resources! I think combining those two, plus the info on the CM website, and what's on XDA-University; I should be able to get this figured out. Now all I need to do is find the time.
Today my phone arrived! Tomorrow I'll pick it up and start to do some tests.
Sent from my Nexus 7 using Tapatalk
Here it is Kernel source code for NX507J
github.com/ztemt/Z7Mini_NX507J_H128_kernel
felipebarney said:
Here it is Kernel source code for NX507J
github.com/ztemt/Z7Mini_NX507J_H128_kernel
Click to expand...
Click to collapse
I thought that was the kernel that was either incomplete or broken. Do you know otherwise? I had seen it previously, but had read there were errors with it. If not, that's great! I also wonder if it has the "fixes" that ZTE has made for wifi, BT, etc in the recent updates.
pedrud said:
I thought that was the kernel that was either incomplete or broken. Do you know otherwise? I had seen it previously, but had read there were errors with it. If not, that's great! I also wonder if it has the "fixes" that ZTE has made for wifi, BT, etc in the recent updates.
Click to expand...
Click to collapse
I found on the nubia.cn, but i don't know if this have issues... Anyway last updated was 22 days ago, I hope they have fixed...
felipebarney said:
I found on the nubia.cn, but i don't know if this have issues... Anyway last updated was 22 days ago, I hope they have fixed...
Click to expand...
Click to collapse
Can you post the link where you originally found it? Thanks.
pedrud said:
Can you post the link where you originally found it? Thanks.
Click to expand...
Click to collapse
bbs.nubia.cn/thread-266348-1-1.html
:good:
felipebarney said:
bbs.nubia.cn/thread-266348-1-1.html
:good:
Click to expand...
Click to collapse
Thanks. Although, one person commented on the thread that it is nubia development and isn't open source yet. Won't know for sure and I'm not totally sure how to tell from looking at it. May have to keep waiting - or at least dig a little deeper. Thanks again.
So I started to try to build something with CM-11.
I thought I could put my steps here, in case someone else needs them (or has a better way to do it):
1) Get the repo uility:
Code:
mkdir ~/bin
PATH=~/bin:$PATH
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
2) Initialize the repository:
Code:
repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0
3) Sync the repository:
Code:
repo sync
This will take a while (the repo is pretty big).
I've taken some infos from the phone (build.prop, partitioning, kernel, boot.img).
I'll continue as soon as the repo is sync'ed.
Repo sync'ed, now build the environment:
Code:
. build/envsetup.sh
At this point we have to build the structure as explained here
Make sure you have the boot.img extracted (see previous posts about a tool).
Make sure you have the utility "unpackbootimg" installed.
I downloaded from https://github.com/osm0sis/mkbootimg/blob/master/unpackbootimg.c and compiled with:
Code:
gcc -o unpackbootimg unpackbootimg.c
Put it in your $PATH.
Then run the commands to create the directory structure:
Code:
./build/tools/device/mkvendor.sh nubia NX507J ../original/boot.img
"nubia" and "NX507J" come from the build.prop, respectively
Code:
ro.product.manufacturer=nubia
ro.product.device=NX507J
The result from the mkvendor.sh is:
Code:
[...]
Use the following command to set up your build environment:
lunch cm_NX507J-eng
And use the follwowing command to build a recovery:
. build/tools/device/makerecoveries.sh cm_NX507J-eng
...to be continued
pierg75 said:
So I started to try to build something with CM-11.
I thought I could put my steps here, in case someone else needs them (or has a better way to do it):
1) Get the repo uility:
Code:
mkdir ~/bin
PATH=~/bin:$PATH
curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
2) Initialize the repository:
Code:
repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0
3) Sync the repository:
Code:
repo sync
This will take a while (the repo is pretty big).
I've taken some infos from the phone (build.prop, partitioning, kernel, boot.img).
I'll continue as soon as the repo is sync'ed.
Click to expand...
Click to collapse
This is great! Thanks. Are you using a PC or Linux and what OS? Those are the next steps that I want to take. I'm interested in doing it with carbon, omni, and maybe paranoid.
pedrud said:
This is great! Thanks. Are you using a PC or Linux and what OS? Those are the next steps that I want to take. I'm interested in doing it with carbon, omni, and maybe paranoid.
Click to expand...
Click to collapse
Obviously I'm using Linux
No windows here
Sent from my NX507J using Tapatalk
pierg75 said:
Obviously I'm using Linux
No windows here
Sent from my NX507J using Tapatalk
Click to expand...
Click to collapse
That's what I assumed, but hey, you never know. You know what they say when you make assumptions... What distro are you using?
Fedora and Debian...BTW I added few more steps in the previous message.
pierg75 said:
Fedora and Debian...BTW I added few more steps in the previous message.
Click to expand...
Click to collapse
Did you see the post by yiphoming on the other thread that CM11 already exists? Any other ROM's you're interested in?

Can someone explain how to create a device tree from the Samsung opensource zip?

I recently got my tab s7 sm-t870 for Christmas. I like it so far. I am trying to build TWRP and Lineage for it because only the 5g version is getting development. So i went and found out the source code for the wifi model is released by Samsung. I'm stuck on building a device tree from it though. I rooted the device so i can get the right blobs from it. If i were to succeed I will try to share it but I haven't used any file sharing sites so i don't know how that would work.
On second thought i should do twrp first before compiling Lineage but i still need a device tree
You might as well asked for the meaning of life...I doubt many will help with this. You maybe better off going to telegram and seeing if there is a dedicated forum, there maybe a dev there with more time or willingness
n0lan said:
I'm stuck on building a device tree from it though. I rooted the device so i can get the right blobs from it.
Click to expand...
Click to collapse
Have not done this before...
If I were to do this I would check out the github repositories of developers who are working on/publishing ROMs or recoveries for recent SAMSUNG devices.
Look what they use and from there find the equivalents for your tablet.
DHGE said:
Have not done this before...
If I were to do this I would check out the github repositories of developers who are working on/publishing ROMs or recoveries for recent SAMSUNG devices.
Look what they use and from there find the equivalents for your tablet.
Click to expand...
Click to collapse
hey i realized Ian has created a device tree for the s7 sm-t875 so i decided to clone it but when i lunch it complains that it doesn't exist in the config makefile. i'm getting so close but just need to figure out how to properly setup the files. I think the hard part is done finding something that would work. Do you have the knowledge of what I might be missing? This is the error
build/make/core/envsetup.mk:257: error: No config file found for TARGET_DEVICE gts7l.
Welp I just solved it it was just giving a different path in the BoardConfig.mk oops
You dont really lol.. samsung opensource is really just kernel source
elliwigy said:
You dont really lol.. samsung opensource is really just kernel source
Click to expand...
Click to collapse
wdym ??

Categories

Resources