Ok, folks... Some very industrious devs have worked out a more complete vendor tree for the Eris at http://github.com/punk-kaos/vendor_htc_desirec. I've synced it into -
$AOSPsource/froyo/vendor/htc/desirec <-- this is the level that all of the files are at (i.e. everything under vendor_htc_desirec/ from the repo)
I'm a little lost as to where to go from there. I've looked at multiple vendor trees, and everyone seems to do things a little differently each time.
Can any of you point me in the right direction?
Thanks!
Kudos to Kaos, jamezelle, conap, vinylfreak89, & darchstar! You really rock.
Ok, so I copied it all under
$AOSPsource/froyo/device/htc/
Since that's where the dream, passion, etc. stuff is.
Now, I do a - 'source build/envsetup.sh' and it seems to find the desirec stuff.
including device/htc/desirec/vendorsetup.sh
including device/htc/dream/vendorsetup.sh
including device/htc/passion/vendorsetup.sh
including device/htc/sapphire/vendorsetup.sh
I'm stuck at what to do a 'lunch' on now. In the vendorsetup.sh, there's a 'cyanogen_desirec-eng'.
When I 'lunch cyanogen_desirec-eng', I get -
build/core/product_config.mk:190: *** _nic.PRODUCTS.[[device/htc/desirec/froyo_desirec.mk]]: "vendor/htc/desirec/device_desirec-vendor-blobs.mk" does not exist. Stop.
** Don't have a product spec for: 'cyanogen_desirec'
** Do you have the right repo manifest?
Getting closer!
Applause
I read you posts and see the questions you ask(that never seemed to get answered)and you will post some stuff you have learned all to help someone else who might want to get started dinking around with a pretty cool open source operating system. I applaud you for asking questions and when no one replies you answer it again yourself. You are the true definition of open source!
Im fairly new to this whole scene so excuse the "dumb" question but what exactly is a vendor tree?
You are stellar. I am going to try and port a froyo rom and then start to build something from the ground up. The questions you ask and the information you provide is invaluable. Want to put a rom project together?
Sent from my FroyoEris
good progress
paperweight said:
I read you posts and see the questions you ask(that never seemed to get answered)and you will post some stuff you have learned all to help someone else who might want to get started dinking around with a pretty cool open source operating system. I applaud you for asking questions and when no one replies you answer it again yourself. You are the true definition of open source!
Click to expand...
Click to collapse
Thank you. Many devs have helped me to learn all that I have learned. They are busy people just like most of us. Some of them probably don't pay attention to the forum that often. Some just have their own projects. Some hang out in IRC instead of looking in here. Actually, I've learned a lot in IRC, even when I just kick back and lurk. I really do want to get all of the info that I learn out here in the forum where 'noobs' are lurking. I've found that there is a certain level of detail that is available fairly easily with the search box. There's a point where it takes some real digging to figure things out. My hope is that it won't always be that way.
I tried manually taking all of the files and settings from the vendor tree and inserting them into SgtShultz. It didn't fix things. So, I'm thinking that either it really does have to be compiled in or this tree and AOSP Froyo don't quite mesh. Since there is some source code in the tree, that is most likely the issue.
I never could get the lunch command to work. That file is not there, and I'm still not sure what it should contain if I were to create it. Getting this to work would really help both of my other current projects...
MacShannon said:
Im fairly new to this whole scene so excuse the "dumb" question but what exactly is a vendor tree?
Click to expand...
Click to collapse
When you compile AOSP and/or variants from source, there is generally no device specific code - like drivers for instance. The vendor tree just sets everything up to add those proprietary files and settings into the mix, so that the resulting ROM will actually be usable. That's the idea anyway!
thanks for all the work you've been doing recently! i've followed the other thread as well... and am happy to say that i use (and appreciate) your work!
gnarlyc said:
When you compile AOSP and/or variants from source, there is generally no device specific code - like drivers for instance. The vendor tree just sets everything up to add those proprietary files and settings into the mix, so that the resulting ROM will actually be usable. That's the idea anyway!
Click to expand...
Click to collapse
I also have a "dumb" question.
If this is for the Eris, then why are the files under the "desire" name? I thought the eris was based on the hero platform or am I missing something obvious here?
gnarlyc said:
I'm a little lost as to where to go from there. I've looked at multiple vendor trees, and everyone seems to do things a little differently each time.
Can any of you point me in the right direction?
Click to expand...
Click to collapse
Have you tried the steps from this thread?
I am currently working through them, but had to stop because it's time for me to get ready for work.
I have gotten through the step where you copy the vendor files to the htc folder
sbarne3 said:
I also have a "dumb" question.
If this is for the Eris, then why are the files under the "desire" name? I thought the eris was based on the hero platform or am I missing something obvious here?
Click to expand...
Click to collapse
Great question! HTC's 'internal' name for the Eris is 'desirec' apparently. (Note that it's 'desirec' not 'desire'.) It was somewhat confusing when they came out with the Desire...
sbarne3 said:
Have you tried the steps from this thread?
I am currently working through them, but had to stop because it's time for me to get ready for work.
I have gotten through the step where you copy the vendor files to the htc folder
Click to expand...
Click to collapse
Looking at it now. Thanks!
gnarlyc said:
Ok, so I copied it all under
$AOSPsource/froyo/device/htc/
Since that's where the dream, passion, etc. stuff is.
Now, I do a - 'source build/envsetup.sh' and it seems to find the desirec stuff.
including device/htc/desirec/vendorsetup.sh
including device/htc/dream/vendorsetup.sh
including device/htc/passion/vendorsetup.sh
including device/htc/sapphire/vendorsetup.sh
I'm stuck at what to do a 'lunch' on now. In the vendorsetup.sh, there's a 'cyanogen_desirec-eng'.
When I 'lunch cyanogen_desirec-eng', I get -
build/core/product_config.mk:190: *** _nic.PRODUCTS.[[device/htc/desirec/froyo_desirec.mk]]: "vendor/htc/desirec/device_desirec-vendor-blobs.mk" does not exist. Stop.
** Don't have a product spec for: 'cyanogen_desirec'
** Do you have the right repo manifest?
Getting closer!
Click to expand...
Click to collapse
Did you run extract-files.sh? Iirc, the vendor_blob file is created when you run it.
Sent from my FroyoEris using XDA App
Resun said:
Did you run extract-files.sh? Iirc, the vendor_blob file is created when you run it.
Sent from my FroyoEris using XDA App
Click to expand...
Click to collapse
Holy cow! I did not run it because I already have all of those files in place. It didn't occur to me to check and see if 'extract-files.sh' does something more than just pull the files.
Thank you.
Np, been working on my own, I've done the same thing about 10 times in the past week.
Sent from my Froyo Eris using XDA App
So, I commented out all of the 'adb pull' statements in the 'extract-files.sh' script, since the files are already there. Now I see that extract-files was creating the ...blobs.mk file under vendor/htc/desirec instead of device/htc/desirec. So, I changed that and ran it all again...
cd $AOSPsource/froyo
device/htc/desirec/extract-files.sh
source build/envsetup.sh
lunch cyanogen_desirec-eng
And this gives me -
build/core/product_config.mk:192: *** vendor/htc/desirec/froyo_desirec.mk: PRODUCT_NAME must be unique; "desirec" already used by device/htc/desirec/froyo_desirec.mk vendor/htc/desirec/froyo_desirec.mk . Stop.
** Don't have a product spec for: 'cyanogen_desirec'
** Do you have the right repo manifest?
Here I go again! Thanks for all of the help. I really want to get this working, so that it can be scripted.
gnarlyc said:
So, I commented out all of the 'adb pull' statements in the 'extract-files.sh' script, since the files are already there. Now I see that extract-files was creating the ...blobs.mk file under vendor/htc/desirec instead of device/htc/desirec. So, I changed that and ran it all again...
cd $AOSPsource/froyo
device/htc/desirec/extract-files.sh
source build/envsetup.sh
lunch cyanogen_desirec-eng
And this gives me -
build/core/product_config.mk:192: *** vendor/htc/desirec/froyo_desirec.mk: PRODUCT_NAME must be unique; "desirec" already used by device/htc/desirec/froyo_desirec.mk vendor/htc/desirec/froyo_desirec.mk . Stop.
** Don't have a product spec for: 'cyanogen_desirec'
** Do you have the right repo manifest?
Here I go again! Thanks for all of the help. I really want to get this working, so that it can be scripted.
Click to expand...
Click to collapse
Shouldn't have it in both, should only be in the device subfolder.
Resun said:
Shouldn't have it in both, should only be in the device subfolder.
Click to expand...
Click to collapse
Thanks again! I know better than to do a drive by like that. I spent two minutes testing, posted the results, and then left to run errands for most of the day.
I'll try again when i get home.
so ive patched up the vendor on my computer (some files were pointing to devices/htc/desirec) and when i finally got it to behave i ran into something worse..
Code:
build/core/combo/TARGET_linux-arm.mk:39: *** Unknown ARM architecture version: armv6. Stop.
i ended up changing the lunch to desirec-eng because it wouldnt resolve the product name... im not a dev but i sure have a nose for this sort of thing, and help or an armv6.mk file would be appreciated
Related
Guys, I wanted to learn how to make one. I know the basics, but wanted to know what language it's written in and what are all the functions it supports and their syntax.
Where can I find this information? I tried searching but did not find anything.
edit: found a very helpful thread, http://forum.xda-developers.com/showthread.php?t=641223
making an update.zip isn't that hard, the only part that actually requires a bit of learning or familiarity is the update-script. just look at examples from themes and ROMs, and you'll likely get the hang of it really quickly. lastly, use a signing utility(i use autosign).
justinisyoung said:
making an update.zip isn't that hard, the only part that actually requires a bit of learning or familiarity is the update-script. just look at examples from themes and ROMs, and you'll likely get the hang of it really quickly. lastly, use a signing utility(i use autosign).
Click to expand...
Click to collapse
Thanks. Someone else had mentioned that. I did start looking the script and the update.zip file. But I wanted to figure out additional commands. What other functions are available for our disposal.
You searched it good alright. Let's see what 'make update.zip' comes up with on google. Oh my gosh, HOW TO MAKE UPDATE.ZIP FOR ANDROID PHONES.
http://lmgtfy.com/?q=make+update.zip
bikcmp said:
You searched it good alright. Let's see what 'make update.zip' comes up with on google. Oh my gosh, HOW TO MAKE UPDATE.ZIP FOR ANDROID PHONES.
http://lmgtfy.com/?q=make+update.zip
Click to expand...
Click to collapse
Thanks hot shot.
Why dont you follow that link and see what it says for yourself. None of the links give me what i want. I already know that I can backwards engineer a update.zip. That's trivial.
I want to know other commands that are available. Someone has to know. Unless even the devs started to just modify old zips and go from there. That I can do too.
I swear there are people like you just searching threads to post such remarks instead of real technical or meaningfull posts.
okay I found some syntax for update script. Check out this thread.
http://forum.xda-developers.com/showthread.php?t=641223
jackal424 said:
okay I found some syntax for update script. Check out this thread.
http://forum.xda-developers.com/showthread.php?t=641223
Click to expand...
Click to collapse
Excellent find OP.
jackal424 said:
Thanks hot shot.
Why dont you follow that link and see what it says for yourself. None of the links give me what i want. I already know that I can backwards engineer a update.zip. That's trivial.
I want to know other commands that are available. Someone has to know. Unless even the devs started to just modify old zips and go from there. That I can do too.
I swear there are people like you just searching threads to post such remarks instead of real technical or meaningfull posts.
Click to expand...
Click to collapse
word.....not exactly helpful.
I know that I found something similiar to what you're looking for....now I just need to remember where...
Hello Nookers,
Remember that Sense 3.0 Port for Nook Project a long time ago? Well, the thread got closed because there wasn't a full product ready.
I'm almost done with my first working Sense Port, but I just need one more thing. First, lemme explain. These apps fail to works because the dump I used was an EVO View 4G dump, not the Wifi-Flyer's dump. So I have now managed to get a hold of a Deodexed Flyer RUU. I have extracted the ROM.zip containing system.img, data.img, etc. What I need now is a way to extract files from those. I have access to a Mac and PC but if ABSOLUTELY NECESSARY I will install Linux.
Thanks,
King Black Bomb.
Moo
if they are img files you can use IM disk to mount the img file on your PC. then you can access them and remove the files that you need to remove.
Dude, before you got banned two weeks ago, you said this would be done in 4 days, and you are still working on it? This is why you are not considered a credible developer.
You can use winimage to extract img files.
indagroove said:
Dude, before you got banned two weeks ago, you said this would be done in 4 days, and you are still working on it? This is why you are not considered a credible developer.
You can use winimage to extract img files.
Click to expand...
Click to collapse
As I agree with the user above about your lack of credibility I'll add some info here for you to try to achieve your task. Attached is the program I use to extract images. ALL YOU DO IS DROP THE IMG FILE ON THE EXE AND IT WILL EXTRACT.
Yes, I did say that, and it was a mistake on my part I thought I would have found the program by then. Turns out a didn't. @xboxexpert I have tried unyaffs it does not work on either Mac or Windows. WinImage? It doesn't work. For some reason it seems encrypted. Same for IMDisk.
why are you even still trying this? HTC HAS MADE SENSE OPEN SOURCE AND WILL BE RELEASED ANY DAY NOW. www.htcdev.com
luciferii said:
why are you even still trying this? HTC HAS MADE SENSE OPEN SOURCE AND WILL BE RELEASED ANY DAY NOW. www.htcdev.com
Click to expand...
Click to collapse
As I understand it, there aren't plans to make HTC Sense open source. This simply lets you write applications that make use of HTC Sense-specific APIs.
Woohoo, more free lawls! Get 'em while they're hot!
The kid has been stuck on the same step for several months, regardless of whichever RUU he stumbles upon on bittorrent. It's pretty pathetic at this point...
did you extract the exe from the rar?
paleh0rse said:
Woohoo, more free lawls! Get 'em while they're hot!
The kid has been stuck on the same step for several months, regardless of whichever RUU he stumbles upon on bittorrent. It's pretty pathetic at this point...
Click to expand...
Click to collapse
Wooo - make fun of the kid! Why would anyone want to encourage learning! I'm a hypocrite, but only this once: If you're going to reply, at least attempt to answer his question or make progress towards an answer.
As long as actual development happens. I'm all for support.
Still rocking the Incredible with the XDA Premium App.
anekdotos said:
Wooo - make fun of the kid! Why would anyone want to encourage learning! I'm a hypocrite, but only this once: If you're going to reply, at least attempt to answer his question or make progress towards an answer.
Click to expand...
Click to collapse
You really need to read his old thread to understand -- in it, I was one of the only members trying to help him... at first. He proceeded to dismiss everyone's guidance -- consistently claiming to know better -- and continued to lie about "progress" for weeks. The extent of his "development" was copying and pasting the Sense apk's into /system... seriously.
There's history here with this clown, so please save your judgments for someone else...
You can try DiskInternals Linux Reader:
http://www.diskinternals.com/linux-reader/
OK, so you need to extract system.img files. You don't have to install Linux, you can run it from a Live CD. And mount loop the .img file to a folder on your system.
Mind PM'ing me a link to the download so I can do so for you? Then you can go ahead and do the port as you would say?
-Racks
To everyone who says I'm not a dev:
I have been making progress, because at first it was complaining about audio drivers, then files in /system/etc, and it kept on going. Finally, and i THINK this is the last step, is to push Wifi-Only frameworks, apks, and the /system/etc folder.
@racks11479 thanks, but I'll only tell others to do my work if I can't. But again thanks for offering.
ikingblack said:
To everyone who says I'm not a dev:
I have been making progress, because at first it was complaining about audio drivers, then files in /system/etc, and it kept on going. Finally, and i THINK this is the last step, is to push Wifi-Only frameworks, apks, and the /system/etc folder.
@racks11479 thanks, but I'll only tell others to do my work if I can't. But again thanks for offering.
Click to expand...
Click to collapse
What are you talking about, aren't you saying you need help extracting the system.img? I'm offering to help...
Isn't that the particular request you are asking in your OP? This is a developer community, everyone here welcomes help where needed. Not one developer on this forum has ever denied any help when they were stuck on an issue.
Not flaming you, but trying to help so you can continue the port you are working on. Don't let pride get in the way of progress.
-Racks
No not pride, it's just as soon as I say yes people will say "oh, the kid need serious help. Can't even extract a system.img."
ikingblack said:
No not pride, it's just as soon as I say yes people will say "oh, the kid need serious help. Can't even extract a system.img."
Click to expand...
Click to collapse
Frankly, they have been saying that for some time now.
As it is, this thread has NOTHING to do with the nook, and needs to be closed. Frankly, i wish you would refrain from making these posts. It is obvious that you have no idea what is going on, and your posts are only serving to make this public info. I welcome everyone working on their dev skills, but strongly encourage those who are learning, to post about it in the right way....
Divine_Madcat said:
As it is, this thread has NOTHING to do with the nook, and needs to be closed.
Click to expand...
Click to collapse
It doesn't need to be closed, just moved to Q&A or General.
Sent from my Gin and Tonic using XDA App
This topic just needs to die. I saw this topic right after he created it but decided to lay low because I had hoped the topic would die out. since it seems like it wont i then must beg for people to stop posting here. Developers and other commenters have been very genorious in giving time and credibility to this poster (me excluded) and all he does in return is deny your help. He has been offered solutions like the ones given before but either he is not smart enough to handle such tasks or he is just a huge troll. So please ignore him. Please let this be the last post in this topic. This has gone on long enough and just needs to stop. If you don't then i will be forced to start posting pictures of dudes in g strings. Thank you very much
Sent from my NookColor using XDA Premium App
Can you guys provide a walkthrought on how to quickly add a device by merging this code and the device source code?
What to look for in source, where to place it
How to safely test it, etc
With this walkthrought you can get users quickly enabled to start on creating support for their own devices as wel as more community maintainership
pretty pretty pretty please
bachera said:
Can you guys provide a walkthrought on how to quickly add a device by merging this code and the device source code?
What to look for in source, where to place it
How to safely test it, etc
With this walkthrought you can get users quickly enabled to start on creating support for their own devices as wel as more community maintainership
pretty pretty pretty please
Click to expand...
Click to collapse
This is on the way
We have a load to document, and we will be doing it as quickly as possible. We can provide a guide on how to go from AOSP => Omni quickly. It's a bit complex to explain how to safely test on any device, as that depends on specific per-device knowledge that a developer of that device has.
But we'll do our best to help people get building
pulser_g2 said:
This is on the way
We have a load to document, and we will be doing it as quickly as possible. We can provide a guide on how to go from AOSP => Omni quickly. It's a bit complex to explain how to safely test on any device, as that depends on specific per-device knowledge that a developer of that device has.
But we'll do our best to help people get building
Click to expand...
Click to collapse
I have been following this guide...but its rather incomplete and is not clear on some explanation so I got stuck halfway through. Wasn't sure what it meant by looking for the commit of new device addition in the vendor (for ominirom) so i kinda stop halfway through...lol maybe you can make some sense out of it, clarify it and help me by me helping you
http://xda-university.com/as-a-developer/porting-aosp-roms-using-source-code
---------- Post added at 03:42 PM ---------- Previous post was at 03:41 PM ----------
bachera said:
Can you guys provide a walkthrought on how to quickly add a device by merging this code and the device source code?
What to look for in source, where to place it
How to safely test it, etc
With this walkthrought you can get users quickly enabled to start on creating support for their own devices as wel as more community maintainership
pretty pretty pretty please
Click to expand...
Click to collapse
Lol meant to quote you
mgbotoe said:
I have been following this guide...but its rather incomplete and is not clear on some explanation so I got stuck halfway through. Wasn't sure what it meant by looking for the commit of new device addition in the vendor (for ominirom) so i kinda stop halfway through...lol maybe you can make some sense out of it, clarify it and help me by me helping you
http://xda-university.com/as-a-developer/porting-aosp-roms-using-source-code
---------- Post added at 03:42 PM ---------- Previous post was at 03:41 PM ----------
Lol meant to quote you
Click to expand...
Click to collapse
.
Vendor is the manufacturer i believe. OR the devices code name. Ex. HTC EVO 4G is the supersonic and HTC EVO 4G LTE is the Jewel.
Well i gathered that part (been catching up on my source lingo) what i meant is finding the add new device commit on ominirom vendor commit. I guess i need to see some example? Ominirom vendor is listed as android_vendor_custom if you want to take a look
mgbotoe said:
Well i gathered that part (been catching up on my source lingo) what i meant is finding the add new device commit on ominirom vendor commit. I guess i need to see some example? Ominirom vendor is listed as android_vendor_custom if you want to take a look
Click to expand...
Click to collapse
Wasnt the repo int "repo int http://www.github.com/omnirom/android.git (something else) android-4.3" ?
Sent from my EVO using XDA Premium 4 mobile app
lreyes said:
Wasnt the repo int "repo int http://www.github.com/omnirom/android.git (something else) android-4.3" ?
Sent from my EVO using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I used this repo init -u git://github.com/omnirom/android.git -b android-4.3 and it worked fine...just actually got done syncing.
Its essentially the same, you just forgot the -b
mgbotoe said:
I used this repo init -u git://github.com/omnirom/android.git -b android-4.3 and it worked fine...just actually got done syncing.
Its essentially the same, you just forgot the -b
Click to expand...
Click to collapse
Yeah that "(something else)" was the -b I just forgot what it was. I got the source all correct and fully synced but as you read in my thread I'm gonna have to do some dirty work.
Sent from my EVO using XDA Premium 4 mobile app
For htc explorer,all i needed to do was place the device,kernel,vendor repositories in the correct place,rename the makefile(not sure if even required,but did it anyways),and built.that;s it
sakindia123 said:
For htc explorer,all i needed to do was place the device,kernel,vendor repositories in the correct place,rename the makefile(not sure if even required,but did it anyways),and built.that;s it
Click to expand...
Click to collapse
what build commend did you use?
mgbotoe said:
what build commend did you use?
Click to expand...
Click to collapse
same as aosp, "make otapackage"
sadly i keep getting an error. I think i choose the wrong time to learn source codes and building them lol
Code:
build/core/tasks/kernel.mk:86: **********************************************************
build/core/tasks/kernel.mk:87: * Kernel source found, but no configuration was defined *
build/core/tasks/kernel.mk:88: * Please add the TARGET_KERNEL_CONFIG variable to your *
build/core/tasks/kernel.mk:89: * BoardConfig.mk file *
build/core/tasks/kernel.mk:90: **********************************************************
make: *** No rule to make target `otapackage'. Stop.
awesome, just installed virtual machine to run Ubuntu. I am wagering I need that to start git syncs and move source files around in this sync.
Really guys I am clueless. I probably need to create a fork first so I dont sync g2 stuff to base lol.
I think I am not up to the task
sakindia123 said:
same as aosp, "make otapackage"
Click to expand...
Click to collapse
How I didn't remember this! I had a hard time unpacking system image and creating a flashable zip. LoL
found it http://docs.omnirom.org/Setting_Up_A_Compile_Environment
bachera said:
I give up. Cant get sdk installed lol
Click to expand...
Click to collapse
Welcome to Linux my friend :fingers-crossed:
sakindia123 said:
same as aosp, "make otapackage"
Click to expand...
Click to collapse
I just brunch, works great
sevenup30 said:
Welcome to Linux my friend :fingers-crossed:
Click to expand...
Click to collapse
achievement unlocked syncing first git.
is it normal some stuff cant be downloaded?
bachera said:
achievement unlocked syncing first git.
is it normal some stuff cant be downloaded?
Click to expand...
Click to collapse
I would say normally not, but I believe it's that the omni source isn't finished on github.
Edit, I believe, if I remember correctly, one on the device trees on the manifest to be synced isn't on their github. Which will probably be fixed soon enough.
Just because one is anonymous doesn't mean that one has privacy.
syncing going on. I got a lg g2 d802 with sources from lg,
Am starting an experiment. Wont get the speed anywhere near the pros.
I got sources from LG for the 4.2.2 rom. Will this be a version de mismatch with 4.3?
Now I need to add\edit some files. No walkthrough for that yet.
Anybody has a good hook on where I can check next steps? I was thinking probably along the lines in this post:
http://forum.xda-developers.com/showthread.php?p=46453349
Hi guys.
With one guy, who doesn't have Huawei phone, we try to debug why 3.10.90 isn't booting, but logcat seems that everything is okkey, and cat /proc/kmsg and other adb shell commands gives errors. So I try go get a help, could someone upstream the following kernel (3.10.89) to 3.10.90 and make it bootable too ? I tried it for 4 days, modifying ramdisk, etcetc... nothing worked... couldn't debug cuz adb shell wasn't working(i mean it was working, but next commands weren't, i even installed adb insecure ap, usb debugg on etc).
@XTutorials @surdu_petru @haky 86 @XePeleato(if you know somehow ) @DingDongPow or others. Thanks!
https://ufile.io/rvlmk (why no github ? 1. ffs can't even upload it there 2. only when i finish the upstreams)
You must learn to crawl before you can walk.
In the first place you are debugging userspace when the change you made was in the kernel, obviously you aren't catching the error, whatever it is.
Brian Kernighan said:
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
Click to expand...
Click to collapse
In this case if you don't understand the code, you are obviously not going to be able to debug it.
Spend some time familiarizing yourself with the kernel, it's the only way to learn.
DingDongPow said:
Soo what do you want me to do fam?
(I don't use linux anymore soo i doubt i can really help)
Click to expand...
Click to collapse
I knew you can't help me, i just tagged you.
@dominj97
Here I am, days pass noone help... A guy with totally different phone helped me more than actual p8 lite devs, ty... (i understand that some can't help, but the rest?.. Shame)
We just don't have the time to spoonfeed you. We are no tech support nor we have to provide you with support, the shame is that you refuse to actually learn something and just want to compile that damn kernel no matter the cost. It takes like five minutes to someone with enough skill to compile a kernel (it's just running a command).
The sooner you understand that this is out of your league and start with the basics, the better.
It's your choice to take this as advice or as a rant.
D1stRU3T0R said:
Here I am, days pass noone help... A guy with totally different phone helped me more than actual p8 lite devs, ty... (i understand that some can't help, but the rest?.. Shame)
Click to expand...
Click to collapse
XePeleato said:
We just don't have the time to spoonfeed you. We are no tech support nor we have to provide you with support, the shame is that you refuse to actually learn something and just want to compile that damn kernel no matter the cost. It takes like five minutes to someone with enough skill to compile a kernel (it's just running a command).
The sooner you understand that this is out of your league and start with the basics, the better.
It's your choice to take this as advice or as a rant.
Click to expand...
Click to collapse
We continue here, okey xd
First, i already learned the basics. I know the command to build, but bcs we don't have a source kernel, I'm running from problems to problems.i can solve easy problems, but when not even google heard about it nor other phone devs, it's something interesting.... I know that you aren't a scam tech supp...i mean tech support, but damn, it's soo hard to answer to at least 1 message out of 5? I'm having more help from a stranger, who is pshichologist, and work alot, but still help more than from actuall "friends".. I understand you, no phone no help, XTutorials did everything he could, haky too (somehow). I'm here being ignored bcs I didn't borned with Linux under my as...house. I don't think that it's sooooooooooo hard to answer a question, even a harder one, you won't lose your job or school free time with that "ruined" 2-10 min. This start to be off topic anyways. I already passed these problems. Now i try to work with hakys kernel
Can you post it here? Any picture or log of that error?
D1stRU3T0R said:
We continue here, okey xd
First, i already learned the basics. I know the command to build, but bcs we don't have a source kernel, I'm running from problems to problems.i can solve easy problems, but when not even google heard about it nor other phone devs, it's something interesting.... I know that you aren't a scam tech supp...i mean tech support, but damn, it's soo hard to answer to at least 1 message out of 5? I'm having more help from a stranger, who is pshichologist, and work alot, but still help more than from actuall "friends".. I understand you, no phone no help, XTutorials did everything he could, haky too (somehow). I'm here being ignored bcs I didn't borned with Linux under my as...house. I don't think that it's sooooooooooo hard to answer a question, even a harder one, you won't lose your job or school free time with that "ruined" 2-10 min. This start to be off topic anyways. I already passed these problems. Now i try to work with hakys kernel
Click to expand...
Click to collapse
tried to delete that file, more errors...
https://m.imgur.com/a/Tw9VI
Which file? There's no need to remove any file, it complains because the toolchain (aarch64-...) isn't in your PATH, so get the toolchain and edit PATH so that the build system can find it
D1stRU3T0R said:
tried to delete that file, more errors...
Click to expand...
Click to collapse
XePeleato said:
Which file? There's no need to remove any file, it complains because the toolchain (aarch64-...) isn't in your PATH, so get the toolchain and edit PATH so that the build system can find it
Click to expand...
Click to collapse
Hmm.. I was watching that... Little chance that there is something wrong, as i know for sure that i modified it to the right path. Will check, maybe gcc is named linux_x86-x64 not only linux_x86 idk, thanks for the hint. (build.sh file)
Try to run in a Terminal 'aarch64-linux-android-gcc' if it can't find it, then it isn't set properly. It also complains because where you are trying to build it is not clean, Are you building in a different directory? (out/)
D1stRU3T0R said:
Hmm.. I was watching that... Little chance that there is something wrong, as i know for sure that i modified it to the right path. Will check, maybe gcc is named linux_x86-x64 not only linux_x86 idk, thanks for the hint. (build.sh file)
Click to expand...
Click to collapse
XePeleato said:
Try to run in a Terminal 'aarch64-linux-android-gcc' if it can't find it, then it isn't set properly. It also complains because where you are trying to build it is not clean, Are you building in a different directory? (out/)
Click to expand...
Click to collapse
K I'll try. Out of directory? Downloaded/extracted to downloads, renamed, (modified), changed build.sh and that's it xd.
Well, it says it isn't clean so you've tried to compile it without specifying an out directory (make whatever) instead of (make O=out/ whatever)
D1stRU3T0R said:
K I'll try. Out of directory? Downloaded/extracted to downloads, renamed, (modified), changed build.sh and that's it xd.
Click to expand...
Click to collapse
XePeleato said:
Well, it says it isn't clean so you've tried to compile it without specifying an out directory (make whatever) instead of (make O=out/ whatever)
Click to expand...
Click to collapse
Actually, I'm using your(i mean hakys kernel, but you fixed his wifi problems) kernel. Will that work on stock?
Oooohhh and i had a problem with config.. It said something config not found for merge_hi6250(p9 right?)... So i copied Alice defconfig and renamed that, and than it was working *insert black guy meme pointing at his head*
There's where I can't help, I don't know if it will work. That wifi thing was made for non EMUI systems, but that doesn't mean that it can't work on EMUI.
D1stRU3T0R said:
Actually, I'm using your(i mean hakys kernel, but you fixed his wifi problems) kernel. Will that work on stock?
Oooohhh and i had a problem with config.. It said something config not found for merge_hi6250(p9 right?)... So i copied Alice defconfig and renamed that, and than it was working *insert black guy meme pointing at his head*
Click to expand...
Click to collapse
D1stRU3T0R said:
Actually, I'm using your(i mean hakys kernel, but you fixed his wifi problems) kernel. Will that work on stock?
Oooohhh and i had a problem with config.. It said something config not found for merge_hi6250(p9 right?)... So i copied Alice defconfig and renamed that, and than it was working *insert black guy meme pointing at his head*
Click to expand...
Click to collapse
You mean this guy????
XePeleato said:
There's where I can't help, I don't know if it will work. That wifi thing was made for non EMUI systems, but that doesn't mean that it can't work on EMUI.
Click to expand...
Click to collapse
Builded, after some mins it booted, 3 sec later system crashed, automatically rebooted :/ ... second boot isnt happening anymore. Fail.
D1stRU3T0R said:
Builded, after some mins it booted, 3 sec later system crashed, automatically rebooted :/ ... second boot isnt happening anymore. Fail.
Click to expand...
Click to collapse
What do You need? Maybe i can help you!
RootingPro-18 said:
What do You need? Maybe i can help you!
Click to expand...
Click to collapse
Nothing right now... No kernel is working how much i would like. I'm using esal right now, but sadly can't be upstreamed to 3.10.90 due to errors at boot. Hakys new kernel has system problems, etcetc
I have been running about, trying to create a basic custom ROM for my device.
Have tried most of the methods mentioned in forums. Nothing seems to work.
Anybody out here who can guide me through it?
Also, explaining customising the Android system.
Thanking everyone in advance.
arbajmessiali said:
I have been running about, trying to create a basic custom ROM for my device.
Have tried most of the methods mentioned in forums. Nothing seems to work.
Anybody out here who can guide me through it?
Also, explaining customising the Android system.
Thanking everyone in advance.
Click to expand...
Click to collapse
Create??????
Really don't get the "thanks in advance" thing!!
akshmau5 said:
Create??????
Really don't get the "thanks in advance" thing!!
Click to expand...
Click to collapse
Yes. Create.
I mean building or compiling.
arbajmessiali said:
Yes. Create.
I mean building or compiling.
Click to expand...
Click to collapse
If you are an up and coming developer (I am assuming) then Github or the best place to start would be from lineage os website and their guide "how to build for your device".
And ofc you would need all possible help from our lead device developers like Shivam Kumar Jha and Sagar for the device trees, kernel source codes and what not!! I have no clue.
The base is already compiled from AOSP by the respective main contributors rather head developers. You have to take the source code and tweak it/compile it (ofc not easy) for our device.
You asked the question to explain android customisation in general!!! Well, if you don't know that, then unless you are on NZT-48 or a really genius programmer, I doubt you can do it. (Also great if you prove me wrong here). Don't mean to discourage you.
Wouldn't we do it all for ourselves??!!!!!
For Android customization - the basics would be to root and go tweaking, fiddling and modding around on the stock rom first. Lots of amazing stuff already. (Why to reinvent the wheel!)
Then depends on your requirements.
Good luck.
akshmau5 said:
If you are an up and coming developer (I am assuming) then Github or the best place to start would be from lineage os website and their guide "how to build for your device".
And ofc you would need all possible help from our lead device developers like Shivam Kumar Jha and Sagar for the device trees, kernel source codes and what not!! I have no clue.
The base is already compiled from AOSP by the respective main contributors rather head developers. You have to take the source code and tweak it/compile it (ofc not easy) for our device.
You asked the question to explain android customisation in general!!! Well, if you don't know that, then unless you are on NZT-48 or a really genius programmer, I doubt you can do it. (Also great if you prove me wrong here). Don't mean to discourage you.
Wouldn't we do it all for ourselves??!!!!!
For Android customization - the basics would be to root and go tweaking, fiddling and modding around on the stock rom first. Lots of amazing stuff already. (Why to reinvent the wheel!)
Then depends on your requirements.
Good luck.
Click to expand...
Click to collapse
A real thank you.
Have already started the learning process.
Hope to come up with a ROM soon.
arbajmessiali said:
A real thank you.
Have already started the learning process.
Hope to come up with a ROM soon.
Click to expand...
Click to collapse
Oh that's great mate!
Are you in computer science?
Or what programming languages do you know?
akshmau5 said:
Oh that's great mate!
Are you in computer science?
Or what programming languages do you know?
Click to expand...
Click to collapse
I am pursuing Mechanical Engineering.
But I do know Java and web development.
arbajmessiali said:
I am pursuing Mechanical Engineering.
But I do know Java and web development.
Click to expand...
Click to collapse
Good stuff!!
Attaboy:good:
I am trying the same thing myself using the lineageOS 15.1 branch.
I am using the directions provided in the lineageOS Wiki for the X00TD device (can't post a link because i am a newbie).
The instructions are clear enough but I am having specific problems with the brunch command - specific errors come up for missing files.
Is this the right place to start posting specific technical questions?