[WIP] a firefox os ext4 multiboot image - Gen9 Android Development

Updated:
Use the following instructions above.
This is not any build. It's just a wip.
Read the following code and instructions to compile for archos 80 gen9 devices.
device/archos/archos-g9 rename it for device/archos/gen9
To compile it sucessfully.
Hi there!
I have a question.
Is it possible to do a firefox os wip as multiboot ext4 image?
For 80 g9 turbo also turbo hdd?
I have a hdd version archos 80 g9.
Sent from my L9000 using xda app-developers app
For compiling Firefox OS for Archos G9.
Do the following steps:
1 - git clone the b2g project
2 - cd B2G
3 - ANDROIDFS_DIR=~/B2G/BACKUP/system ./config.sh archos-gen9 archos-gen9.xml
4 - ./build.sh
5 - fixes for our archos gen9 see the bizcuite posts. He helped me a lot.
Other steps:
archos-gen9.xml:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="aosp"
fetch="https://android.googlesource.com/" />
<remote name="b2g"
fetch="git://github.com/mozilla-b2g/" />
<remote name="linaro"
fetch="http://android.git.linaro.org/git-ro/" />
<remote name="caf"
fetch="git://codeaurora.org/" />
<remote name="mozilla"
fetch="git://github.com/mozilla/" />
<remote name="mozillaorg"
fetch="https://git.mozilla.org/releases" />
<remote name="archos-ics" fetch="git://gitorious.org/archos-ics/" />
<remote name="apitrace" fetch="git://github.com/apitrace/" />
<default revision="refs/tags/android-4.0.4_r2.1"
remote="caf"
sync-j="4" />
<!-- Gonk specific things and forks -->
<project path="build" name="platform_build" remote="b2g" revision="master">
<copyfile src="core/root.mk" dest="Makefile" />
</project>
<project path="dalvik" name="fake-dalvik" remote="b2g" revision="master" />
<project path="gaia" name="gaia.git" remote="mozillaorg" revision="master" />
<project path="gecko" name="gecko.git" remote="mozillaorg" revision="master" />
<project path="gonk-misc" name="gonk-misc" remote="b2g" revision="master" />
<project path="rilproxy" name="rilproxy" remote="b2g" revision="master" />
<project path="external/moztt" name="moztt" remote="b2g" revision="master" />
<project path="external/valgrind" name="valgrind" remote="b2g" revision="fxos" />
<project path="external/VEX" name="vex" remote="b2g" revision="fxos" />
<project path="external/apitrace" name="apitrace" remote="apitrace" revision="master" />
<!-- Stock Android things -->
<project path="abi/cpp" name="platform/abi/cpp" />
<project path="bionic" name="platform/bionic" revision="aosp-new/ics-plus-aosp" />
<project path="bootable/recovery" name="platform/bootable/recovery" />
<project path="device/common" name="device/common" />
<project path="device/sample" name="device/sample" />
<project path="external/apriori" name="platform_external_apriori" remote="b2g" revision="master" />
<project path="external/bluetooth/bluez" name="platform/external/bluetooth/bluez" />
<project path="external/bluetooth/glib" name="platform/external/bluetooth/glib" />
<project path="external/bluetooth/hcidump" name="platform/external/bluetooth/hcidump" />
<project path="external/bsdiff" name="platform/external/bsdiff" />
<project path="external/busybox" name="platform/external/busybox" remote="linaro" revision="linaro-1.20" />
<project path="external/bzip2" name="platform/external/bzip2" />
<project path="external/dbus" name="platform/external/dbus" />
<project path="external/dhcpcd" name="platform/external/dhcpcd" />
<project path="external/dnsmasq" name="platform/external/dnsmasq" />
<project path="external/elfcopy" name="platform_external_elfcopy" remote="b2g" revision="master" />
<project path="external/elfutils" name="platform_external_elfutils" remote="b2g" revision="master" />
<project path="external/expat" name="platform/external/expat" />
<project path="external/fdlibm" name="platform/external/fdlibm" />
<project path="external/flac" name="platform/external/flac" />
<project path="external/freetype" name="platform/external/freetype" />
<project path="external/giflib" name="platform/external/giflib" />
<project path="external/gtest" name="platform/external/gtest" revision="aosp-new/master" />
<project path="external/harfbuzz" name="platform/external/harfbuzz" />
<!-- icu4c is missing the default tag in caf, that's the *only* reason for the hardcode -->
<project path="external/icu4c" name="platform/external/icu4c" revision="0fa67b93b831c6636ca18b152a1b1b14cc99b034" />
<project path="external/iptables" name="platform/external/iptables" />
<project path="external/jhead" name="platform/external/jhead" />
<project path="external/jpeg" name="platform/external/jpeg" />
<project path="external/libgsm" name="platform/external/libgsm" />
<project path="external/liblzf" name="platform/external/liblzf" />
<project path="external/libnfc-nxp" name="platform/external/libnfc-nxp" />
<project path="external/libnl-headers" name="platform/external/libnl-headers" />
<project path="external/libpng" name="platform/external/libpng" />
<project path="external/libvpx" name="platform/external/libvpx" />
<project path="external/mksh" name="platform/external/mksh" />
<project path="external/opensans" name="platform_external_opensans" remote="b2g" revision="master" />
<project path="external/openssl" name="platform/external/openssl" />
<project path="external/protobuf" name="platform/external/protobuf" />
<project path="external/safe-iop" name="platform/external/safe-iop" />
<project path="external/screencap-gonk" name="screencap-gonk" remote="b2g" revision="master" />
<project path="external/skia" name="platform/external/skia" />
<project path="external/sonivox" name="platform/external/sonivox" />
<project path="external/speex" name="platform/external/speex" />
<project path="external/sqlite" name="platform/external/sqlite" />
<project path="external/stlport" name="platform/external/stlport" />
<project path="external/strace" name="platform/external/strace" />
<project path="external/tagsoup" name="platform/external/tagsoup" />
<project path="external/tinyalsa" name="platform/external/tinyalsa" />
<project path="external/tremolo" name="platform/external/tremolo" />
<project path="external/webp" name="platform/external/webp" />
<project path="external/webrtc" name="platform/external/webrtc" />
<project path="external/wpa_supplicant" name="platform/external/wpa_supplicant" />
<project path="external/wpa_supplicant_8" name="platform/external/wpa_supplicant_8" revision="6dd24fc3792d71edccef9b09140f9a44b063a553" />
<project path="external/zlib" name="platform/external/zlib" />
<project path="external/yaffs2" name="platform/external/yaffs2" />
<project path="frameworks/base" name="platform/frameworks/base" />
<project path="frameworks/opt/emoji" name="platform/frameworks/opt/emoji" />
<project path="frameworks/support" name="platform/frameworks/support" />
<project path="hardware/libhardware" name="platform/hardware/libhardware" />
<project path="hardware/libhardware_legacy" name="platform/hardware/libhardware_legacy" />
<project path="hardware/ril" name="platform/hardware/ril" />
<project path="libcore" name="platform/libcore" />
<project path="ndk" name="platform/ndk" />
<project path="prebuilt" name="platform/prebuilt" />
<project path="system/bluetooth" name="platform/system/bluetooth" />
<project path="system/core" name="platform/system/core" />
<project path="system/extras" name="platform/system/extras" />
<project path="system/media" name="platform/system/media" />
<project path="system/netd" name="platform/system/netd" />
<project path="system/vold" name="platform/system/vold" />
<!-- Archos Gen9 specific things -->
<project path="device/ti/panda" name="android-device-panda" remote="b2g" revision="master" />
<project path="device/archos/archos-g9" name="device-g9" remote="archos-ics" revision="master" />
<project path="hardware/ti/omap4xxx" name="platform/hardware/ti/omap4xxx" />
<project path="hardware/ti/wlan" name="platform/hardware/ti/wlan" revision="60dfeb6e4448bfed707946ebca6612980f525e69" />
<project path="hardware/ti/wpan" name="platform/hardware/ti/wpan" revision="3ece7d9e08052989401e008bc397dbcd2557cfd0" />
<project path="external/negatus" name="Negatus" remote="mozilla" revision="master" />
<project path="external/orangutan" name="orangutan" remote="b2g" revision="master" />
</manifest>
Code:
echo A80:
mkdir -p /home/pedro/firefox_tmp
mount -o loop ./archos.ext4.update /home/pedro/tmp
mount -o loop ./firefox.ext4 /home/pedro/firefox_tmp
rsync -rlpgotvDH --progress --delete ./root/ /home/pedro/tmp/
rsync -rlpgotvDH --progress --delete ./system/ /home/pedro/tmp/
mkdir -p /home/pedro/tmp/data/test /home/pedro/tmp/mnt /home/pedro/tmp/home/pedro/tmp/storage
ln -sf /home/pedro/tmp/storage /home/pedro/tmp/storage
chmod 0777 /home/pedro/tmp/home/pedro/tmp/storage /home/pedro/tmp/data/test
chown -R root:root /home/pedro/tmp/
chmod 0755 /home/pedro/tmp/system/framework/
chmod 6755 /home/pedro/tmp/xbin/su
chmod 0755 /home/pedro/tmp/media/
chmod 0755 /home/pedro/tmp/usr/share/alsa/
chmod 0755 /home/pedro/tmp/lib/dsp/
chmod 0644 /home/pedro/tmp/lib/libOMX.*
chmod 0755 /home/pedro/tmp/lib/
chmod 0755 /home/pedro/tmp/bin/
mkdir -p /home/pedro/firefox_tmp/system/media
cp -R /home/pedro/tmp/media/* /home/pedro/firefox_tmp/system/media/
mkdir -p /home/pedro/firefox_tmp/system/usr/share/alsa/
cp -R /home/pedro/B2G/device/archos/gen9/prebuilt/alsa/ /home/pedro/firefox_tmp/system/usr/share/alsa/
cp -R /home/pedro/B2G/device/archos/gen9/init.rc /home/pedro/firefox_tmp/init.rc
mkdir -p /home/pedro/firefox_tmp/system/lib/dsp
mkdir -p /home/pedro/firefox_tmp/lib
cp -R /home/pedro/tmp/lib/* /home/pedro/firefox_tmp/system/lib/
cp -R /home/pedro/tmp/* /home/pedro/firefox_tmp/
cp -R /home/pedro/tmp/lib/* /home/pedro/firefox_tmp/system/lib/
cp -R /home/pedro/tmp/lib/* /home/pedro/firefox_tmp/lib/
rm -rf /home/pedro/firefox_tmp/system/system/
cp -R /home/pedro/B2G/out/target/product/gen9/system/ /home/pedro/firefox_tmp/
rm -rf /home/pedro/firefox_tmp/app/
rm /home/pedro/tmp/app/Phone.apk
chmod -R 0777 /home/pedro/tmp/system/app/
chmod -R 0755 /home/pedro/tmp/system/bin/
chmod -R 0755 /home/pedro/tmp/system/lib/
chmod -R 0777 /home/pedro/firefox_tmp/app/
chmod -R 0755 /home/pedro/firefox_tmp/system/bin/
chmod -R 0755 /home/pedro/firefox_tmp/system/lib/
sync
Tuesday a working release rom image.
For archos gen9 project path for device gen9 i'll update it soon.
This week a working rom. I think.
I've been working today to give us all a working rom.
Instructions for testing:
copy system.img for /data/local
or
copy system.img for /mnt/storage using adb push system.img /mnt/storage
Link:
[LINK]
https://www.4shared.com/file/vtkG1TbF/system.html
[/LINK]
PS: New version attempting as archos.ext4.update
It's will be released a ext4 attempt friday or saturday.
I'm trying to boot with the new kernel archos.

Welcome to XDA.
Both of your topics seem to be in wrong section, as they should be in general.
Having Firefox Os in ext4 is possible in theory, but no one has ported it to archos G9 series.
Sent from my GT-I9100 using xda app-developers app

thanks a lot.

astronfestmon said:
Hi there!
I have a question.
Is it possible to do a firefox os wip as multiboot ext4 image?
For 80 g9 turbo also turbo hdd?
I have a hdd version archos 80 g9.
Sent from my L9000 using xda app-developers app
Click to expand...
Click to collapse
julle131 said:
Welcome to XDA.
Both of your topics seem to be in wrong section, as they should be in general.
Having Firefox Os in ext4 is possible in theory, but no one has ported it to archos G9 series.
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
Hi Guys,
It's possible to have multiboot with archos tablet (i am sure with Gen8, i have made it ^^).
Firefox OS can be compiled easily with the device folder from Gen 9 CM9/10.
I start it like CM7 = SDE => Kernel=> Initramfs => OS choice's
With my folder (Gen8 - CM9 CyanoBiz) i have compile it yesterday and my first release works today (3D, Wifi, TS and sound works)
I have just modified an include path in an android.mk in /external folder (don't remember exactly the name).
No modification in the kernel (except all made to run ICS)
On my tab (A70S2 Froyo Gen8) it works well, i haven't try the video playing or other, because i haven't navigation button
On Omap44xx you have already a base with pandaboard based on the same CPU.
I don't know how is started yours alternatives OS, but i can give informations about the compilation of Firefox OS for Archos.
I have passed 1 day to port it (just start the system, not fix all bugs )
Bizcuite

Thanks for telling me.
The kernel ICS from archos gen9 making the defconfig can be possible to run an hdd turbo version. If i'm wrong.
The ext4 if possible we can make a dd with the following system as:
dd if=/dev/zero of=firefox.ext4 bs=1024
I'm just saying that.
Supposing.

astronfestmon said:
Thanks for telling me.
The kernel ICS from archos gen9 making the defconfig can be possible to run an hdd turbo version. If i'm wrong.
The ext4 if possible we can make a dd with the following system as:
dd if=/dev/zero of=firefox.ext4 bs=1024
I'm just saying that.
Supposing.
Click to expand...
Click to collapse
For the kernel, just compile and use the kernel on archos gitorious, you have a 3.0 kernel for archos 80 hdd version.
If you want to compile it:
-Download all sources from B2G git
-Just try to copy/paste the device folder from archos CM9 (see the post of Quinny if he has a git)
-you will have an error (header missing) i have the fix, but i don't remember the path.
-compile by those commands:
. build/environment
lunch (choose the device)
choosecombo (i choose userdebug)
make -jx (x = number of threads)
Bizcuite

Thanks a lot.
I'll try it now.
I'll tell it more later.

astronfestmon said:
Thanks a lot.
I'll try it now.
I'll tell it more later.
Click to expand...
Click to collapse
Another thing:
I have added this lines in init.rc to have a boot of system (i know that is a Viking method, but it works lol) :
Code:
service fakesched /system/bin/fakesched
class main
user root
service b2g /system/bin/b2g.sh
class main
onrestart restart media
service rilproxy /system/bin/rilproxy
class main
socket rilproxy stream 660 root system
user root
group radio
on boot
exec /system/bin/rm -r /data/local/tmp
exec /system/bin/mkdir -p /data/local/tmp
# set RLIMIT_NOFILE to increase soft limit from 1024(default) to 2048.
# Hard limit keeps default value(4096).
setrlimit 7 2048 4096
It's not very different of an Android compilation.
I will made a how to, to port a device to Firefox OS.
PS: I don't know which hardware is used to run wifi (WL127x?) if yes maybe you have to copy and paste the wpa_6_supplicant from CM9 sources to have a working wifi
This is my script to copy and paste all tools/app (Viking Method again ):
Code:
echo A70S:
qemu-img create -f raw ./CYANOBIZ_BETA2.x_A70.img 300M
mkfs.ext4 -qF -O ^huge_file ./CYANOBIZ_BETA2.x_A70.img
mount -o loop ./CYANOBIZ_BETA2.x_A70.img /mnt/
rsync -rlpgotvDH --progress --delete ./root/ /mnt/
rsync -rlpgotvDH --progress --delete ./system/ /mnt/system/
mkdir -p /mnt/data/test /mnt/mnt /mnt/mnt/storage
ln -sf /mnt/storage /mnt/storage
chmod 0777 /mnt/mnt/storage /mnt/data/test
chown -R root:root /mnt/
chmod 0755 /mnt/system/framework/*
chmod 6755 /mnt/system/xbin/su
chmod -R 0755 /mnt/system/media/*
chmod -R 0755 /mnt/system/usr/share/alsa/*
chmod -R 0755 /mnt/system/lib/dsp/*
chmod -R 0644 /mnt/system/lib/libOMX.*
chmod -R 0755 /mnt/lib/*
chmod -R 0755 /mnt/system/bin/*
mkdir /mnt/system/media
cp -R ../../../../device/archos/g8/media/* /mnt/system/media/
mkdir /mnt/system/usr/share/alsa
cp -R ../../../../device/archos/g8/system/usr/share/alsa/* /mnt/system/usr/share/alsa/
cp -R ../../../../device/archos/g8/init.rc /mnt/init.rc
mkdir /mnt/system/lib/dsp
cp -R ../../../../device/archos/g8/system/lib/* /mnt/system/lib/
mkdir /mnt/lib
cp -R ../../../../device/archos/g8/lib/* /mnt/lib/
rm /mnt/system/app/Phone.apk
chmod -R 0777 /mnt/system/app/*
chmod -R 0755 /mnt/system/bin/*
chmod -R 0755 /mnt/system/lib/*
sync
If you have an error with buffer.h in external/negatus/src folders, just add this lines in the android.mk:
LOCAL_C_INCLUDES:= \
$(shell nspr-config --includedir) \
external/stlport/stlport \
gaia/xulrunner-sdk/include \
gaia/xulrunner-sdk/include/nspr \
bionic
Click to expand...
Click to collapse
Bizcuite

It's working the port compliant. Thanks.
I'll try on a mt6577 dual sim ics phone too.

astronfestmon said:
It's working the port compliant. Thanks.
I'll try on a mt6577 dual sim ics phone too.
Click to expand...
Click to collapse
I have just a question, How control the tab without any Nav. buttons?
Firefox has any Nav Bar like android?! Is exist under FF OS? (yes if i/other guy try to implement it of course)
There was only 2 days that i have begun my researches on Firefox OS.
Bizcuite

bizcuite said:
I have just a question, How control the tab without any Nav. buttons?
Firefox has any Nav Bar like android?! Is exist under FF OS? (yes if i/other guy try to implement it of course)
There was only 2 days that i have begun my researches on Firefox OS.
Bizcuite
Click to expand...
Click to collapse
I'm fixing the same issue you told on xulrunner.
Tomorrow Ii'll tell you if it is working my build and we can discuss it.

It's still compiling since yesterday since i told the latest post.
I'm using a pentium d 2.8GHZ with 2GB RAM.
It's finishing the compilation.
More i will tell this afternoon. GMT.

Tomorrow I'll release a proofing video also my build.
You said it's happening to me.
I'll try and test it better.
Tomorrow i'll release my build for archos gen9 also the instructions in this topic.
I've need to make Viking method.

astronfestmon said:
Tomorrow I'll release a proofing video also my build.
You said it's happening to me.
I'll try and test it better.
Tomorrow i'll release my build for archos gen9 also the instructions in this topic.
I've need to make Viking method.
Click to expand...
Click to collapse
Have you any problem with wifi?
Because i cannot choose one and loop on "connectivity/data search" screen...
I have "fix" it by a modification in the wpa_supplicant.conf. I have include directly my own wifi parameters directly into it.
Bizcuite

Me too.
I've made a script to get work the image now it's not booting. Oh My God!

Topic updated.
archos-gen9.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="aosp"
fetch="https://android.googlesource.com/" />
<remote name="b2g"
fetch="git://github.com/mozilla-b2g/" />
<remote name="linaro"
fetch="http://android.git.linaro.org/git-ro/" />
<remote name="caf"
fetch="git://codeaurora.org/" />
<remote name="mozilla"
fetch="git://github.com/mozilla/" />
<remote name="mozillaorg"
fetch="https://git.mozilla.org/releases" />
<remote name="archos-ics" fetch="git://gitorious.org/archos-ics/" />
<remote name="apitrace" fetch="git://github.com/apitrace/" />
<default revision="refs/tags/android-4.0.4_r2.1"
remote="caf"
sync-j="4" />
<!-- Gonk specific things and forks -->
<project path="build" name="platform_build" remote="b2g" revision="master">
<copyfile src="core/root.mk" dest="Makefile" />
</project>
<project path="dalvik" name="fake-dalvik" remote="b2g" revision="master" />
<project path="gaia" name="gaia.git" remote="mozillaorg" revision="master" />
<project path="gecko" name="gecko.git" remote="mozillaorg" revision="master" />
<project path="gonk-misc" name="gonk-misc" remote="b2g" revision="master" />
<project path="rilproxy" name="rilproxy" remote="b2g" revision="master" />
<project path="external/moztt" name="moztt" remote="b2g" revision="master" />
<project path="external/valgrind" name="valgrind" remote="b2g" revision="fxos" />
<project path="external/VEX" name="vex" remote="b2g" revision="fxos" />
<project path="external/apitrace" name="apitrace" remote="apitrace" revision="master" />
<!-- Stock Android things -->
<project path="abi/cpp" name="platform/abi/cpp" />
<project path="bionic" name="platform/bionic" revision="aosp-new/ics-plus-aosp" />
<project path="bootable/recovery" name="platform/bootable/recovery" />
<project path="device/common" name="device/common" />
<project path="device/sample" name="device/sample" />
<project path="external/apriori" name="platform_external_apriori" remote="b2g" revision="master" />
<project path="external/bluetooth/bluez" name="platform/external/bluetooth/bluez" />
<project path="external/bluetooth/glib" name="platform/external/bluetooth/glib" />
<project path="external/bluetooth/hcidump" name="platform/external/bluetooth/hcidump" />
<project path="external/bsdiff" name="platform/external/bsdiff" />
<project path="external/busybox" name="platform/external/busybox" remote="linaro" revision="linaro-1.20" />
<project path="external/bzip2" name="platform/external/bzip2" />
<project path="external/dbus" name="platform/external/dbus" />
<project path="external/dhcpcd" name="platform/external/dhcpcd" />
<project path="external/dnsmasq" name="platform/external/dnsmasq" />
<project path="external/elfcopy" name="platform_external_elfcopy" remote="b2g" revision="master" />
<project path="external/elfutils" name="platform_external_elfutils" remote="b2g" revision="master" />
<project path="external/expat" name="platform/external/expat" />
<project path="external/fdlibm" name="platform/external/fdlibm" />
<project path="external/flac" name="platform/external/flac" />
<project path="external/freetype" name="platform/external/freetype" />
<project path="external/giflib" name="platform/external/giflib" />
<project path="external/gtest" name="platform/external/gtest" revision="aosp-new/master" />
<project path="external/harfbuzz" name="platform/external/harfbuzz" />
<!-- icu4c is missing the default tag in caf, that's the *only* reason for the hardcode -->
<project path="external/icu4c" name="platform/external/icu4c" revision="0fa67b93b831c6636ca18b152a1b1b14cc99b034" />
<project path="external/iptables" name="platform/external/iptables" />
<project path="external/jhead" name="platform/external/jhead" />
<project path="external/jpeg" name="platform/external/jpeg" />
<project path="external/libgsm" name="platform/external/libgsm" />
<project path="external/liblzf" name="platform/external/liblzf" />
<project path="external/libnfc-nxp" name="platform/external/libnfc-nxp" />
<project path="external/libnl-headers" name="platform/external/libnl-headers" />
<project path="external/libpng" name="platform/external/libpng" />
<project path="external/libvpx" name="platform/external/libvpx" />
<project path="external/mksh" name="platform/external/mksh" />
<project path="external/opensans" name="platform_external_opensans" remote="b2g" revision="master" />
<project path="external/openssl" name="platform/external/openssl" />
<project path="external/protobuf" name="platform/external/protobuf" />
<project path="external/safe-iop" name="platform/external/safe-iop" />
<project path="external/screencap-gonk" name="screencap-gonk" remote="b2g" revision="master" />
<project path="external/skia" name="platform/external/skia" />
<project path="external/sonivox" name="platform/external/sonivox" />
<project path="external/speex" name="platform/external/speex" />
<project path="external/sqlite" name="platform/external/sqlite" />
<project path="external/stlport" name="platform/external/stlport" />
<project path="external/strace" name="platform/external/strace" />
<project path="external/tagsoup" name="platform/external/tagsoup" />
<project path="external/tinyalsa" name="platform/external/tinyalsa" />
<project path="external/tremolo" name="platform/external/tremolo" />
<project path="external/webp" name="platform/external/webp" />
<project path="external/webrtc" name="platform/external/webrtc" />
<project path="external/wpa_supplicant" name="platform/external/wpa_supplicant" />
<project path="external/wpa_supplicant_8" name="platform/external/wpa_supplicant_8" revision="6dd24fc3792d71edccef9b09140f9a44b063a553" />
<project path="external/zlib" name="platform/external/zlib" />
<project path="external/yaffs2" name="platform/external/yaffs2" />
<project path="frameworks/base" name="platform/frameworks/base" />
<project path="frameworks/opt/emoji" name="platform/frameworks/opt/emoji" />
<project path="frameworks/support" name="platform/frameworks/support" />
<project path="hardware/libhardware" name="platform/hardware/libhardware" />
<project path="hardware/libhardware_legacy" name="platform/hardware/libhardware_legacy" />
<project path="hardware/ril" name="platform/hardware/ril" />
<project path="libcore" name="platform/libcore" />
<project path="ndk" name="platform/ndk" />
<project path="prebuilt" name="platform/prebuilt" />
<project path="system/bluetooth" name="platform/system/bluetooth" />
<project path="system/core" name="platform/system/core" />
<project path="system/extras" name="platform/system/extras" />
<project path="system/media" name="platform/system/media" />
<project path="system/netd" name="platform/system/netd" />
<project path="system/vold" name="platform/system/vold" />
<!-- Archos Gen9 specific things -->
<project path="device/archos/archos-g9" name="device-g9" remote="archos-ics" revision="master" />
<project path="hardware/ti/omap4xxx" name="platform/hardware/ti/omap4xxx" />
<project path="hardware/ti/wlan" name="platform/hardware/ti/wlan" revision="60dfeb6e4448bfed707946ebca6612980f525e69" />
<project path="hardware/ti/wpan" name="platform/hardware/ti/wpan" revision="3ece7d9e08052989401e008bc397dbcd2557cfd0" />
<project path="external/negatus" name="Negatus" remote="mozilla" revision="master" />
<project path="external/orangutan" name="orangutan" remote="b2g" revision="master" />
</manifest>

It's compiling as bizcuite told. My research now it's to try compiling with build.sh on a 32bit machine. On 64 bit it's working.
Sent from my L9000 using xda app-developers app

To have a home button, just see this https://github.com/lfont/blog/blob/master/pages/firefox-os-on-the-galaxy-nexus/content.md
Read the section about "Fix the key mapping".
I will try to map the volume up to the Home key.
Bizcuite

bizcuite said:
To have a home button, just see this https://github.com/lfont/blog/blob/master/pages/firefox-os-on-the-galaxy-nexus/content.md
Read the section about "Fix the key mapping".
I will try to map the volume up to the Home key.
Bizcuite
Click to expand...
Click to collapse
I have tried and it works well. Volume up can permit me to return back home screen.
After many test whats work (on gen8)
Sound
Wifi
Bt (turn on but not tested fully)
Adb
Doesn't worked
Video (only test by internet browser)
Int/ext Sdcard cannot be seen (it lakes an equivalent of root explorer)
Auto rotation
Internet navigation bugs when you zoom
Is it the same thing on gen9?
Can you share me your script to fix the pb with wifi please?
Thanks in advanced.
Bizcuite
Sent from my GT-N7100 using xda app-developers app

Desktop formatted
bizcuite said:
I have tried and it works well. Volume up can permit me to return back home screen.
After many test whats work (on gen8)
Sound
Wifi
Bt (turn on but not tested fully)
Adb
Doesn't worked
Video (only test by internet browser)
Int/ext Sdcard cannot be seen (it lakes an equivalent of root explorer)
Auto rotation
Internet navigation bugs when you zoom
Is it the same thing on gen9?
Can you share me your script to fix the pb with wifi please?
Thanks in advanced.
Bizcuite
Sent from my GT-N7100 using xda app-developers app
Click to expand...
Click to collapse
I'll give but i'm formatting my desktop because the hard disk blew. Now, I'm giving back whole data into it. As soon as possible I'll give it.

Related

TWRP for i9295 S4 Active

Has anyone with the i9295 tried following this guide to make a TWRP for the active?
http://www.xda-developers.com/android/compile-twrp-for-your-device/
I tried it today using spegelius' CM-10.2 sources and the compile went through. However, I'm currently a bit scared to flash it (yeah, I know... ). If anyone dares to give a try to my build, send me a PM and I'll send you the recovery.img I got.
This is the roomservice.xml I used:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="spegelius/android_device_samsung_jactivelte" path="device/samsung/jactiveltexx" remote="github" />
<project name="spegelius/android_device_samsung_jactivelte-common" path="device/samsung/jf-common" remote="github" />
<project name="spegelius/android_kernel_samsung_jactivelte" path="kernel/samsung/jactiveltexx" remote="github" />
<project name="CyanogenMod/android_device_samsung_qcom-common" path="device/samsung/qcom-common" remote="github" />
<project name="CyanogenMod/android_device_samsung_msm8960-common" path="device/samsung/msm8960-common" remote="github" />
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" />
<project name="CyanogenMod/android_device_samsung_jfltexx" path="device/samsung/jfltexx" remote="github" />
<project name="CyanogenMod/android_device_samsung_jf-common" path="device/samsung/jf-common" remote="github" />
<project name="CyanogenMod/android_kernel_samsung_jf" path="kernel/samsung/jf" remote="github" />
<remove-project name="CyanogenMod/android_bootable_recovery" />
<project name="omnirom/android_bootable_recovery" path="bootable/recovery" remote="github" revision="android-4.3" />
</manifest>
Additionally I added the following in the device/samsung/jf-common/BoardConfigCommon.mk. This is esentially the same as for the S4 except the Screen-Brightness-Regulation, which I suppose is different due to a different LCD (but TWRP should work without any brightness-regulation at all):
Code:
#TWRP
DEVICE_RESOLUTION := 1080x1920
RECOVERY_GRAPHICS_USE_LINELENGTH := true
RECOVERY_SDCARD_ON_DATA := true
TW_INTERNAL_STORAGE_PATH := "/data/media/0"
TW_INTERNAL_STORAGE_MOUNT_POINT := "data"
TW_EXTERNAL_STORAGE_PATH := "/external_sd"
TW_EXTERNAL_STORAGE_MOUNT_POINT := "external_sd"
TW_NO_REBOOT_BOOTLOADER := true
TW_HAS_DOWNLOAD_MODE := true
BOARD_HAS_NO_REAL_SDCARD := true
TW_INCLUDE_CRYPTO := true
TW_INCLUDE_CRYPTO_SAMSUNG := true
TW_CRYPTO_FS_TYPE := "ext4"
TW_CRYPTO_REAL_BLKDEV := "/dev/block/mmcblk0p29"
TW_CRYPTO_MNT_POINT := "/data"
TW_CRYPTO_FS_OPTIONS := "nosuid,nodev,noatime,noauto_da_alloc,discard,journal_async_commit,errors=panic wait,check,encryptable=footer"
TW_CRYPTO_FS_FLAGS := "0x00000406"
TW_CRYPTO_KEY_LOC := "footer"
TARGET_USE_CUSTOM_LUN_FILE_PATH := /sys/devices/platform/msm_hsusb/gadget/lun0/file
TWRP_EVENT_LOGGING := true
I used the same recovery.fstab / twrp.fstab as for the S4.
TWRP S4 Active i9295
floeti said:
I tried it today using spegelius' CM-10.2 sources and the compile went through. However, I'm currently a bit scared to flash it (yeah, I know... ). If anyone dares to give a try to my build, send me a PM and I'll send you the recovery.img I got.
This is the roomservice.xml I used:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="spegelius/android_device_samsung_jactivelte" path="device/samsung/jactiveltexx" remote="github" />
<project name="spegelius/android_device_samsung_jactivelte-common" path="device/samsung/jf-common" remote="github" />
<project name="spegelius/android_kernel_samsung_jactivelte" path="kernel/samsung/jactiveltexx" remote="github" />
<project name="CyanogenMod/android_device_samsung_qcom-common" path="device/samsung/qcom-common" remote="github" />
<project name="CyanogenMod/android_device_samsung_msm8960-common" path="device/samsung/msm8960-common" remote="github" />
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" />
<project name="CyanogenMod/android_device_samsung_jfltexx" path="device/samsung/jfltexx" remote="github" />
<project name="CyanogenMod/android_device_samsung_jf-common" path="device/samsung/jf-common" remote="github" />
<project name="CyanogenMod/android_kernel_samsung_jf" path="kernel/samsung/jf" remote="github" />
<remove-project name="CyanogenMod/android_bootable_recovery" />
<project name="omnirom/android_bootable_recovery" path="bootable/recovery" remote="github" revision="android-4.3" />
</manifest>
Additionally I added the following in the device/samsung/jf-common/BoardConfigCommon.mk. This is esentially the same as for the S4 except the Screen-Brightness-Regulation, which I suppose is different due to a different LCD (but TWRP should work without any brightness-regulation at all):
Code:
#TWRP
DEVICE_RESOLUTION := 1080x1920
RECOVERY_GRAPHICS_USE_LINELENGTH := true
RECOVERY_SDCARD_ON_DATA := true
TW_INTERNAL_STORAGE_PATH := "/data/media/0"
TW_INTERNAL_STORAGE_MOUNT_POINT := "data"
TW_EXTERNAL_STORAGE_PATH := "/external_sd"
TW_EXTERNAL_STORAGE_MOUNT_POINT := "external_sd"
TW_NO_REBOOT_BOOTLOADER := true
TW_HAS_DOWNLOAD_MODE := true
BOARD_HAS_NO_REAL_SDCARD := true
TW_INCLUDE_CRYPTO := true
TW_INCLUDE_CRYPTO_SAMSUNG := true
TW_CRYPTO_FS_TYPE := "ext4"
TW_CRYPTO_REAL_BLKDEV := "/dev/block/mmcblk0p29"
TW_CRYPTO_MNT_POINT := "/data"
TW_CRYPTO_FS_OPTIONS := "nosuid,nodev,noatime,noauto_da_alloc,discard,journal_async_commit,errors=panic wait,check,encryptable=footer"
TW_CRYPTO_FS_FLAGS := "0x00000406"
TW_CRYPTO_KEY_LOC := "footer"
TARGET_USE_CUSTOM_LUN_FILE_PATH := /sys/devices/platform/msm_hsusb/gadget/lun0/file
TWRP_EVENT_LOGGING := true
I used the same recovery.fstab / twrp.fstab as for the S4.
Click to expand...
Click to collapse
Has anyone tried this? did it work ? i want to install TWRP on my S$ Active i9295
Cheers,
does galaxy s4 active have twrp
Is there a twrp for galaxy s4 active because I really need it
johnathanw22 said:
Is there a twrp for galaxy s4 active because I really need it
Click to expand...
Click to collapse
not at the moment

4.3 sd card issues fixed

I am currently working on a solution to fix 4.4 with more stable results.
I have created a flashable zip that works in an aftermarket recovery. It replaces the platform.xml file with modified file that has the necessary permission line to make the sd card writable now. That is the only thing changed. I added the under WRITE_EXTERNAL_STORAGE.
You need to be on a custom recovery. This update only applies to I9505G. If you do not have an S4 GOOGLE EDITION PHONE, then please disregard and move on.
Warning; You are flashing this at your own risk. I am not responsible for broken devices, deleted memory cards, phones thrown from raging, or WW3.
Download the flashable from here: http://d-h.st/Eif
Download the modified platform.xml to replace the original from here if you would rather push it: http://d-h.st/ooU
(this is not needed with zip, already included)
1. Place the zip the on your internal or external drive.
2. Reboot to your custom recovery, ie ( twrp, cwm)
3. Create a backup, have a restore point if it does not work.
4. Wipe dalvik and cache
5. Install the zip file
6. Wipe the dalvik and cache just to be sure.
7. Reboot phone.
Test to make sure it worked by using any file explorer, ie(solid explorer, root explorer, etc.) and creating a new folder, text document, or whatever. Do this through the phone, not a p.c. If it does not work, reboot to recovery, restore back to previous point and let me know asap.
I like it
Sent from my SGH-I317 using Tapatalk 2
cdshepherd said:
I like it
Sent from my SGH-I317 using Tapatalk 2
Click to expand...
Click to collapse
Thanks I will incorporate this on the 4.3 if you don't mind with credit.
Sent from my GT-I9505G using Tapatalk 2
I don't mind at all. Use what ya need.
Sent from my GT-I9505G using Tapatalk 4
I did use Samurai's Odin package to update to mh5. I figures it would revert the permissions. My zip still works.
And TWRP 2.6.3.0 is out.
Sent from my GT-I9505G using Tapatalk 4
occupational_hazard said:
I have created a flashable zip that works in an aftermarket recovery. It replaces the platform.xml file with modified file that has the necessary permission line to make the sd card writable now. That is the only thing changed. I added the <group gid="media_rw"/> under WRITE_EXTERNAL_STORAGE.
You need to be on a custom recovery. This update only applies to I9505G. If you do not have an S4 GOOGLE EDITION PHONE, then please disregard and move on. This is only for the MH1 4.3 firmware that does not allow you to write to the sdcard.
Warning; You are flashing this at your own risk. I am not responsible for broken devices, deleted memory cards, phones thrown from raging, or WW3.
Download the flashable from here: http://d-h.st/Eif
Download the modified platform.xml to replace the original from here if you would rather push it: http://d-h.st/ooU
(this is not needed with zip, already included)
1. Place the zip the on your internal or external drive.
2. Reboot to your custom recovery, ie ( twrp, cwm)
3. Create a backup, have a restore point if it does not work.
4. Wipe dalvik and cache
5. Install the zip file
6. Wipe the dalvik and cache just to be sure.
7. Reboot phone.
Test to make sure it worked by using any file explorer, ie(solid explorer, root explorer, etc.) and creating a new folder, text document, or whatever. Do this through the phone, not a p.c. If it does not work, reboot to recovery, restore back to previous point and let me know asap.
Click to expand...
Click to collapse
You're welcome.
http://forum.xda-developers.com/showthread.php?p=44370296
When dialog fails, it's time for violence.
Really I would have never thought of doing that. That's ground breaking. Extraordinary!
Now do more research and you will see people have trouble writing to that file with root and trying a multitude of file explorers. And mounting system r/w. I still couldn't. Hence the links to the flashable in the op.
So....
Your welcome.
Sent from my GT-I9505G using Tapatalk 4
occupational_hazard said:
Really I would have never thought of doing that. That's ground breaking. Extraordinary!
Now do more research and you will see people have trouble writing to that file with root and trying a multitude of file explorers. And mounting system r/w. I still couldn't. Hence the links to the flashable in the op.
So....
Your welcome.
Sent from my GT-I9505G using Tapatalk 4
Click to expand...
Click to collapse
My sincere apologies. I'm having a bad day. I'm glad I could contribute to your work.
When dialog fails, it's time for violence.
Its all good and understandable.
Sent from my GT-I9505G using Tapatalk 4
That worked great, thank you!
Sent from my GT-I9505G using Tapatalk 2
apollokid said:
That worked great, thank you!
Sent from my GT-I9505G using Tapatalk 2
Click to expand...
Click to collapse
Works well on 4.4 also.
This is good to know
Sent from my GT-I9505G using Tapatalk
wilbarger said:
Works well on 4.4 also.
Click to expand...
Click to collapse
I had read that some folks were having troubles with the 4.4 update, can you update and then edit that file again the same way as before?
Prior to updating, I was running CM 10.2. I flashed back to stock 4.3 from here http://forum.xda-developers.com/showthread.php?t=2442445 and then flashed 4.4 from here http://forum.xda-developers.com/showthread.php?t=2544056. After that (which went flawlessly), I copied the SD card fix from this thread and then installed it. No issues at all and everything works perfectly.
We are lucky to have SamuriHL and MJHawaii helping us out with our phones. Sorry, left out occupational_hazard. No disrespect meant.
Below is the text from the platform.xml that is on my phone after I updated. There shouldn't be any need to flash on 4.4. But please let me know if I am wrong. I also can make the original 4.3 platform.xml file to flash so you can update through recovery of that is the issue
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2008 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- This file is used to define the mappings between lower-level system
user and group IDs and the higher-level permission names managed
by the platform.
Be VERY careful when editing this file! Mistakes made here can open
big security holes.
-->
<permissions>
<!-- ================================================================== -->
<!-- ================================================================== -->
<!-- ================================================================== -->
<!-- The following tags are associating low-level group IDs with
permission names. By specifying such a mapping, you are saying
that any application process granted the given permission will
also be running with the given group ID attached to its process,
so it can perform any filesystem (read, write, execute) operations
allowed for that group. -->
<permission name="android.permission.BLUETOOTH_ADMIN" >
<group gid="net_bt_admin" />
</permission>
<permission name="android.permission.BLUETOOTH" >
<group gid="net_bt" />
</permission>
<permission name="android.permission.BLUETOOTH_STACK" >
<group gid="net_bt_stack" />
</permission>
<permission name="android.permission.NET_TUNNELING" >
<group gid="vpn" />
</permission>
<permission name="android.permission.INTERNET" >
<group gid="inet" />
</permission>
<permission name="android.permission.READ_LOGS" >
<group gid="log" />
</permission>
<permission name="android.permission.READ_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
</permission>
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
</permission>
<permission name="android.permission.ACCESS_ALL_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="sdcard_all" />
</permission>
<permission name="android.permission.WRITE_MEDIA_STORAGE" >
<group gid="media_rw" />
</permission>
<permission name="android.permission.ACCESS_MTP" >
<group gid="mtp" />
</permission>
<permission name="android.permission.NET_ADMIN" >
<group gid="net_admin" />
</permission>
<!-- The group that /cache belongs to, linked to the permission
set on the applications that can access /cache -->
<permission name="android.permission.ACCESS_CACHE_FILESYSTEM" >
<group gid="cache" />
</permission>
<!-- RW permissions to any system resources owned by group 'diag'.
This is for carrier and manufacture diagnostics tools that must be
installable from the framework. Be careful. -->
<permission name="android.permission.DIAGNOSTIC" >
<group gid="input" />
<group gid="diag" />
</permission>
<!-- Group that can read detailed network usage statistics -->
<permission name="android.permission.READ_NETWORK_USAGE_HISTORY">
<group gid="net_bw_stats" />
</permission>
<!-- Group that can modify how network statistics are accounted -->
<permission name="android.permission.MODIFY_NETWORK_ACCOUNTING">
<group gid="net_bw_acct" />
</permission>
<permission name="android.permission.LOOP_RADIO" >
<group gid="loop_radio" />
</permission>
<!-- ================================================================== -->
<!-- ================================================================== -->
<!-- ================================================================== -->
<!-- The following tags are assigning high-level permissions to specific
user IDs. These are used to allow specific core system users to
perform the given operations with the higher-level framework. For
example, we give a wide variety of permissions to the shell user
since that is the user the adb shell runs under and developers and
others should have a fairly open environment in which to
interact with the system. -->
<assign-permission name="android.permission.MODIFY_AUDIO_SETTINGS" uid="media" />
<assign-permission name="android.permission.ACCESS_SURFACE_FLINGER" uid="media" />
<assign-permission name="android.permission.WAKE_LOCK" uid="media" />
<assign-permission name="android.permission.UPDATE_DEVICE_STATS" uid="media" />
<assign-permission name="android.permission.UPDATE_APP_OPS_STATS" uid="media" />
<assign-permission name="android.permission.ACCESS_SURFACE_FLINGER" uid="graphics" />
<!-- This is a list of all the libraries available for application
code to link against. -->
<library name="android.test.runner"
file="/system/framework/android.test.runner.jar" />
<library name="javax.obex"
file="/system/framework/javax.obex.jar"/>
</permissions>
Sent from my GT-I9505G using Tapatalk
I think you may be mistaken. After flash, it is as you stated. From what I understand, you will need to add (either by editing or by using your file in this thread) to change platform.xml to have <group gid="media_rw" /> statement under WRITE_EXTERNAL_STORAGE
Are you saying that you can store to external SD without this statement? I could not until I made the change.
occupational_hazard said:
Below is the text from the platform.xml that is on my phone after I updated. There shouldn't be any need to flash on 4.4. But please let me know if I am wrong. I also can make the original 4.3 platform.xml file to flash so you can update through recovery of that is the issue
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2008 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- This file is used to define the mappings between lower-level system
user and group IDs and the higher-level permission names managed
by the platform.
Be VERY careful when editing this file! Mistakes made here can open
big security holes.
-->
<permissions>
<!-- ================================================================== -->
<!-- ================================================================== -->
<!-- ================================================================== -->
<!-- The following tags are associating low-level group IDs with
permission names. By specifying such a mapping, you are saying
that any application process granted the given permission will
also be running with the given group ID attached to its process,
so it can perform any filesystem (read, write, execute) operations
allowed for that group. -->
<permission name="android.permission.BLUETOOTH_ADMIN" >
<group gid="net_bt_admin" />
</permission>
<permission name="android.permission.BLUETOOTH" >
<group gid="net_bt" />
</permission>
<permission name="android.permission.BLUETOOTH_STACK" >
<group gid="net_bt_stack" />
</permission>
<permission name="android.permission.NET_TUNNELING" >
<group gid="vpn" />
</permission>
<permission name="android.permission.INTERNET" >
<group gid="inet" />
</permission>
<permission name="android.permission.READ_LOGS" >
<group gid="log" />
</permission>
<permission name="android.permission.READ_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
</permission>
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
</permission>
<permission name="android.permission.ACCESS_ALL_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="sdcard_all" />
</permission>
<permission name="android.permission.WRITE_MEDIA_STORAGE" >
<group gid="media_rw" />
</permission>
<permission name="android.permission.ACCESS_MTP" >
<group gid="mtp" />
</permission>
<permission name="android.permission.NET_ADMIN" >
<group gid="net_admin" />
</permission>
<!-- The group that /cache belongs to, linked to the permission
set on the applications that can access /cache -->
<permission name="android.permission.ACCESS_CACHE_FILESYSTEM" >
<group gid="cache" />
</permission>
<!-- RW permissions to any system resources owned by group 'diag'.
This is for carrier and manufacture diagnostics tools that must be
installable from the framework. Be careful. -->
<permission name="android.permission.DIAGNOSTIC" >
<group gid="input" />
<group gid="diag" />
</permission>
<!-- Group that can read detailed network usage statistics -->
<permission name="android.permission.READ_NETWORK_USAGE_HISTORY">
<group gid="net_bw_stats" />
</permission>
<!-- Group that can modify how network statistics are accounted -->
<permission name="android.permission.MODIFY_NETWORK_ACCOUNTING">
<group gid="net_bw_acct" />
</permission>
<permission name="android.permission.LOOP_RADIO" >
<group gid="loop_radio" />
</permission>
<!-- ================================================================== -->
<!-- ================================================================== -->
<!-- ================================================================== -->
<!-- The following tags are assigning high-level permissions to specific
user IDs. These are used to allow specific core system users to
perform the given operations with the higher-level framework. For
example, we give a wide variety of permissions to the shell user
since that is the user the adb shell runs under and developers and
others should have a fairly open environment in which to
interact with the system. -->
<assign-permission name="android.permission.MODIFY_AUDIO_SETTINGS" uid="media" />
<assign-permission name="android.permission.ACCESS_SURFACE_FLINGER" uid="media" />
<assign-permission name="android.permission.WAKE_LOCK" uid="media" />
<assign-permission name="android.permission.UPDATE_DEVICE_STATS" uid="media" />
<assign-permission name="android.permission.UPDATE_APP_OPS_STATS" uid="media" />
<assign-permission name="android.permission.ACCESS_SURFACE_FLINGER" uid="graphics" />
<!-- This is a list of all the libraries available for application
code to link against. -->
<library name="android.test.runner"
file="/system/framework/android.test.runner.jar" />
<library name="javax.obex"
file="/system/framework/javax.obex.jar"/>
</permissions>
Sent from my GT-I9505G using Tapatalk
Click to expand...
Click to collapse
Are you sure about this? I think this is wrong and that the platform.xml file does not have that line in 4.4
That's the platform.XML I have after updating to 4.4 with no sdcard fix.
Sent from my GT-I9505G using Tapatalk
You can check it under /etc/permissions/platform.xml
Sent from my GT-I9505G using Tapatalk
Maybe since I did not use your file on 4.3 and did the text edit of the file instead, it didn't carry forward when I upgraded. I do know that when I flashed your file, it changed the statement to "media" instead of <group gid="sdcard_r" />.
Here is what I now have <permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_rw" />
<groud gid="media_rw" />
</permission>
Just to clarify, you can create a new folder on the SD card without the "media" statement??

{Guide}{gb} Adding Toggles in Status bar

**Always backup any original file before modifying. If your phone doesn't boot push that backup to your phone.**​
REQUIRED:
--Android SDK
--APK Tool
--WinZIP
--NOTEPAD++
STEPS:-
-- Download the attached ZIP.
--Decompile your SystemUI.apk
--Copy all the "png's" from the drawable-mdpi folder in ur decompiled SystemUI in \res\drawable-mdpi
--Now, open /res/values/ids.xml and copy these codes in the xml:
Code:
<item type="id" name="quickpanel_wifi_btn_text">false</item>
<item type="id" name="quickpanel_quick_settings">false</item>
<item type="id" name="quickpanel_wifi_btn_icon">false</item>
<item type="id" name="quickpanel_bt_btn_icon">false</item>
<item type="id" name="quickpanel_gps_btn_icon">false</item>
<item type="id" name="quickpanel_sound_btn_icon">false</item>
<item type="id" name="quickpanel_rotation_btn_icon">false</item>
<item type="id" name="quickpanel_bt_btn_text">false</item>
<item type="id" name="quickpanel_gps_btn_text">false</item>
<item type="id" name="quickpanel_sound_btn_text">false</item>
<item type="id" name="quickpanel_rotation_btn_text">false</item>
<item type="id" name="quickpanel_data_btn_icon">false</item>
<item type="id" name="quickpanel_data_btn_text">false</item>
-- Open /res/values/strings.xml and copy these codes in the xml:
Code:
<string name="quickpanel_wifi_text" />
<string name="quickpanel_bluetooth_text" />
<string name="quickpanel_gps_text" />
<string name="quickpanel_sound_text" />
<string name="quickpanel_sound_vibration_text" />
<string name="quickpanel_silent_text" />
<string name="quickpanel_vibration_text" />
<string name="quickpanel_rotation_text" />
<string name="quickpanel_error_text">Error</string>
<string name="quickpanel_dc_text">Data</string>
<string name="quickpanel_dc_on">Turning On</string>
<string name="quickpanel_dc_off">Turning Off</string>
-- Recompile your apk after putting the files into /res folder
-- Decompile again the resulting apk.
-- This one is for registering the files and info that we made in previous steps to be available publicly and to be recognized in .smali program.
-- Inside /res/values/public.xml, you will find the ids of the new registries.
-- Open /res/layout/status_bar_expanded.xml and find this coode in the xml:
Code:
<?xml version="1.0" encoding="utf-8"?>
<com.android.systemui.statusbar.ExpandedView android:orientation="vertical" android:focusable="true" android:descendantFocusability="afterDescendants"
xmlns:android="http://schemas.android.com/apk/res/android">
-- Paste this code below the above code:
Code:
</FrameLayout>
<FrameLayout android:layout_width="wrap_content" android:layout_height="45.0dip" android:layout_weight="1.0">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_gps_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="1.0dip" android:src="@drawable/quickpanel_icon_gps_off" />
<com.android.systemui.statusbar.quickpanel.GpsSettingButton android:textSize="1.0dip" android:textStyle="normal" android:textColor="#ffffffff" android:gravity="center" android:id="@id/quickpanel_gps_btn_text" android:background="#00ffffff" android:paddingTop="0.0dip" android:paddingBottom="0.0dip" android:focusable="true" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_gps_text" />
</FrameLayout>
<FrameLayout android:layout_width="wrap_content" android:layout_height="45.0dip" android:layout_weight="1.0">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_sound_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="1.0dip" android:src="@drawable/quickpanel_icon_sound_on_on" />
<com.android.systemui.statusbar.quickpanel.SoundSettingButton android:textSize="1.0dip" android:textStyle="normal" android:textColor="#ffffffff" android:gravity="center" android:id="@id/quickpanel_sound_btn_text" android:background="#00ffffff" android:paddingTop="0.0dip" android:paddingBottom="1.0dip" android:focusable="true" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_silent_text" />
</FrameLayout>
<FrameLayout android:layout_width="wrap_content" android:layout_height="45.0dip" android:layout_weight="1.0">
<ImageView android:layout_gravity="center_horizontal" android:id="@id/quickpanel_rotation_btn_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="1.0dip" android:src="@drawable/quickpanel_icon_rotation_off" />
<com.android.systemui.statusbar.quickpanel.AutoRotationSettingButton android:textSize="1.0dip" android:textStyle="normal" android:textColor="#ffffffff" android:gravity="center" android:id="@id/quickpanel_rotation_btn_text" android:background="#00ffffff" android:paddingTop="0.0dip" android:paddingBottom="1.0dip" android:focusable="true" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/quickpanel_rotation_text" />
</FrameLayout>
</com.android.systemui.statusbar.quickpanel.QuickSettingsView>
</LinearLayout>
-- Now, Copy the "quickpanel" folder to \smali\com\android\systemui\statusbar folder.
Below are the most imp. steps:
This step is for matching the Quickpanel codes found in public.xml with that in smali foder.
1. Open each Smali files one by one which you copied now.
2. Also open Open the PublicPre.xml provided by me and Public.xml of ur current ROM in which u had registered the ID's.
3. In your smali files, find the id codes like 0x.......
4.Search dis in PublicPre.xml.
5.Copy the Item name related to dis code and search dis in ur current Public.xml.
6. And finally copy the Id of that ITEM name and replace with that in your Smali file.
7. Do the above steps with each ID codes in each Smali.
7.After Succesfully matching all the ID codes, COMPILE UR SYSTEMUI AND PUSH IT 2 YouR PHONE.
Note:-
this guide is only to add 4 toggles..!!
i will update my guide with more new features very soon..!!
Click to expand...
Click to collapse
Have I helped you ??? If Yes !!! Go and find "THANKS" Button​

[Q] appropriate roomservice.xml for cm12 and hlte?

Hi,
I tried building cm12 for my note 3, but the resulting rom won't boot. I figured it might have been some modifications I made, so I tried with just the sources from git. Didn't work either. I looked at temaseks unofficial build and it boots without any problems - they seem to use a different kernel, so I tried that, too, but booting was stuck on the boot animation again. So I thought maybe my whole roomservice.xml is wrong:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_samsung_hlte" path="device/samsung/hlte" remote="github" revision="cm-11.0"/>
<project name="CyanogenMod/android_device_samsung_hlte-common" path="device/samsung/hlte-common" remote="github"/>
<project name="CyanogenMod/android_device_samsung_msm8960-common" path="device/samsung/msm8960-common" remote="github"/>
<project name="CyanogenMod/android_device_samsung_msm8974-common" path="device/samsung/msm8974-common" remote="github"/>
<project name="CyanogenMod/android_device_samsung_qcom-common" path="device/samsung/qcom-common" remote="github"/>
<!--<project name="CyanogenMod/android_kernel_samsung_hlte" path="kernel/samsung/hlte" remote="github"/>-->
<project name="temasek/android_kernel_samsung_hlte" path="kernel/samsung/hlte" remote="github" revision="staging-v1"/>
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" />
<project name="CyanogenMod/android_hardware_qcom_display-caf-new" path="hardware/qcom/display-caf-new" remote="github" revision="cm-11.0"/>
<project name="CyanogenMod/android_hardware_qcom_media-caf-new" path="hardware/qcom/media-caf-new" remote="github" revision="cm-11.0"/>
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" />
<project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" remote="github" />
</manifest>
Also - I don't know how to properly debug boot failures - is there some sort of log somewhere that persists and can be seen/saved from recovery?

[Q] help me build cm-12.1 hammerheadcaf

I want to build 12.1 CAF
this way is right?
Code:
Checking out files: 100% (13/13), done.king out files: 30% (4/13)
Checking out files: 100% (168/168), done.
Syncing work tree: 100% (556/556), done.
[email protected] ~/cm12.1 $ . build/envsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-mips/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
including vendor/cm/bash_completion/git.bash
including vendor/cm/bash_completion/repo.bash
[email protected] ~/cm12.1 $ lunch
You're building on Linux
Lunch menu... pick a combo:
1. aosp_arm-eng 54. cm_kltechnduo-userdebug
2. aosp_arm64-eng 55. cm_kltespr-userdebug
3. aosp_mips-eng 56. cm_l900-userdebug
4. aosp_mips64-eng 57. cm_m7-userdebug
5. aosp_x86-eng 58. cm_m7vzw-userdebug
6. aosp_x86_64-eng 59. cm_m8-userdebug
7. m_e_arm-userdebug 60. cm_mako-userdebug
8. mini_emulator_mips-userdebug 61. cm_manta-userdebug
9. mini_emulator_x86_64-userdebug 62. cm_maserati-userdebug
10. mini_emulator_arm64-userdebug 63. cm_mb886-userdebug
11. mini_emulator_x86-userdebug 64. cm_mondrianwifi-userdebug
12. cm_acclaim-userdebug 65. cm_n3-userdebug
13. cm_amami-userdebug 66. cm_n5100-userdebug
14. cm_bacon-userdebug 67. cm_n5110-userdebug
15. cm_castor-userdebug 68. cm_nicki-userdebug
16. cm_castor_windy-userdebug 69. cm_obake-userdebug
17. cm_condor-userdebug 70. cm_peregrine-userdebug
18. cm_d2att-userdebug 71. cm_picassowifi-userdebug
19. cm_d2spr-userdebug 72. cm_quark-userdebug
20. cm_d2tmo-userdebug 73. cm_scorpion-userdebug
21. cm_d2vzw-userdebug 74. cm_scorpion_windy-userdebug
22. cm_d850-userdebug 75. cm_serrano3gxx-userdebug
23. cm_d851-userdebug 76. cm_serranoltexx-userdebug
24. cm_d852-userdebug 77. cm_shamu-userdebug
25. cm_d855-userdebug 78. cm_sirius-userdebug
26. cm_deb-userdebug 79. cm_spyder-userdebug
27. cm_dlx-userdebug 80. cm_superior-userdebug
28. cm_e975-userdebug 81. cm_t0lte-userdebug
29. cm_e980-userdebug 82. cm_t6-userdebug
30. cm_evita-userdebug 83. cm_t6spr-userdebug
31. cm_falcon-userdebug 84. cm_t6vzw-userdebug
32. cm_find7-userdebug 85. cm_targa-userdebug
33. cm_find7s-userdebug 86. cm_tf300t-userdebug
34. cm_flo-userdebug 87. cm_thea-userdebug
35. cm_fugu-userdebug 88. cm_tilapia-userdebug
36. cm_ghost-userdebug 89. cm_titan-userdebug
37. cm_grouper-userdebug 90. cm_togari-userdebug
38. cm_hammerhead-userdebug 91. cm_togari_gpe-userdebug
39. cm_hammerheadcaf-userdebug 92. cm_trltetmo-userdebug
40. cm_hlte-userdebug 93. cm_trltexx-userdebug
41. cm_hltespr-userdebug 94. cm_umts_spyder-userdebug
42. cm_hltetmo-userdebug 95. cm_v410-userdebug
43. cm_i605-userdebug 96. cm_v500-userdebug
44. cm_i925-userdebug 97. cm_victara-userdebug
45. cm_honami-userdebug 98. cm_ville-userdebug
46. cm_jflteatt-userdebug 99. cm_vs985-userdebug
47. cm_jfltespr-userdebug 100. cm_xt897-userdebug
48. cm_jfltetmo-userdebug 101. cm_xt907-userdebug
49. cm_jfltevzw-userdebug 102. cm_xt925-userdebug
50. cm_jfltexx-userdebug 103. cm_xt926-userdebug
51. cm_klimtwifi-userdebug 104. cm_z3-userdebug
52. cm_klte-userdebug 105. cm_z3c-userdebug
53. cm_kltechn-userdebug
Which would you like? [aosp_arm-eng] 39
ls: невозможно получить доступ к device/*/hammerheadcaf/cm.mk: Нет такого файла или каталога
build/core/product_config.mk:234: *** Can not locate config makefile for product "cm_hammerheadcaf". Останов.
Device hammerheadcaf not found. Attempting to retrieve device repository from CyanogenMod Github ([url]http://github.com/CyanogenMod[/url]).
Found repository: android_device_lge_hammerheadcaf
Default revision: cm-12.1
Checking branch info
Adding dependency: CyanogenMod/android_device_lge_hammerheadcaf -> device/lge/hammerheadcaf
Using default branch for android_device_lge_hammerheadcaf
Syncing repository to retrieve project.
Fetching project CyanogenMod/android_device_lge_hammerheadcaf
Fetching projects: 100% (1/1), done.
Repository synced!
Looking for dependencies
Adding dependencies to manifest
Adding dependency: CyanogenMod/android_kernel_lge_hammerhead -> kernel/lge/hammerhead
Adding dependency: CyanogenMod/android_device_qcom_common -> device/qcom/common
Using default branch for android_device_qcom_common
Syncing dependencies
Fetching project CyanogenMod/android_device_qcom_common
Fetching project CyanogenMod/android_kernel_lge_hammerhead
Fetching projects: 100% (2/2), done.
Checking out files: 100% (41719/41719), done.
Looking for dependencies
Dependencies file not found, bailing out.
Looking for dependencies
Dependencies file not found, bailing out.
Done
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/lge/hammerheadcaf/cm.mk]]: "vendor/lge/hammerheadcaf/hammerheadcaf-vendor.mk" does not exist. Останов.
** Don't have a product spec for: 'cm_hammerheadcaf'
** Do you have the right repo manifest?
then open
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_lge_hammerheadcaf" path="device/lge/hammerheadcaf" remote="github" />
<project name="CyanogenMod/android_kernel_lge_hammerhead" path="kernel/lge/hammerhead" remote="github" revision="cm-12.1-caf" />
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" />
</manifest>
and add this
https://github.com/TheMuppets/proprietary_vendor_lge/tree/cm-12.1
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_lge_hammerheadcaf" path="device/lge/hammerheadcaf" remote="github" />
<project name="TheMuppets/proprietary_vendor_lge" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_kernel_lge_hammerhead" path="kernel/lge/hammerhead" remote="github" revision="cm-12.1-caf" />
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" />
</manifest>
and again repo sync -j5
right ? or need something else to fix for a good build? if need,please show me example ...
thx.
I think so right
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_lge_hammerheadcaf" path="device/lge/hammerheadcaf" remote="github" />
<project name="CyanogenMod/android_kernel_lge_hammerhead" path="kernel/lge/hammerhead" remote="github" revision="cm-12.1-caf" />
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" />
<project name="myfluxi/proprietary_vendor_lge" path="vendor/lge" remote="github" revision="cm-12.1" />
</manifest>
not build
Code:
target SharedLib: libRSDriver (/home/garynych/cm12.1/out/target/product/hammerheadcaf/obj/SHARED_LIBRARIES/libRSDriver_intermediates/LINKED/libRSDriver.so)
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/arm-linux-androideabi/bin/ld: error: /home/garynych/cm12.1/out/target/product/hammerheadcaf/obj/SHARED_LIBRARIES/libRSDriver_intermediates/driver/rsdAllocation.o: file is empty
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/arm-linux-androideabi/bin/ld: error: /home/garynych/cm12.1/out/target/product/hammerheadcaf/obj/SHARED_LIBRARIES/libRSDriver_intermediates/driver/rsdBcc.o: file is empty
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/arm-linux-androideabi/bin/ld: error: /home/garynych/cm12.1/out/target/product/hammerheadcaf/obj/SHARED_LIBRARIES/libRSDriver_intermediates/driver/rsdCore.o: file is empty
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/arm-linux-androideabi/bin/ld: error: /home/garynych/cm12.1/out/target/product/hammerheadcaf/obj/SHARED_LIBRARIES/libRSDriver_intermediates/driver/rsdElement.o: file is empty
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/arm-linux-androideabi/bin/ld: error: /home/garynych/cm12.1/out/target/product/hammerheadcaf/obj/SHARED_LIBRARIES/libRSDriver_intermediates/driver/rsdFrameBuffer.o: file is empty
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/arm-linux-androideabi/bin/ld: error: /home/garynych/cm12.1/out/target/product/hammerheadcaf/obj/SHARED_LIBRARIES/libRSDriver_intermediates/driver/rsdFrameBufferObj.o: file is empty
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/arm-linux-androideabi/bin/ld: error: /home/garynych/cm12.1/out/target/product/hammerheadcaf/obj/SHARED_LIBRARIES/libRSDriver_intermediates/driver/rsdGL.o: file is empty
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/arm-linux-androideabi/bin/ld: error: /home/garynych/cm12.1/out/target/product/hammerheadcaf/obj/SHARED_LIBRARIES/libRSDriver_intermediates/driver/rsdMesh.o: file is empty
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/arm-linux-androideabi/bin/ld: error: /home/garynych/cm12.1/out/target/product/hammerheadcaf/obj/SHARED_LIBRARIES/libRSDriver_intermediates/driver/rsdMeshObj.o: file is empty
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/arm-linux-androideabi/bin/ld: error: /home/garynych/cm12.1/out/target/product/hammerheadcaf/obj/SHARED_LIBRARIES/libRSDriver_intermediates/driver/rsdPath.o: file is empty
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/arm-linux-androideabi/bin/ld: error: /home/garynych/cm12.1/out/target/product/hammerheadcaf/obj/SHARED_LIBRARIES/libRSDriver_intermediates/driver/rsdProgram.o: file is empty
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/arm-linux-androideabi/bin/ld: error: /home/garynych/cm12.1/out/target/product/hammerheadcaf/obj/SHARED_LIBRARIES/libRSDriver_intermediates/driver/rsdProgramRaster.o: file is empty
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/arm-linux-androideabi/bin/ld: error: /home/garynych/cm12.1/out/target/product/hammerheadcaf/obj/SHARED_LIBRARIES/libRSDriver_intermediates/driver/rsdProgramStore.o: file is empty
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/arm-linux-androideabi/bin/ld: error: /home/garynych/cm12.1/out/target/product/hammerheadcaf/obj/SHARED_LIBRARIES/libRSDriver_intermediates/driver/rsdRuntimeStubs.o: file is empty
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/arm-linux-androideabi/bin/ld: error: /home/garynych/cm12.1/out/target/product/hammerheadcaf/obj/SHARED_LIBRARIES/libRSDriver_intermediates/driver/rsdSampler.o: file is empty
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/arm-linux-androideabi/bin/ld: error: /home/garynych/cm12.1/out/target/product/hammerheadcaf/obj/SHARED_LIBRARIES/libRSDriver_intermediates/driver/rsdScriptGroup.o: file is empty
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/arm-linux-androideabi/bin/ld: error: /home/garynych/cm12.1/out/target/product/hammerheadcaf/obj/SHARED_LIBRARIES/libRSDriver_intermediates/driver/rsdShader.o: file is empty
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/arm-linux-androideabi/bin/ld: error: /home/garynych/cm12.1/out/target/product/hammerheadcaf/obj/SHARED_LIBRARIES/libRSDriver_intermediates/driver/rsdShaderCache.o: file is empty
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/arm-linux-androideabi/bin/ld: error: /home/garynych/cm12.1/out/target/product/hammerheadcaf/obj/SHARED_LIBRARIES/libRSDriver_intermediates/driver/rsdType.o: file is empty
prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/arm-linux-androideabi/bin/ld: error: /home/garynych/cm12.1/out/target/product/hammerheadcaf/obj/SHARED_LIBRARIES/libRSDriver_intermediates/driver/rsdVertexArray.o: file is empty
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [/home/garynych/cm12.1/out/target/product/hammerheadcaf/obj/SHARED_LIBRARIES/libRSDriver_intermediates/LINKED/libRSDriver.so] Ошибка 1
make: *** Ожидание завершения заданий...
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[email protected] ~/cm12.1 $
tell me what's wrong? how fix?
Delete the folder local_manifests in .repo and do the following:
$ . build/envsetup.sh
$ lunch -> and choose the number that matches with cm_hammerhead-userdebug
Wait for the roomservice.xml sync and when it's done open the file and add at the top: <project name="TheMuppets/proprietary_vendor_lge" path="vendor/lge" remote="github" revision="cm-12.1" />
$ repo sync
and
$ brunch hammerhead
Your roomservice needs to look like this:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="TheMuppets/proprietary_vendor_lge" path="vendor/lge" remote="github" revision="cm-12.1" />
<project name="CyanogenMod/android_device_lge_hammerhead" path="device/lge/hammerhead" remote="github" />
<project name="CyanogenMod/android_kernel_lge_hammerhead" path="kernel/lge/hammerhead" remote="github" />
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" />
</manifest>
Next time just do:
$ . build/envsetup.sh
$ breakfast hammerhead
$ brunch hammerhead
PS: WHIT THIS STEPS YOU'LL BUILD NON CAF. FOR CAF CHECK IN LUNCH MENU FOR IT
Be happy!
Cristiano Matos
how to build cm12.1 i`m know
me need build exactly CAF variant,but after 2h build is error
garynych said:
Cristiano Matos
how to build cm12.1 i`m know
me need build exactly CAF variant,but after 2h build is error
Click to expand...
Click to collapse
Which linux distro do you use?
garynych said:
Cristiano Matos
how to build cm12.1 i`m know
me need build exactly CAF variant,but after 2h build is error
Click to expand...
Click to collapse
You're a smart person may i presume. The answer lies in my post. Regards
Snoop05 said:
Which linux distro do you use?
Click to expand...
Click to collapse
mint 17.1 rebecca (x64)
Cristiano Matos said:
You're a smart person may i presume. The answer lies in my post. Regards
Click to expand...
Click to collapse
sorry,maybe that's the problem with online translator google
am try
1
Delete the folder local_manifests in .repo and do the following:
$ . build/envsetup.sh
$ lunch -> and choose the number that matches with cm_hammerhead-userdebug
Click to expand...
Click to collapse
yes
2
Wait for the roomservice.xml sync and when it's done open the file and add at the top: <project name="TheMuppets/proprietary_vendor_lge" path="vendor/lge" remote="github" revision="cm-12.1" />
$ repo sync
Click to expand...
Click to collapse
yes
3
Next time just do:
$ . build/envsetup.sh
$ breakfast hammerhead
$ brunch hammerhead
Click to expand...
Click to collapse
$ . build/envsetup.sh
$ breakfast hammerheadcaf
$ brunch hammerheadcaf
no build
or
$ . build/envsetup.sh
$ lunch cm_hammerheadcaf-user
$ make -j3 otapackage
or
$ . build/envsetup.sh
$ lunch cm_hammerheadcaf-user
$ mka -j3 otapackage
no build
or
$ . build/envsetup.sh
$ lunch cm_hammerheadcaf-userdebug
$ mka -j3 otapackage
no build
all time ,this error
Which python version you use?
when my aosp buildbox is ready, i will try to build a cm12.1 caf... my build time is only 20min so that helps
Snoop05 said:
Which python version you use?
Click to expand...
Click to collapse
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2
now I did so
make clobber
ccache -C
and start build
already it's been 3 hours,I think must collect
Try it like this:
. build/envsetup.sh
lunch
39
breakfast hammerheadcaf
brunch hammerheadcaf
because i followed what Cristiano Matos sed and it works for me...
build.sh
Code:
#!/bin/bash
make clobber
repo sync -j16
source build/envsetup.sh
breakfast hammerheadcaf
mka bacon
cd $OUT
.repo/local_manifests/roomservice.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" />
<project name="CyanogenMod/android_device_lge_hammerhead" path="device/lge/hammerhead" remote="github" />
<project name="CyanogenMod/android_kernel_lge_hammerhead" path="kernel/lge/hammerhead" remote="github" revision="cm-12.1-caf" />
<project name="CyanogenMod/android_device_lge_hammerheadcaf" path="device/lge/hammerheadcaf" remote="github" />
<project name="TheMuppets/proprietary_vendor_lge" path="vendor/lge" remote="github" revision="cm-12.1"/>
</manifest>
This worked for me. If problem persist try to reinstall all dependencies (check cm build wiki), gcc, g++, python and openjdk
garynych said:
now I did so
make clobber
ccache -C
and start build
already it's been 3 hours,I think must collect
Click to expand...
Click to collapse
this help me
build completed successfully
to everyone who helped,thank you
I'm happy

Categories

Resources