Idol 4 CyanogenMod Dev Thread - Alcatel Idol 4S Guides, News, & Discussion

I understand you guys cannot flash any ROMs yet, but it is known that it is possible to root this device as shown by @DeckerSU. What we can do, however, is start work on a CyanogenMod 14 port. First, we will need the /system/build.prop, boot.img, and recovery.img. Then, we will need mkvendor.sh from /build/tools/device/. We also need the kernel source.
Lastly, someone needs to do this:
Determine the partition scheme
The primary long-term storage portion of your mobile device-- usually an "emmc" (embedded multimedia card)-- is much like a computer hard drive in that it is prepared in a particular way to identify and isolate different areas of data. These unique areas are called partitions and they can have any kind of data stored there. Some partitions contain raw data-- firmware, kernels, ramdisks, etc. More often, a partition is formatted to use a particular file system that the kernel will recognize so that individual files and directories can be read and written there.
Before you can replace the stock operating system with CyanogenMod, it is therefore important to ascertain the partition scheme of the device. The recovery image you build will need this information to know where to find the various Android directories. Particularly, you want to know which partitions are assigned to /system, /data, /cache, and /sdcard.
You want to know which partitions exist, on what device, how they are mounted, as well as the size of the partitions. This information may be transferred later to the BoardConfig.mk file in your /vendor directory.
If you're lucky, a recovery.fstab file can be located in a recovery.img file, speeding up the process of figuring out what goes where. Also, the init.[codename].rc file in the ramdisk may have the information. Look for the lines near the top where the partitions are mounted.
Also, the command:
$ cat /proc/partitions
from a running device can also help you identify the partitions. Also see /proc/emmc, /proc/mounts or /proc/mtd. You may also get some information from the command mount (run as root).
Also check /cache/recovery.log or /tmp/recovery.log.
Finally, if you have source code to the bootloader (such as the u-boot used by many OMAP-based devices), you will likely find the information there as well.
Click to expand...
Click to collapse

Did @DeckerSU already release all the tools necessary to root this bad boy?

I'm asking for these files to build CM, guys. Do you not want CM?

yes pretty please

Here's the content of my build.prop:
Code:
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=MMB29M
ro.build.display.id=MMB29M release-keys
ro.build.version.incremental=v1AH2-0
ro.build.version.sdk=23
ro.build.version.preview_sdk=0
ro.build.version.codename=REL
ro.build.version.all_codenames=REL
ro.build.version.release=6.0.1
ro.build.version.security_patch=2016-08-01
ro.build.version.base_os=
ro.build.date=Thu Jul 28 17:10:30 CST 2016
ro.build.date.utc=1469697030
ro.build.type=user
ro.build.user=zxliu
ro.build.host=aclgcl-ubnt151
ro.build.tags=release-keys
ro.build.flavor=idol4-user
ro.product.model=6055P
ro.product.brand=TCL
ro.product.name=6055P
ro.product.device=idol4
ro.product.board=msm8952
# ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,
# use ro.product.cpu.abilist instead.
ro.product.cpu.abi=arm64-v8a
ro.product.cpu.abilist=arm64-v8a,armeabi-v7a,armeabi
ro.product.cpu.abilist32=armeabi-v7a,armeabi
ro.product.cpu.abilist64=arm64-v8a
ro.product.manufacturer=TCL
ro.wifi.channels=
ro.board.platform=msm8952
# ro.build.product is obsolete; use ro.product.device
ro.build.product=idol4
# Do not try to parse description, fingerprint, or thumbprint
ro.build.description=idol4-user 6.0.1 MMB29M v1AH2-0 release-keys
ro.build.fingerprint=TCL/6055P/idol4:6.0.1/MMB29M/v1AH2-0:user/release-keys
ro.build.characteristics=nosdcard
ro.tct.product=idol4
# end build properties
#
#jrd sys properties
#
#
# from device/tct/idol4/system.prop
#
#
# add vendor.prop for target device
#
#[BUGFIX]-Add-BEGIN by TCTNB.bimin.yin,3/12/2015,defect-1021434
#[Network]Only one available searched network is displayed without indication
persist.radio.rat_on=combine
#[BUGFIX]-Add-END by TCTNB.bimin.yin
# { D1031145 '''[PLMN][IMS]MS can not register on IMS network on Anite SAS''' bob.shen 2015-12-16
# } D1031145 bob.shen 2015-12-16
#increate forground process thread priority to improve launch performance for task 1157602
persist.sys.prioproc=true
#[BUGFIX]-Add-BEGIN by TCTSH.(Liangfeng Xu), 2016/03/16, for PR1759217 Add logs
log.tag.BluetoothOpp=VERBOSE
log.tag.BluetoothPbap=VERBOSE
#[BUGFIX]-Add-END by TCTSH.(Liangfeng Xu)#
# from device/tct/common/system.prop
#
#
# system.prop for TCT common build prop
#
rild.libpath=/vendor/lib64/libril-qc-qmi-1.so
rild.libargs=-d /dev/smd0
persist.rild.nitz_plmn=
persist.rild.nitz_long_ons_0=
persist.rild.nitz_long_ons_1=
persist.rild.nitz_long_ons_2=
persist.rild.nitz_long_ons_3=
persist.rild.nitz_short_ons_0=
persist.rild.nitz_short_ons_1=
persist.rild.nitz_short_ons_2=
persist.rild.nitz_short_ons_3=
ril.subscription.types=NV,RUIM
DEVICE_PROVISIONED=1
# Start in cdma mode
# [BUGFIX]-Mod-BEGIN by TCTNB.Dong.Jiang,09/18/2015,Task-571539
# [BUGFIX]-Mod-END by TCTNB.Dong.Jiang
debug.sf.hw=0
debug.egl.hw=0
persist.hwc.mdpcomp.enable=true
debug.mdpcomp.logs=0
dalvik.vm.heapsize=36m
dev.pm.dyn_samplingrate=1
persist.demo.hdmirotationlock=false
debug.enable.sglscale=1
persist.hwc.downscale_threshold=1.15
#ro.hdmi.enable=true
#tunnel.decode=true
#tunnel.audiovideo.decode=true
#lpa.decode=false
#lpa.use-stagefright=true
#persist.speaker.prot.enable=false
qcom.hw.aac.encoder=true
#
# system props for the cne module
#
#[BUGFIX]-Add-BEGIN by TCTNB.Jie.Zhang,11/27/2015,928737,disable cne wqe feature
#[BUGFIX]-Add-BEGIN by TCTNB.Jie.Zhang,10/12/2015,708337,enable cne wqe feature
persist.cne.feature=1
#persist.sys.cnd.wqe=1
#[BUGFIX]-Add-END by TCTNB.Jie.Zhang
#[BUGFIX]-Add-END by TCTNB.Jie.Zhang
#[BUGFIX]-Add-BEGIN by TCTNB.Xijun.Zhang,09/18/2015,528403,571170
#
# system props for the dpm module
#
persist.dpm.nsrm.bkg.evt=16251
#[BUGFIX]-Add-END by TCTNB.Xijun.Zhang,09/18/2015,528403,571170
#system props for the MM modules
media.msm8956hw=0
mm.enable.smoothstreaming=true
av.debug.disable.pers.cache=true
mmp.enable.3g2=true
media.aac_51_output_enabled=true
#codecs:(PARSER_)AAC AC3 AMR_NB AMR_WB ASF AVI DTS FLV 3GP 3G2 MKV MP2PS MP2TS MP3 OGG QCP WAV FLAC AIFF APE
mm.enable.qcom_parser=1048303
# Additional buffers shared between Camera and Video
vidc.enc.dcvs.extra-buff-count=2
#Audio voice concurrency related flags
voice.playback.conc.disabled=true
voice.record.conc.disabled=false
voice.voip.conc.disabled=true
#Decides the audio fallback path during voice call, deep-buffer and fast are the two allowed fallback paths now.
voice.conc.fallbackpath=deep-buffer
#parser input buffer size(256kb) in byte stream mode
audio.parser.ip.buffer.size=262144
#
# system props for the data modules
#
ro.use_data_netmgrd=true
persist.data.netmgrd.qos.enable=true
persist.data.mode=concurrent
#system props for time-services
persist.timed.enable=true
#
# system prop for opengles version
#
# 196608 is decimal for 0x30000 to report major/minor versions as 3/0
# 196609 is decimal for 0x30001 to report major/minor versions as 3/1
ro.opengles.version=196609
# System property for cabl
ro.qualcomm.cabl=2
#
# System props for telephony
# System prop to turn on CdmaLTEPhone always
telephony.lteOnCdmaDevice=1
#
# System props for bluetooh
# System prop to turn on hfp client
bluetooth.hfp.client=1
#Simulate sdcard on /data/media
#
persist.fuse_sdcard=true
#
#snapdragon value add features
#
ro.qc.sdk.audio.ssr=false
##fluencetype can be "fluence" or "fluencepro" or "none"
ro.qc.sdk.audio.fluencetype=fluence
persist.audio.fluence.voicecall=true
persist.audio.fluence.voicerec=false
persist.audio.fluence.speaker=true
#Set for msm8952
tunnel.audio.encode = false
#Buffer size in kbytes for compress offload playback
audio.offload.buffer.size.kb=64
#Minimum duration for offload playback in secs
audio.offload.min.duration.secs=30
#Enable offload audio video playback by default
audio.offload.video=true
#Enable PCM offload by default
audio.offload.pcm.16bit.enable=true
audio.offload.pcm.24bit.enable=true
#Enable audio track offload by default
audio.offload.track.enable=false
#Enable music through deep buffer
audio.deep_buffer.media=true
#Enable downsampling for multi-channel content > 48Khz
audio.playback.mch.downsample=true
#enable voice path for PCM VoIP by default
use.voice.path.for.pcm.voip=true
#System property for FM transmitter
ro.fm.transmitter=false
#enable dsp gapless mode by default
audio.offload.gapless.enabled=true
#multi offload
audio.offload.multiple.enabled=false
#enable pbe effects
audio.safx.pbe.enabled=true
#property for AudioSphere Post processing
audio.pp.asphere.enabled=false
#Set composition for USB
#Add Begin by liping.gao(SH)-2015/10/30:set USB AF08 when power on,task:528311
#Add End by liping.gao (SH)-2015/10/30,task:528311
#Set read only default composition for USB
#ro.sys.usb.default.config=diag,serial_smd,rmnet_ipa,adb
#property to enable user to access Google WFD settings
persist.debug.wfd.enable=1
#property to enable VDS WFD solution
persist.hwc.enable_vds=1
#selects CoreSight configuration to enable
persist.debug.coresight.config=stm-events
#property for vendor specific library
ro.vendor.at_library=libqti-at.so
ro.vendor.gt_library=libqti-gt.so
#property to enable narrow search range for video encoding
vidc.enc.narrow.searchrange=1
#property to enable fingerprint
persist.qfp=false
#min/max cpu in core control
ro.core_ctl_min_cpu=2
ro.core_ctl_max_cpu=4
#property to enable DS2 dap
audio.dolby.ds2.enabled=true
#HWUI properties
ro.hwui.texture_cache_size=72
ro.hwui.layer_cache_size=48
ro.hwui.r_buffer_cache_size=8
ro.hwui.path_cache_size=32
ro.hwui.gradient_cache_size=1
ro.hwui.drop_shadow_cache_size=6
ro.hwui.texture_cache_flushrate=0.4
ro.hwui.text_small_cache_width=1024
ro.hwui.text_small_cache_height=1024
ro.hwui.text_large_cache_width=2048
ro.hwui.text_large_cache_height=2048
#Enable B service adj transition by default
ro.sys.fw.bservice_enable=true
ro.sys.fw.bservice_limit=5
ro.sys.fw.bservice_age=5000
# Enable Delay Service Restart
ro.am.reschedule_service=true
#Trim properties
ro.sys.fw.use_trim_settings=true
ro.sys.fw.empty_app_percent=50
ro.sys.fw.trim_empty_percent=100
ro.sys.fw.trim_cache_percent=100
ro.sys.fw.trim_enable_memory=2147483648
#Optimal dex2oat threads for faster app installation
ro.sys.fw.dex2oat_thread_count=4
# set cutoff voltage to 3200mV
ro.cutoff_voltage_mv=3200
#set the debug configuration for 8956/76
persist.debug.8976.config=true
#force HAL1 for below packages
camera.hal1.packagelist=com.skype.raider,com.google.android.talk
#properties for limiting preview size in camera
camera.display.umax=1920x1080
camera.display.lmax=1280x720
#low power mode for camera
camera.lowpower.record.enable=1
#enable game colocation feature
sched.colocate.enable=1
#[FEATURE]-Add-BEGIN by TCTNB.Danbin.Xu,09/22/2015,Task-571151,
#notification appears after 2 times reject cause #17
persist.radio.manual_nw_rej_ct=1
#[FEATURE]-Add-END by TCTNB.Danbin.Xu
#[FEATURE]-Add by TCTNB.Liu Jie,Task-621236
ro.audio.monitorRotation=true
#[BUGFIX]-Add-BEGIN by TCTNB.Qiancheng.Zhao,28/12/2015,defect-1239714
persist.media.hls.customization=1
persist.media.hls.image_support=1
persist.media.hls.actual_bw=1
persist.media.hls.asym_bw=1
persist.media.hls.cust_bw=1
persist.media.hls.start_SeqNo=1
#add by zhi-zhang, 2016/1/6, Task-1353218
persist.radio.VT_HYBRID_ENABLE=1
persist.radio.ROTATION_ENABLE=1
persist.dbg.volte_avail_ovr=1
persist.radio.VT_USE_MDM_TIME=0
#add by zhi-zhang, 2016/1/19, Task-1353218
persist.rcs.supported=1
persist.OPERATOR_MODE=9
#[BUGFIX]-Add-BEGIN by TCTNB.Minjie.Cai,1/13/2016,defect-1280737
av.debug.disable.pers.cache=1
#[BUGFIX]-Add-END by TCTNB.Minjie.Cai
#[BUGFIX]-Add-BEGIN by [email protected]
persist.camera.mobicat=2
persist.camera.stats.debugexif=3080192
#[BUGFIX]-Add-END by [email protected]
#[TASK]-ADD-BEGIN by TCTSH.CYJ, task-1822482, 2016/03/16, add sensor hal log for all idol4 projects, not only idol4s
persist.debug.sensors.hal=1
debug.qualcomm.sns.daemon=1
debug.qualcomm.sns.libsensor1=1
#[TASK]-ADD-END by TCTSH.CYJ, task-1822482, 2016/03/16, add sensor hal log for all idol4 projects, not only idol4s
#
# ADDITIONAL_BUILD_PROPERTIES
#
dalvik.vm.heapminfree=4m
dalvik.vm.heapstartsize=16m
dalvik.vm.heapgrowthlimit=192m
dalvik.vm.heapsize=512m
dalvik.vm.heaptargetutilization=0.75
dalvik.vm.heapmaxfree=8m
keyguard.no_require_sim=true
ro.carrier=unknown
ro.vendor.extension_library=libqti-perfd-client.so
persist.radio.sib16_support=1
persist.radio.custom_ecc=0
ro.com.google.gmsversion=6.0_r4
persist.service.adb.enable=0
persist.sys.dload.enable=0
persist.sys.ssr.restart_level=ALL_ENABLE
persist.debug.multimedia=0
af.fast_track_multiplier=2
audio_hal.period_size=192
persist.sys.dalvik.vm.lib.2=libart
dalvik.vm.isa.arm64.variant=generic
dalvik.vm.isa.arm64.features=default
dalvik.vm.isa.arm.variant=cortex-a53
dalvik.vm.isa.arm.features=default
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
persist.gps.qc_nlp_in_use=1
persist.loc.nlp_name=com.qualcomm.location
ro.gps.agps_provider=1
ro.expect.recovery_id=0xc2985be281118ecef3a41fe353d3930254bd00ec000000000000000000000000
#
#jrd sys properties
#
ro.def.preload.sdn=0
ro.config.ringtone=Fresh.ogg
ro.config.notification_sound=Success.mp3
ro.config.alarm_alert=Ahead.ogg
ro.com.google.clientidbase=android-alcatel
ro.com.google.clientidbase.ms=android-alcatel
ro.com.google.clientidbase.gmm=android-alcatel
ro.com.google.clientidbase.am=android-alcatel
ro.com.google.clientidbase.yt=android-alcatel
ro.setupwizard.mode=OPTIONAL
persist.sys.timezone=Europe/Amsterdam
persist.orangeapn.selectable=false
ro.com.android.mobiledata=true
ro.com.android.dataroaming=false
ro.product.locale.language=en
ro.product.locale.region=GB
persist.sys.usb.protect=0
persist.sys.usb.config=mtp
ro.kernel.diag.enable=true
persist.adb.notify=1
ro.def.software.version=010 02
ro.def.software.svn=010 02
ro.def.hardware.version=PIO1
persist.radio.multisim.config=single
drm.service.enabled=true
feature.tct.drm.enabled=true
def.tct.drm.cd.enabled=true
def.tct.drm.sd.enabled=true
persist.sys.tct_sar.enabled=0
ro.bluetooth.name=alcatel IDOL 4
ro.bluetooth.name.telcel=AlCATEL Idol 4
persist.sys.softap.wps.enable=false
persist.dpm.feature=7
persist.dpm.config.file=0
ro.telephony.default_network=9
persist.radio.mns_with_all_rat=0
persist.radio.apm_sim_not_pwdn=1
persist.data_netmgrd_mtu=1440
def.uaprofile.enabled=false
def.uaprofile.prefix=http://www-ccpp.tcl-ta.com/
ro.support.fastload.cdm=true
def.uaprofile.suffix=files/6055P.xml
ro.download.useragent.enable=0
ro.def.browser=0
persist.radio.orig_num_disp=false
persist.sys.hideNaviBar=false
ro.ssv.enabled=false
ro.ssv.operator.choose=GMS
ro.ssv.ringtone=default,Claro.mp3,334020,Telcel.mp3
ro.ssv.notification_sound=default,Claro.mp3,334020,Telcel.mp3
ro.ssv.alarm_alert=default,Dew.mp3,334020,Xylo.mp3
ro.kernel.nfc.enable=true
def.tctfw.brandMode.name=alcatel IDOL 4
ro.com.movilnet.SP.label=false
ro.config.google.clientiddata1=722310,-ar,73003,-cl,732101,-co,71203,-cr,37002,-do,74001,-ec,70401,-gt,708001,-hn
ro.config.google.clientiddata2=71021,-ni,71610,-pe,70601,-sv,74810,-py,330110,-pr,71403,-pa,334020,-mx,74402,-uy
def.zenMode.allowCalls=0
def.7bit.to.ascii.enable=false
ro.default.locale.input=
ro.need.support.ru.input=
persist.sys.flipcover.feature=2
def.tctfw.build.number=010 02
def.sys.stk.sume.name=false
ro.com.android.multisim.data=true,false
ro.def.dnsmasq.least.time=120m
feature.tethering.check.enabled=false
ro.set.nl.cb.on=true
persist.sys.media.rtp-ports=15550-65535
gsm.network.offset=
phone.num.significant.length=7
vcard.phonenumber.format=true
ro.headset.sound.mode=1
ro.ssv.phone.num.match.len1=73010,8,74807,7,72207,6,33403,7,70403,8,70604,8,710300,8,714020,8,732123,10,73001,8,73002,8
ro.ssv.phone.num.match.len2=732101,10,732103,10,732111,10,74000,8,74001,8,74002,8,71606,7,73404,10,71204,8
ro.ssv.phone.num.match.len3=73003,8,722070,6,71030,8,71402,8,334030,7,46001,9,46002,8
ro.ssv.phone.num.match.len4=73004,8,73005,8,73006,8,73007,8,73008,8,73009,8,73011,8,73099,8
debug.jrdrecord=0
ro.config.phnum.accurate=false
ro.config.default.message=com.android.messaging
persist.eccforchina.enable=false
ro.frp.pst=/dev/block/bootdevice/by-name/config
ro.vrglass.enabled=true
ro.vr.lightsensor=true
def.customized.stk.app.name=0
gsm.stk.perso.app.title=
ro.vf.audio.enforce.audible=false
persist.radio.aosp_usr_pref_sel=true
ro.x.wap.profile=http://www-ccpp.tcl-ta.com/files/6055P.xml
persist.radio.redir_party_num=0
contacts.display.photo_size=720
contacts.thumbnail.size=96
player.relative.volume.hipri=40
player.relative.volume.lopri=20
ro.boot.ringtone.enable=1
ro.sf.lcd_density=480
ro.cb.channel50.brazil=false
ro.config.smsencode.forgreek.on=false
persist.data.iwlan.enable=FALSE
persist.radio.VT_ENABLE=0
persist.radio.VOLTE_ENABLE=FALSE
persist.radio.domain.ps=FALSE
persist.radio.calls.on.ims=TRUE
persist.radio.vrte_logic=1
persist.radio.jbims=1
persist.ims.enableADBLogs=1
persist.ims.enableDebugLogs=1
persist.sys.language=
persist.sys.country=
def.is.open.modemlog=true
vdf.sml.ergo.type=3
vdf.sml.ergo.UI=0
persist.sys.ssr.enable_efsrec=1
ro.default.en.ru.input=true
ro.gid.3apk.enabled=false
persist.target.logs.level=2
def.stk.show.double.icon=true
persist.radio.hotspot.support=0
ro.email.config.EasUA=Alcatel6055U
persist.sys.lang.mccmnc=
ro.tct.acdb.operator=
---------- Post added at 01:50 AM ---------- Previous post was at 01:13 AM ----------
The results from running cat /proc/partitions:
Code:
major minor #blocks name
7 0 98304 loop0
179 0 15267840 mmcblk0
179 1 86016 mmcblk0p1
179 2 2048 mmcblk0p2
179 3 1024 mmcblk0p3
179 4 1 mmcblk0p4
179 5 8 mmcblk0p5
179 6 512 mmcblk0p6
179 7 512 mmcblk0p7
179 8 512 mmcblk0p8
179 9 512 mmcblk0p9
179 10 2048 mmcblk0p10
179 11 2048 mmcblk0p11
179 12 512 mmcblk0p12
179 13 512 mmcblk0p13
179 14 16384 mmcblk0p14
179 15 2048 mmcblk0p15
179 16 2048 mmcblk0p16
179 17 1024 mmcblk0p17
179 18 2048 mmcblk0p18
179 19 10240 mmcblk0p19
179 20 20480 mmcblk0p20
179 21 32 mmcblk0p21
179 22 2048 mmcblk0p22
179 23 16 mmcblk0p23
179 24 1024 mmcblk0p24
179 25 1024 mmcblk0p25
179 26 65536 mmcblk0p26
179 27 65536 mmcblk0p27
179 28 1024 mmcblk0p28
179 29 3661824 mmcblk0p29
179 30 32 mmcblk0p30
179 31 256 mmcblk0p31
259 0 256 mmcblk0p32
259 1 256 mmcblk0p33
259 2 256 mmcblk0p34
259 3 262144 mmcblk0p35
259 4 32768 mmcblk0p36
259 5 1024 mmcblk0p37
259 6 512 mmcblk0p38
259 7 2048 mmcblk0p39
259 8 51200 mmcblk0p40
259 9 512 mmcblk0p41
259 10 256 mmcblk0p42
259 11 1024 mmcblk0p43
259 12 32768 mmcblk0p44
259 13 512 mmcblk0p45
259 14 4096 mmcblk0p46
259 15 256 mmcblk0p47
259 16 256 mmcblk0p48
259 17 8 mmcblk0p49
259 18 20480 mmcblk0p50
259 19 10794727 mmcblk0p51
179 32 4096 mmcblk0rpmb
253 0 524288 zram0
179 64 1934336 mmcblk1
179 65 1934269 mmcblk1p1
254 0 10794711 dm-0

Here is my contribution to CM developing:
1. Idol 4 6055K device tree for building TWRP on OmniROM sources: https://github.com/DeckerSU/idol4_6055k_device_tree
2. Boot Image - https://yadi.sk/d/YPKFPDm_w7jSM
3. Recovery Image - https://yadi.sk/d/umDuIrFJw7jaq
4. System Image (just FS of /system in 7z-archive, containing all proprietary blobs) - https://yadi.sk/d/4v7TV749w7mtZ
5. Partition layout:
Code:
Disk /dev/block/mmcblk0: 30535680 sectors, 14.6 GiB
Logical sector size: 512 bytes
Partition table holds up to 52 entries
First usable sector is 34, last usable sector is 30535646
Partitions will be aligned on 2-sector boundaries
Total free space is 227116 sectors (110.9 MiB)
Number Start (sector) End (sector) Size Code Name
1 131072 303103 84.0 MiB 0700 modem
2 393216 397311 2.0 MiB FFFF tunning
3 397312 399359 1024.0 KiB FFFF traceability
4 399360 399361 1024 bytes FFFF fsc
5 399362 399377 8.0 KiB FFFF ssd
6 399378 400401 512.0 KiB FFFF sbl1
7 400402 401425 512.0 KiB 0700 sbl1bak
8 401426 402449 512.0 KiB FFFF rpm
9 402450 403473 512.0 KiB 0700 rpmbak
10 403474 407569 2.0 MiB FFFF tz
11 407570 411665 2.0 MiB 0700 tzbak
12 411666 412689 512.0 KiB FFFF hyp
13 412690 413713 512.0 KiB 0700 hypbak
14 413714 446481 16.0 MiB 0700 dsp
15 446482 450577 2.0 MiB FFFF modemst1
16 450578 454673 2.0 MiB FFFF modemst2
17 454674 456721 1024.0 KiB FFFF simlock
18 456722 460817 2.0 MiB FFFF persistent
19 460818 481297 10.0 MiB FFFF splash
20 481298 522257 20.0 MiB 0700 hdcp
21 524288 524351 32.0 KiB FFFF DDR
22 524352 528447 2.0 MiB FFFF fsg
23 528448 528479 16.0 KiB FFFF sec
24 528480 530527 1024.0 KiB FFFF aboot
25 530528 532575 1024.0 KiB 0700 abootbak
26 532576 663647 64.0 MiB FFFF boot
27 663648 794719 64.0 MiB FFFF recovery
28 794720 796767 1024.0 KiB FFFF devinfo
29 796768 8120415 3.5 GiB FFFF system
30 8120416 8120479 32.0 KiB FFFF limits
31 8120480 8120991 256.0 KiB FFFF cmnlib
32 8120992 8121503 256.0 KiB FFFF keymaster
33 8121504 8122015 256.0 KiB FFFF cmnlibbak
34 8122016 8122527 256.0 KiB FFFF keymasterbak
35 8126464 8650751 256.0 MiB FFFF cache
36 8650752 8716287 32.0 MiB FFFF persist
37 8716288 8718335 1024.0 KiB FFFF misc
38 8718336 8719359 512.0 KiB FFFF keystore
39 8719360 8723455 2.0 MiB FFFF config
40 8723456 8825855 50.0 MiB 0700 tctpersist
41 8825856 8826879 512.0 KiB FFFF mota
42 8826880 8827391 256.0 KiB FFFF devcfg
43 8827392 8829439 1024.0 KiB FFFF dip
44 8829440 8894975 32.0 MiB FFFF mdtp
45 8894976 8895999 512.0 KiB FFFF syscfg
46 8896000 8904191 4.0 MiB FFFF mcfg
47 8904192 8904703 256.0 KiB FFFF apdp
48 8904704 8905215 256.0 KiB FFFF msadp
49 8905216 8905231 8.0 KiB FFFF dpo
50 8905232 8946191 20.0 MiB FFFF reserved
51 8946192 30535646 10.3 GiB FFFF userdata
6. Kernel Sources - OT_6055K_20160714.tar.xz from https://sourceforge.net/projects/alcatel/files/ .
p.s. Yandex Disk - is a Cloud File storage, like Google Drive and others. If your downloading speed limits to 64 kbps in some reasons, register your own Yandex account (it's free), save file to your own cloud account (Yandex Disk) and download it from your Disk account without any speed limitations.
p.p.s. I didn't try to build CM for Idol 4 6055 yet, because first i need to buy a "test device" for an experiements. But when i do it, of course i will try to build.

DeckerSU said:
6. Kernel Sources - OT_6055K_20160714.tar.xz from https://sourceforge.net/projects/alcatel/files/ .
Click to expand...
Click to collapse
On this sourceforge repo, I see this archive: OT_6055Y_20160912.tar.xz, but when I open it the main folder is named Idol3m....

Let me know if I can help.

Oh great guys! I'll start work on this tomorrow.

Status Update: Life got in the way, will fix my Linux environment up and get this working. @DeckerSU, you best get that flashing software ready for this!

I dont own an Idol 4 yet, hoping for it to be my next phone soon, and I'm very excited to see all the development starting on this phone. Even if I don't get it, keep up the great work! Its because of users and developers like you guys that make XDA great

minz1 said:
Status Update: Life got in the way, will fix my Linux environment up and get this working. @DeckerSU, you best get that flashing software ready for this!
Click to expand...
Click to collapse
It's ready ?
Sent from my 6055P using XDA-Developers mobile app

Status Update 2: Was working on my own phone for a while; good to switch things up. Work is continuing; hopefully this pans out and I can have an alpha soon. If you want to help support the development, please donate as it really helps a lot. Keeps my morale up when people buy me a soda or something of the sort . Thanks for keeping an eye on this project! Expect another update soon. (1-2 weeks)

Due to another project, I am suspending this one until the other project is complete. I'm sorry.

minz1 said:
Due to another project, I am suspending this one until the other project is complete. I'm sorry.
Click to expand...
Click to collapse
Sorry to hear that, but I understand. I got you get back soon to is.

What a shame, but still waiting for some custom. Anyway is it any way just to make any custom without changes except UI , i mean just to change a look of whole Android menu icons etc. I'm so annoyed by efin material design.
Hope You'll finish first project very soon and you'll start Idol one !

I want to get this device soon, it looks really good. Have you guys thought of porting ROMs from the One A9 and the Moto G4/G4+?

Juandr0ide said:
I want to get this device soon, it looks really good. Have you guys thought of porting ROMs from the One A9 and the Moto G4/G4+?
Click to expand...
Click to collapse
I can't see any roms being made for the device. Development died before it even started
Sent from my 6055P using XDA-Developers mobile app

If I do get the phone I might port some ROMs from the Moto G4. There's already TWRP for this device.
Sent from my hi6210sft using XDA-Developers Legacy app

is this project dead and gone?
minz1 said:
Due to another project, I am suspending this one until the other project is complete. I'm sorry.
Click to expand...
Click to collapse
just wondering if you ever made it back to this?

Related

[DEV][R&D] FW & Partition Tables (Here!)

I'm working on a project doing Firmware/Bootloader analysis and documentation.
This will eventually be crucially important in providing service, repair and
unbricking of these device. And if you think that these will not soft-brick,
just remember that the OS have "Windows" in it's name...
However, this project requires detailed knowledge of the following two components:
Bootloader & Firmware files
Partition Table
To make things more simple for this project, I have chosen to only focus on devices using the Qualcomm
Snapdragon S4 Plus/Pro processors, these are also known as the MSM8960, MSM8960T and MSM8930.
So if you have any of the devices shown in the list below, please try to extract and post these details,
when and if they become available. (I recommend using Sendspace to upload large files.)
Code:
[SIZE=2]HTC Windows Phone 8X LTE ADR6990 Verizon
HTC Windows Phone 8X LTE
Nokia Lumia 820 (Nokia Arrow)
Nokia Lumia 820.2 (Nokia Arrow)
Nokia Lumia 822 (Nokia Atlas) Verizon
Nokia Lumia 920 (Nokia Phi)
Nokia Lumia 920.2 (Nokia Phi)
Samsung GT-i8750 Ativ S 16GB (Samsung Odyssey)
Samsung GT-i8750 Ativ S 32GB (Samsung Odyssey)[/SIZE]
[Obtained from the PDAdb web site.]
This list is in no way exhaustive, and it may be very likely that you have another device or still using
Windows Phone 7 (?) with that same processor. That would also be interesting. Another thing that may
be very useful, is documentation related to the Windows Phone build structure.
The results of this project will be published here and will benefit the development community
in several different ways.
Please do not post any general unrelated questions here, they will be removed.
And I will not answer to any support related PM's.
Thanks in advance.
< Here Be Snap ! Dragons >
Good start .. E.V.A have u trued to contact Cotulla on htc-linux or DFT team. They might have something that might interest you . I'll post once i grab my hands on them.
Sent from my GT-I9300 using xda premium
If someone has a working Windows Phone 8, and if at all possible, please follow these instructions to dump the partition tables. As you're on a windows phone, you may need to connect it to a linux based PC, to get these...
Hi, I am in possession of an HTC 8X engineering unit (see here http://forum.xda-developers.com/showthread.php?t=1966327). How can I help? Someone on my thread suggested that I should post here.
Hi! Yes, you could be of great help, if you could provide the partition tables from that device. I know it's politically incorrect to ask you to use a linux tool for doing this, but that is (probably) the only way it will be useful, as you cannot trust native windows partition information...
The way to do it, is by connecting your WP to a linux computer or possibly by using some linux distribution under a virtual machine (VirtualBox, VMware etc.) Then follow the instructions found here.
Thanks in advance.
8X Partition table
Hello. Also have a 8X engineering unit. This is the Partition Info:
Code:
# fdisk -l /dev/sdb
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdb: 15.6 GB, 15634268160 bytes
1 heads, 32 sectors/track, 954240 cylinders
Units = cylinders of 32 * 512 = 16384 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 1 444417 7110656 ee GPT
Partition 1 does not end on cylinder boundary.
# parted /dev/sdb
GNU Parted 2.3
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: Qualcomm MMC Storage (scsi)
Disk /dev/sdb: 15,6GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 62,9MB 61,9MB pg1fs
2 62,9MB 66,1MB 3146kB MODEM_FSG
3 66,1MB 67,1MB 1049kB board_info
4 67,1MB 75,5MB 8389kB DPP
5 75,5MB 77,6MB 2097kB SSD
6 77,6MB 78,6MB 1049kB SBL1
7 78,6MB 79,7MB 1049kB SBL2
8 79,7MB 81,8MB 2097kB SBL3
9 81,8MB 83,9MB 2097kB UEFI
10 83,9MB 84,9MB 1049kB RPM
11 84,9MB 86,0MB 1049kB TZ
12 86,0MB 87,0MB 1049kB WINSECAPP
13 87,0MB 88,1MB 1049kB BACKUP_SBL1
14 88,1MB 89,1MB 1049kB BACKUP_SBL2
15 89,1MB 91,2MB 2097kB BACKUP_SBL3
16 91,2MB 93,3MB 2097kB BACKUP_UEFI
17 93,3MB 94,4MB 1049kB BACKUP_RPM
18 94,4MB 95,4MB 1049kB BACKUP_TZ
19 95,4MB 96,5MB 1049kB BACKUP_WINSECAPP
20 96,5MB 138MB 41,9MB RADIO
21 138MB 139MB 262kB UEFI_BS_NV
22 139MB 140MB 262kB UEFI_NV
23 141MB 149MB 8389kB PLAT
24 149MB 192MB 43,0MB fat16 EFIESP
25 192MB 193MB 1049kB pg2fs
26 193MB 194MB 1049kB RFG_0
27 194MB 195MB 1049kB RFG_1
28 195MB 196MB 1049kB RFG_2
29 196MB 197MB 1049kB RFG_3
30 197MB 198MB 1049kB RFG_4
31 198MB 199MB 1049kB RFG_5
32 199MB 200MB 1049kB RFG_6
33 200MB 201MB 1049kB RFG_7
34 201MB 202MB 1049kB RFG_8
35 202MB 207MB 4194kB MODEM_FS1
36 207MB 211MB 4194kB MODEM_FS2
37 211MB 211MB 262kB UEFI_RT_NV
38 212MB 212MB 131kB UEFI_RT_NV_RPMB
39 213MB 214MB 1049kB MFG
40 214MB 215MB 1049kB MISC
41 215MB 228MB 13,4MB fat16 MMOS
42 235MB 2698MB 2463MB ntfs MainOS
43 2698MB 5114MB 2416MB fat32 CrashDump
44 5117MB 15,6GB 10,5GB ntfs Data
(parted) q
# gdisk -l /dev/sdb
GPT fdisk (gdisk) version 0.8.5
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sdb: 30535680 sectors, 14.6 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): AE420040-13DD-41F2-AE7F-0DC35854C8D7
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 30535646
Partitions will be aligned on 2048-sector boundaries
Total free space is 27687 sectors (13.5 MiB)
Number Start (sector) End (sector) Size Code Name
1 2048 122879 59.0 MiB FFFF pg1fs
2 122880 129023 3.0 MiB FFFF MODEM_FSG
3 129024 131071 1024.0 KiB FFFF board_info
4 131072 147455 8.0 MiB 0700 DPP
5 147456 151551 2.0 MiB FFFF SSD
6 151552 153599 1024.0 KiB FFFF SBL1
7 153600 155647 1024.0 KiB FFFF SBL2
8 155648 159743 2.0 MiB FFFF SBL3
9 159744 163839 2.0 MiB FFFF UEFI
10 163840 165887 1024.0 KiB FFFF RPM
11 165888 167935 1024.0 KiB FFFF TZ
12 167936 169983 1024.0 KiB FFFF WINSECAPP
13 169984 172031 1024.0 KiB FFFF BACKUP_SBL1
14 172032 174079 1024.0 KiB FFFF BACKUP_SBL2
15 174080 178175 2.0 MiB FFFF BACKUP_SBL3
16 178176 182271 2.0 MiB FFFF BACKUP_UEFI
17 182272 184319 1024.0 KiB FFFF BACKUP_RPM
18 184320 186367 1024.0 KiB FFFF BACKUP_TZ
19 186368 188415 1024.0 KiB FFFF BACKUP_WINSECAPP
20 188416 270335 40.0 MiB FFFF RADIO
21 270336 270847 256.0 KiB FFFF UEFI_BS_NV
22 272384 272895 256.0 KiB FFFF UEFI_NV
23 274432 290815 8.0 MiB FFFF PLAT
24 290816 374783 41.0 MiB 0700 EFIESP
25 374784 376831 1024.0 KiB FFFF pg2fs
26 376832 378879 1024.0 KiB FFFF RFG_0
27 378880 380927 1024.0 KiB FFFF RFG_1
28 380928 382975 1024.0 KiB FFFF RFG_2
29 382976 385023 1024.0 KiB FFFF RFG_3
30 385024 387071 1024.0 KiB FFFF RFG_4
31 387072 389119 1024.0 KiB FFFF RFG_5
32 389120 391167 1024.0 KiB FFFF RFG_6
33 391168 393215 1024.0 KiB FFFF RFG_7
34 393216 395263 1024.0 KiB FFFF RFG_8
35 395264 403455 4.0 MiB FFFF MODEM_FS1
36 403456 411647 4.0 MiB FFFF MODEM_FS2
37 411648 412159 256.0 KiB FFFF UEFI_RT_NV
38 413696 413951 128.0 KiB FFFF UEFI_RT_NV_RPMB
39 415744 417791 1024.0 KiB FFFF MFG
40 417792 419839 1024.0 KiB FFFF MISC
41 419840 446031 12.8 MiB 0700 MMOS
42 458752 5269094 2.3 GiB 0700 MainOS
43 5269504 9988095 2.2 GiB 0700 CrashDump
44 9994240 30535646 9.8 GiB 0700 Data
#
^^ Very nice!
Also for everybody's information. I was looking into one of the FFU files of the WP7 (?) Nokia Lumina 800 (RM-801), and it appears that hidden partitions (or mounts) are set in a registry key...
Code:
[SIZE=2][HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MMC\IMGFS]
"MountHidden"=dword:1
"MountAsROM"=dword:1
"XIP"=dword:0
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMemory\IMGFS]
"MountHidden"=dword:1
"MountAsROM"=dword:1
"XIP"=dword:0
[HKEY_LOCAL_MACHINE\Drivers\BlockDevice\UniBlk]
"InternalStoreProfile"="MMC"
"InternalPartitionType"=dword:4[/SIZE]
and that the write protection is set by these registry items:
Code:
[SIZE=2][HKEY_LOCAL_MACHINE\System\StorageManager\WMPART\WriteProtectRegions\Region1]
"StartSector"=dword:0
"SectorCount"=dword:60000
[HKEY_LOCAL_MACHINE\System\StorageManager\WMPART]
"EnableHardwareWriteProtection"=dword:1
"PadAlignment"=dword:10000[/SIZE]
of course I could be wrong, since there are loads of similar items in there.
But it will perhaps help someone finding out where to look.

