I have the L90, d415 variant. Headphone volume is awful so after some research I found the correct procedure and lines to mod in mixer_paths.xml. Android limits the volume using this file. I have only modified paths-headphones-lite
This could damage your ears, equipment etc. I am not responsible for any damage to you or your device. Follow the instructions.
You will need: Root access, a good root browser (Root Browser confirmed working, others cause issues), custom recovery
1. Open Root browser and copy system/etc/mixer_paths.xml to somewhere on sdcard0, change permissions to rw-rw-r and reboot
2 Open copied file with text editor, scroll until you find this: <path name="headphones-lite">
<ctl name="SLIM RX1 MUX" value="AIF1_PB" />
<ctl name="SLIM RX2 MUX" value="AIF1_PB" />
<ctl name="SLIM_0_RX Channels" value="Two" />
<ctl name="RX1 MIX1 INP1" value="RX1" />
<ctl name="RX2 MIX1 INP1" value="RX2" />
<ctl name="CLASS_H_DSM MUX" value="RX_HPHL" />
<ctl name="RDAC3 MUX" value="DEM2" />
<ctl name="HPHL DAC Switch" value="1" />
<ctl name="HPHL Volume" value="20" />
<ctl name="HPHR Volume" value="20" />
<ctl name="RX1 Digital Volume" value="70" />
<ctl name="RX2 Digital Volume" value="70" />
</path>
Change HPHL HPHR RX1 and RX2 to the values shown above. Save changes
2. Open root browser, copy and paste edited file into /system/etc confirm overwrite.
3 IMMEDIATELY REBOOT INTO RECOVERY wipe cache, wipe dalvik
4 Reboot, you will have no audio, mics, etc. Immediately open root browser, go to system/etc/mixer_paths.xml and change permissions to rw-r-r 0644
5 IMMEDIATELY REBOOT INTO RECOVERY, wipe cache, wipe dalvik, reboot and enjoy
Correct me if im wrong but why would you need to copy the file then edit and replace it? Just edit the existing file and reboot. Im also sure that a cache and dalvik wipe isn't needed.
I attempted to do that, for whatever reasons I ran into serious mounting/remounting issues was not able to edit/save file and boot looped a couple times, have seen others with the same issue, this works no issues. Not sure if the dalvik wipe is truly necessary, my paranoia from the boot loop perhaps...
Does this work on Bluetooth volume? Also which variant of the l90 is this confirmed to work on? I have D415
Related
I think I do right thing for all those crazy "that he likes to change ROM at least 3 times a day."
Problem: but when I install TTom / using the file *. cab not being installed on PPC? And then whenever I have flashing PPC must re-install and rehabilitate the maps! How can I prevent this from happening?
Simple: I install on SD and flasho when a new ROM should only create device \ windows \ start menu \ programs connect to the executable file TT7
This procedure is part of a memory linked to vers. 6,030 and 6,032
you need is as follows:
cabpack 1.4 available for free here http://www.larshederer.homepage.t-online.de/english.htm
winrar
a text editor (notepad)
extract cabpack in c: \ cabpack
Take the CD of original tomtom
and look for the following file: setuptt6.cab
1) copy on the desktop and extract the contents in c: \ tt
you will find the following files:
_setup.xml
0000DATA.001
0TTTODAY.005
BTCOREIF.003
NAVIGATE ~ 1,000
TTTODA ~ 1,007
00CAB503.009
0GO1108M.008
0TTTODAY.006
BTSDKC ~ 1,004
TTN6BT ~ 1,002
what we want in reality and 'only the first ie' _setup.xml
2) apriamolo with a text editor (notepad)
try the following item / characteristic> <characteristic type="FileOperation"> <characteristic type = "%% CE1 \ Navigator"
and modifichiamolo in / characteristic> <characteristic type="FileOperation"> <characteristic type = "\ Memory Card \ Navigator"
let's go ahead and almost towards the end we find
<characteristic type="Shortcut"> <parm name = "Source" value = "%% CE1 \ Navigator \ TomTom Navigator.exe"
that change in
<characteristic type="Shortcut"> <parm name = "Source" value = "\ Memory Card \ Navigator \ TomTom Navigator.exe"
At this point save the file
hours we should rebuild the file cabinet
3) go in the c: \ cabpack and launch cabpack.exe
set as in photos and press ok
4) after you in the c: \ tt a file named tt6ext.cab copy it into your handheld and tappateci above. verrà asked you to where you install it but left the inside as the destination of your handheld. à ¨ if everything went well at the end of installation you will find memory card in a folder called "navigator"
5) here, create a folder called copiateci inside voices and the voices you want
6) initiated tomtom and cross your fingers
HOW TO INSTALL UPDATING 6.0.30 PROVIDED BY HTC DIRECTLY ON MEMORY CARD
attention that the file will also find CE2%%%% CE11 (unidici and not one) that must be left as they are
Entire contarne 2 should be amended at the beginning of a file and one towards the end
recreated the cab following the instructions in step 3), 4) and 6)
Hence sw free to make the cab
http://www.softpedia.com/get/File-managers/CabPack.shtml
here the contents of the file _setup.xml of tt7
-- <wap-provisioningdoc>
-- <characteristic Type="Install">
<parm name="InstallPhase" value="install" />
<parm name="SetupDLL" value="1" />
<parm name="ProcessorType" value="2577" />
<parm name="OSVersionMin" value="3.0" />
<parm name="OSVersionMax" value="100.0" />
<parm name="BuildNumberMin" value="0" />
<parm name="BuildNumberMax" value="-536870912" />
<parm name="AppName" value="TomTom Navigator" />
<parm name="NumDirs" value="5" />
<parm name="NumFiles" value="6" />
<parm name="NumRegKeys" value="0" />
<parm name="NumRegVals" value="0" />
<parm name="NumShortcuts" value="1" />
</ characteristic>
-- <characteristic Type="FileOperation">
-- <characteristic Type="\Intern geheugen\Navigator" translation="install">
<characteristic type="MakeDir" />
-- <characteristic Type="TomTom Navigator.exe" translation="install">
-- <characteristic Type="Extract">
<parm name="Source" value="TOMTOM~1.001" />
<parm name="NoDateCheck" />
<parm name="WarnIfSkip" />
</ characteristic>
</ characteristic>
-- <characteristic Type="data.chk" translation="install">
-- <characteristic Type="Extract">
<parm name="Source" value="0000data.002" />
<parm name="NoDateCheck" />
<parm name="WarnIfSkip" />
</ characteristic>
</ characteristic>
</ characteristic>
-- <characteristic Type="\Windows" translation="install">
<characteristic type="MakeDir" />
-- <characteristic Type="ttn6bt2003.dll" translation="install">
-- <characteristic Type="Extract">
<parm name="Source" value="TTN6BT~1.003" />
<parm name="NoDateCheck" />
<parm name="WarnIfSkip" />
</ characteristic>
</ characteristic>
-- <characteristic Type="BtCoreIf.dll" translation="install">
-- <characteristic Type="Extract">
<parm name="Source" value="BtCoreIf.004" />
<parm name="NoOverwriteIfNewer" />
<parm name="Shared" />
</ characteristic>
</ characteristic>
-- <characteristic Type="BtSdkCE30.dll" translation="install">
-- <characteristic Type="Extract">
<parm name="Source" value="BTSDKC~1.005" />
<parm name="NoOverwriteIfNewer" />
<parm name="Shared" />
</ characteristic>
</ characteristic>
</ characteristic>
-- <characteristic Type="\TomTom" translation="install">
<characteristic type="MakeDir" />
-- <characteristic Type="TTToday.dll" translation="install">
-- <characteristic Type="Extract">
<parm name="Source" value="0TTToday.006" />
<parm name="NoDateCheck" />
<parm name="WarnIfSkip" />
</ characteristic>
</ characteristic>
</ characteristic>
-- <characteristic Type="%CE11%" translation="install">
<characteristic type="MakeDir" />
-- <characteristic Type="TomTom Navigator.lnk" translation="install">
-- <characteristic Type="Shortcut">
<parm name="Source" value="\Intern geheugen\Navigator\TomTom Navigator.exe" translation="install" />
</ characteristic>
</ characteristic>
</ characteristic>
</ characteristic>
<characteristic type="Registry" />
</ wap-provisioningdoc>
At this point I / we lack a good (not like me) that individuals that values change for installation on sd and that maybe seats somewhere in the file tt7.cab version "installation on sd"
For me to change the values are
-- <characteristic Type="\Intern geheugen\Navigator" translation="install">
in
-- <characteristic Type="Scheda of memoria\Intern geheugen\Navigator" translation="install">
here I have doubts
-- <characteristic Type="\Windows" translation="install">
and here too
<parm name="Source" value="\Intern geheugen\Navigator\TomTom Navigator.exe" translation="install" />
Waiting for a good
EXCUSE MY BAD ENGLISH
Footnotes Please?
that great interest around the subject!
is a problem only for me?
Hi folks.
I need to set up a number of HTC Wings / S730 phones over Rapiconfig,
Im using a small bat file to control the process.
I first enable these registry and policy values:
<wap-provisioningdoc>
<characteristic type="Registry">
<characteristic type="HKLM\Security\Policies\Policies">
<parm name="00001001" value="1" datatype="integer"/>
<parm name="00001005" value="40" datatype="integer"/>
<parm name="00001017" value="144" datatype="integer"/>
<parm name="0000101a" value="1" datatype="integer"/>
<parm name="0000101b" value="1" datatype="integer" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
Click to expand...
Click to collapse
And:
<wap-provisioningdoc>
<characteristic type="SecurityPolicy">
<!-- Disallow unsigned apps -->
<parm name="4102" value="0"/>
<!-- Prompt -->
<parm name="4122" value="0"/>
<!-- 2-tier mode -->
<parm name="4123" value="0"/>
</characteristic>
</wap-provisioningdoc>
Click to expand...
Click to collapse
RapiConfigOut.xml verifies that these values are written.
Then I copy a signed cab file to the device with this command:
cecopy.exe some.cab dev:\
Click to expand...
Click to collapse
But when I try to run it with
prun some.cab
Click to expand...
Click to collapse
I get this error message:
ERROR: CreateProcess failed with Errorcode = -2146893818
- Ugyldig signatur.
Click to expand...
Click to collapse
The last part translates to "Invalid signature"
The cab runs fine when opened on the phone directly, it only fails when using prun.exe
And this happens with any cab file, even signed cabs from google maps..
I have not tested another phone, but in an emulator, everythong runs fine
Anyone got the same problem, or have I forgot some registrysetting anywhere?
Thanks
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.
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??
This Mod is designed to increase the limit output volume of your Galaxy S4 i9506.
How to install:
1- Download the file of this post.
2- Download Root Browser in your S4 (need Root)
3- Open with Root Browser : System / etc / snd_soc_msm , place the file that you have downloaded here (and replace the existing file)
4- Set parameters to rw-r-r (permissions)
5- Finally, restart your device and... ready!
thanks to the user Cortisan to prepare our mod version. :good:
Tell me if it doesn´t work for you.
I ended up with Android OS upgrade "opening programs" and nothing happens... nandroid restore now.
[email protected] said:
I ended up with Android OS upgrade "opening programs" and nothing happens... nandroid restore now.
Click to expand...
Click to collapse
it should work for you. what version of Android have you got?
do you allow the permissions correctly?
pablogalanmusic said:
This Mod is designed to increase the limit output volume of your Galaxy S4 i9506.
How to install:
1- Download the file of this post.
2- Download Root Browser in your S4 (need Root)
3- Open with Root Browser : System / etc / snd_soc_msm , place the file that you have downloaded here (and replace the existing file)
4- Set parameters to rw-r-r (permissions)
5- Finally, restart your device and... ready!
thanks to the user Cortisan to prepare our mod version. :good:
Tell me if it doesn´t work for you.
Click to expand...
Click to collapse
don't work, I have needed to reinstall the rom and applications
Does it work for someone and does this work with the CM12 ROM's?
Doesn`t work on CM12 and had to restore backup. Useless thread. Using still Viper4Android.
Thanks, I'm going to try that then
kornelius1982 said:
Doesn`t work on CM12 and had to restore backup. Useless thread. Using still Viper4Android.
Click to expand...
Click to collapse
OMG, you were not joking, Viper4Android f**king rocks, I didn't know my phone was capable of such high quality audio even at an higher output (headphones), thank you so much for the suggestion
Can we do something to use it on lollipop?
You can use this diff on CM (/system/etc/mixer_paths.xml). The example below lowers from 84db(?) to 72.
Code:
--- mixer_paths-84.xml
+++ mixer_paths.xml
@@ -544,7 +544,7 @@
<path name="speaker">
<path name="spk" />
- <ctl name="RX7 Digital Volume" value="84" />
+ <ctl name="RX7 Digital Volume" value="72" />
<ctl name="SPK DRV Volume" value="7" />
<ctl name="COMP0 Switch" value="1" />
</path>
Optionally, a companion init.d script to patch the latest version after rom update.
Code:
#!/system/bin/sh
# Patching mixer_paths.xml (changing volume)
if [ ! -e /system/etc/.mixer_paths.xml_is_patched ]; then
mount -o remount,rw /system
cd /system/etc
patch mixer_paths.xml < /data/local/bin/mixer_paths.patch
if [ $? == 0 ]; then
touch .mixer_paths.xml_is_patched
else
touch .mixer_paths.xml_is_patched
touch .mixer_paths.xml_patching_error
fi
mount -o remount,ro /system
fi