Compiling AOSP 7.1.1 for vivaltods5m

Search This thread

Kristaps(Lv)

Senior Member
Aug 30, 2016
98
12
Riga
error: unknown object type 0 at offset 541088966 in .git/objects/pack/pack-bdaca3c5b25541db2a880c366279fb20ae17f96b.pack
fatal: packed object 9afa6ef393712bfb3a475eea4da8f3c707d59540 (stored in .git/objects/pack/pack-bdaca3c5b25541db2a880c366279fb20ae17f96b.pack) is corrupt
Traceback (most recent call last):
File "/home/kristaps225/aosp7.1/.repo/repo/main.py", line 531, in <module>
_Main(sys.argv[1:])
File "/home/kristaps225/aosp7.1/.repo/repo/main.py", line 507, in _Main
result = repo._Run(argv) or 0
File "/home/kristaps225/aosp7.1/.repo/repo/main.py", line 180, in _Run
result = cmd.Execute(copts, cargs)
File "/home/kristaps225/aosp7.1/.repo/repo/subcmds/sync.py", line 821, in Execute
project.Sync_LocalHalf(syncbuf, force_sync=opt.force_sync)
File "/home/kristaps225/aosp7.1/.repo/repo/project.py", line 1327, in Sync_LocalHalf
self._InitWorkTree(force_sync=force_sync)
File "/home/kristaps225/aosp7.1/.repo/repo/project.py", line 2486, in _InitWorkTree
raise GitError("cannot initialize work tree")
error.GitError: cannot initialize work tree

---------- Post added at 07:54 AM ---------- Previous post was at 07:53 AM ----------

:/
 

IBastawisi

Senior Member
Jan 3, 2015
61
8
24
Mansura
ibastawisi.github.io
error: unknown object type 0 at offset 541088966 in .git/objects/pack/pack-bdaca3c5b25541db2a880c366279fb20ae17f96b.pack
fatal: packed object 9afa6ef393712bfb3a475eea4da8f3c707d59540 (stored in .git/objects/pack/pack-bdaca3c5b25541db2a880c366279fb20ae17f96b.pack) is corrupt
Traceback (most recent call last):
File "/home/kristaps225/aosp7.1/.repo/repo/main.py", line 531, in <module>
_Main(sys.argv[1:])
File "/home/kristaps225/aosp7.1/.repo/repo/main.py", line 507, in _Main
result = repo._Run(argv) or 0
File "/home/kristaps225/aosp7.1/.repo/repo/main.py", line 180, in _Run
result = cmd.Execute(copts, cargs)
File "/home/kristaps225/aosp7.1/.repo/repo/subcmds/sync.py", line 821, in Execute
project.Sync_LocalHalf(syncbuf, force_sync=opt.force_sync)
File "/home/kristaps225/aosp7.1/.repo/repo/project.py", line 1327, in Sync_LocalHalf
self._InitWorkTree(force_sync=force_sync)
File "/home/kristaps225/aosp7.1/.repo/repo/project.py", line 2486, in _InitWorkTree
raise GitError("cannot initialize work tree")
error.GitError: cannot initialize work tree

---------- Post added at 07:54 AM ---------- Previous post was at 07:53 AM ----------

:/

maybe you could sync a project at a time
http://shellswissknife.blogspot.com.eg/2013/03/long-repo-sync.html
 

Kristaps(Lv)

Senior Member
Aug 30, 2016
98
12
Riga
oh :/
I changed all from cm to lineage ;)
I tried to build it but here came error :
including vendor/cm/vendorsetup.sh
build/core/node_fns.mk:185: *** unterminated call to function 'call': missing ')'. Stop.
build/core/node_fns.mk:185: *** unterminated call to function 'call': missing ')'. Stop.
build/core/node_fns.mk:185: *** unterminated call to function 'call': missing ')'. Stop.
Device vivaltods5m not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS).
Repository for vivaltods5m not found in the LineageOS Github repository list. If this is in error, you may need to manually add it to your local_manifests/roomservice.xml.
build/core/node_fns.mk:185: *** unterminated call to function 'call': missing ')'. Stop.
build/core/node_fns.mk:185: *** unterminated call to function 'call': missing ')'. Stop.

** Don't have a product spec for: 'lineage_vivaltods5m'
** Do you have the right repo manifest?

No such item in brunch menu. Try 'breakfast'
 
Last edited:

IBastawisi

Senior Member
Jan 3, 2015
61
8
24
Mansura
ibastawisi.github.io
oh :/
I changed all from cm to lineage ;)
I tried to build it but here came error :
including vendor/cm/vendorsetup.sh
build/core/node_fns.mk:185: *** unterminated call to function 'call': missing ')'. Stop.
build/core/node_fns.mk:185: *** unterminated call to function 'call': missing ')'. Stop.
build/core/node_fns.mk:185: *** unterminated call to function 'call': missing ')'. Stop.
Device vivaltods5m not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS).
Repository for vivaltods5m not found in the LineageOS Github repository list. If this is in error, you may need to manually add it to your local_manifests/roomservice.xml.
build/core/node_fns.mk:185: *** unterminated call to function 'call': missing ')'. Stop.
build/core/node_fns.mk:185: *** unterminated call to function 'call': missing ')'. Stop.

** Don't have a product spec for: 'lineage_vivaltods5m'
** Do you have the right repo manifest?

No such item in brunch menu. Try 'breakfast'

Did u add vendor sources to working dir?
1: also where did u put device tree?
 
Last edited:

