[GUIDE][HOW-TO][T819]Build your own LineageOS 15.1 for T819

ronald_w.

Member
Dec 7, 2010
26
8
0
Code:
ERROR: /home/ronald/android/system/packages/apps/Updater/src/org/lineageos/updater/controller/UpdaterService.java:29.8: The import android.support.v7.app.NotificationCompat cannot be resolved
ERROR: /home/ronald/android/system/packages/apps/Updater/src/org/lineageos/updater/controller/UpdaterService.java:68.13: NotificationCompat cannot be resolved to a type
ERROR: /home/ronald/android/system/packages/apps/Updater/src/org/lineageos/updater/controller/UpdaterService.java:70.13: NotificationCompat cannot be resolved to a type
ERROR: /home/ronald/android/system/packages/apps/Updater/src/org/lineageos/updater/controller/UpdaterService.java:81.9: Builder cannot be resolved to a type
ERROR: /home/ronald/android/system/packages/apps/Updater/src/org/lineageos/updater/controller/UpdaterService.java:81.36: NotificationCompat cannot be resolved to a type
ERROR: /home/ronald/android/system/packages/apps/Updater/src/org/lineageos/updater/controller/UpdaterService.java:82.9: Builder cannot be resolved to a type
ERROR: /home/ronald/android/system/packages/apps/Updater/src/org/lineageos/updater/controller/UpdaterService.java:83.9: Builder cannot be resolved to a type
scheinbar ist der Eintrag <project name="LineageOS/android_packages_apps_Updater" path="packages/apps/Updater" remote="github" /> in der roomservice.xml verantwortlich für diesen Fehler, nach entfernen des Eintrags wird der build Prozess abgeschlossen

google translate:
apparently the entry <project name = "LineageOS / android_packages_apps_Updater" path = "packages / apps / Updater" remote = "github" /> in the roomservice.xml is responsible for this error, after removing the entry the build process is completed

Code:
Compressing system.new.dat with brotli
  running:  bro --quality 6 --input /tmp/tmpI3ikyz/system.new.dat --output /tmp/tmpI3ikyz/system.new.dat.br
using prebuilt boot.img from IMAGES...
   boot size (11921408) is 35.53% of limit (33554432)
  running:  java -Xmx2048m -Djava.library.path=/home/ronald/android/system/out/host/linux-x86/lib64 -jar /home/ronald/android/system/out/host/linux-x86/framework/signapk.jar -w build/target/product/security/testkey.x509.pem build/target/product/security/testkey.pk8 /tmp/tmpMTj2fE /home/ronald/android/system/out/target/product/gts210velte/lineage_gts210velte-ota-3d751f8dfd.zip
done.
[100% 8782/8782] build bacon
Package Complete: /home/ronald/android/system/out/target/product/gts210velte/lineage-15.1-20180111-UNOFFICIAL-gts210velte.zip

#### build completed successfully (34:21 (mm:ss)) ####
 

emuandco

Senior Member
Aug 29, 2009
1,122
495
113
34
Steinfeld
www.dreimer.de
Code:
ERROR: /home/ronald/android/system/packages/apps/Updater/src/org/lineageos/updater/controller/UpdaterService.java:29.8: The import android.support.v7.app.NotificationCompat cannot be resolved
ERROR: /home/ronald/android/system/packages/apps/Updater/src/org/lineageos/updater/controller/UpdaterService.java:68.13: NotificationCompat cannot be resolved to a type
ERROR: /home/ronald/android/system/packages/apps/Updater/src/org/lineageos/updater/controller/UpdaterService.java:70.13: NotificationCompat cannot be resolved to a type
ERROR: /home/ronald/android/system/packages/apps/Updater/src/org/lineageos/updater/controller/UpdaterService.java:81.9: Builder cannot be resolved to a type
ERROR: /home/ronald/android/system/packages/apps/Updater/src/org/lineageos/updater/controller/UpdaterService.java:81.36: NotificationCompat cannot be resolved to a type
ERROR: /home/ronald/android/system/packages/apps/Updater/src/org/lineageos/updater/controller/UpdaterService.java:82.9: Builder cannot be resolved to a type
ERROR: /home/ronald/android/system/packages/apps/Updater/src/org/lineageos/updater/controller/UpdaterService.java:83.9: Builder cannot be resolved to a type
scheinbar ist der Eintrag <project name="LineageOS/android_packages_apps_Updater" path="packages/apps/Updater" remote="github" /> in der roomservice.xml verantwortlich für diesen Fehler, nach entfernen des Eintrags wird der build Prozess abgeschlossen

google translate:
apparently the entry <project name = "LineageOS / android_packages_apps_Updater" path = "packages / apps / Updater" remote = "github" /> in the roomservice.xml is responsible for this error, after removing the entry the build process is completed

Code:
Compressing system.new.dat with brotli
  running:  bro --quality 6 --input /tmp/tmpI3ikyz/system.new.dat --output /tmp/tmpI3ikyz/system.new.dat.br
using prebuilt boot.img from IMAGES...
   boot size (11921408) is 35.53% of limit (33554432)
  running:  java -Xmx2048m -Djava.library.path=/home/ronald/android/system/out/host/linux-x86/lib64 -jar /home/ronald/android/system/out/host/linux-x86/framework/signapk.jar -w build/target/product/security/testkey.x509.pem build/target/product/security/testkey.pk8 /tmp/tmpMTj2fE /home/ronald/android/system/out/target/product/gts210velte/lineage_gts210velte-ota-3d751f8dfd.zip