[SOLVED] shell command to output partition map

Title edit: Shell command to output Partition Map?
I'm looking to get a similar output to this on my LG G2.
Code:
#cat /proc/mtd
dev: size erasesize name
mtd0: 00040000 00020000 "misc"
mtd1: 00500000 00020000 "recovery"
mtd2: 00280000 00020000 "boot"
mtd3: 04380000 00020000 "system"
mtd4: 04380000 00020000 "cache"
mtd5: 04ac0000 00020000 "userdata"
Except the mtd file does not exist. I tried /proc/emmc but that also doesn't exist.
However /proc/partitions/ does exist but gives me an output like so,
Code:
~ # cat /proc/partitions
major minor #blocks name
179 0 30535680 mmcblk0
179 1 65536 mmcblk0p1
179 2 1024 mmcblk0p2
179 3 512 mmcblk0p3
179 4 512 mmcblk0p4
179 5 1024 mmcblk0p5
179 6 1024 mmcblk0p6
179 7 16384 mmcblk0p7
179 8 1024 mmcblk0p8
179 9 1 mmcblk0p9
179 10 3072 mmcblk0p10
179 11 3072 mmcblk0p11
179 12 1 mmcblk0p12
179 13 16384 mmcblk0p13
179 14 32768 mmcblk0p14
179 15 16384 mmcblk0p15
179 16 3072 mmcblk0p16
179 17 512 mmcblk0p17
179 18 512 mmcblk0p18
179 19 1 mmcblk0p19
179 20 512 mmcblk0p20
179 21 8192 mmcblk0p21
179 22 8192 mmcblk0p22
179 23 32768 mmcblk0p23
179 24 32768 mmcblk0p24
179 25 32768 mmcblk0p25
179 26 512 mmcblk0p26
179 27 1024 mmcblk0p27
179 28 1024 mmcblk0p28
179 29 8 mmcblk0p29
179 30 2834432 mmcblk0p30
179 31 622592 mmcblk0p31
259 0 81920 mmcblk0p32
259 1 16384 mmcblk0p33
259 2 49152 mmcblk0p34
259 3 26460160 mmcblk0p35
259 4 61423 mmcblk0p36
179 32 512 mmcblk0rpmb
~ #
Could anyone decode these names for me so I can clearly tell which partitions are which? :victory:
EDIT: Found the answer after googling mmcblk parititon layout (I feel stupid). If it helps anyone out in the future, here are the corresponding names (below). I ran
Code:
ls -l /dev/block/platform/msm_sdcc.1/by-name/
.
mmcblk0p4: DDR
mmcblk0p5: aboot
mmcblk0p7: boot
mmcblk0p31: cache
mmcblk0p34: cust
mmcblk0p3: dbi
mmcblk0p26: dbibak
mmcblk0p21: drm
mmcblk0p0: encrypt
mmcblk0p24: fota
mmcblk0p17: fsc
mmcblk0p16: fsg
mmcblk0p36: grow
mmcblk0p23: laf
mmcblk0p13: misc
mmcblk0p1: modem
mmcblk0p10: modemst1
mmcblk0p11: modemst2
mmcblk0p25: mpt
mmcblk0p9: pad
mmcblk0p12: pad1
mmcblk0p19: pad2
mmcblk0p14: persist
mmcblk0p29: rct
mmcblk0p15: recovery
mmcblk0p6: rpm
mmcblk0p27: rpmbak
mmcblk0p2: sbl1
mmcblk0p22: sns
mmcblk0p33: spare
mmcblk0p18: ssd
mmcblk0p30: system
mmcblk0p32: tombstones
mmcblk0p8: tz
mmcblk0p28: tzbak
mmcblk0p35: userdata

