[Proposal][WIP] MIUI Rom (Based upon CM7 FreeXperia)

MIUI?

  • Yes

    Votes: 59 92.2%
  • No

    Votes: 5 7.8%

  • Total voters
    64

XperiaPlayer

Senior Member
Jul 26, 2011
449
116
0
Manchester
Hi,

I am proposing building a MIUI rom using FreeXperia CM7 FXP30 and the Desire HD MIUI (similar hardware) rom like they have been doing over in the X10 section.

In the X10 section they have been using a script to combine the nexus one version (similar hardware) of MIUI with the FreeXperia CM7 rom and then flashing a zip made with the script using CWM.

Script is here: http://forum.xda-developers.com/showthread.php?t=1294451

Looking at the script it looks straight-forward to work out and could be used on our devices. However I need a few things to get this to work:

A lib folder for our device. (Seems to contain stuff like libcamera.so .etc might be able to be derived from the offical rom.), Kernel Modules in .so format.

dhcpcd conf files, android.hardware xmls, and wpa_supplicant.conf/hostapd.conf for the xperia play. FStab and init scripts.

Once these files have been obtained (if the ones included dont work which is likely) then MIUI is likely to be created easily from this point.

If i create a flashable zip using this tool (using the already provided files) then would someone be brave enough to install/flash it?

Thanks for reading,
XperiaPlayer
 

XperiaPlayer

Senior Member
Jul 26, 2011
449
116
0
Manchester
I should have a test zip ready within an hour. Please note that I do not accept any responsibility if this breaks your phone. It shouldnt do as it isn't modifying the kernel or anything that can't be fixed by a Nandroid backup.

EDIT:

ALSO THIS IS GSM AND R800i ONLY!

ROM IS BUILT! However I dont know if it will work....
I found most of the files I needed in the CM7 folder so i copied and paste em. I now have a my_miui.zip

Instructions are:

NOT FOR THE FAINT HEARTED. MAY NOT WORK.

DISCLAIMER:
I DO NOT ACCEPT ANY RESPONSABILITY IN ANY WAY SHAPE OR FORM FOR ANY HARM MADE TO YOUR DEVICE. FLASHING THIS ZIP IS YOUR OWN CHOICE AND MAY NOT WORK. I SEE NO REASON FOR IT TO BREAK YOUR PHONE AS IT IS A UPDATE.ZIP.

MAKE SURE YOU HAVE A NANDROID BACKUP BEFORE DOING THE BELOW. I STRONGLY STREESS THIS.

Now :) Moving on...

Unlock Bootloader. Flash Latest CM7 Kernel. Install Latest CM7 using ClockWorkMod. DO the following:

1. Clear User Data.
2. Clear Davik Cache.
3. Clear Caches
4. Install zip from sdcard. Select XperiaPlayerMIUI.zip
5. Start your phone.
6. HOPE WE GET SOMEWHERE!!!!!

Download is here:
http://www.mediafire.com/?qxmn34b7cpcbgcp

Enjoy! There be dragons!
 
Last edited:

XperiaPlayer

Senior Member
Jul 26, 2011
449
116
0
Manchester
Hmm. I decided to try it for myself. Curiosity was too much for me!

Beware it takes a while on the "Flashing rom." part.

I get the FreXperia project logo. (Kernel Booting) and the devices switches off...

This looks like it may be a problem with the Kernel modules, or actually going to start up the android system.

Basically a boot loop. But it doesn't go further than the bootloader/FreeXperia logo.

Could do with someone like Blagus to take a look at this !
 
Last edited:

XperiaPlayer

Senior Member
Jul 26, 2011
449
116
0
Manchester
Yeh thats a thought. I am now trying it with the Nexus One MIUI files and using the CWM2 option in the script.

We need to get the attention of FXP somehow.

EDIT:

This time it doesnt advance futher than the FreeXperiaProject logo. No boot loops or anything just stays on that screen. Hmm
 