Kristaps(Lv)

Senior Member
Aug 30, 2016
98
12
Riga
Maybe but I can't promise to (I have an unpredictable disease & I'm a noob :D)

I'm too noob :D

---------- Post added at 03:05 PM ---------- Previous post was at 03:03 PM ----------

Did u add vendor sources to working dir?
1: also where did u put device tree?

Yes,i added vendor tree
Device tree i placed on Lineage-14.1/device/samsung/vivaltods5m/

---------- Post added at 03:42 PM ---------- Previous post was at 03:05 PM ----------

Fixed that error
Now came new :
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:258: *** device/samsung/vivaltods5m/lineage.mk: PRODUCT_NAME must be defined.. Stop.
build/core/product_config.mk:258: *** device/samsung/vivaltods5m/lineage.mk: PRODUCT_NAME must be defined.. Stop.
build/core/product_config.mk:258: *** device/samsung/vivaltods5m/lineage.mk: PRODUCT_NAME must be defined.. Stop.
Device vivaltods5m not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS).
Repository for vivaltods5m not found in the LineageOS Github repository list. If this is in error, you may need to manually add it to your local_manifests/roomservice.xml.
build/core/product_config.mk:258: *** device/samsung/vivaltods5m/lineage.mk: PRODUCT_NAME must be defined.. Stop.
build/core/product_config.mk:258: *** device/samsung/vivaltods5m/lineage.mk: PRODUCT_NAME must be defined.. Stop.
 
Last edited:

Kristaps(Lv)

Senior Member
Aug 30, 2016
98
12
Riga
New errors:

build/core/combo/select.mk:49: build/core/combo/TARGET_linux-.mk: No such file or directory
build/core/clang/config.mk:160: build/core/clang/TARGET_ARCH: No such file or directory
build/core/clang/config.mk:160: .mk: No such file or directory
make: *** No rule to make target '.mk'. Stop.
build/core/combo/select.mk:49: build/core/combo/TARGET_linux-.mk: No such file or directory
build/core/clang/config.mk:160: build/core/clang/TARGET_ARCH: No such file or directory
build/core/clang/config.mk:160: .mk: No such file or directory
make: *** No rule to make target '.mk'. Stop.
build/core/combo/select.mk:49: build/core/combo/TARGET_linux-.mk: No such file or directory
build/core/clang/config.mk:160: build/core/clang/TARGET_ARCH: No such file or directory
build/core/clang/config.mk:160: .mk: No such file or directory
make: *** No rule to make target '.mk'. Stop.
Device vivaltods5m not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS).
Repository for vivaltods5m not found in the LineageOS Github repository list. If this is in error, you may need to manually add it to your local_manifests/roomservice.xml.
build/core/combo/select.mk:49: build/core/combo/TARGET_linux-.mk: No such file or directory
build/core/clang/config.mk:160: build/core/clang/TARGET_ARCH: No such file or directory
build/core/clang/config.mk:160: .mk: No such file or directory
make: *** No rule to make target '.mk'. Stop.
build/core/combo/select.mk:49: build/core/combo/TARGET_linux-.mk: No such file or directory
build/core/clang/config.mk:160: build/core/clang/TARGET_ARCH: No such file or directory
build/core/clang/config.mk:160: .mk: No such file or directory
make: *** No rule to make target '.mk'. Stop.
 

IBastawisi

Senior Member
Jan 3, 2015
61
8
24
Mansura
ibastawisi.github.io
New errors:

build/core/combo/select.mk:49: build/core/combo/TARGET_linux-.mk: No such file or directory
build/core/clang/config.mk:160: build/core/clang/TARGET_ARCH: No such file or directory
build/core/clang/config.mk:160: .mk: No such file or directory
make: *** No rule to make target '.mk'. Stop.
build/core/combo/select.mk:49: build/core/combo/TARGET_linux-.mk: No such file or directory
build/core/clang/config.mk:160: build/core/clang/TARGET_ARCH: No such file or directory
build/core/clang/config.mk:160: .mk: No such file or directory
make: *** No rule to make target '.mk'. Stop.
build/core/combo/select.mk:49: build/core/combo/TARGET_linux-.mk: No such file or directory
build/core/clang/config.mk:160: build/core/clang/TARGET_ARCH: No such file or directory
build/core/clang/config.mk:160: .mk: No such file or directory
make: *** No rule to make target '.mk'. Stop.
Device vivaltods5m not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS).
Repository for vivaltods5m not found in the LineageOS Github repository list. If this is in error, you may need to manually add it to your local_manifests/roomservice.xml.
build/core/combo/select.mk:49: build/core/combo/TARGET_linux-.mk: No such file or directory
build/core/clang/config.mk:160: build/core/clang/TARGET_ARCH: No such file or directory
build/core/clang/config.mk:160: .mk: No such file or directory
make: *** No rule to make target '.mk'. Stop.
build/core/combo/select.mk:49: build/core/combo/TARGET_linux-.mk: No such file or directory
build/core/clang/config.mk:160: build/core/clang/TARGET_ARCH: No such file or directory
build/core/clang/config.mk:160: .mk: No such file or directory
make: *** No rule to make target '.mk'. Stop.

since i don't have the sources i can't help
you have to adapt device tree to lineage OS, you can compare tree to a similar device
check this one https://github.com/ishantvivek/android_device_samsung_kyleprods
 

IBastawisi

Senior Member
Jan 3, 2015
61
8
24
Mansura
ibastawisi.github.io
Last edited:

Top Liked Posts

Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone