daily pastebin goal
93%
SHARE
TWEET

Blu Studio M Hd infos and files

edneyhelene Jan 3rd, 2017 651 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Smartphone details:
  2.  
  3. Blu Studio M HD
  4. Mediatek 6580
  5. Mali 400
  6. 16gb rom
  7. 1gb ram
  8. Android 5.1 Lollipop
  9. Bootloader: Locked by defaul ( i unlocked it)
  10.  
  11.  
  12. Original mount points:
  13.  
  14.  
  15. ls -al /dev/block/platform/mtk-msdc.0/by-name
  16.  
  17.  
  18. 1|root@BLU_STUDIO_M_HD:/ #  ls -al /dev/block/platform/mtk-msdc.0/by-name
  19. lrwxrwxrwx root     root              2016-12-30 20:18 boot -> /dev/block/mmcblk0p7
  20. lrwxrwxrwx root     root              2016-12-30 20:18 cache -> /dev/block/mmcblk0p19
  21. lrwxrwxrwx root     root              2016-12-30 20:18 expdb -> /dev/block/mmcblk0p11
  22. lrwxrwxrwx root     root              2016-12-30 20:18 flashinfo -> /dev/block/mmcblk0p21
  23. lrwxrwxrwx root     root              2016-12-30 20:18 frp -> /dev/block/mmcblk0p12
  24. lrwxrwxrwx root     root              2016-12-30 20:18 keystore -> /dev/block/mmcblk0p17
  25. lrwxrwxrwx root     root              2016-12-30 20:18 lk -> /dev/block/mmcblk0p6
  26. lrwxrwxrwx root     root              2016-12-30 20:18 logo -> /dev/block/mmcblk0p10
  27. lrwxrwxrwx root     root              2016-12-30 20:18 metadata -> /dev/block/mmcblk0p14
  28. lrwxrwxrwx root     root              2016-12-30 20:18 nvdata -> /dev/block/mmcblk0p13
  29. lrwxrwxrwx root     root              2016-12-30 20:18 nvram -> /dev/block/mmcblk0p2
  30. lrwxrwxrwx root     root              2016-12-30 20:18 oemkeystore -> /dev/block/mmcblk0p15
  31. lrwxrwxrwx root     root              2016-12-30 20:18 para -> /dev/block/mmcblk0p9
  32. lrwxrwxrwx root     root              2016-12-30 20:18 proinfo -> /dev/block/mmcblk0p1
  33. lrwxrwxrwx root     root              2016-12-30 20:18 protect1 -> /dev/block/mmcblk0p3
  34. lrwxrwxrwx root     root              2016-12-30 20:18 protect2 -> /dev/block/mmcblk0p4
  35. lrwxrwxrwx root     root              2016-12-30 20:18 recovery -> /dev/block/mmcblk0p8
  36. lrwxrwxrwx root     root              2016-12-30 20:18 seccfg -> /dev/block/mmcblk0p5
  37. lrwxrwxrwx root     root              2016-12-30 20:18 secro -> /dev/block/mmcblk0p16
  38. lrwxrwxrwx root     root              2016-12-30 20:18 system -> /dev/block/mmcblk0p18
  39. lrwxrwxrwx root     root              2016-12-30 20:18 userdata -> /dev/block/mmcblk0p20
  40.  
  41. _______________________________________________________________________
  42.  
  43. Thats the build.prop from stock rom:
  44.  
  45.  
  46. # begin build properties
  47. # autogenerated by buildinfo.sh
  48. ro.build.id=S110L
  49. ro.build.version.incremental=1452435678
  50. ro.build.version.sdk=22
  51. ro.build.version.codename=REL
  52. ro.build.version.all_codenames=REL
  53. ro.build.version.release=5.1
  54. ro.build.version.security_patch=2016-04-01
  55. ro.build.version.base_os=
  56. ro.build.date=Wed May 11 18:51:17 CST 2016
  57. ro.build.date.utc=1462963877
  58. ro.build.type=user
  59. ro.build.user=
  60. ro.build.host=BIANYI-7
  61. ro.build.tags=release-keys
  62. ro.product.board=
  63. # ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,
  64. # use ro.product.cpu.abilist instead.
  65. ro.product.cpu.abi=armeabi-v7a
  66. ro.product.cpu.abi2=armeabi
  67. ro.product.cpu.abilist=armeabi-v7a,armeabi
  68. ro.product.cpu.abilist32=armeabi-v7a,armeabi
  69. ro.product.cpu.abilist64=
  70. ro.product.locale.language=en
  71. ro.product.locale.region=US
  72. ro.wifi.channels=
  73. ro.board.platform=mt6580
  74. # Do not try to parse description, fingerprint, or thumbprint
  75. ro.build.description=user 5.1 S110L 1452435678 release-keys
  76. ro.build.fingerprint=BLU/BLU_STUDIO_M_HD/BLU_STUDIO_M_HD:5.1/S110L/1452435678:user/release-keys
  77. ro.build.characteristics=default
  78. # end build properties
  79. #
  80. # from device/gionee/gionee6580_we_l/system.prop
  81. #
  82. #
  83. # system.prop for generic sdk
  84. #
  85.  
  86. rild.libpath=/system/lib/mtk-ril.so
  87. rild.libargs=-d /dev/ttyC0
  88.  
  89.  
  90. # MTK, Infinity, 20090720 {
  91. wifi.interface=wlan0
  92. # MTK, Infinity, 20090720 }
  93.  
  94. # MTK, mtk03034, 20101210 {
  95. ro.mediatek.wlan.wsc=1
  96. # MTK, mtk03034 20101210}
  97. # MTK, mtk03034, 20110318 {
  98. ro.mediatek.wlan.p2p=1
  99. # MTK, mtk03034 20110318}
  100.  
  101. # MTK, mtk03034, 20101213 {
  102. mediatek.wlan.ctia=0
  103. # MTK, mtk03034 20101213}
  104.  
  105.  
  106. #
  107. wifi.tethering.interface=ap0
  108. #
  109.  
  110. wifi.direct.interface=p2p0
  111. dalvik.vm.heapgrowthlimit=128m
  112. dalvik.vm.heapsize=256m
  113.  
  114. # USB MTP WHQL
  115. ro.sys.usb.mtp.whql.enable=0
  116.  
  117. # Power off opt in IPO
  118. sys.ipo.pwrdncap=2
  119.  
  120. ro.sys.usb.storage.type=mtp,mass_storage
  121.  
  122. # USB BICR function
  123. ro.sys.usb.bicr=no
  124.  
  125. # USB Charge only function
  126. ro.sys.usb.charging.only=yes
  127.  
  128. # audio
  129. ro.camera.sound.forced=0
  130. ro.audio.silent=0
  131.  
  132. ro.zygote.preload.enable=0
  133.  
  134. # temporary enables NAV bar (soft keys)
  135. #Gionee <Other> <wangmeng> <20150410> hide navigationbar.
  136. qemu.hw.mainkeys=1
  137.  
  138. ro.kernel.zio=38,108,105,16
  139. #ro.kernel.qemu=0
  140. #ro.kernel.qemu.gles=0
  141. ro.opengles.version=131072
  142. #ro.boot.selinux=disable
  143.  
  144. # Disable dirty region for Mali
  145. debug.hwui.render_dirty_regions=false
  146.  
  147. #Gionee <lihl><20150427> modify lcd dpi
  148. ro.sf.lcd_density=320
  149.  
  150. persist.sys.timezone=America/New_York
  151. gn.mmi.wcdma=yes
  152. gn.mmi.tdscdma=no
  153. gn.mmi.ltetdd=no
  154. gn.mmi.ltefdd=no
  155. gn.mmi.ltetddant=no
  156. gn.mmi.gps.coclock=yes
  157. gn.mmi.keytest.menu=no
  158. gn.mmi.keytest.app=yes
  159. gn.mmi.keytest.search=no
  160. gn.mmi.keytest.camera=no
  161. gn.mmi.keytest.hall=no
  162. gn.mmi.keytest.back=yes
  163. gn.mmi.keytest.home=yes
  164. gn.mmi.sensor.gyro=no
  165. gn.mmi.tp.cross=no
  166. gn.mmi.tp.ten=no
  167. gn.mmi.touch_pad=yes
  168. gn.mmi.mic2=no
  169. gn.mmi.receiver2=yes
  170. gn.mmi.dualtone=no
  171. gn.mmi.otg=yes
  172. gn.mmi.flashlight=yes
  173. gn.mmi.irtest=no
  174. gn.mmi.wifi5g=no
  175. gn.mmi.nfc=no
  176. gn.mmi.flash=no
  177. gn.mmi.flash2=no
  178. gn.mmi.fingerprints=no
  179. gn.autommi.keytest.app=yes
  180. gn.autommi.keytest.menu=no
  181. gn.autommi.keytest.camerea=no
  182. gn.autommi.keytest.focus=no
  183. gn.mmi.keytest.focus=no
  184. gn.autommi.keytest.hall=no
  185. gn.autommi.keytest.back=yes
  186. gn.autommi.keytest.home=yes
  187. ro.gn.need.cal=yes
  188. gn.mmi.original.fm=yes
  189. gn.mmi.camera.front=yes
  190. gn.mmi.sensor.light=yes
  191. gn.mmi.irtest=no
  192. gn.mmi.otg=yes
  193. gn.mmi.fingerprints=no
  194. ro.gn.match.numberlength=7
  195. ro.gn.respirationlamp.support=no
  196. ro.gn.gnvernumberrel=01
  197. ro.config.notification_sound=BLU_Message3.mp3
  198. ro.config.alarm_alert=AlarmClock2.mp3
  199. ro.config.ringtone=BLU_Ringtone4.mp3
  200. ro.gn.default.ringtone2=BLU_Ringtone4.mp3
  201. ro.gn.default.mmstone=BLU_Message3.mp3
  202. ro.gn.default.mmstone2=BLU_Message3.mp3
  203. ro.gn.default.videocall=BLU_Ringtone4.mp3
  204. ro.gn.op_special_vn=no
  205. ro.gn.sdgcall.access.support=no
  206. ro.gn.hand.answer.support=no
  207. ro.gn.phone.closedualmic=no
  208. ro.build.display.id=BLU_S110U_V10_GENERIC
  209. gn.product.origin.model=WBW5615A
  210. ro.product.model=STUDIO M HD
  211. ro.product.brand=BLU
  212. ro.product.name=BLU_STUDIO_M_HD
  213. ro.product.device=BLU_STUDIO_M_HD
  214. ro.gn.gnromvernumber=ROM5.0.16
  215. ro.product.manufacturer=BLU
  216. ro.gn.haptic.vibrator.prop=no
  217. ro.gn.music.dts=yes
  218. ro.gn.music.srs=no
  219. ro.gn.sdcard.type=BOTH
  220. ro.gn.amoled.lcmacl.support=no
  221. ro.gn.single.hand.support=no
  222. ro.gn.soundctrl.support=no
  223. ro.gn.mtk.poweroff.alarm.prop=yes
  224. ro.gn.extvernumber=STUDIO M HD_0204_V6175
  225. ro.gn.extHWvernumber=Mainboard_P2
  226. ro.gn.extmodel=STUDIO M HD
  227. ro.gn.nfc.support=no
  228. ro.gn.voicewake.support=no
  229. ro.gn.clickwake.support=yes
  230. ro.gn.buttonlight.support=no
  231. ro.gn.quickoperate.support=yes
  232. ro.gn.glove_patterns.support=no
  233. ro.gn.optrspecsegdef=no
  234. ro.gn.platform.support=no
  235. gn.sensor.adjust.lcd.support=no
  236. ro.gn.lcd.effect.support=no
  237. ro.gn.gn2sdcardswap=yes
  238. ro.product.screensize=5.0
  239. ro.ireader.channel=108553
  240. ro.gn.ctasec.support=no
  241. ro.gn.tdscdma.support=no
  242. runtime.cts.test=no
  243. ro.gn.gnproductid=WBW5615
  244. ro.gn.gnprojectid=WBW5615BT_0204
  245. ro.gn.gnznvernumber=WBW5615BT_0204_T6175
  246. ro.gn.gnvernumber=WBW5615BT_0204_V6175
  247. ro.gn.op_special_vn=no
  248. ro.gn.cutest=no
  249. ro.gn.effect.open=no
  250. ro.gn.gsd.prop=no
  251. ro.gn.camera.eraser.support=no
  252. ro.gn.camera.bestface.support=no
  253. ro.gn.camera.gnsports.support=no
  254. ro.gn.camera.pq.suppor=no
  255. ro.gn.camera.fd.menu.support=no
  256. ro.gn.camera.preview.standard=no
  257. ro.gn.camera.default.fullscreen=yes
  258. ro.gn.oversea.product=yes
  259. ro.gn.oversea.custom=SOUTH_AMERICA_BLU
  260. ro.gn.music.keyguard.widget=yes
  261. ro.gn.three.finger.guestmode=yes
  262. ro.gn.camera.zsl.default.on=yes
  263. #ro.gn.camera.gotocharm.support=yes
  264. #ro.gn.camera.picbest.support=no
  265. #ro.gn.camera.piclear.support=no
  266. #ro.gn.camera.actionpath.support=no
  267. #ro.gn.camera.fd.default.on=no
  268. ro.gn.gemini.support=no
  269. ro.gn.navi.keyguard.app.support=no
  270. ro.gn.smartstay.support=yes
  271. ro.gn.gesture.support=no
  272. ro.gn.appwdialog.support=yes
  273. ro.gn.net.autoswitch.support=no
  274. ro.gn.sky.light.support=no
  275. ro.gn.oom.opt=yes
  276. ro.gn.smallscreen.support=no
  277. persist.sys.permission.level=1
  278. ro.gn.sv.version=SV1.0
  279. ro.gn.oversea.music.offline.ver=yes
  280. ro.gn.oversea.ami.calendar.ver=yes
  281. ro.gn.only.disp.alarm.gesture=no
  282. ro.gn.hotknot.support=no
  283. ro.product.board=BLU_STUDIO_M_HD
  284. ro.gn.guestmode.support=yes
  285. ro.gn.video.repeatplay.support=no
  286. ro.gn.video.play.tip.support=yes
  287. ro.gn.gnotaupdate.support=no
  288. ro.gn.default.inputmethod=com.cootek.smartinput5.TouchPalIME
  289. ro.gn.theme.default=/system/app/Sea_and_Sky.gnz
  290. ro.gn.smart.vibrate.alert=yes
  291. ro.gn.salesstatistic.support=
  292. ro.gn.common.mainboard.prop=WBW5615A
  293. ro.gn.oversea.mwc.support=no
  294. ro.gn.sysmgr.super.support=no
  295. ro.gn.shutdown.support=yes
  296. ro.gn.switch.storage.support=yes
  297. ro.gn.ssgdial.support=no
  298. ro.gn.ssgaccesscall.support=no
  299. ro.gn.only.four.gesture=yes
  300. ro.gn.oversea.music.offline.ver=yes
  301. ro.gn.product.locales.ex1=en_US es_US es_ES pt_BR pt_PT fr_FR nl_NL de_DE hu_HU cs_CZ pl_PL ar_EG fa_IR bg_BG sr_RS
  302. ro.gn.product.locales.ex2=ru_RU iw_IL vi_VN hr_HR el_GR zh_CN ldpi hdpi mdpi xhdpi xxhdpi
  303. ro.gn.screen.pin.support=no
  304. ro.gn.remove.virtual.key=yes
  305. ro.gn.oversea.odm=yes
  306. ro.gn.memory.detail.support=yes
  307. ro.gn.iposetting.support=no
  308. ro.gn.video.snapshot.support=yes
  309. ro.gn.handsethook=yes
  310. ro.gn.shutdown.support=yes
  311. ro.gn.screenon.receive.sms=yes
  312. ro.gn.screenon.time=
  313. persist.sys.net.sales.flag=0
  314. persist.sys.mms.sales.flag=0
  315. ro.gn.password.protection=yes
  316. ro.gn.launcher.guide.support=yes
  317. ro.gn.gamma.func.support=yes
  318. ro.gn.longscreenshot=yes
  319. ro.gn.torch.gesture.support=yes
  320. ro.gn.video.play.tip.support=yes
  321. ro.gn.floatvideo.control=yes
  322. ro.gn.video.dts.support=yes
  323. ro.gn.three.finger.guestmode=yes
  324. ro.gn.amigo_systemui_support=yes_5_1
  325. ro.gn.secure.screen.pin.support=yes
  326. ro.gn.mms.size.limit=yes
  327. ro.gn.group.mms.support=yes
  328. ro.gn.adups.fota.support=yes
  329. ro.gn.newcloseall.support=yes
  330. ro.gn.shake.clean=no
  331. ro.gn.apn.filter.support=yes
  332.  
  333. #
  334. # ADDITIONAL_BUILD_PROPERTIES
  335. #
  336. ro.com.android.dateformat=MM-dd-yyyy
  337. ro.config.ringtone=Ring_Synth_04.ogg
  338. ro.config.notification_sound=pixiedust.ogg
  339. ro.carrier=unknown
  340. ro.config.alarm_alert=Alarm_Classic.ogg
  341. ro.setupwizard.mode=OPTIONAL
  342. ro.com.google.gmsversion=5.1_r3
  343. ro.gn.gms.test.modify=yes
  344. ro.com.google.clientidbase=android-blu
  345. ro.com.google.clientidbase.ms=android-blu
  346. ro.com.google.clientidbase.yt=android-blu
  347. ro.com.google.clientidbase.am=android-blu
  348. ro.com.google.clientidbase.gmm=android-blu
  349. dalvik.vm.heapgrowthlimit=128m
  350. dalvik.vm.heapsize=256m
  351. ro.mediatek.chip_ver=S01
  352. ro.mediatek.version.release=WBW5615BT_0204_T6175
  353. ro.mediatek.platform=MT6580
  354. ro.telephony.sim.count=2
  355. persist.radio.default.sim=0
  356. persist.radio.multisim.config=dsds
  357. persist.md.perm.checked=to_upgrade
  358. persist.gemini.sim_num=2
  359. ro.gemini.smart_sim_switch=false
  360. ril.specific.sm_cause=0
  361. bgw.current3gband=0
  362. ril.external.md=0
  363. ro.btstack=blueangel
  364. ro.sf.hwrotation=0
  365. ril.current.share_modem=2
  366. curlockscreen=1
  367. ro.mediatek.gemini_support=true
  368. persist.radio.fd.counter=15
  369. persist.radio.fd.off.counter=5
  370. persist.radio.fd.r8.counter=15
  371. persist.radio.fd.off.r8.counter=5
  372. drm.service.enabled=true
  373. fmradio.driver.enable=1
  374. ril.first.md=1
  375. ril.flightmode.poweroffMD=1
  376. ril.telephony.mode=0
  377. dalvik.vm.mtk-stack-trace-file=/data/anr/mtk_traces.txt
  378. mediatek.wlan.chip=CONSYS_MT6735
  379. mediatek.wlan.module.postfix=_consys_mt6735
  380. ril.read.imsi=1
  381. ril.radiooff.poweroffMD=0
  382. ro.frp.pst=/dev/block/platform/mtk-msdc.0/by-name/frp
  383. ro.mediatek.version.branch=L1.MP6
  384. ro.mediatek.version.sdk=4
  385. ro.mtk_gemini_support=1
  386. ro.mtk_audenh_support=1
  387. ro.mtk_lossless_bt_audio=1
  388. ro.mtk_besloudness_support=1
  389. ro.mtk_bessurround_support=1
  390. ro.mtk_gemini_enhancement=1
  391. ro.mtk_wapi_support=1
  392. ro.mtk_bt_support=1
  393. ro.mtk_wappush_support=1
  394. ro.mtk_agps_app=1
  395. ro.mtk_wlan_support=1
  396. ro.mtk_gps_support=1
  397. ro.mtk_omacp_support=1
  398. ro.mtk_search_db_support=1
  399. ro.mtk_dialer_search_support=1
  400. ro.mtk_dhcpv6c_wifi=1
  401. ro.have_aacencode_feature=1
  402. ro.mtk_fd_support=1
  403. ro.mtk_oma_drm_support=1
  404. ro.mtk_cta_drm_support=1
  405. ro.mtk_widevine_drm_l3_support=1
  406. ro.mtk_fm_recording_support=1
  407. ro.mtk_audio_ape_support=1
  408. ro.mtk_flv_playback_support=1
  409. ro.mtk_fd_force_rel_support=1
  410. ro.mtk_wmv_playback_support=1
  411. ro.mtk_send_rr_support=1
  412. ro.mtk_rat_wcdma_preferred=1
  413. ro.mtk_default_data_off=1
  414. ro.mtk_emmc_support=1
  415. ro.mtk_tetheringipv6_support=1
  416. ro.mtk_shared_sdcard=1
  417. ro.mtk_2sdcard_swap=1
  418. ro.mtk_enable_md1=1
  419. ro.mtk_flight_mode_power_off_md=1
  420. ro.mtk_aal_support=1
  421. ro.mtk_pq_support=2
  422. ro.mtk_miravision_support=1
  423. ro.mtk_miravision_image_dc=1
  424. ro.mtk_wifi_mcc_support=1
  425. ro.mtk_system_update_support=1
  426. ro.mtk_bip_scws=1
  427. ro.mtk_world_phone_policy=0
  428. ro.mtk_perfservice_support=1
  429. ro.mtk_cta_set=1
  430. ro.mtk_mobile_management=1
  431. ro.mtk_antibricking_level=2
  432. ro.mtk_cam_mfb_support=0
  433. ro.mtk_cam_mav_support=1
  434. ro.mtk_rild_read_imsi=1
  435. ro.sim_refresh_reset_by_modem=1
  436. ro.mtk_live_photo_support=1
  437. ro.mtk_motion_track_support=1
  438. ro.mtk_bg_power_saving_support=1
  439. ro.mtk_bg_power_saving_ui=1
  440. ro.have_aee_feature=1
  441. ro.sim_me_lock_mode=0
  442. ro.mtk_dual_mic_support=0
  443. ro.mtk_is_tablet=0
  444. wfd.dummy.enable=1
  445. ro.mediatek.project.path=device/gionee/gionee6580_we_l
  446. persist.mtk.wcn.combo.chipid=-1
  447. service.wcn.driver.ready=no
  448. ro.com.android.mobiledata=false
  449. persist.radio.mobile.data=0,0
  450. persist.meta.dumpdata=0
  451. persist.sys.dalvik.vm.lib.2=libart.so
  452. dalvik.vm.isa.arm.features=div
  453. net.bt.name=Android
  454. dalvik.vm.stack-trace-file=/data/anr/traces.txt
  455.  
  456. # begin fota properties
  457. ro.fota.platform=MTK6735_L
  458. ro.fota.type=phone
  459. ro.fota.oem=gionee6735_L
  460. ro.fota.device=STUDIO M HD
  461. ro.fota.version=BLU_S110U_V10_GENERIC_5.1_11-05-2016 18:51
  462. # end fota properties
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469. _______________________________________________________________
  470. Now this is the mt6850 fstab:
  471.  
  472.  
  473. /dev/block/platform/mtk-msdc.0/by-name/system /system ext4 ro wait
  474. /dev/block/platform/mtk-msdc.0/by-name/userdata /data ext4 noatime,nosuid,nodev,noauto_da_alloc,discard wait,check,resize,encryptable=/dev/block/platform/mtk-msdc.0/by-name/metadata
  475. /dev/block/platform/mtk-msdc.0/by-name/cache /cache ext4 noatime,nosuid,nodev,noauto_da_alloc,discard wait,check
  476. /dev/block/platform/mtk-msdc.0/by-name/protect1 /protect_f ext4 noatime,nosuid,nodev,noauto_da_alloc,commit=1,nodelalloc wait,check,autoformat
  477. /dev/block/platform/mtk-msdc.0/by-name/protect2 /protect_s ext4 noatime,nosuid,nodev,noauto_da_alloc,commit=1,nodelalloc wait,check,autoformat
  478. /dev/block/platform/mtk-msdc.0/by-name/nvdata /nvdata ext4 noatime,nosuid,nodev,noauto_da_alloc,discard wait,check,autoformat
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485. /devices/mtk-msdc.0/11120000.MSDC0 auto vfat defaults voldmanaged=sdcard0:emmc@intsd,noemulatedsd
  486. /devices/mtk-msdc.0/11130000.MSDC1 auto vfat defaults voldmanaged=sdcard1:auto
  487. /devices/platform/mt_usb auto vfat defaults voldmanaged=usbotg:auto
  488.  
  489.  
  490.  
  491.  
  492.  
  493.  
  494.  
  495. /dev/block/platform/mtk-msdc.0/by-name/frp /persistent emmc defaults defaults
  496.  
  497.  
  498. ________________________________________________
  499.  
  500. And this is the goldfish fstab from the port one:
  501.  
  502. # Android fstab file.
  503. #<src>                                                  <mnt_point>         <type>    <mnt_flags and options>                              <fs_mgr_flags>
  504. # The filesystem that contains the filesystem checker binary (typically /system) cannot
  505. # specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
  506. /dev/block/mtdblock0                                    /system             ext4      ro,barrier=1                                         wait
  507. /dev/block/mtdblock1                                    /data               ext4      noatime,nosuid,nodev,barrier=1,nomblk_io_submit      wait,check
  508. /dev/block/mtdblock2                                    /cache              ext4      noatime,nosuid,nodev  wait,check
  509. /devices/platform/goldfish_mmc.0                        auto                vfat      defaults                                             voldmanaged=sdcard:auto
  510.  
  511.  
  512. _______________________________________________________________________________________________
  513.  
  514.  
  515. Also this is the meta-inf update script:
  516.  
  517.  
  518. ui_print("**************************************************");
  519. ui_print("************* FOR BLU STUDIO SELFIE **************");
  520. ui_print("************ Dev.Prajwal from Nepal*************");
  521. ui_print("***************  BLU S070Q/D070Q  ***************");
  522. ui_print("**************** cyanogenmod 12.1 ****************");
  523. ui_print("******************** STABLE ******************");
  524. ui_print("**************************************************");
  525. ui_print("");
  526. #assert(getprop("ro.product.device") == "i504" || getprop("ro.build.product") == "i504" || getprop("ro.product.device") == "nomi_i504" || getprop("ro.build.product") == "nomi_i504" || getprop("ro.product.device") == "Nomi i504" || getprop("ro.build.product") == "Nomi i504" || abort("This package is for device: i504,nomi_i504,Nomi i504; this device is " + getprop("ro.product.device") + "."););
  527. ifelse(is_mounted("/system"), unmount("/system"));
  528. package_extract_dir("install", "/tmp/install");
  529. set_metadata_recursive("/tmp/install", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644);
  530. set_metadata_recursive("/tmp/install/bin", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0755);
  531. ui_print("-----------> Format system...");
  532. mount("ext4", "EMMC", "/dev/block/platform/mtk-msdc.0/by-name/system", "/system", "");
  533. run_program("/tmp/install/bin/backuptool.sh", "backup");
  534. unmount("/system");
  535. if is_mounted("/data") then
  536. package_extract_file("META-INF/org/cyanogenmod/releasekey", "/tmp/releasekey");
  537. run_program("/tmp/install/bin/otasigcheck.sh") != "31744" || abort("Can't install this package on top of incompatible data. Please try another package or run a factory reset");
  538. else
  539. mount("ext4", "EMMC", "/dev/block/platform/mtk-msdc.0/by-name/userdata", "/data", "");
  540. package_extract_file("META-INF/org/cyanogenmod/releasekey", "/tmp/releasekey");
  541. run_program("/tmp/install/bin/otasigcheck.sh") != "31744" || abort("Can't install this package on top of incompatible data. Please try another package or run a factory reset");
  542. unmount("/data");
  543. endif;
  544. show_progress(0.750000, 0);
  545. format("ext4", "EMMC", "/dev/block/platform/mtk-msdc.0/by-name/system", "0", "/system");
  546. ui_print("-----------> Mount system...");
  547. mount("ext4", "EMMC", "/dev/block/platform/mtk-msdc.0/by-name/system", "/system", "max_batch_time=0,commit=1,data=ordered,barrier=1,errors=panic,nodelalloc");
  548. ui_print("-----------> Install system...");
  549. package_extract_dir("system", "/system");
  550. symlink("../xbin/su", "/system/bin/su");
  551. symlink("/system/lib/libbluetooth_jni.so", "/system/app/Bluetooth/lib/arm/libbluetooth_jni.so");
  552. symlink("/system/lib/libdefcontainer_jni.so", "/system/priv-app/DefaultContainerService/lib/arm/libdefcontainer_jni.so");
  553. symlink("/system/lib/libjni_eglfence.so", "/system/app/Gallery2/lib/arm/libjni_eglfence.so");
  554. symlink("/system/lib/libjni_filtershow_filters.so", "/system/app/Gallery2/lib/arm/libjni_filtershow_filters.so");
  555. symlink("/system/lib/libjni_jpegstream.so", "/system/app/Gallery2/lib/arm/libjni_jpegstream.so");
  556. symlink("/system/lib/libjni_jpegutil.so", "/system/app/Camera2/lib/arm/libjni_jpegutil.so");
  557. symlink("/system/lib/libjni_latinime.so", "/system/app/LatinIME/lib/arm/libjni_latinime.so");
  558. symlink("/system/lib/libjni_pacprocessor.so", "/system/app/PacProcessor/lib/arm/libjni_pacprocessor.so");
  559. symlink("/system/lib/libjni_terminal.so", "/system/app/Terminal/lib/arm/libjni_terminal.so");
  560. symlink("/system/lib/libjni_tinyplanet.so", "/system/app/Camera2/lib/arm/libjni_tinyplanet.so");
  561. symlink("/system/lib/libprintspooler_jni.so", "/system/app/PrintSpooler/lib/arm/libprintspooler_jni.so");
  562. symlink("/system/lib/librsjni.so", "/system/app/Gallery2/lib/arm/librsjni.so");
  563. symlink("/system/lib/libttscompat.so", "/system/app/PicoTts/lib/arm/libttscompat.so");
  564. symlink("/system/lib/libttspico.so", "/system/app/PicoTts/lib/arm/libttspico.so");
  565. symlink("/system/lib/libwebviewchromium.so", "/system/app/webview/lib/arm/libwebviewchromium.so");
  566. symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
  567. symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");
  568. symlink("app_process32", "/system/bin/app_process");
  569. symlink("busybox", "/system/xbin/[", "/system/xbin/[[",
  570.         "/system/xbin/adjtimex", "/system/xbin/arp", "/system/xbin/ash",
  571.         "/system/xbin/awk", "/system/xbin/base64", "/system/xbin/basename",
  572.         "/system/xbin/bbconfig", "/system/xbin/blkid", "/system/xbin/blockdev",
  573.         "/system/xbin/brctl", "/system/xbin/bunzip2", "/system/xbin/bzcat",
  574.         "/system/xbin/bzip2", "/system/xbin/cal", "/system/xbin/cat",
  575.         "/system/xbin/catv", "/system/xbin/chattr", "/system/xbin/chcon",
  576.         "/system/xbin/chgrp", "/system/xbin/chmod", "/system/xbin/chown",
  577.         "/system/xbin/chroot", "/system/xbin/chvt", "/system/xbin/clear",
  578.         "/system/xbin/cmp", "/system/xbin/comm", "/system/xbin/cp",
  579.         "/system/xbin/cpio", "/system/xbin/crond", "/system/xbin/crontab",
  580.         "/system/xbin/cut", "/system/xbin/date", "/system/xbin/dc",
  581.         "/system/xbin/dd", "/system/xbin/deallocvt", "/system/xbin/depmod",
  582.         "/system/xbin/devmem", "/system/xbin/df", "/system/xbin/diff",
  583.         "/system/xbin/dirname", "/system/xbin/dmesg", "/system/xbin/dnsd",
  584.         "/system/xbin/dos2unix", "/system/xbin/du", "/system/xbin/echo",
  585.         "/system/xbin/ed", "/system/xbin/egrep", "/system/xbin/env",
  586.         "/system/xbin/expand", "/system/xbin/expr", "/system/xbin/false",
  587.         "/system/xbin/fbsplash", "/system/xbin/fdisk", "/system/xbin/fgconsole",
  588.         "/system/xbin/fgrep", "/system/xbin/find", "/system/xbin/findfs",
  589.         "/system/xbin/flash_lock", "/system/xbin/flash_unlock",
  590.         "/system/xbin/flashcp", "/system/xbin/flock", "/system/xbin/fold",
  591.         "/system/xbin/free", "/system/xbin/freeramdisk", "/system/xbin/fstrim",
  592.         "/system/xbin/fsync", "/system/xbin/ftpget", "/system/xbin/ftpput",
  593.         "/system/xbin/fuser", "/system/xbin/getenforce", "/system/xbin/getopt",
  594.         "/system/xbin/getsebool", "/system/xbin/grep", "/system/xbin/groups",
  595.         "/system/xbin/gunzip", "/system/xbin/gzip", "/system/xbin/halt",
  596.         "/system/xbin/head", "/system/xbin/hexdump", "/system/xbin/hwclock",
  597.         "/system/xbin/id", "/system/xbin/ifconfig", "/system/xbin/inetd",
  598.         "/system/xbin/insmod", "/system/xbin/install", "/system/xbin/ionice",
  599.         "/system/xbin/iostat", "/system/xbin/ip", "/system/xbin/kill",
  600.         "/system/xbin/killall", "/system/xbin/killall5", "/system/xbin/less",
  601.         "/system/xbin/ln", "/system/xbin/losetup", "/system/xbin/ls",
  602.         "/system/xbin/lsattr", "/system/xbin/lsmod", "/system/xbin/lspci",
  603.         "/system/xbin/lsusb", "/system/xbin/lzcat", "/system/xbin/lzma",
  604.         "/system/xbin/lzop", "/system/xbin/lzopcat", "/system/xbin/man",
  605.         "/system/xbin/matchpathcon", "/system/xbin/md5sum", "/system/xbin/mesg",
  606.         "/system/xbin/mkdir", "/system/xbin/mke2fs", "/system/xbin/mkfifo",
  607.         "/system/xbin/mkfs.ext2", "/system/xbin/mkfs.vfat",
  608.         "/system/xbin/mknod", "/system/xbin/mkswap", "/system/xbin/mktemp",
  609.         "/system/xbin/modinfo", "/system/xbin/modprobe", "/system/xbin/more",
  610.         "/system/xbin/mount", "/system/xbin/mountpoint", "/system/xbin/mpstat",
  611.         "/system/xbin/mv", "/system/xbin/nanddump", "/system/xbin/nandwrite",
  612.         "/system/xbin/nbd-client", "/system/xbin/netstat", "/system/xbin/nice",
  613.         "/system/xbin/nmeter", "/system/xbin/nohup", "/system/xbin/nslookup",
  614.         "/system/xbin/ntpd", "/system/xbin/od", "/system/xbin/openvt",
  615.         "/system/xbin/patch", "/system/xbin/pgrep", "/system/xbin/pidof",
  616.         "/system/xbin/ping", "/system/xbin/pipe_progress", "/system/xbin/pkill",
  617.         "/system/xbin/pmap", "/system/xbin/poweroff", "/system/xbin/printenv",
  618.         "/system/xbin/printf", "/system/xbin/ps", "/system/xbin/pstree",
  619.         "/system/xbin/pwd", "/system/xbin/pwdx", "/system/xbin/rdate",
  620.         "/system/xbin/rdev", "/system/xbin/readlink", "/system/xbin/realpath",
  621.         "/system/xbin/renice", "/system/xbin/reset", "/system/xbin/resize",
  622.         "/system/xbin/restorecon", "/system/xbin/rev", "/system/xbin/rm",
  623.         "/system/xbin/rmdir", "/system/xbin/rmmod", "/system/xbin/route",
  624.         "/system/xbin/run-parts", "/system/xbin/runcon", "/system/xbin/rx",
  625.         "/system/xbin/sed", "/system/xbin/selinuxenabled", "/system/xbin/seq",
  626.         "/system/xbin/sestatus", "/system/xbin/setconsole",
  627.         "/system/xbin/setenforce", "/system/xbin/setfiles",
  628.         "/system/xbin/setkeycodes", "/system/xbin/setsebool",
  629.         "/system/xbin/setserial", "/system/xbin/setsid", "/system/xbin/sh",
  630.         "/system/xbin/sha1sum", "/system/xbin/sha256sum",
  631.         "/system/xbin/sha3sum", "/system/xbin/sha512sum", "/system/xbin/sleep",
  632.         "/system/xbin/smemcap", "/system/xbin/sort", "/system/xbin/split",
  633.         "/system/xbin/stat", "/system/xbin/strings", "/system/xbin/stty",
  634.         "/system/xbin/sum", "/system/xbin/swapoff", "/system/xbin/swapon",
  635.         "/system/xbin/sync", "/system/xbin/sysctl", "/system/xbin/tac",
  636.         "/system/xbin/tail", "/system/xbin/tar", "/system/xbin/taskset",
  637.         "/system/xbin/tee", "/system/xbin/telnet", "/system/xbin/telnetd",
  638.         "/system/xbin/test", "/system/xbin/tftp", "/system/xbin/tftpd",
  639.         "/system/xbin/time", "/system/xbin/timeout", "/system/xbin/top",
  640.         "/system/xbin/touch", "/system/xbin/tr", "/system/xbin/traceroute",
  641.         "/system/xbin/true", "/system/xbin/ttysize", "/system/xbin/tune2fs",
  642.         "/system/xbin/umount", "/system/xbin/uname", "/system/xbin/uncompress",
  643.         "/system/xbin/unexpand", "/system/xbin/uniq", "/system/xbin/unix2dos",
  644.         "/system/xbin/unlzma", "/system/xbin/unlzop", "/system/xbin/unxz",
  645.         "/system/xbin/unzip", "/system/xbin/uptime", "/system/xbin/usleep",
  646.         "/system/xbin/uudecode", "/system/xbin/uuencode", "/system/xbin/vi",
  647.         "/system/xbin/watch", "/system/xbin/wc", "/system/xbin/wget",
  648.         "/system/xbin/which", "/system/xbin/whoami", "/system/xbin/xargs",
  649.         "/system/xbin/xz", "/system/xbin/xzcat", "/system/xbin/yes",
  650.         "/system/xbin/zcat");
  651. symlink("dalvikvm32", "/system/bin/dalvikvm");
  652. symlink("libGLESv2.so", "/system/lib/libGLESv3.so");
  653. symlink("mount.exfat", "/system/bin/fsck.exfat",
  654.         "/system/bin/mkfs.exfat");
  655. symlink("pigz", "/system/xbin/unpigz");
  656. symlink("toolbox", "/system/bin/cat", "/system/bin/chcon",
  657.         "/system/bin/chmod", "/system/bin/chown", "/system/bin/clear",
  658.         "/system/bin/cmp", "/system/bin/cp", "/system/bin/date",
  659.         "/system/bin/dd", "/system/bin/df", "/system/bin/dmesg",
  660.         "/system/bin/du", "/system/bin/getenforce", "/system/bin/getevent",
  661.         "/system/bin/getprop", "/system/bin/getsebool", "/system/bin/grep",
  662.         "/system/bin/hd", "/system/bin/id", "/system/bin/ifconfig",
  663.         "/system/bin/iftop", "/system/bin/insmod", "/system/bin/ioctl",
  664.         "/system/bin/ionice", "/system/bin/kill", "/system/bin/ln",
  665.         "/system/bin/load_policy", "/system/bin/log", "/system/bin/ls",
  666.         "/system/bin/lsmod", "/system/bin/lsof", "/system/bin/md5",
  667.         "/system/bin/mkdir", "/system/bin/mknod", "/system/bin/mkswap",
  668.         "/system/bin/mount", "/system/bin/mv", "/system/bin/nandread",
  669.         "/system/bin/netstat", "/system/bin/newfs_msdos", "/system/bin/nohup",
  670.         "/system/bin/notify", "/system/bin/printenv", "/system/bin/prlimit",
  671.         "/system/bin/ps", "/system/bin/r", "/system/bin/readlink",
  672.         "/system/bin/renice", "/system/bin/restart", "/system/bin/restorecon",
  673.         "/system/bin/rm", "/system/bin/rmdir", "/system/bin/rmmod",
  674.         "/system/bin/route", "/system/bin/runcon", "/system/bin/schedtop",
  675.         "/system/bin/sendevent", "/system/bin/setenforce",
  676.         "/system/bin/setfattr", "/system/bin/setprop", "/system/bin/setsebool",
  677.         "/system/bin/sleep", "/system/bin/smd", "/system/bin/start",
  678.         "/system/bin/stop", "/system/bin/swapoff", "/system/bin/swapon",
  679.         "/system/bin/sync", "/system/bin/top", "/system/bin/touch",
  680.         "/system/bin/umount", "/system/bin/uptime", "/system/bin/vmstat",
  681.         "/system/bin/watchprops",
  682.         "/system/bin/wipe");
  683. set_metadata_recursive("/system", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", "0x0", "selabel", "u:object_r:system_file:s0");
  684. set_metadata_recursive("/system/bin", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0755, "capabilities", "0x0", "selabel", "u:object_r:system_file:s0");
  685. set_metadata("/system/bin/app_process32", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:zygote_exec:s0");
  686. set_metadata("/system/bin/auditd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:logd_exec:s0");
  687. set_metadata("/system/bin/bootanimation", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:bootanim_exec:s0");
  688. set_metadata("/system/bin/clatd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:clatd_exec:s0");
  689. set_metadata("/system/bin/debuggerd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:debuggerd_exec:s0");
  690. set_metadata("/system/bin/dex2oat", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:dex2oat_exec:s0");
  691. set_metadata("/system/bin/dhcpcd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:dhcp_exec:s0");
  692. set_metadata("/system/bin/dnsmasq", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:dnsmasq_exec:s0");
  693. set_metadata("/system/bin/drmserver", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:drmserver_exec:s0");
  694. set_metadata("/system/bin/dumpstate", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:dumpstate_exec:s0");
  695. set_metadata("/system/bin/hostapd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:hostapd_exec:s0");
  696. set_metadata("/system/bin/install-recovery.sh", "uid", 0, "gid", 0, "mode", 0750, "capabilities", 0x0, "selabel", "u:object_r:install_recovery_exec:s0");
  697. set_metadata("/system/bin/installd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:installd_exec:s0");
  698. set_metadata("/system/bin/keystore", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:keystore_exec:s0");
  699. set_metadata("/system/bin/lmkd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:lmkd_exec:s0");
  700. set_metadata("/system/bin/logd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:logd_exec:s0");
  701. set_metadata("/system/bin/mdnsd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:mdnsd_exec:s0");
  702. set_metadata("/system/bin/mediaserver", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:mediaserver_exec:s0");
  703. set_metadata("/system/bin/mtpd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:mtp_exec:s0");
  704. set_metadata("/system/bin/netcfg", "uid", 0, "gid", 3003, "mode", 02750, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  705. set_metadata("/system/bin/netd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:netd_exec:s0");
  706. set_metadata("/system/bin/patchoat", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:dex2oat_exec:s0");
  707. set_metadata("/system/bin/ping", "uid", 0, "gid", 0, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  708. set_metadata("/system/bin/pppd", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:ppp_exec:s0");
  709. set_metadata("/system/bin/racoon", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:racoon_exec:s0");
  710. set_metadata("/system/bin/rild", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:rild_exec:s0");
  711. set_metadata("/system/bin/run-as", "uid", 0, "gid", 2000, "mode", 0750, "capabilities", 0xc0, "selabel", "u:object_r:runas_exec:s0");
  712. set_metadata("/system/bin/sdcard", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:sdcardd_exec:s0");
  713. set_metadata("/system/bin/servicemanager", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:servicemanager_exec:s0");
  714. set_metadata("/system/bin/sh", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:shell_exec:s0");
  715. set_metadata("/system/bin/surfaceflinger", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:surfaceflinger_exec:s0");
  716. set_metadata("/system/bin/sysinit", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:sysinit_exec:s0");
  717. set_metadata("/system/bin/uncrypt", "uid", 0, "gid", 0, "mode", 0750, "capabilities", 0x0, "selabel", "u:object_r:uncrypt_exec:s0");
  718. set_metadata("/system/bin/vdc", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:vdc_exec:s0");
  719. set_metadata("/system/bin/vold", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:vold_exec:s0");
  720. set_metadata("/system/bin/wpa_supplicant", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:wpa_exec:s0");
  721. set_metadata("/system/etc", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  722. set_metadata("/system/etc/.tp", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  723. set_metadata("/system/etc/bash", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  724. set_metadata("/system/etc/bluetooth", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  725. set_metadata_recursive("/system/etc/dhcpcd", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0644, "capabilities", "0x0", "selabel", "u:object_r:system_file:s0");
  726. set_metadata_recursive("/system/etc/dhcpcd/dhcpcd-hooks", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0644, "capabilities", "0x0", "selabel", "u:object_r:system_file:s0");
  727. set_metadata("/system/etc/dhcpcd/dhcpcd-hooks", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  728. set_metadata("/system/etc/dhcpcd/dhcpcd-run-hooks", "uid", 1014, "gid", 2000, "mode", 0550, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  729. set_metadata("/system/etc/firmware", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  730. set_metadata("/system/etc/firmware/mt6580", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  731. set_metadata_recursive("/system/etc/fmr", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0644, "capabilities", "0x0", "selabel", "u:object_r:system_file:s0");
  732. set_metadata("/system/etc/fmr/mt6580_fm_cust.cfg", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  733. set_metadata_recursive("/system/etc/init.d", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0755, "capabilities", "0x0", "selabel", "u:object_r:userinit_exec:s0");
  734. set_metadata("/system/etc/init.d", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  735. set_metadata("/system/etc/init.d/00banner", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  736. set_metadata("/system/etc/init.goldfish.sh", "uid", 0, "gid", 2000, "mode", 0550, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  737. set_metadata("/system/etc/mddb", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  738. set_metadata("/system/etc/nano", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  739. set_metadata("/system/etc/permissions", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  740. set_metadata_recursive("/system/etc/ppp", "uid", 0, "gid", 0, "dmode", 0755, "fmode", 0555, "capabilities", "0x0", "selabel", "u:object_r:system_file:s0");
  741. set_metadata_recursive("/system/etc/radvd", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0644, "capabilities", "0x0", "selabel", "u:object_r:system_file:s0");
  742. set_metadata("/system/etc/radvd/radvd.conf", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  743. set_metadata("/system/etc/security", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  744. set_metadata("/system/etc/security/cacerts", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  745. set_metadata_recursive("/system/etc/ssh", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0644, "capabilities", "0x0", "selabel", "u:object_r:system_file:s0");
  746. set_metadata("/system/etc/ssh/sshd_config", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  747. set_metadata("/system/etc/terminfo", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  748. set_metadata("/system/etc/terminfo/E", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  749. set_metadata_recursive("/system/etc/terminfo/a", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0644, "capabilities", "0x0", "selabel", "u:object_r:system_file:s0");
  750. set_metadata("/system/etc/terminfo/a/ansi", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  751. set_metadata("/system/etc/terminfo/c", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  752. set_metadata_recursive("/system/etc/terminfo/d", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0644, "capabilities", "0x0", "selabel", "u:object_r:system_file:s0");
  753. set_metadata("/system/etc/terminfo/d/dumb", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  754. set_metadata_recursive("/system/etc/terminfo/h", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0644, "capabilities", "0x0", "selabel", "u:object_r:system_file:s0");
  755. set_metadata("/system/etc/terminfo/h/hurd", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  756. set_metadata_recursive("/system/etc/terminfo/l", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0644, "capabilities", "0x0", "selabel", "u:object_r:system_file:s0");
  757. set_metadata("/system/etc/terminfo/l/linux", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  758. set_metadata("/system/etc/terminfo/m", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  759. set_metadata_recursive("/system/etc/terminfo/p", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0644, "capabilities", "0x0", "selabel", "u:object_r:system_file:s0");
  760. set_metadata("/system/etc/terminfo/p/pcansi", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  761. set_metadata("/system/etc/terminfo/r", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  762. set_metadata("/system/etc/terminfo/s", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  763. set_metadata("/system/etc/terminfo/v", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  764. set_metadata("/system/etc/terminfo/w", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  765. set_metadata("/system/etc/terminfo/x", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  766. set_metadata("/system/etc/wifi", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  767. set_metadata("/system/recovery-from-boot.p", "uid", 0, "gid", 0, "mode", 0644);
  768. set_metadata("/system/vendor", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  769. set_metadata("/system/vendor/lib", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  770. set_metadata_recursive("/system/vendor/lib/drm", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0644, "capabilities", "0x0", "selabel", "u:object_r:system_file:s0");
  771. set_metadata("/system/vendor/lib/drm/libdrmwvmplugin.so", "uid", 0, "gid", 0, "mode", 0644, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  772. set_metadata("/system/vendor/lib/hw", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  773. set_metadata("/system/vendor/lib/mediadrm", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  774. set_metadata_recursive("/system/xbin", "uid", 0, "gid", 2000, "dmode", 0755, "fmode", 0755, "capabilities", "0x0", "selabel", "u:object_r:system_file:s0");
  775. set_metadata("/system/xbin/librank", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  776. set_metadata("/system/xbin/procmem", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  777. set_metadata("/system/xbin/procrank", "uid", 0, "gid", 0, "mode", 06755, "capabilities", 0x0, "selabel", "u:object_r:system_file:s0");
  778. set_metadata("/system/xbin/su", "uid", 0, "gid", 2000, "mode", 0755, "capabilities", 0x0, "selabel", "u:object_r:su_exec:s0");
  779. show_progress(0.020000, 10);
  780. run_program("/tmp/install/bin/backuptool.sh", "restore");
  781. show_progress(0.050000, 5);
  782. ui_print("-----------> Flashing Kernel...");
  783. package_extract_file("boot.img", "/dev/block/platform/mtk-msdc.0/by-name/boot");
  784. ui_print("-----------> Flashing Google Android one logo...");
  785. package_extract_file("logo.bin", "/dev/block/platform/mtk-msdc.0/by-name/logo");
  786. ui_print("**************************************************");
  787. show_progress(0.200000, 10);
  788. package_extract_dir("supersu", "/tmp/install/bin/supersu");
  789. run_program("/sbin/busybox", "unzip", "/tmp/install/bin/supersu/supersu.zip", "META-INF/com/google/android/*", "-d", "/tmp/install/bin/supersu");
  790. run_program("/sbin/busybox", "sh", "/tmp/install/bin/supersu/META-INF/com/google/android/update-binary", "dummy", "1", "/tmp/install/bin/supersu/supersu.zip");
  791. unmount("/system");
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top