Hey guys, after the recent collapse of the dev thread by messi, I've decided to try to build CM13 for myself. I've created a thread to post progress and such. My vendor and device trees will be updated periodically on Github until the first working build. In a comment below my post, I will post the current error I get when I try to build it.
CURRENT BUG:
Will not boot.
minz1 said:
CURRENT ERROR:
Code:
target SharedLib: libm (/home/minz1/Desktop/CyanogenMod/out/target/product/j7ltespr/obj/SHARED_LIBRARIES/libm_intermediates/LINKED/libm.so)
Invalid context file found in /home/minz1/Desktop/CyanogenMod/out/target/product/j7ltespr/obj/ETC/file_contexts_intermediates/file_contexts
Install: /home/minz1/Desktop/CyanogenMod/out/target/product/j7ltespr/system/lib64/libc.so
external/sepolicy/Android.mk:157: recipe for target '/home/minz1/Desktop/CyanogenMod/out/target/product/j7ltespr/obj/ETC/file_contexts_intermediates/file_contexts' failed
make: *** [/home/minz1/Desktop/CyanogenMod/out/target/product/j7ltespr/obj/ETC/file_contexts_intermediates/file_contexts] Error 5
make: *** Deleting file '/home/minz1/Desktop/CyanogenMod/out/target/product/j7ltespr/obj/ETC/file_contexts_intermediates/file_contexts'
make: *** Waiting for unfinished jobs....
make: Leaving directory '/home/minz1/Desktop/CyanogenMod'
#### make failed to build some targets (04:54 (mm:ss)) ####
Click to expand...
Click to collapse
There are previous error , make clean and post the full error on pastebin
Then that means you and @Starchild2k will probably work down the middle to reach the goal.
SykkNyzz said:
Then that means you and @Starchild2k will probably work down the middle to reach the goal.
Click to expand...
Click to collapse
If he wishes to do so, then Starchild can contact me and I'll be 100% happy to work with him on that. Until then, I'm going solo.
messi2050 said:
There are previous error , make clean and post the full error on pastebin
Click to expand...
Click to collapse
http://pastebin.com/EQriaZXi
I don't know what I should do short of removing monkey from the vendor tree; I'm going to try that, though.
minz1 said:
If he wishes to do so, then Starchild can contact me and I'll be 100% happy to work with him on that. Until then, I'm going solo.
Click to expand...
Click to collapse
I am also willing to collaborate with anyone willing to reach the same goals as I am trying to do!
Starchild2k said:
I am also willing to collaborate with anyone willing to reach the same goals as I am trying to do!
Click to expand...
Click to collapse
Okay, that's good, then. You can post any errors you have in this thread. Currently, I'm stuck on this error. http://pastebin.com/mWikijrN
It'd be helpful if you gave me a link to your current vendor tree so I can compare.
I have been still working on that and i have been comparing with the other j7 vendor trees as well to get a successful build
My builds as if late seem to be getting more and more successful. I'm thinking I'm getting close to a complete build.
minz1 said:
My builds as if late seem to be getting more and more successful. I'm thinking I'm getting close to a complete build.
Click to expand...
Click to collapse
good luck bro
agriculture said:
good luck bro
Click to expand...
Click to collapse
He is building for j700p (usa model) not j700h ?
minz1 said:
Okay, that's good, then. You can post any errors you have in this thread. Currently, I'm stuck on this error. http://pastebin.com/mWikijrN
It'd be helpful if you gave me a link to your current vendor tree so I can compare.
Click to expand...
Click to collapse
your source seems to be corrupt , where is the tree u are using to build ? , i lost connection to hte pc that stores that vendor folder.
messi2050 said:
your source seems to be corrupt , where is the tree u are using to build ? , i lost connection to hte pc that stores that vendor folder.
Click to expand...
Click to collapse
GitHub under minz1
Did u ever get through ur errors yet i almost got a build done just need to add install-recovery.sh to my build that was the last error i delt with i had to do some tweaking on the kernel to get the errors to go bye bye im using the original kernel and vendor files and the brunch cm_j7ltespr-userdebug -j4 instead of just make -j4 i got the kernel and dtb built so very close indeed!
Starchild2k said:
Did u ever get through ur errors yet i almost got a build done just need to add install-recovery.sh to my build that was the last error i delt with i had to do some tweaking on the kernel to get the errors to go bye bye im using the original kernel and vendor files and the brunch cm_j7ltespr-userdebug -j4 instead of just make -j4 i got the kernel and dtb built so very close indeed!
Click to expand...
Click to collapse
yeah i'm working on cleaning up vendor right now. what did you have to do to kernel?
There was broken files and a suggestion you dont need the frameworks folder in the vendor folder it has the touchwiz framework and when ur building u must use the default framework folder or you will have errors
Starchild2k said:
There was broken files and a suggestion you dont need the frameworks folder in the vendor folder it has the touchwiz framework and when ur building u must use the default framework folder or you will have errors
Click to expand...
Click to collapse
ok i will make clean and build without these frameworks.
thanks for the suggestion. i will come back if i find anything that i think you should know about. i'm going to update the vendor files on github and start building on a remote server
Lol I wonder how u are able to build using this tree
https://github.com/minz1/android_device_samsung_j7ltespr/blob/master/BoardConfig.mk#L27
It looks for msm8939 config while the kernel source only have msm8929 config
https://github.com/minz1/android_ke...arch/arm/configs/msm8929_sec_j7_spr_defconfig
Also no lines for the used architecture or target cpu , it's better to use my tree to save your time and get past many errors.
messi2050 said:
Lol I wonder how u are able to build using this tree
https://github.com/minz1/android_device_samsung_j7ltespr/blob/master/BoardConfig.mk#L27
It looks for msm8939 config while the kernel source only have msm8929 config
https://github.com/minz1/android_ke...arch/arm/configs/msm8929_sec_j7_spr_defconfig
Also no lines for the used architecture or target cpu , it's better to use my tree to save your time and get past many errors.
Click to expand...
Click to collapse
ugh, okay. i'm curious about samsung's marketing of this device- they claim it's a 615 but it's more likely a 415. i will use your tree instead.
Related
I don't have enough money to import a GS2 so I'm stuck making kernels without the phone. Could someone please extract the config file from their phone? Also, if you are interested in testing my kernel, please add me on Gtalk at [email protected]
you r from LA, & u rtelling us that u dont have money ??? you want us to believe that ???
come on buddy....
manuvaidya said:
you r from LA, & u rtelling us that u dont have money ??? you want us to believe that ???
come on buddy....
Click to expand...
Click to collapse
I'm from L.A.? Even if I was I'd have even less thanks to Cali's taxes
I'd like to see the config file too just so I can go browse thru the kernel source code myself.
Its nice to see the support for developers for this device. Takes 30 seconds to pull a config and the only response is someone with a sarcastic post based on a stereotype of Americans.
Sent from my HTC Vision
I hear you. I was sincere though in my interest. I really wanna see the config file.
If the lack of a config is from a lack of knowledge you pull the config file by typing this into terminal:
Su
Cp /proc/config.gz /sdcard/config.gz
Then upload the file here
Sent from my HTC Vision
Flippy125 said:
If the lack of a config is from a lack of knowledge you pull the config file by typing this into terminal:
Su
Cp /proc/config.gz /sdcard/config.gz
Then upload the file here
Click to expand...
Click to collapse
I can't find config.gz in /proc
Samsung don't include the config on the device, but...
Attached is a copy of my .config from building the KDD kernel from Samsung's sources. AFAIK that is identical to what Samsung used to build the stock kernel on device.
RyanZA said:
Samsung don't include the config on the device, but...
Attached is a copy of my .config from building the KDD kernel from Samsung's sources. AFAIK that is identical to what Samsung used to build the stock kernel on device.
Click to expand...
Click to collapse
kind of a noob question, but how exactly would one know which of each file of the source code to include to compile your own ROM/kernel? guess my question really is, looking thru kernel source, how can i know if any random file is or is not part of the kernel? example looking thru battery drivers, i can see the max17042 and fuelgauge_sec is used, while other batt drivers are not used but still present. how does one able to figure this out for each folder etc?
manuvaidya said:
you r from LA, & u rtelling us that u dont have money ??? you want us to believe that ???
come on buddy....
Click to expand...
Click to collapse
you are from Pakistan so we forgive you your bad knowledge of US geography
(people this is a joke)
Oh thanks, I haven't used a Samsung device (yet) so I thought it was like HTC
Sent from my HTC Vision
Hey guys, i downloaded Gallery2.apk Source code from CM github.
How can i compile this myself and make changes to it? I already imported it into my Eclipse environment but it generates a million errors..
Thanks guys.
elesbb said:
Hey guys, i downloaded Gallery2.apk Source code from CM github.
How can i compile this myself and make changes to it? I already imported it into my Eclipse environment but it generates a million errors..
Thanks guys.
Click to expand...
Click to collapse
those system apps use lots of hidden API which is not available in android SDK (security reason i guess)..
maybe this blog can help u out http://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-1-introduction/
Maybe you will need to add some external libraries like the supportv4 library.
dcsms said:
those system apps use lots of hidden API which is not available in android SDK (security reason i guess)..
maybe this blog can help u out http://devmaze.wordpress.com/2011/01/18/using-com-android-internal-part-1-introduction/
Click to expand...
Click to collapse
Hmmm thanks for the link. I looked at it real quickly this morning and it may be what I need. once I get home I'll post the errors I'm getting.
But they mostly pertain to that link where some imported things cannot be found.
Sent from my SGH-T999 using Tapatalk 2
elesbb said:
Hmmm thanks for the link. I looked at it real quickly this morning and it may be what I need. once I get home I'll post the errors I'm getting.
But they mostly pertain to that link where some imported things cannot be found.
Sent from my SGH-T999 using Tapatalk 2
Click to expand...
Click to collapse
u must follow all those 5 step to make all hidden API available in eclipse ... i've try it....
i can compile SystemUI with eclipse throught those guide...
dcsms said:
u must follow all those 5 step to make all hidden API available in eclipse ... i've try it....
i can compile SystemUI with eclipse throught those guide...
Click to expand...
Click to collapse
Thanks man!
I was able to use smali to do what I wanted and theo0so was able to help me sign it with CM keys to allow it to run
But there were a lot more things I wanted to mess around with, so when I get a day off I will follow all steps Thanks again!
Sent from my ASUS Transformer Pad TF300T using Tapatalk 2
Hey Guys Im trying to compile for I9500 and here is the error im getting below and im using this device tree
https://github.com/intervigilium/android_device_samsung_i9500
build/core/product_config.mk:222: *** Can not locate config makefile for product "omni_i9500". Stop.
WARNING: Trying to fetch a device that's already there
build/core/product_config.mk:222: *** Can not locate config makefile for product "omni_i9500". Stop.
** Don't have a product spec for: 'omni_i9500'
** Do you have the right repo manifest?
Please help guys what am i doing wrong
BlaqueDroid said:
Hey Guys Im trying to compile for I9500 and here is the error im getting below and im using this device tree
https://github.com/intervigilium/android_device_samsung_i9500
build/core/product_config.mk:222: *** Can not locate config makefile for product "omni_i9500". Stop.
WARNING: Trying to fetch a device that's already there
build/core/product_config.mk:222: *** Can not locate config makefile for product "omni_i9500". Stop.
** Don't have a product spec for: 'omni_i9500'
** Do you have the right repo manifest?
Please help guys what am i doing wrong
Click to expand...
Click to collapse
If you are using that device tree without any modifications, it will not work for Omni. The device tree is for cm. Have a look at some of the Omni device trees. At least you need to alter the vendorsetup.sh and the make files.
Verstuurd vanaf mijn TF300T met Tapatalk
scanno said:
If you are using that device tree without any modifications, it will not work for Omni. The device tree is for cm. Have a look at some of the Omni device trees. At least you need to alter the vendorsetup.sh and the make files.
Verstuurd vanaf mijn TF300T met Tapatalk
Click to expand...
Click to collapse
Hey man i tried following the instructions on the omni wiki site but still it kept on saying the same error an i would appreciate it if u can point me in the right direction ...e.g what files to modify ?
BlaqueDroid said:
Hey man i tried following the instructions on the omni wiki site but still it kept on saying the same error an i would appreciate it if u can point me in the right direction ...e.g what files to modify ?
Click to expand...
Click to collapse
First you have to "omnify" the device tree. That means renaming and editing the make files in the device tree. Please have a look at the other device trees and look at the make file changes to files like vendorsetup.sh. Also you should have an omni_<device>.mk . Again look what has been done with other devices to make them build it the Omni tree.
Verstuurd vanaf mijn Nexus 10 met Tapatalk
Also, it'd help if you uploaded your changes/device tree to github. That way we can see what you're doing and help better. Like was already said, the tree as is won't work.
PonsAsinorem said:
Also, it'd help if you uploaded your changes/device tree to github. That way we can see what you're doing and help better. Like was already said, the tree as is won't work.
Click to expand...
Click to collapse
Hey MAn thanks for the advice i managed to fix the device tree issue but now im stuck with this error ....any ideas
Code:
Copy xml: /home/blaquesoul/android/omni/out/target/product/i9500/system/etc/permissions/android.software.sip.voip.xml
make: *** No rule to make target `/configs/audio_effects.conf', needed by `/home/blaquesoul/android/omni/out/target/product/i9500/system/etc/audio_effects.conf'. Stop.
https://drive.google.com/folder/d/0B06StVyZYoYUd3NaRy1zd3NvZU0/edit
This is multirom for moto x
plz download these and test
for people who dont about this
with this utility u can dual boot roms and oses
thanx
Flash all d 3 files
1. Reovery
2. Multirom
3boot.img
then tell me d progress
Brawn_Sg said:
Flash all d 3 files
then tell me d progress
Click to expand...
Click to collapse
Touch NOT working in recovery.
Froze on boot screen (Assuming boot.img NOT working)
Will be happy to test again on the next release.
jbaumert said:
Touch NOT working in recovery.
Froze on boot screen (Assuming boot.img NOT working)
Will be happy to test again on the next release.
Click to expand...
Click to collapse
same here, touch is not working on twrp
proxuser said:
same here, touch is not working on twrp
Click to expand...
Click to collapse
instead of touch volume keys will work
Try doing that with volume keys
Brawn_Sg said:
instead of touch volume keys will work
Try doing that with volume keys
Click to expand...
Click to collapse
volume keys do nothing, when you press power key then twrp get locked.
proxuser said:
volume keys do nothing, when you press power key then twrp get locked.
Click to expand...
Click to collapse
I will compile recovery again
till then u test multirom zip with anothanother recovery
and test if boot menu is appearing
and other things r working @[email protected]
Try dat also plz and tell d results
Brawn_Sg said:
I will compile recovery again
till then u test multirom zip with anothanother recovery
and test if boot menu is appearing
and other things r working @[email protected]
Try dat also plz and tell d results
Click to expand...
Click to collapse
please upload your source to github so i can try to help you out
the mutlirom zip fails in regular twrp..updater binary ..its the get prop check in the updater script
edit 2: so i edit the updater script...it trys to install the trampoline..and it automatically restarts recovery...this was a issue when i had first tryed to mess with multirom for ghost
skiwong20 said:
please upload your source to github so i can try to help you out
the mutlirom zip fails in regular twrp..updater binary ..its the get prop check in the updater script
edit 2: so i edit the updater script...it trys to install the trampoline..and it automatically restarts recovery...this was a issue when i had first tryed to mess with multirom for ghost
Click to expand...
Click to collapse
Already brought multirom to falcon
Will bring it to every moto devicesoon
Will publish sources also
Brawn_Sg said:
Already brought multirom to falcon
Will bring it to every moto devicesoon
Will publish sources also
Click to expand...
Click to collapse
Please please please [emoji120] [emoji120] [emoji120]
Marco Lomas said:
Please please please [emoji120] [emoji120] [emoji120]
Click to expand...
Click to collapse
Maybe this month
I downloaded zip file from Google drive and the total size is 3.0 Mb ...I have flashed many ROMs on my Android devices and the zip file size is around 300Mb ....
---------- Post added at 07:13 AM ---------- Previous post was at 07:11 AM ----------
This is the only device that had started getting multi ROM support... This is first time with multi rom
What does that mean....the first device ?
mac1996 said:
I downloaded zip file from Google drive and the total size is 3.0 Mb ...I have flashed many ROMs on my Android devices and the zip file size is around 300Mb ....
---------- Post added at 07:13 AM ---------- Previous post was at 07:11 AM ----------
This is the only device that had started getting multi ROM support... This is first time with multi rom
Click to expand...
Click to collapse
Multi ROM is not a ROM for device )) It`s just a tool.
Look here
St.Noigel said:
Multi ROM is not a ROM for device )) It`s just a tool.
Look here
Click to expand...
Click to collapse
Get me latest twrp moto x tree
@DC07 Had Same Error DC07's kexec patch failed
*bump* How's it looking so far?
Can someone teach me how to flash this ..I am new to multirom...I watched couple videos and downloaded official app but says it's not supported
@skiwong20 and other devs
I am ready to work again az my exams r over tody
But I don't have I ternet and omni source which is essential
And I know the right way to begin with and i am sure it will boot
Its easy for both ghost and victara
Can do it
If someone is having a server plz share with me so that I can work on it
Thanks
Brawn_Sg said:
@skiwong20 and other devs
I am ready to work again az my exams r over tody
But I don't have I ternet and omni source which is essential
And I know the right way to begin with and i am sure it will boot
Its easy for both ghost and victara
Can do it
If someone is having a server plz share with me so that I can work on it
Thanks
Click to expand...
Click to collapse
@Megatron007
Here's the direct download link for Le2 x526.
http://g3.letv.cn/245/27/81/lefoss/0/Le_X526_OpenSource.zip
If above doesn't work. Here's the:
MEGA LINK:
https://mega.nz/#!lwtWGDTK
Mega decryption key:
!xMZyg4XCJ5qiwmoxYdvlqPCLFQyorPgaWgl7H49j6yQ
Copy and paste the above key if Mega asks for it.
GOOGLE DRIVE LINK:
https://drive.google.com/file/d/0B8EEbRXpVnQXdmJJVkg4TmY5QUk/view?usp=drivesdk
Can you share google drive link? I am getting 404 error.
Devs please show some interest to our le 2 x526 by developing a few roms!!
caldran said:
Can you share google drive link? I am getting 404 error.
Click to expand...
Click to collapse
Here's the link for Le2 x526 in google drive. Thanks to Lakku for this link.
https://drive.google.com/file/d/0B-61oE7Hc4OaVnpzQ3UzejNaMGc/view?usp=sharing
The link wasn't working because LeEco removed all phone's kernel source from their website. Seems strange :/
Le Eco's open source site doesn't has anything now? Is that where the sources were announced? Also, is this really x526's source?
Saurabh K said:
Le Eco's open source site doesn't has anything now? Is that where the sources were announced? Also, is this really x526's source?
Click to expand...
Click to collapse
The source code were shown on the list with download link and particular model no. Of the phone. It's not there anymore. LeEco removed it for some reasons. It's strange, and I got this Google drive link from another XDA member's (Lakku) thread. He mentioned it's for x526. Thanks to him. This seems to only working link now
Edit: The above link I posted here seems to be working now
Are these sources working?
The sources look good. I have downloaded them and have inspected some files. I have built ROMs before. I will try this weekend if these sources work. And as u guess correctly I am also a Le 2 X526 Qualcomm Snapdragon 652 User. Cheers! Anyways thanks for the link.
adityak74 said:
The sources look good. I have downloaded them and have inspected some files. I have built ROMs before. I will try this weekend if these sources work. And as u guess correctly I am also a Le 2 X526 Qualcomm Snapdragon 652 User. Cheers! Anyways thanks for the link.
Click to expand...
Click to collapse
Cool I have a small request- please enable PS3 controller support in the ROM Can't live without games And thanks for your effort. All the best
i will build roms but i need Device tree and vendor tree to do so if anyone provide me that i am ready to build custom roms.
Alok Bajaj said:
Here's the direct download link for Le2 x526.
http://g3.letv.cn/245/27/81/lefoss/0/Le_X526_OpenSource.zip
If above doesn't work. Here's the MEGA link
https://mega.nz/#!lwtWGDTK
Click to expand...
Click to collapse
What is the key?
Saurabh K said:
What is the key?
Click to expand...
Click to collapse
I haven't put any key.. it's free to download
But here's the key
!xMZyg4XCJ5qiwmoxYdvlqPCLFQyorPgaWgl7H49j6yQ
Alok Bajaj said:
I haven't put any key.. it's free to download
Click to expand...
Click to collapse
See this....
Saurabh K said:
See this....
Click to expand...
Click to collapse
Yeah I also checked.. but I haven't put any decryption key.
Alok Bajaj said:
Yeah I also checked.. but I haven't put any decryption key.
Click to expand...
Click to collapse
Because its your account.
Saurabh K said:
Because its your account.
Click to expand...
Click to collapse
I shared it like this... Without key... I dunno why it's asking for key
Saurabh K said:
Because its your account.
Click to expand...
Click to collapse
Anyway.. I've uploaded Source codes to google drive too. Here's the link:
https://drive.google.com/file/d/0B8EEbRXpVnQXdmJJVkg4TmY5QUk/view?usp=drivesdk
why is there LeS3 folder inside x526 folder? Also, people say that both are different in some regards .
Saurabh K said:
why is there LeS3 folder inside x526 folder? Also, people say that both are different in some regards .
Click to expand...
Click to collapse
That's how it was there on the LeEco open source website. But unfortunately they have removed the links from the website.
The link was given with x526 name and when I opened, It showed leS3 folder.
More info any developer working on this sources can give us. Will have to wait.
Hello Friends.
I am a professional kernel developer and programmer.
Many of you would already know me from these forums.
And i would like to inform this to all of you.
I think i know why LeEco took down all the kernels from their website.
Before they took it down, i downloaded all the phone's sources from there.
Then i compiled the le2 x526 kernel using my ubuntu 16.04 fully setup for compilation PC.
Then i got the Kernel Image file as output.
But thats nothing, even buggy non-working kernels cab give a successful output. Any good developer should know this. It all depends on if it boots or not.....
So i didnt rejoice just there. I went ahead and i began to test it.
So i connected my rooted bootloader unlocked le2 x526 to my ubuntu and opened a root terminal and used this command to boot the Kernel Image:
fastboot boot Image
But the just rebooted and just kept being there. It didn't show anything. The screen was blank, black and the notification led was glowing in red. No vibration nothing. It was like if i flashed a corrupt kernel...
But i didnt just give up hope there.
I unpacked the stock rom boot image and replaced the kernel with my custom kernel build from LeEco's source. And repacked it and booted it using this fastboot command:
fastboot boot Boot.img
But still it was not working
So guys now i am completely 100℅ Sure that the sources provided by LeEco is a non-working one and that is the reason why LeEco took down all sources from their page...........
So now once again waiting for the proper working sources......