Last edited:

Logseman

Senior Member
Nov 22, 2010
2,513
650
0
32
Tenerife
logseman.svbtle.com
Given it switches off/stops working after starting to boot the kernel, I'd say it is a non functional kernel issue. I would ask Blagus or Doom Lord. Can you run a detailed debug?

Btw, nice job, regardless of the outcome.
 
Last edited:

XperiaPlayer

Senior Member
Jul 26, 2011
449
116
0
Manchester
It only seems to do bootloop if i select the CWM option not the CWM2 option. THis is using the Desire HD MIUI Files AND the Nexus One MIUI Files.

PLus how do i run a detailed debug from the bootloader up? Since there is no adb until the actual system.
 

festa20

Senior Member
Jan 6, 2011
1,828
837
133
30
Barnsley
I tried this for neo earlier today, using DHD bootloop too.... With cwm2

Edit: I think it's because x10 has different snapdragon processor and adreno files so the script cannot make it boot...
If someone was to configure what files were different and needed then edit the script then it would be easy...
Im no serious developer so im gonna look around and see what I can do, I'll keep you posted if I manage it

Regards

Sent from my MT15i using XDA App
 
Last edited:

XperiaPlayer

Senior Member
Jul 26, 2011
449
116
0
Manchester
Thats what I thought. The actual hardware is very similar to the Desire HD. (Same Snapdragon and Adreno). I rekon it could be the init scripts. Going to have a poke around now and see what I can change :). Hehe this is fun to say I have no clue with Android Development.

EDIT
------------------

Second build fired up. Won't boot :(.
Copied and repalced ALL of the files from the CM7 update zip into the temp folder within the script.

My first theory is that it is the build.prop.....

##### Merging of the /util/data/semc_kernel_time_stamp.prop file #####
ro.build.date=Fri May 20 11:00:00 GMT 2011
ro.build.date.utc=1305889200
ro.build.user=builder
ro.build.host=ruijun-desktop

##### Final patch of properties #####
ro.semc.product.model=R800i
ro.build.product=R800i
ro.build.description=R800i-user 2.3.3 3.0.1.G.0.75 tB_P test-keys

ro.product.brand=SEMC
ro.product.name=Play
ro.product.device=R800i
ro.build.tags=test-keys
ro.build.fingerprint=SEMC/R800i_1247-6199/R800i:2.3.3/3.0.1.A.0.145/bn_p:user/release-keys


######################## Customized property values #########################

ro.semc.version.cust=1241-1846
ro.semc.version.cust_revision=R1C

#########################################################################


ro.config.ringtone=sony_ericsson.ogg
ro.config.notification_sound=notification.ogg
ro.config.alarm_alert=alarm.ogg
ro.semc.content.number=PA1

################# Updating of the SW Version #################
ro.semc.version.fs_revision=3.0.1.G.0.75
ro.build.id=MIUI
ro.build.display.id=XperiaPlayer Test MIUI

##### Values from product package metadata #####
ro.product.model=R800i
ro.semc.ms_type_id=AAD-3880056-BV
ro.semc.version.fs=WORLD-1-4-8
ro.semc.product.name=R800i
ro.semc.product.device=R800i

# begin build properties
# autogenerated by buildinfo.sh
#ro.build.id=3.0.1.G.0.75
#ro.build.display.id=3.0.1.G.0.75
ro.build.version.incremental=1.10.8
ro.build.version.sdk=10
ro.build.version.codename=REL
ro.build.version.release=2.3.7
#ro.build.date=Wed Jul 13 19:17:43 CEST 2011
#ro.build.date.utc=1310577463
ro.build.type=user
#ro.build.user=hudsonslave
#ro.build.host=seldlx1579
#ro.build.tags=test-keys
#ro.product.model=rachael
#ro.product.brand=Sony-Ericsson
#ro.product.name=rachael
#ro.product.device=rachael
ro.product.board=zeus
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=Sony Ericsson
ro.product.locale.language=en
ro.product.locale.region=GB
ro.wifi.channels=
ro.board.platform=msm7x30
# ro.build.product is obsolete; use ro.product.device
#ro.build.product=rachael
# Do not try to parse ro.build.description or .fingerprint
#ro.build.description=rachael-user 2.3.3 3.0.1.G.0.75 tB_P test-keys
#ro.build.fingerprint=Sony-Ericsson/rachael/rachael:2.3.3/3.0.1.G.0.75/tB_P:user/test-keys
# end build properties
#
# system.prop for rachael
#

keyguard.no_require_sim=true
rild.libpath=/system/lib/libril-qc-1.so
rild.libargs=-d/dev/smd0
ro.ril.hsxpa=1
ro.ril.gprsclass=10
ro.telephony.default_network=0
ro.telephony.call_ring.multiple=false
ro.telephony.ril_class=semc
wifi.interface=eth0
wifi.supplicant_scan_interval=15
ro.sf.lcd_density=240
keyguard.no_require_sim=true
ro.com.google.locationfeatures=1
dalvik.vm.dexopt-flags=m=y
dalvik.vm.heapsize=32m
dalvik.vm.dexopt-data-only=1
dalvik.vm.lockprof.threshold=500
dalvik.vm.execution-mode=int:jit
dalvik.vm.checkjni=false
ro.opengles.version=131072
ro.compcache.default=0
ro.product.locale.language=en
ro.product.locale.region=US
BUILD_UTC_DATE=0
ro.rommanager.developerid=cyanogenmod
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.com.google.clientidbase=android-google
ro.com.android.wifi-watchlist=GoogleGuest
ro.setupwizard.enterprise_mode=1
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=false
ro.config.ringtone=Playa.ogg
ro.config.notification_sound=regulus.ogg
ro.config.alarm_alert=Alarm_Beep_03.ogg
ro.modversion=CyanogenMod-7.1.0-XperiaPlay-R800i-KANG
ro.setupwizard.mode=OPTIONAL
dalvik.vm.dexopt-flags=m=y
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
Can anyone notice anything wrong or missed out in that?
 
Last edited:

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,196
39,697
263
Pune
use adreno205 libs

also which android version is miui, u trying, based on? 2.3.3/2.3.4/2.3.5+ cause the ramdisk in kernel will have to correspond else device wont boot... miui also has another BIG issue of requiring VM_SPLIT addresses for some devices.... in that case u will need to make a new kernel...
 
  • Like
Reactions: isotonik

XperiaPlayer

Senior Member
Jul 26, 2011
449
116
0
Manchester
Ok,

So from what you see I need to make sure that the android version is the same when compiling and where do I get these adreno205 libs from?

Thanks for helping though.

EDIT:

Version 2.3.5 For Android. Isn't the latest CM7 2.4.7? (This could be the first issue)
 

DooMLoRD

Inactive Recognized Developer
Jul 27, 2010
13,196
39,697
263
Pune
Ok,

So from what you see I need to make sure that the android version is the same when compiling and where do I get these adreno205 libs from?

Thanks for helping though.

EDIT:

Version 2.3.5 For Android. Isn't the latest CM7 2.4.7? (This could be the first issue)
u can try kernels with 2.3.4 ramdisk or FXP kernel...
 

XperiaPlayer

Senior Member
Jul 26, 2011
449
116
0
Manchester
Message to above: Yes i am using them kernals. Would your kernal work?

----------


Thanks for your help. Ive looked at the script in the X10 Forum and It needs the following files:

/usr folder (ICU, keychars, keylayout, share, srec)
MC Folder (FlashDevice.smali, TorchSwitch.smali)
/system/bin -
atfwd-daemon
debuggerd
dhcpd
dnsmasq
drmioserver
drmserver
hostapd
kexec-tool
klogrouter
make_ext4s
mtp
netd
rild
sh
startupflag
suntrolkac
vold
wpa_supplicant

/system/etc

init.es209ra.bt
fstab
01_qcomm_omx.cfg
wifi folder
permissions folder
dhcpd folder

/system/lib

modules ->
wifi.ko
data.patch.hw2_0.bin
athwlan.bin.z77
libandroid_runtime.so
libc.so
libcamera.so
libcamera_client.so
libcamerasemc.so
libcameraservice.so
libdrmframework.so
libhardware_legacy.so
libidd.so
libiprouteutil.so
libloc_api.so
libnetutils.so
libopencore_common.so
libopencore_net_support.so
libopencore_player.so
libpdapi.so
libpdsm_atl.so
libping_mdm.so
libprotobuf-c.so
libqcomm_omx.so
libreference-ril.so
libroparsertest.so
libstagefrighthw.so
libwebcore.so

/system/xbin

oprofiled

/xrec - ONLY THINK THIS IS FOR XRECOVERY

/xrec/bin

chargemon
charger
su

/xrec/xbin

sh
xrecovery
The meat of the script seems to be this bit:

7za.exe e services.jar classes.dex
java -jar baksmali.jar -o mi/ classes.dex
copy /y Native*.smali mi\com\android\server\
del classes.dex
java -Xmx512M -jar smali.jar mi/ -o classes.dex
ren services.jar services.zip
7za.exe a services.zip classes.dex
ren services.zip services.jar
cd.. >nul
move /y temp\services.jar miui\framework\
del temp\services.jar
del temp\classes.dex
rmdir /s /q temp\mi
ren miui system
mkdir miui
copy /y temp\my_miui.zip \template\
call temp\7za.exe a my_miui.zip system
rmdir /s /q system
call temp\7za.exe d my_miui.zip system\etc\dhcpcd
call temp\7za.exe d my_miui.zip system\etc\wifi
call temp\7za.exe d my_miui.zip system\lib\modules
cd temp\patch\
xcopy /e system \template\system\
cd..
cd..
call temp\7za.exe a my_miui.zip system
call temp\7za.exe d my_miui.zip META-INF\com\google\android\update-script
rmdir /s /q system
ren my_miui.zip my_miui_cwm_luke_kernel.zip
cls
I have also manually created my own version (following a manual guide here on xda and modaco). However I cant flash it :(. I always get Error 6 when trying to install the zip using CWM.

The update-script has unix file endings and is correct. (Contents below). And the zip is signed and created using 7zip (Windows 7).

show_progress 0.500000 0
format CACHE:
format DATA:
format SYSTEM:
copy_dir PACKAGE:system SYSTEM:
symlink dumpstate SYSTEM:bin/dumpcrash
symlink busybox SYSTEM:xbin/[
symlink busybox SYSTEM:xbin/[[
symlink busybox SYSTEM:xbin/arp
symlink busybox SYSTEM:xbin/ash
symlink busybox SYSTEM:xbin/awk
symlink busybox SYSTEM:xbin/basename
symlink busybox SYSTEM:xbin/bbconfig
symlink busybox SYSTEM:xbin/brctl
symlink busybox SYSTEM:xbin/bunzip2
symlink busybox SYSTEM:xbin/bzcat
symlink busybox SYSTEM:xbin/bzip2
symlink busybox SYSTEM:xbin/cal
symlink busybox SYSTEM:xbin/catv
symlink busybox SYSTEM:xbin/chgrp
symlink busybox SYSTEM:xbin/chmod
symlink busybox SYSTEM:xbin/chown
symlink busybox SYSTEM:xbin/cksum
symlink busybox SYSTEM:xbin/clear
symlink busybox SYSTEM:xbin/cmp
symlink busybox SYSTEM:xbin/cp
symlink busybox SYSTEM:xbin/cpio
symlink busybox SYSTEM:xbin/cut
symlink busybox SYSTEM:xbin/date
symlink busybox SYSTEM:xbin/dc
symlink busybox SYSTEM:xbin/dd
symlink busybox SYSTEM:xbin/depmod
symlink busybox SYSTEM:xbin/devmem
symlink busybox SYSTEM:xbin/df
symlink busybox SYSTEM:xbin/diff
symlink busybox SYSTEM:xbin/dirname
symlink busybox SYSTEM:xbin/dmesg
symlink busybox SYSTEM:xbin/dnsd
symlink busybox SYSTEM:xbin/dos2unix
symlink busybox SYSTEM:xbin/du
symlink busybox SYSTEM:xbin/echo
symlink busybox SYSTEM:xbin/ed
symlink busybox SYSTEM:xbin/egrep
symlink busybox SYSTEM:xbin/env
symlink busybox SYSTEM:xbin/expr
symlink busybox SYSTEM:xbin/false
symlink busybox SYSTEM:xbin/fdisk
symlink busybox SYSTEM:xbin/fgrep
symlink busybox SYSTEM:xbin/find
symlink busybox SYSTEM:xbin/fold
symlink busybox SYSTEM:xbin/free
symlink busybox SYSTEM:xbin/freeramdisk
symlink busybox SYSTEM:xbin/fuser
symlink busybox SYSTEM:xbin/getopt
symlink busybox SYSTEM:xbin/grep
symlink busybox SYSTEM:xbin/gunzip
symlink busybox SYSTEM:xbin/gzip
symlink busybox SYSTEM:xbin/head
symlink busybox SYSTEM:xbin/hexdump
symlink busybox SYSTEM:xbin/id
symlink busybox SYSTEM:xbin/ifconfig
symlink busybox SYSTEM:xbin/insmod
symlink busybox SYSTEM:xbin/install
symlink busybox SYSTEM:xbin/ip
symlink busybox SYSTEM:xbin/kill
symlink busybox SYSTEM:xbin/killall
symlink busybox SYSTEM:xbin/killall5
symlink busybox SYSTEM:xbin/length
symlink busybox SYSTEM:xbin/less
symlink busybox SYSTEM:xbin/ln
symlink busybox SYSTEM:xbin/losetup
symlink busybox SYSTEM:xbin/ls
symlink busybox SYSTEM:xbin/lsmod
symlink busybox SYSTEM:xbin/lspci
symlink busybox SYSTEM:xbin/lsusb
symlink busybox SYSTEM:xbin/lzop
symlink busybox SYSTEM:xbin/lzopcat
symlink busybox SYSTEM:xbin/md5sum
symlink busybox SYSTEM:xbin/mkdir
symlink busybox SYSTEM:xbin/mke2fs
symlink busybox SYSTEM:xbin/mkfifo
symlink busybox SYSTEM:xbin/mkfs.ext2
symlink busybox SYSTEM:xbin/mknod
symlink busybox SYSTEM:xbin/mkswap
symlink busybox SYSTEM:xbin/mktemp
symlink busybox SYSTEM:xbin/modprobe
symlink busybox SYSTEM:xbin/more
symlink busybox SYSTEM:xbin/mount
symlink busybox SYSTEM:xbin/mountpoint
symlink busybox SYSTEM:xbin/mv
symlink busybox SYSTEM:xbin/netstat
symlink busybox SYSTEM:xbin/nice
symlink busybox SYSTEM:xbin/nohup
symlink busybox SYSTEM:xbin/nslookup
symlink busybox SYSTEM:xbin/ntpd
symlink busybox SYSTEM:xbin/od
symlink busybox SYSTEM:xbin/patch
symlink busybox SYSTEM:xbin/pgrep
symlink busybox SYSTEM:xbin/pidof
symlink busybox SYSTEM:xbin/ping
symlink busybox SYSTEM:xbin/pkill
symlink busybox SYSTEM:xbin/printenv
symlink busybox SYSTEM:xbin/printf
symlink busybox SYSTEM:xbin/ps
symlink busybox SYSTEM:xbin/pwd
symlink busybox SYSTEM:xbin/rdev
symlink busybox SYSTEM:xbin/readlink
symlink busybox SYSTEM:xbin/realpath
symlink busybox SYSTEM:xbin/renice
symlink busybox SYSTEM:xbin/reset
symlink busybox SYSTEM:xbin/rm
symlink busybox SYSTEM:xbin/rmdir
symlink busybox SYSTEM:xbin/rmmod
symlink busybox SYSTEM:xbin/route
symlink busybox SYSTEM:xbin/run-parts
symlink busybox SYSTEM:xbin/sed
symlink busybox SYSTEM:xbin/seq
symlink busybox SYSTEM:xbin/setsid
symlink busybox SYSTEM:xbin/sh
symlink busybox SYSTEM:xbin/sha1sum
symlink busybox SYSTEM:xbin/sha256sum
symlink busybox SYSTEM:xbin/sha512sum
symlink busybox SYSTEM:xbin/sleep
symlink busybox SYSTEM:xbin/sort
symlink busybox SYSTEM:xbin/split
symlink busybox SYSTEM:xbin/stat
symlink busybox SYSTEM:xbin/strings
symlink busybox SYSTEM:xbin/stty
symlink busybox SYSTEM:xbin/swapoff
symlink busybox SYSTEM:xbin/swapon
symlink busybox SYSTEM:xbin/sync
symlink busybox SYSTEM:xbin/sysctl
symlink busybox SYSTEM:xbin/tac
symlink busybox SYSTEM:xbin/tail
symlink busybox SYSTEM:xbin/tar
symlink busybox SYSTEM:xbin/tee
symlink busybox SYSTEM:xbin/telnet
symlink busybox SYSTEM:xbin/test
symlink busybox SYSTEM:xbin/tftp
symlink busybox SYSTEM:xbin/time
symlink busybox SYSTEM:xbin/top
symlink busybox SYSTEM:xbin/touch
symlink busybox SYSTEM:xbin/tr
symlink busybox SYSTEM:xbin/traceroute
symlink busybox SYSTEM:xbin/true
symlink busybox SYSTEM:xbin/tty
symlink busybox SYSTEM:xbin/tune2fs
symlink busybox SYSTEM:xbin/umount
symlink busybox SYSTEM:xbin/uname
symlink busybox SYSTEM:xbin/uniq
symlink busybox SYSTEM:xbin/unix2dos
symlink busybox SYSTEM:xbin/unlzop
symlink busybox SYSTEM:xbin/unzip
symlink busybox SYSTEM:xbin/uptime
symlink busybox SYSTEM:xbin/usleep
symlink busybox SYSTEM:xbin/uudecode
symlink busybox SYSTEM:xbin/uuencode
symlink busybox SYSTEM:xbin/vi
symlink busybox SYSTEM:xbin/watch
symlink busybox SYSTEM:xbin/wc
symlink busybox SYSTEM:xbin/wget
symlink busybox SYSTEM:xbin/which
symlink busybox SYSTEM:xbin/whoami
symlink busybox SYSTEM:xbin/xargs
symlink busybox SYSTEM:xbin/yes
symlink busybox SYSTEM:xbin/zcat
symlink toolbox SYSTEM:bin/cmp
symlink toolbox SYSTEM:bin/date
symlink toolbox SYSTEM:bin/dd
symlink toolbox SYSTEM:bin/dmesg
symlink toolbox SYSTEM:bin/getevent
symlink toolbox SYSTEM:bin/getprop
symlink toolbox SYSTEM:bin/hd
symlink toolbox SYSTEM:bin/id
symlink toolbox SYSTEM:bin/ifconfig
symlink toolbox SYSTEM:bin/iftop
symlink toolbox SYSTEM:bin/insmod
symlink toolbox SYSTEM:bin/ioctl
symlink toolbox SYSTEM:bin/ionice
symlink toolbox SYSTEM:bin/kill
symlink toolbox SYSTEM:bin/log
symlink toolbox SYSTEM:bin/lsmod
symlink toolbox SYSTEM:bin/mkdir
symlink toolbox SYSTEM:bin/nandread
symlink toolbox SYSTEM:bin/netstat
symlink toolbox SYSTEM:bin/newfs_msdos
symlink toolbox SYSTEM:bin/notify
symlink toolbox SYSTEM:bin/printenv
symlink toolbox SYSTEM:bin/ps
symlink toolbox SYSTEM:bin/reboot
symlink toolbox SYSTEM:bin/renice
symlink toolbox SYSTEM:bin/rmdir
symlink toolbox SYSTEM:bin/rmmod
symlink toolbox SYSTEM:bin/route
symlink toolbox SYSTEM:bin/schedtop
symlink toolbox SYSTEM:bin/sendevent
symlink toolbox SYSTEM:bin/setconsole
symlink toolbox SYSTEM:bin/setprop
symlink toolbox SYSTEM:bin/sleep
symlink toolbox SYSTEM:bin/smd
symlink toolbox SYSTEM:bin/start
symlink toolbox SYSTEM:bin/stop
symlink toolbox SYSTEM:bin/sync
symlink toolbox SYSTEM:bin/top
symlink toolbox SYSTEM:bin/uptime
symlink toolbox SYSTEM:bin/vmstat
symlink toolbox SYSTEM:bin/watchprops
symlink toolbox SYSTEM:bin/wipe
symlink iwmulticall SYSTEM:xbin/iwconfig
symlink iwmulticall SYSTEM:xbin/iwgetid
symlink iwmulticall SYSTEM:xbin/iwlist
symlink iwmulticall SYSTEM:xbin/iwpriv
symlink iwmulticall SYSTEM:xbin/iwspy
set_perm_recursive 0 0 0755 0644 SYSTEM:
set_perm_recursive 0 2000 0755 0755 SYSTEM:bin
set_perm 0 3003 02750 SYSTEM:bin/netcfg
set_perm 0 3004 02755 SYSTEM:bin/ping
set_perm 0 2000 06750 SYSTEM:bin/run-as
set_perm_recursive 1002 1002 0755 0440 SYSTEM:etc/bluetooth
set_perm 0 0 0755 SYSTEM:etc/bluetooth
set_perm 1000 1000 0640 SYSTEM:etc/bluetooth/auto_pairing.conf
set_perm 3002 3002 0444 SYSTEM:etc/bluetooth/blacklist.conf
set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf
set_perm 1014 2000 0550 SYSTEM:etc/dhcpcd/dhcpcd-run-hooks
set_perm_recursive 0 2000 0755 0750 SYSTEM:etc/init.d
set_perm 0 0 0755 SYSTEM:etc/init.d
set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh
set_perm_recursive 0 0 0755 0555 SYSTEM:etc/ppp
set_perm_recursive 0 2000 0755 0755 SYSTEM:xbin
set_perm 0 0 06755 SYSTEM:xbin/apply_firewall
set_perm 0 0 06755 SYSTEM:xbin/apply_theme
set_perm 0 0 06755 SYSTEM:xbin/dumplog
set_perm 0 0 06755 SYSTEM:xbin/hcitool
set_perm 0 0 06755 SYSTEM:xbin/librank
set_perm 0 0 06755 SYSTEM:xbin/ota
set_perm 0 0 06755 SYSTEM:xbin/procmem
set_perm 0 0 06755 SYSTEM:xbin/procrank
set_perm 0 0 06755 SYSTEM:xbin/su
set_perm 0 0 04755 SYSTEM:recovery/sh
show_progress 0.200000 0
show_progress 0.200000 10
show_progress 0.100000 0
delete_recursive DATA:dalvik-cache
delete_recursive /sd-ext/dalvik-cache