done.
[100% 8782/8782] build bacon
Package Complete: /home/ronald/android/system/out/target/product/gts210velte/lineage-15.1-20180111-UNOFFICIAL-gts210velte.zip

#### build completed successfully (34:21 (mm:ss)) ####
Retry with new roomservice.xml
 
  • Like
Reactions: ronald_w.

ronald_w.

Member
Dec 7, 2010
26
8
0
Retry with new roomservice.xml
I will test that.

Ergänzung/complement:
Have you ever built yourself with the resources and the roomservice.xml? The error is here again:
[ 91% 84332/92388] Building with Jack: /home/ronald/android/syst...get/common/obj/APPS/Updater_intermediates/with-local/classes.dex
FAILED: /home/ronald/android/system/out/target/common/obj/APPS/Updater_intermediates/with-local/classes.dex
.
.
.
ERROR: /home/ronald/android/system/packages/apps/Updater/src/org/lineageos/updater/controller/UpdaterService.java:414.9: BigTextStyle cannot be resolved to a type
ERROR: /home/ronald/android/system/packages/apps/Updater/src/org/lineageos/updater/controller/UpdaterService.java:415.9: Builder cannot be resolved to a type
[ 91% 84341/92388] Building with Jack: /home/ronald/android/syst...PPS/LineageSettingsProvider_intermediates/with-local/classes.dex
ninja: build stopped: subcommand failed.
22:52:57 ninja failed with: exit status 1

#### failed to build some targets (02:32:57 (hh:mm:ss)) ####
 
Last edited:

emuandco

Senior Member
Aug 29, 2009
1,122
495
113
34
Steinfeld
www.dreimer.de
I will test that.

Ergänzung/complement:
Have you ever built yourself with the resources and the roomservice.xml? The error is here again:
[ 91% 84332/92388] Building with Jack: /home/ronald/android/syst...get/common/obj/APPS/Updater_intermediates/with-local/classes.dex
FAILED: /home/ronald/android/system/out/target/common/obj/APPS/Updater_intermediates/with-local/classes.dex
.
.
.
ERROR: /home/ronald/android/system/packages/apps/Updater/src/org/lineageos/updater/controller/UpdaterService.java:414.9: BigTextStyle cannot be resolved to a type
ERROR: /home/ronald/android/system/packages/apps/Updater/src/org/lineageos/updater/controller/UpdaterService.java:415.9: Builder cannot be resolved to a type
[ 91% 84341/92388] Building with Jack: /home/ronald/android/syst...PPS/LineageSettingsProvider_intermediates/with-local/classes.dex
ninja: build stopped: subcommand failed.
22:52:57 ninja failed with: exit status 1

#### failed to build some targets (02:32:57 (hh:mm:ss)) ####
I did. Works fine. Follow the new lines in updating source @ the end of the manual and reapply recent picks. AAAND update the platform tools.
If it still does not like you, remove packages/apps/Updater and repo sync
 
  • Like
Reactions: ronald_w.

ronald_w.

Member
Dec 7, 2010
26
8
0
I did. Works fine. Follow the new lines in updating source @ the end of the manual and reapply recent picks. AAAND update the platform tools.
If it still does not like you, remove packages/apps/Updater and repo sync
this was the solution :good:
[100% 92394/92394] build bacon
Package Complete: /home/ronald/android/system/out/target/product/gts210velte/lineage-15.1-20180115-UNOFFICIAL-gts210velte.zip

#### build completed successfully (03:00:51 (hh:mm:ss)) ####
now i will test the build
 

ronald_w.

Member
Dec 7, 2010
26
8
0
läuft seit der Installation ohne Absturz,
- wie im Original Probleme mit der Installation der Open GApps (auch mit selbst compilierten), laufen jetzt aber
- gerootet mit SU (keine Probleme mit dem Zugriff auf die Speichermedien)
- Telefonanrufe gehen raus aber kein Ton
- GPS ist scheinbar noch nicht stabil
- Bluetooth mit Handy funktioniert (S6edge)
- Akkuverbrauch in Ordnung

Google Translator:
runs since installation without crash,
- as in the original problems with the installation of the Open GApps (even with self-compiled), but now run
- rooted with SU (no problems with access to the storage media)
- phone calls go out but no sound
- GPS is apparently not yet stable
- Bluetooth with mobile phone works (S6edge)
- Battery consumption is okay
 

emuandco

Senior Member
Aug 29, 2009
1,122
495
113
34
Steinfeld
www.dreimer.de
läuft seit der Installation ohne Absturz,
- wie im Original Probleme mit der Installation der Open GApps (auch mit selbst compilierten), laufen jetzt aber
- gerootet mit SU (keine Probleme mit dem Zugriff auf die Speichermedien)
- Telefonanrufe gehen raus aber kein Ton
- GPS ist scheinbar noch nicht stabil
- Bluetooth mit Handy funktioniert (S6edge)
- Akkuverbrauch in Ordnung

Google Translator:
runs since installation without crash,
- as in the original problems with the installation of the Open GApps (even with self-compiled), but now run
- rooted with SU (no problems with access to the storage media)
- phone calls go out but no sound
- GPS is apparently not yet stable
- Bluetooth with mobile phone works (S6edge)
- Battery consumption is okay
Sounds like ours then ^^