How to mount the root filesystem in twrp recovery?

Sorry for this perhaps dumb question and I'm sure it was answered anywhere but searching for "mount root recovery" lists everything to root the device. Last time I need to do this was on my HTC Desire with that S-ON
Ok, but for the backgrounds:
I am running CM13 (rooted of cource) and I need to tweak /init.cm.rc startup script.
When doing this while running CM13 (/ filesystem mounted rw) any changes are gone after reboot.
So how can I do this?
My first thought was: Edit while in recovery. But in TWRP (3.0) the root filesystem isn't mounted - so how can I mount it?
Or on which partition is it located?
Thanks in advance!
Code:
Found valid GPT with protective MBR; using GPT
Disk /dev/block/mmcblk0: 61071360 sectors, 1148M
Logical sector size: 512
Disk identifier (GUID): 98101b32-bbe2-4bf2-a06e-2bb33d000c20
Partition table holds up to 44 entries
First usable sector is 34, last usable sector is 61071326
Number Start (sector) End (sector) Size Code Name
1 16384 180223 80.0M 0700 modem
2 180224 182271 1024K 0700 sbl1
3 182272 182463 98304 0700 sdi
4 182464 184511 1024K 0700 tz
5 184512 185511 500K 0700 rpm
6 185512 186535 512K 0700 hyp
7 186536 186791 128K 0700 pmic
8 186792 188839 1024K 0700 DDR
9 188840 189095 128K 0700 sec
10 189096 197855 4380K 0700 aboot
11 197856 198111 128K 0700 pmicbak
12 198112 200159 1024K 0700 sbl1bak
13 200160 202207 1024K 0700 tzbak
14 202208 203207 500K 0700 rpmbak
15 203208 204231 512K 0700 hypbak
16 204232 212991 4380K 0700 abootbak
17 212992 212993 1024 0700 devinfo
18 229376 237567 4096K 0700 fsg
19 245760 245761 1024 0700 limits
20 262144 270335 4096K 0700 modemst1
21 270336 278527 4096K 0700 modemst2
22 278528 279039 256K 0700 apdp
23 279040 279551 256K 0700 msadp
24 279552 280063 256K 0700 keymaster
25 280064 280575 256K 0700 cmnlib
26 280576 281087 256K 0700 keymasterbak
27 281088 281599 256K 0700 cmnlibbak
28 281600 281601 1024 0700 dpo
29 281602 281603 1024 0700 fsc
30 281604 281619 8192 0700 ssd
31 281620 294911 6646K 0700 oeminfo
32 294912 311295 8192K 0700 persist
33 311296 344063 16.0M 0700 metadata
34 344064 409599 32.0M 0700 boot
35 409600 475135 32.0M 0700 recovery
36 475136 606207 64.0M 0700 oem
37 606208 1015807 200M 0700 vendor
38 1015808 1220607 100M 0700 cache
39 1220608 1222655 1024K 0700 misc
40 1222656 1223679 512K 0700 keystore
41 1223680 1224703 512K 0700 frp
42 1224704 1225703 500K 0700 persistent
43 1225704 7517159 3072M 0700 system
44 7517160 61071326 25.5G 0700 userdata
markusmuster said:
Sorry for this perhaps dumb question and I'm sure it was answered anywhere but searching for "mount root recovery" lists everything to root the device. Last time I need to do this was on my HTC Desire with that S-ON
Ok, but for the backgrounds:
I am running CM13 (rooted of cource) and I need to tweak /init.cm.rc startup script.
When doing this while running CM13 (/ filesystem mounted rw) any changes are gone after reboot.
So how can I do this?
My first thought was: Edit while in recovery. But in TWRP (3.0) the root filesystem isn't mounted - so how can I mount it?
Or on which partition is it located?
Thanks in advance!
Code:
Found valid GPT with protective MBR; using GPT
Disk /dev/block/mmcblk0: 61071360 sectors, 1148M
Logical sector size: 512
Disk identifier (GUID): 98101b32-bbe2-4bf2-a06e-2bb33d000c20
Partition table holds up to 44 entries
First usable sector is 34, last usable sector is 61071326
Click to expand...
Click to collapse
sorry but init.cm.rc is a RAMDISK file... that means you need to change it in the boot.img .... so you will need to compile a new boot.img with your changes or use android image kitchen... but i warn you... playing with boot.img is for devs so dont do mistakes in there!
Sent from my Xperia T using XDA Free mobile app
Thanks for the information. Already guesses that.
Yesterday I saw somewhere in the init scripts that there was a Cyan-test for a user script. I will investigate this.

Elephone P9000 Partition Layout

Partition Layout for Elephone P9000
Code:
major minor #blocks name fsname
7 0 1254 loop0
7 1 32768 loop1 su
254 0 1988256 zram0
179 0 30535680 mmcblk0
179 1 16384 mmcblk0p1 recovery
179 2 512 mmcblk0p2 para
179 3 10240 mmcblk0p3 expdb
179 4 1024 mmcblk0p4 frp
179 5 256 mmcblk0p5 ppl
179 6 32768 mmcblk0p6 nvdata
179 7 32768 mmcblk0p7 metadata
179 8 8192 mmcblk0p8 protect1
179 9 12512 mmcblk0p9 protect2
179 10 8192 mmcblk0p10 seccfg
179 11 8192 mmcblk0p11 oemkeystore
179 12 3072 mmcblk0p12 proinfo
179 13 24576 mmcblk0p13 md1img
179 14 4096 mmcblk0p14 md1dsp
179 15 3072 mmcblk0p15 md1arm7
179 16 5120 mmcblk0p16 md3img
179 17 5120 mmcblk0p17 nvram
179 18 1024 mmcblk0p18 lk
179 19 1024 mmcblk0p19 lk2
179 20 16384 mmcblk0p20 boot
179 21 8192 mmcblk0p21 logo
179 22 5120 mmcblk0p22 tee1
179 23 5120 mmcblk0p23 tee2
179 24 6144 mmcblk0p24 secro
179 25 10240 mmcblk0p25 keystore
179 26 2621440 mmcblk0p26 system
179 27 442368 mmcblk0p27 cache
179 28 27226095 mmcblk0p28 userdata
179 29 16384 mmcblk0p29 flashinfo
179 96 4096 mmcblk0rpmb
179 64 4096 mmcblk0boot1
179 32 4096 mmcblk0boot0
179 128 31166976 mmcblk1
179 129 31162004 mmcblk1p1
Code:
Model: MMC RX14MB (sd/mmc)
Disk /dev/block/mmcblk0: 31.3GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 32.8kB 16.8MB 16.8MB recovery
2 16.8MB 17.3MB 524kB para
3 17.3MB 27.8MB 10.5MB expdb
4 27.8MB 28.9MB 1049kB frp
5 28.9MB 29.1MB 262kB ppl
6 29.1MB 62.7MB 33.6MB ext4 nvdata
7 62.7MB 96.2MB 33.6MB metadata
8 96.2MB 105MB 8389kB ext4 protect1
9 105MB 117MB 12.8MB ext4 protect2
10 117MB 126MB 8389kB seccfg
11 126MB 134MB 8389kB oemkeystore
12 134MB 137MB 3146kB proinfo
13 137MB 163MB 25.2MB md1img
14 163MB 167MB 4194kB md1dsp
15 167MB 170MB 3146kB md1arm7
16 170MB 175MB 5243kB md3img
17 175MB 180MB 5243kB nvram
18 180MB 181MB 1049kB lk
19 181MB 182MB 1049kB lk2
20 182MB 199MB 16.8MB boot
21 199MB 208MB 8389kB logo
22 208MB 213MB 5243kB tee1
23 213MB 218MB 5243kB tee2
24 218MB 224MB 6291kB secro
25 224MB 235MB 10.5MB keystore
26 235MB 2919MB 2684MB ext4 system
27 2919MB 3372MB 453MB ext4 cache
28 3372MB 31.3GB 27.9GB ext4 userdata
29 31.3GB 31.3GB 16.8MB flashinfo

broken partition table, please help - newbie

Hi, I recently decided to dust off my old nexus 10 and install a current version of android on it. With some guides I unlocked the bootloader, installed TWRP, installed AOSP Android 9.0 Pie and then when I wanted to install open gapps I got an not enough space error. After some searching I found a post with a repit file, which should automatically increase the size of my system partition. Unfortunatelly while this repit thing was running the display flickered for a second and the resize failed. (Stupid as I am I didnt make screenshot of the error :/) I think the screen flickering thing is a hardware problem, as it did this even without cutum recovery/rom from time to time. But i always thought it was only a problem with the the screen backlight, as it had no impact on any running software before. (I replaced the battery now to maybe fix this.) But my main problem now is, that TWRP cant mount any partitions. I think the partition table is broken.
fdisk -l doesnt output anything
fdisk -l /dev/block/mmcblk0
Code:
warning: GPT array CRC is invalid
Found valid GPT with protective MBR; using GPT
Disk mmcblk0: 61071360 sectors, 1148M
Logical sector size: 512
Disk identifier (GUID): 52444e41-494f-2044-4d4d-43204449534b
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 61071326
Number Start (sector) End (sector) Size Code Name
1 8192 49151 20.0M 0700 efs
2 49152 65535 8192K 0700 param
3 65536 98303 16.0M 0700 boot
4 98304 163711 31.9M 0700 recovery
5 163712 163839 65536 0700 metadata
6 163840 172031 4096K 0700 misc
7 172032 376831 100M 0700 cache
8 2301952 2826239 256M 0700
9 2891776 61063167 27.7G 0700 userdata
I think 8 should be the corrupted system partition. But isnt there also "data" missing?
Should I resize 8 to 376832 - 2891775 and fix the missing name?
ls /dev/block
Code:
loop0 loop5 mmcblk0boot1 ram11 ram2 ram7
loop1 loop6 platform ram12 ram3 ram8
loop2 loop7 ram0 ram13 ram4 ram9
loop3 mmcblk0 ram1 ram14 ram5 zram0
loop4 mmcblk0boot0 ram10 ram15 ram6
There mmcblk0p7, mmcblk0p8, etc. are missing. How can I fix this?
Can someone help me please? I dont want to break it even further :/
I think I solved it. I downloaded the factory image and ran flash-all. Now the stock rom is running again and I can try flashing a custom rom again.

Categories

Resources