Installing /e/ on galaxy tab S2 Wifi

Good; but I came to this because the issue mentioned was “verification errors” and we are in an environment where

repo forall -c ‘git lfs pull’

does not work and you are adding things that “look right” manually.

I had a run of git lfs pull doesn’t work” and I explained it to myself that this process must rely on close cooperation of git + repo, but I was never certain what the fix was, one day after a “tidy up”, it just worked again.

In your position, now with a non-booting product, I would want to get to a position where git lfs pull does work.

Before making a further suggestion does the output of

repo status > status.txt

(888 lines on my box) give a clue ?

ronnz@ronnz-TUXEDO-Aura-15-Gen2:~/eOS_T$ repo status > status.txt
multiprocessing.pool.RemoteTraceback:
“”"
Traceback (most recent call last):
File “/usr/lib/python3.10/multiprocessing/pool.py”, line 125, in worker
result = (True, func(*args, **kwds))
File “/usr/lib/python3.10/multiprocessing/pool.py”, line 48, in mapstar
return list(map(*args))
File “/home/ronnz/eOS_T/.repo/repo/subcmds/status.py”, line 108, in _StatusHelper
ret = project.PrintWorkTreeStatus(
File “/home/ronnz/eOS_T/.repo/repo/project.py”, line 875, in PrintWorkTreeStatus
self.work_git.update_index(
File “/home/ronnz/eOS_T/.repo/repo/project.py”, line 3593, in runner
raise GitError(
error.GitError: retiredtab/android_device_samsung_gts2-common-selinux update-index: fatal: detected dubious ownership in repository at ‘/home/ronnz/eOS_T/device/samsung/gts2-common’
To add an exception for this directory, call:

git config --global --add safe.directory /home/ronnz/eOS_T/device/samsung/gts2-common

“”"

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File “/home/ronnz/eOS_T/.repo/repo/main.py”, line 866, in
_Main(sys.argv[1:])
File “/home/ronnz/eOS_T/.repo/repo/main.py”, line 842, in _Main
result = repo._Run(name, gopts, argv) or 0
File “/home/ronnz/eOS_T/.repo/repo/main.py”, line 285, in _Run
result = run()
File “/home/ronnz/eOS_T/.repo/repo/main.py”, line 268, in
run = lambda: self._RunLong(name, gopts, argv) or 0
File “/home/ronnz/eOS_T/.repo/repo/main.py”, line 434, in _RunLong
execute_command()
File “/home/ronnz/eOS_T/.repo/repo/main.py”, line 424, in execute_command
execute_command_helper()
File “/home/ronnz/eOS_T/.repo/repo/main.py”, line 390, in execute_command_helper
result = cmd.Execute(copts, cargs)
File “/home/ronnz/eOS_T/.repo/repo/subcmds/status.py”, line 146, in Execute
counter = self.ExecuteInParallel(
File “/home/ronnz/eOS_T/.repo/repo/command.py”, line 281, in ExecuteInParallel
return callback(
File “/home/ronnz/eOS_T/.repo/repo/subcmds/status.py”, line 139, in _ProcessResults
for state, output in results:
File “/usr/lib/python3.10/multiprocessing/pool.py”, line 423, in
return (item for chunk in result for item in chunk)
File “/usr/lib/python3.10/multiprocessing/pool.py”, line 873, in next
raise value
error.GitError: retiredtab/android_device_samsung_gts2-common-selinux update-index: fatal: detected dubious ownership in repository at ‘/home/ronnz/eOS_T/device/samsung/gts2-common’
To add an exception for this directory, call:

git config --global --add safe.directory /home/ronnz/eOS_T/device/samsung/gts2-common

Ok – that looks a bit … hmmm :slight_smile:
I expect all repo commands to just run without complaint !

Edit … but it is a error.GitError: not a “repo error” !

Is the output file status.txt found in your working directory ?

yes but output is only:

project art/ (*** NO BRANCH ***)
-m build/Android.bp

This is my output file https://paste.tchncs.de/upload/bat-rat-fish (will remain only for 24 hours) – the 888 lines correspond with all projects that must be synced.

I do not understand the traceback errors, although I was trying to search a bit !

Your status.txt

project android/ (*** NO BRANCH ***) ← seems missing
line 1 as expected
line 2 -m {for modified} build/Android.bp ← was it modified by you ?

then somehow it gets stuck.

I cannot explain this atm.

What could be the possible reason for

detected dubious ownership in repository at ‘/home/ronnz/eOS_T/device/samsung/gts2-common’ ?

Was this folder brought in directly by repo sync from your local_manifests ?

sorry I did copy the output from my laptop which seems to be outdated. Here is what I got on my desktop pc:

project hardware/lineage/interfaces/ (*** NO BRANCH )
-m camera/device/1.0-legacy/CameraDevice.cpp
-m wifi/1.0-legacy/hidl_struct_util.cpp
-m wifi/1.0-legacy/service.cpp
-m wifi/1.0-legacy/wifi.h
-m wifi/1.0-legacy/wifi_chip.cpp
-m wifi/1.0-legacy/wifi_chip.h
project hardware/samsung_slsi/exynos/ (
NO BRANCH )
-m libhwcutils/ExynosMPP.cpp
project prebuilts/prebuiltapks/ (
NO BRANCH ***)
-m AccountManager/davx5-ose-4.3.5.2-ose-release-unsigned.apk
-m AdvancedPrivacy/Advanced_Privacy-1.15.0-e-release.apk
-m Apps/AppLounge-2.6.0-release.apk
-m BlissIconPack/app-release-unsigned.apk
-m BlissLauncher/BlissLauncher-1.14.0-apiQ-release.apk
-m BlissLauncher/BlissLauncher-1.14.0-apiR-release.apk
-m BlissLauncher/BlissLauncher-1.14.0-apiS-release.apk
-m Browser/arm/ChromePublic.apk
-m Browser/arm/SystemWebView.apk
-m Browser/arm/TrichromeChrome.apk
-m Browser/arm/TrichromeLibrary.apk
-m Browser/arm/TrichromeWebView.apk
-m Browser/arm64/ChromePublic.apk
-m Browser/arm64/SystemWebView.apk
-m Browser/arm64/TrichromeChrome.apk
-m Browser/arm64/TrichromeLibrary.apk
-m Browser/arm64/TrichromeWebView.apk
-m Browser/x86/ChromePublic.apk
-m Browser/x86/SystemWebView.apk
-m Browser/x86/TrichromeChrome.apk
-m Browser/x86/TrichromeLibrary.apk
-m Browser/x86/TrichromeWebView.apk
-m Browser/x86_64/ChromePublic.apk
-m Browser/x86_64/SystemWebView.apk
-m Browser/x86_64/TrichromeChrome.apk
-m Browser/x86_64/TrichromeLibrary.apk
-m Browser/x86_64/TrichromeWebView.apk
-m Calendar/calendar-release-unsigned.apk
-m Camera/app-release-unsigned.apk
-m DemoApp/DemoApp-release-unsigned.apk
-m DroidGuard/remote-droid-guard-release-unsigned.apk
-m ESmsSync/ncsms-android-release-unsigned.apk
-m FakeStore/com.android.vending-22.apk
-m GmsCore/play-services-core-withMapbox-withoutNearby-release-unsigned.apk
-m GsfProxy/com.google.android.gsf-8.apk
-m Light/light-release-unsigned.apk
-m MagicEarth/MagicEarth-arm.apk
-m MagicEarth/MagicEarth-arm64.apk
-m MagicEarth/MagicEarth-x86.apk
-m MagicEarth/MagicEarth-x86_64.apk
-m Mail/k9mail-release-unsigned.apk
-m Message/presentation-noAnalytics-universal-release-unsigned.apk
-m MozillaNlpBackend/IchnaeaNlpBackend-1.5.apk
-m NominatimNlpBackend/org.microg.nlp.backend.nominatim_20042.apk
-m Notes/app-release-unsigned.apk
-m OpenKeychain/org.sufficientlysecure.keychain_58902.apk
-m OpenWeatherMapWeatherProvider/OpenWeatherMapWeatherProvider-oreo.apk
-m OpenWeatherMapWeatherProvider/OpenWeatherMapWeatherProvider-q.apk
-m OpenWeatherMapWeatherProvider/OpenWeatherMapWeatherProvider-r.apk
-m OpenWeatherMapWeatherProvider/OpenWeatherMapWeatherProvider-s.apk
-m PdfViewer/app-release-unsigned.apk
-m PicoTTS/picoTTS-release-unsigned.apk
-m PwaPlayer/app-release-unsigned.apk
-m SeedVault/SeedVault.apk
-m Talkback/talkback-foss-phone-arm64-v8a-release-unsigned.apk
-m Talkback/talkback-foss-phone-armeabi-v7a-release-unsigned.apk
-m Talkback/talkback-foss-phone-x86-release-unsigned.apk
-m Talkback/talkback-foss-phone-x86_64-release-unsigned.apk
-m Tasks/opentasks-release-unsigned.apk
-m VOSK/app-release-unsigned.apk
-m WebCalendarManager/WebCalendarManager-2.2-beta.1-standard-release-unsigned.apk
-m eDrive/eDrive-1.3.12-release-unsigned.apk
-m eSpeakTTS/espeak-release-unsigned.apk

So this covers the 3 projects where you know you made manual moves.

Is every other project fully ok and shows no modifications at all ?

I used this environment only for S2 Tab build.
Are the manual moves ok, or should I try something else?

Yes you should get

repo forall -c ‘git lfs pull’

to work correctly.

and thereafter rebuild?

then check for errors in the output of
source build/envsetup
… and try another build.

Should I just brunch after the git lfs pull or do the whole repo steps?

The order is:

repo sync
repo forall -c ‘git lfs pull’
source build/envsetup.sh
breakfast
brunch

Checking for errors at each command … and don’t move on if errors still exist …

But to get repo sync to undo your moved items … a suggestion … I would rename all potentially corrupted projects something like this:

/prebuilts/prebuiltapks		/prebuilts/prebuiltapks-nw/
	and similarly			/hardware/lineage/interfaces/camera/device-nw
							/hardware/lineage/interfaces/wifi-nw
							/hardware/samsung_slsi/exynos-nw

ok. did now a fresh build and get this errors:

62% 60742/96644] Verifying uses-libraries: prebuilts/prebuiltapks/AccountManager/davx5-ose-4.3.5.2-ose-release-unsigned.apk
FAILED: out/target/common/obj/APPS/AccountManager_intermediates/enforce_uses_libraries.status
/bin/bash -c “(rm -f out/target/common/obj/APPS/AccountManager_intermediates/enforce_uses_libraries.status ) && (build/soong/scripts/manifest_check.py --enforce-uses-libraries --enforce-uses-libraries-status out/target/common/obj/APPS/AccountManager_intermediates/enforce_uses_libraries.status --aapt out/host/linux-x86/bin/aapt --optional-uses-libr
ary androidx.window.extensions --optional-uses-library androidx.window.sidecar --dexpreopt-config out/target/product/gts210wifi/obj/JAVA_LIBRARIES/androidx.window.extensions_intermediates/dexpreopt.config --dexpreopt-config out/target/product/gts210wifi/obj/JAVA_LIBRARIES/androidx.window.sidecar_intermediates/dexpreopt.config prebuilts/prebuiltapks/AccountManage
r/davx5-ose-4.3.5.2-ose-release-unsigned.apk )”
zipro W 08-28 23:15:54 389830 389830] Error opening archive prebuilts/prebuiltapks/AccountManager/davx5-ose-4.3.5.2-ose-release-unsigned.apk: Invalid file
ERROR: dump failed because no AndroidManifest.xml found
error: Command ‘[‘out/host/linux-x86/bin/aapt’, ‘dump’, ‘badging’, ‘prebuilts/prebuiltapks/AccountManager/davx5-ose-4.3.5.2-ose-release-unsigned.apk’]’ returned non-zero exit status 1
[ 62% 60744/96644] Verifying uses-libraries: prebuilts/prebuiltapks/Apps/AppLounge-2.6.0-release.apk
FAILED: out/target/common/obj/APPS/Apps_intermediates/enforce_uses_libraries.status
/bin/bash -c “(rm -f out/target/common/obj/APPS/Apps_intermediates/enforce_uses_libraries.status ) && (build/soong/scripts/manifest_check.py --enforce-uses-libraries --enforce-uses-libraries-status out/target/common/obj/APPS/Apps_intermediates/enforce_uses_libraries.status --aapt out/host/linux-x86/bin/aapt --optional-uses-library androidx.window.exte
nsions --optional-uses-library androidx.window.sidecar --dexpreopt-config out/target/product/gts210wifi/obj/JAVA_LIBRARIES/androidx.window.extensions_intermediates/dexpreopt.config --dexpreopt-config out/target/product/gts210wifi/obj/JAVA_LIBRARIES/androidx.window.sidecar_intermediates/dexpreopt.config prebuilts/prebuiltapks/Apps/AppLounge-2.6.0-release.apk )”
zipro W 08-28 23:15:54 389835 389835] Error opening archive prebuilts/prebuiltapks/Apps/AppLounge-2.6.0-release.apk: Invalid file
ERROR: dump failed because no AndroidManifest.xml found

and with more prebuiltapks too (included only the first two errors). What I did previously was to replace the prebuiltapks with the downloaded zips of the prebuiltapks…is there something else I can do?

My first thought is that it is to do with failure of

repo forall -c ‘git lfs pull’

… maybe because I had that experience.

Did you check if the folders where you renamed got repopulated ?

You might try again

repo status > status.txt

your answer about your earlier status.txt

Is every other project fully ok and shows no modifications at all ?

did not deal with the other 800 odd projects which should appear in your output (my having other branches and devices is not relevant). The reason for asking is to find if repo is clean.

If you search that output ( ^ F ) how many times does “no AndroidManifest.xml found” occur ?

You might share the error.log and / or other logs (out directory) may may reflect the actual error better.

You could check the out put of

cat  /proc/sys/kernel/unprivileged_userns_clone

= 1. Is a “permissions” thing; if 0 you may lack necessary permissions default is 1 in Ubuntu.

I could solve the ```
repo forall -c ‘git lfs pull’

issue. I needed tu use different apostrophes
repo forall -c 'git lfs pull'

cat  /proc/sys/kernel/unprivileged_userns_clone returns 1 for me

latest status.txt is:

project hardware/lineage/interfaces/            (*** NO BRANCH ***)
 --	camera/device/1.0-legacy-nw/Android.bp
 --	camera/device/1.0-legacy-nw/CameraDevice.cpp
 --	camera/device/1.0-legacy-nw/CameraDevice_1_0.h
 -d	camera/device/1.0-legacy/Android.bp
 -d	camera/device/1.0-legacy/CameraDevice.cpp
 -d	camera/device/1.0-legacy/CameraDevice_1_0.h
 --	wifi/1.0-legacy-nw/Android.mk
 --	wifi/1.0-legacy-nw/android.hardware.wifi@1.0-service-lazy.legacy.rc
 --	wifi/1.0-legacy-nw/android.hardware.wifi@1.0-service.legacy.rc
 --	wifi/1.0-legacy-nw/android.hardware.wifi@1.0-service.legacy.xml
 --	wifi/1.0-legacy-nw/hidl_callback_util.h
 --	wifi/1.0-legacy-nw/hidl_return_util.h
 --	wifi/1.0-legacy-nw/hidl_struct_util.cpp
 --	wifi/1.0-legacy-nw/hidl_struct_util.h
 --	wifi/1.0-legacy-nw/hidl_sync_util.cpp
 --	wifi/1.0-legacy-nw/hidl_sync_util.h
 --	wifi/1.0-legacy-nw/ringbuffer.cpp
 --	wifi/1.0-legacy-nw/ringbuffer.h
 --	wifi/1.0-legacy-nw/service.cpp
 --	wifi/1.0-legacy-nw/wifi.cpp
 --	wifi/1.0-legacy-nw/wifi.h
 --	wifi/1.0-legacy-nw/wifi_ap_iface.cpp
 --	wifi/1.0-legacy-nw/wifi_ap_iface.h
 --	wifi/1.0-legacy-nw/wifi_chip.cpp
 --	wifi/1.0-legacy-nw/wifi_chip.h
 --	wifi/1.0-legacy-nw/wifi_feature_flags.cpp
 --	wifi/1.0-legacy-nw/wifi_feature_flags.h
 --	wifi/1.0-legacy-nw/wifi_iface_util.cpp
 --	wifi/1.0-legacy-nw/wifi_iface_util.h
 --	wifi/1.0-legacy-nw/wifi_legacy_hal.cpp
 --	wifi/1.0-legacy-nw/wifi_legacy_hal.h
 --	wifi/1.0-legacy-nw/wifi_legacy_hal_stubs.cpp
 --	wifi/1.0-legacy-nw/wifi_legacy_hal_stubs.h
 --	wifi/1.0-legacy-nw/wifi_mode_controller.cpp
 --	wifi/1.0-legacy-nw/wifi_mode_controller.h
 --	wifi/1.0-legacy-nw/wifi_nan_iface.cpp
 --	wifi/1.0-legacy-nw/wifi_nan_iface.h
 --	wifi/1.0-legacy-nw/wifi_p2p_iface.cpp
 --	wifi/1.0-legacy-nw/wifi_p2p_iface.h
 --	wifi/1.0-legacy-nw/wifi_rtt_controller.cpp
 --	wifi/1.0-legacy-nw/wifi_rtt_controller.h
 --	wifi/1.0-legacy-nw/wifi_sta_iface.cpp
 --	wifi/1.0-legacy-nw/wifi_sta_iface.h
 --	wifi/1.0-legacy-nw/wifi_status_util.cpp
 --	wifi/1.0-legacy-nw/wifi_status_util.h
 -d	wifi/1.0-legacy/Android.mk
 -d	wifi/1.0-legacy/android.hardware.wifi@1.0-service-lazy.legacy.rc
 -d	wifi/1.0-legacy/android.hardware.wifi@1.0-service.legacy.rc
 -d	wifi/1.0-legacy/android.hardware.wifi@1.0-service.legacy.xml
 -d	wifi/1.0-legacy/hidl_callback_util.h
 -d	wifi/1.0-legacy/hidl_return_util.h
 -d	wifi/1.0-legacy/hidl_struct_util.cpp
 -d	wifi/1.0-legacy/hidl_struct_util.h
 -d	wifi/1.0-legacy/hidl_sync_util.cpp
 -d	wifi/1.0-legacy/hidl_sync_util.h
 -d	wifi/1.0-legacy/ringbuffer.cpp
 -d	wifi/1.0-legacy/ringbuffer.h
 -d	wifi/1.0-legacy/service.cpp
 -d	wifi/1.0-legacy/wifi.cpp
 -d	wifi/1.0-legacy/wifi.h
 -d	wifi/1.0-legacy/wifi_ap_iface.cpp
 -d	wifi/1.0-legacy/wifi_ap_iface.h
 -d	wifi/1.0-legacy/wifi_chip.cpp
 -d	wifi/1.0-legacy/wifi_chip.h
 -d	wifi/1.0-legacy/wifi_feature_flags.cpp
 -d	wifi/1.0-legacy/wifi_feature_flags.h
 -d	wifi/1.0-legacy/wifi_iface_util.cpp
 -d	wifi/1.0-legacy/wifi_iface_util.h
 -d	wifi/1.0-legacy/wifi_legacy_hal.cpp
 -d	wifi/1.0-legacy/wifi_legacy_hal.h
 -d	wifi/1.0-legacy/wifi_legacy_hal_stubs.cpp
 -d	wifi/1.0-legacy/wifi_legacy_hal_stubs.h
 -d	wifi/1.0-legacy/wifi_mode_controller.cpp
 -d	wifi/1.0-legacy/wifi_mode_controller.h
 -d	wifi/1.0-legacy/wifi_nan_iface.cpp
 -d	wifi/1.0-legacy/wifi_nan_iface.h
 -d	wifi/1.0-legacy/wifi_p2p_iface.cpp
 -d	wifi/1.0-legacy/wifi_p2p_iface.h
 -d	wifi/1.0-legacy/wifi_rtt_controller.cpp
 -d	wifi/1.0-legacy/wifi_rtt_controller.h
 -d	wifi/1.0-legacy/wifi_sta_iface.cpp
 -d	wifi/1.0-legacy/wifi_sta_iface.h
 -d	wifi/1.0-legacy/wifi_status_util.cpp
 -d	wifi/1.0-legacy/wifi_status_util.h
project hardware/samsung_slsi/exynos/           (*** NO BRANCH ***)
 -m	libhwcutils/ExynosMPP.cpp
 --	libhwcutils/ExynosMPP.cpp.rej

Latest build does still not boot.

I put the build log here
https://uploadnow.io/f/QfPbsv4

At least the error.log was empty

The apostrophe issue is not helped by the forum code box. The correct code in plain text:

repo forall -c ‘git lfs pull’

Copy and paste into a code box

repo forall -c ‘git lfs pull’

… as you say, it is a different and incorrect Unicode form, perhaps U+0027 ’ vs U+2019 ’ Tentatively it is a font effect.


Can you get a logcat as your first boot fails ? Perhaps try 2 terminals open, one to adb sideload the ROM, the other to create the logcat at the “right” moment. My guess would be not to start the logcat too early, perhaps as you see the bouncing e ?

I know that it may not work, but worth a try ?

I don’t recognise anything too odd in the build log.

Alas, my usb port does not work properly. It does charge but not connect :frowning:
Any other way to create a log?

btw. the bouncing e logo is not shown even during boot

Is the newer ROM different, or is this a negative ?

To collect an adb logcat you would need two way contact between the device and a PC.