Writing from Turkey. We've got a tablet brand Dark. The model EvoPAD 9740 has the Rockchip RK3188 chip in it. My intention is to put CM in it. Before I start building a custom rom from ground up I wanted to see if it is possible to build a rom by combining the image files from CM releases and manufacturer releases. The files and folders below are from the manufacturer image.
I used rpunkack to unpack r9740.img from akortek.org/download/evopad/R9740/R974031072013.rar
Here they are :
Code:
drwxr-xr-x 2 rhinestorm 4096 Oct 1 20:44 [backupimage]
-rw-r--r-- 1 rhinestorm 37228548 Oct 1 20:44 backup.img
drwxr-xr-x 2 rhinestorm 4096 Oct 1 20:44 [Image]
-rw-r--r-- 1 rhinestorm 1018399 Oct 1 20:44 boot.img
-rw-r--r-- 1 rhinestorm 1018387 Oct 1 20:44 boot.img-raw
-rw-r--r-- 1 rhinestorm 10985520 Oct 1 20:44 kernel.img
-rw-r--r-- 1 rhinestorm 10985508 Oct 1 20:44 kernel.img-raw
-rw-r--r-- 1 rhinestorm 49152 Oct 1 20:44 misc.img
-rw-r--r-- 1 rhinestorm 24969216 Oct 1 20:44 recovery.img
-rw-r--r-- 1 rhinestorm 510087168 Oct 1 20:44 system.img
-rw-r--r-- 1 rhinestorm 577 Oct 1 20:44 [COLOR="Red"]package-file[/COLOR]
-rw-r--r-- 1 rhinestorm 609 Oct 1 20:44 [COLOR="Red"]parameter[/COLOR]
-rw-r--r-- 1 rhinestorm 194926 Oct 1 20:43 r9740.img-BOOT
-rw-r--r-- 1 rhinestorm 102 Oct 1 20:43 r9740.img-HEAD
-rw-r--r-- 1 rhinestorm 32 Oct 1 20:44 r9740.img-MD5
-rw-r--r-- 1 rhinestorm 266 Oct 1 20:44 recover-script
-rw-r--r-- 1 rhinestorm 194926 Oct 1 20:44 RK3188Loader(L)_V1.24.bin
-rw-r--r-- 1 rhinestorm 584550404 Oct 1 20:43 update.img
-rw-r--r-- 1 rhinestorm 933 Oct 1 20:44 update-script
package-file
Code:
package-file package-file
bootloader RK3188Loader(L)_V1.24.bin
parameter parameter
misc Image/misc.img
kernel Image/kernel.img
boot Image/boot.img
recovery Image/recovery.img
system Image/system.img
backup backupimage/backup.img
update-script update-script
recover-script recover-script
parameters
Code:
FIRMWARE_VER:4.1.1
MACHINE_MODEL:EvoPAD R9740
MACHINE_ID:007
MANUFACTURER:RK30SDK
MAGIC: 0x5041524B
ATAG: 0x60000800
MACHINE: 3066
CHECK_MASK: 0x80
KERNEL_IMG: 0x60408000
#RECOVER_KEY: 1,1,0,20,0
CMDLINE:console=ttyFIQ0 androidboot.console=ttyFIQ0 init=/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:[email protected](misc),[email protected](kernel),[email protected](boot),[email protected](recovery),[email protected](backup),[email protected](cache),[email protected](userdata),[email protected](kpanic),[email protected](system),[email protected](user)
up!
Hello
I want to install new kernel image, but there is no boot partition, trying "ls" command gives this output:
~ # ls
acct init.goldfish.rc sd-ext
cache init.rc sdcard
config mnt sys
d modules system
data pre_hw_config.sh tmp
default.prop proc ueventd.delta.rc
dev recovery.fstab ueventd.goldfish.rc
etc res ueventd.rc
init root vendor
init.delta.rc sbin
~ # ls -l
drwxr-xr-x 3 root root 0 Feb 28 15:56 acct
drwxrwx--x 1 system cache 2048 Aug 31 16:12 cache
dr-x------ 2 root root 0 Feb 28 15:56 config
lrwxrwxrwx 1 root root 17 Feb 28 15:56 d -> /sys/kernel/debug
drwxrwx--x 1 system system 2048 Aug 31 16:12 data
-rw-r--r-- 1 root root 118 Jul 1 2012 default.prop
drwxr-xr-x 14 root root 3340 Feb 28 15:57 dev
lrwxrwxrwx 1 root root 11 Feb 28 15:56 etc -> /system/etc
-rwxr-xr-x 1 root root 98576 Aug 22 2012 init
-rwxr-xr-x 1 root root 5802 Jul 1 2012 init.delta.rc
-rwxr-xr-x 1 root root 1677 Jul 1 2012 init.goldfish.rc
-rwxr-xr-x 1 root root 15559 Aug 22 2012 init.rc
drwxrwxr-x 6 root system 0 Feb 28 15:56 mnt
drwxr-xr-x 2 root root 0 Feb 25 2012 modules
-rwxr-xr-x 1 root root 1406 Jul 1 2012 pre_hw_config.sh
dr-xr-xr-x 138 root root 0 Jan 1 1970 proc
-rwxr-xr-x 1 root root 243 Jul 1 2012 recovery.fstab
drwxr-xr-x 3 root root 0 Feb 28 15:57 res
drwx------ 2 root root 0 Aug 22 2012 root
drwxr-xr-x 2 root root 0 Jul 1 2012 sbin
drwxrwx--x 2 system system 0 Feb 28 15:56 sd-ext
lrwxrwxrwx 1 root root 11 Feb 28 15:56 sdcard -> /mnt/sdcard
drwxr-xr-x 12 root root 0 Jan 1 1970 sys
drwxr-xr-x 1 root root 2048 Feb 22 12:24 system
drwxr-xr-x 2 root root 0 Feb 28 15:57 tmp
-rw-r--r-- 1 root root 744 Jul 1 2012 ueventd.delta.rc
-rw-r--r-- 1 root root 0 Jul 1 2012 ueventd.goldfish.rc
-rw-r--r-- 1 root root 4225 Jul 1 2012 ueventd.rc
lrwxrwxrwx 1 root root 14 Feb 28 15:56 vendor -> /system/vendor
what should I do? its xperia x8, doesnt support fastboot
Hi,
Normally ask development question but you are all so friendly and so I wanted to ask about this file which keeps appearing as a notification and is a file in the downloads directory.
I have google as you do but I cannot see why something would keep being downloaded. It is my wife's phone so there may be something I am not telling you The contents of the package include
Code:
./data/models/classification:
total 4
drwxrwxr-x 2 jobloggs jobloggs 4096 Sep 24 2015 frontal_face_classifiers.4
./data/models/classification/frontal_face_classifiers.4:
total 320
-rw-rw-r-- 1 jobloggs jobloggs 102900 Sep 24 2015 is_left_eye_open-y0.12-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 124640 Sep 24 2015 is_right_eye_open-y0.12-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 92084 Sep 24 2015 is_smiling-y0.5-wmd.bin
./data/models/detection:
total 8
drwxrwxr-x 2 jobloggs jobloggs 4096 Sep 24 2015 multi_pose_face_landmark_detectors.8
drwxrwxr-x 2 jobloggs jobloggs 4096 Sep 24 2015 yaw_roll_face_detectors.7.1
./data/models/detection/multi_pose_face_landmark_detectors.8:
total 2740
-rw-rw-r-- 1 jobloggs jobloggs 84776 Sep 24 2015 bottom_mouth-y0-yi45-p0-pi45-r0-ri20.lg_32-tree7-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 91280 Sep 24 2015 bottom_mouth-yn45-yi45-p0-pi45-r0-ri20.md_32-tree7-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 87464 Sep 24 2015 bottom_mouth-yp45-yi45-p0-pi45-r0-ri20.md_32-tree7-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 1138 Sep 24 2015 landmark_group_meta_data.bin
-rw-rw-r-- 1 jobloggs jobloggs 87372 Sep 24 2015 left_cheek-y0-yi45-p0-pi45-r0-ri20.lg_32-tree7-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 87588 Sep 24 2015 left_cheek-yn45-yi45-p0-pi45-r0-ri20.lg_32-tree7-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 77192 Sep 24 2015 left_cheek-yn90-yi45-p0-pi45-r0-ri20.lg_32-tree7-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 78728 Sep 24 2015 left_ear_tip-yn45-yi45-p0-pi45-r0-ri20.lg_32-tree7-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 84900 Sep 24 2015 left_ear-yn90-yi45-p0-pi45-r0-ri20.lg_32-tree7-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 82540 Sep 24 2015 left_eye-y0-yi45-p0-pi45-r0-ri20.lg_32-tree7-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 87260 Sep 24 2015 left_eye-yn45-yi45-p0-pi45-r0-ri20.lg_32-tree7-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 84924 Sep 24 2015 left_eye-yn90-yi45-p0-pi45-r0-ri20.lg_32-2-tree7-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 84636 Sep 24 2015 left_eye-yp45-yi45-p0-pi45-r0-ri20.md_32-tree7-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 82280 Sep 24 2015 left_mouth-y0-yi45-p0-pi45-r0-ri20.lg_32-tree7-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 84400 Sep 24 2015 left_mouth-yn45-yi45-p0-pi45-r0-ri20.lg_32-tree7-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 85600 Sep 24 2015 left_mouth-yn90-yi45-p0-pi45-r0-ri20.md_32-tree7-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 82696 Sep 24 2015 nose_base-y0-yi45-p0-pi45-r0-ri20.lg_32-tree7-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 89624 Sep 24 2015 nose_base-yn45-yi45-p0-pi45-r0-ri20.md_32-tree7-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 86248 Sep 24 2015 nose_base-yn90-yi45-p0-pi45-r0-ri20.md_32-tree7-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 81416 Sep 24 2015 nose_base-yp45-yi45-p0-pi45-r0-ri20.md_32-tree7-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 87940 Sep 24 2015 nose_base-yp90-yi45-p0-pi45-r0-ri20.md_32-tree7-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 82184 Sep 24 2015 right_cheek-y0-yi45-p0-pi45-r0-ri20.lg_32-tree7-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 90744 Sep 24 2015 right_cheek-yp45-yi45-p0-pi45-r0-ri20.lg_32-tree7-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 84984 Sep 24 2015 right_cheek-yp90-yi45-p0-pi45-r0-ri20.lg_32-tree7-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 89980 Sep 24 2015 right_ear_tip-yp45-yi45-p0-pi45-r0-ri20.lg_32-tree7-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 85232 Sep 24 2015 right_ear-yp90-yi45-p0-pi45-r0-ri20.lg_32-tree7-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 87276 Sep 24 2015 right_eye-y0-yi45-p0-pi45-r0-ri20.lg_32-3-tree7-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 87936 Sep 24 2015 right_eye-yn45-yi45-p0-pi45-r0-ri20.md_32-tree7-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 90060 Sep 24 2015 right_eye-yp45-yi45-p0-pi45-r0-ri20.lg_32-tree7-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 85892 Sep 24 2015 right_eye-yp90-yi45-p0-pi45-r0-ri20.lg_32-2-tree7-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 86132 Sep 24 2015 right_mouth-y0-yi45-p0-pi45-r0-ri20.lg_32-tree7-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 82260 Sep 24 2015 right_mouth-yp45-yi45-p0-pi45-r0-ri20.lg_32-tree7-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 83968 Sep 24 2015 right_mouth-yp90-yi45-p0-pi45-r0-ri20.md_32-tree7-wmd.bin
./data/models/detection/yaw_roll_face_detectors.7.1:
total 2692
-rw-rw-r-- 1 jobloggs jobloggs 183736 Sep 24 2015 head-y0-yi45-p0-pi45-r0-ri30.4a-v24-tree7-2-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 168556 Sep 24 2015 head-y0-yi45-p0-pi45-rn30-ri30.5-v24-tree7-2-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 169196 Sep 24 2015 head-y0-yi45-p0-pi45-rp30-ri30.5-v24-tree7-2-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 176844 Sep 24 2015 head-yn45-yi45-p0-pi45-r0-ri30.5-v24-tree7-2-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 182604 Sep 24 2015 head-yn45-yi45-p0-pi45-rn30-ri30.5-v24-2-tree7-2-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 182820 Sep 24 2015 head-yn45-yi45-p0-pi45-rp30-ri30.5-v24-tree7-2-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 182512 Sep 24 2015 head-yn90-yi45-p0-pi45-r0-ri30.5-v24-tree7-2-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 183392 Sep 24 2015 head-yn90-yi45-p0-pi45-rn30-ri30.5-v24-tree7-2-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 181672 Sep 24 2015 head-yn90-yi45-p0-pi45-rp30-ri30.5-v24-tree7-2-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 188884 Sep 24 2015 head-yp45-yi45-p0-pi45-r0-ri30.5-v24-tree7-2-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 183292 Sep 24 2015 head-yp45-yi45-p0-pi45-rn30-ri30.5-v24-2-tree7-2-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 185728 Sep 24 2015 head-yp45-yi45-p0-pi45-rp30-ri30.5-v24-2-tree7-2-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 183736 Sep 24 2015 head-yp90-yi45-p0-pi45-r0-ri30.5-v24-2-tree7-2-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 178284 Sep 24 2015 head-yp90-yi45-p0-pi45-rn30-ri30.5-v24-tree7-2-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 180944 Sep 24 2015 head-yp90-yi45-p0-pi45-rp30-ri30.5-v24-tree7-2-wmd.bin
-rw-rw-r-- 1 jobloggs jobloggs 664 Sep 24 2015 pose-r.8.1.bin
-rw-rw-r-- 1 jobloggs jobloggs 7908 Sep 24 2015 pose-y-r.8.1.bin
./libs:
total 8
drwxrwxr-x 2 jobloggs jobloggs 4096 Jan 1 1980 arm64-v8a
drwxrwxr-x 2 jobloggs jobloggs 4096 Jan 1 1980 armeabi-v7a
./libs/arm64-v8a:
total 1924
-rwxrwxr-x 1 jobloggs jobloggs 1968272 Sep 24 2015 libmobile_vision_face.so
./libs/armeabi-v7a:
total 1348
-rwxrwxr-x 1 jobloggs jobloggs 1378028 Sep 24 2015 libmobile_vision_face.so
Just a little worried about the nature of the contents
Thanks,
Iain
I have a device that uses UBIFS and I'm trying to increase the partition size of the /system disk as it doesn't have much space and only half of the NAND is partitioned. Unfortunately, it's not as simple as I thought as the entire nand chip doesn't populate in /dev as a single device.
Here's the boot log where MTD partitions are enumerated.
HTML:
[ 0.000000] Kernel command line: noinitrd rw console=ttyHSL0,115200,n8 androidboot.hardware=qcom ehci-hcd.park=3 msm_rtb.filter=0x37 lpm_levels.sleep_disabled=1 earlycon=msm_hsl_uart,0x78b1000 androidboot.serialno=796a00b0 androidboot.authorized_kernel=true androidboot.baseband=msm rootfstype=ubifs rootflags=bulk_read root=ubi0:rootfs ubi.mtd=13
Code:
[ 0.478465] sps: BAM device 0x07984000 is not registered yet.
[ 0.478706] sps:BAM 0x07984000 is registered.
[ 0.478723] msm_nand_bam_init: msm_nand_bam_init: BAM device registered: bam_handle 0xdde0c800
[ 0.478966] sps:BAM 0x07984000 (va:0xe0bc0000) enabled: ver:0x19, number of pipes:7
[ 0.481536] msm_nand_parse_smem_ptable: Parsing partition table info from SMEM
[ 0.481577] msm_nand_parse_smem_ptable: SMEM partition table found: ver: 4 len: 20
[ 0.481602] msm_nand_version_check: nand_major:1, nand_minor:5, qpic_major:1, qpic_minor:5
[ 0.481640] msm_nand_scan: NAND Id: 0x2690ac98 Buswidth: 8Bits Density: 512 MByte
[ 0.481649] msm_nand_scan: pagesize: 4096 Erasesize: 262144 oobsize: 256 (in Bytes)
[ 0.481656] msm_nand_scan: BCH ECC: 8 Bit
[ 0.481670] msm_nand_scan: CFG0: 0x290409c0, CFG1: 0x08045d5c
[ 0.481670] RAWCFG0: 0x2b8401c0, RAWCFG1: 0x0005055d
[ 0.481670] ECCBUFCFG: 0x00000203, ECCBCHCFG: 0x42040d10
[ 0.481670] RAWECCCFG: 0x42000d11, BAD BLOCK BYTE: 0x00000175
[ 0.481691] Creating 20 MTD partitions on "7980000.nand":
[ 0.481711] 0x000000000000-0x000000280000 : "sbl"
[ 0.482399] 0x000000280000-0x000000500000 : "mibib"
[ 0.482994] 0x000000500000-0x000001b80000 : "efs2"
[ 0.483584] 0x000001b80000-0x000001c80000 : "tz"
[ 0.484194] 0x000001c80000-0x000001d40000 : "rpm"
[ 0.484816] 0x000001d40000-0x000001e40000 : "aboot"
[ 0.485364] 0x000001e40000-0x000002880000 : "boot"
[ 0.485922] 0x000002880000-0x000002900000 : "scrub"
[ 0.486496] 0x000002900000-0x000006fc0000 : "modem"
[ 0.487080] 0x000006fc0000-0x000007140000 : "misc"
[ 0.487672] 0x000007140000-0x000007bc0000 : "recovery"
[ 0.488269] 0x000007bc0000-0x000007c80000 : "fota_none"
[ 0.488883] 0x000007c80000-0x000009340000 : "recoveryfs"
[ 0.489491] 0x000009340000-0x000011bc0000 : "system"
[ 0.490036] 0x000011bc0000-0x000012b40000 : "pad1"
[ 0.490729] 0x000012b40000-0x000013f80000 : "userrw"
[ 0.491301] 0x000013f80000-0x000017a40000 : "hdata"
[ 0.491890] 0x000017a40000-0x00001f000000 : "ntgfota"
[ 0.492500] 0x00001f000000-0x00001f8c0000 : "cust"
[ 0.493103] 0x00001f8c0000-0x000020000000 : "persist"
[ 0.493719] msm_nand_probe: NANDc phys addr 0x7980000, BAM phys addr 0x7984000, BAM IRQ 35
[ 0.493729] msm_nand_probe: Allocated DMA buffer at virt_addr 0xdf446000, phys_addr 0x9f446000
/dev
Code:
crw-rw---- 1 root root 90, 0 Jan 1 1970 mtd0
crw-rw---- 1 root root 90, 1 Jan 1 1970 mtd0ro
crw-rw---- 1 root root 90, 2 Jan 1 1970 mtd1
crw-rw---- 1 root root 90, 20 Jan 1 1970 mtd10
crw-rw---- 1 root root 90, 21 Jan 1 1970 mtd10ro
crw-rw---- 1 root root 90, 22 Jan 1 1970 mtd11
crw-rw---- 1 root root 90, 23 Jan 1 1970 mtd11ro
crw-rw---- 1 root root 90, 24 Jan 1 1970 mtd12
crw-rw---- 1 root root 90, 25 Jan 1 1970 mtd12ro
crw-rw---- 1 root root 90, 26 Jan 1 1970 mtd13
crw-rw---- 1 root root 90, 27 Jan 1 1970 mtd13ro
crw-rw---- 1 root root 90, 28 Jan 1 1970 mtd14
crw-rw---- 1 root root 90, 29 Jan 1 1970 mtd14ro
crw-rw---- 1 root root 90, 30 Jan 1 1970 mtd15
crw-rw---- 1 root root 90, 31 Jan 1 1970 mtd15ro
crw-rw---- 1 root root 90, 32 Jan 1 1970 mtd16
crw-rw---- 1 root root 90, 33 Jan 1 1970 mtd16ro
crw-rw---- 1 root root 90, 34 Jan 1 1970 mtd17
crw-rw---- 1 root root 90, 35 Jan 1 1970 mtd17ro
crw-rw---- 1 root root 90, 36 Jan 1 1970 mtd18
crw-rw---- 1 root root 90, 37 Jan 1 1970 mtd18ro
crw-rw---- 1 root root 90, 38 Jan 1 1970 mtd19
crw-rw---- 1 root root 90, 39 Jan 1 1970 mtd19ro
crw-rw---- 1 root root 90, 3 Jan 1 1970 mtd1ro
crw-rw---- 1 root root 90, 4 Jan 1 1970 mtd2
crw-rw---- 1 root root 90, 5 Jan 1 1970 mtd2ro
crw-rw---- 1 root root 90, 6 Jan 1 1970 mtd3
crw-rw---- 1 root root 90, 7 Jan 1 1970 mtd3ro
crw-rw---- 1 root root 90, 8 Jan 1 1970 mtd4
crw-rw---- 1 root root 90, 9 Jan 1 1970 mtd4ro
crw-rw---- 1 root root 90, 10 Jan 1 1970 mtd5
crw-rw---- 1 root root 90, 11 Jan 1 1970 mtd5ro
crw-rw---- 1 root root 90, 12 Jan 1 1970 mtd6
crw-rw---- 1 root root 90, 13 Jan 1 1970 mtd6ro
crw-rw---- 1 root root 90, 14 Jan 1 1970 mtd7
crw-rw---- 1 root root 90, 15 Jan 1 1970 mtd7ro
crw-rw---- 1 root root 90, 16 Jan 1 1970 mtd8
crw-rw---- 1 root root 90, 17 Jan 1 1970 mtd8ro
crw-rw---- 1 root root 90, 18 Jan 1 1970 mtd9
crw-rw---- 1 root root 90, 19 Jan 1 1970 mtd9ro
brw-rw---- 1 root root 31, 0 Jan 1 1970 mtdblock0
brw-rw---- 1 root root 31, 1 Jan 1 1970 mtdblock1
brw-rw---- 1 root root 31, 10 Jan 1 1970 mtdblock10
brw-rw---- 1 root root 31, 11 Jan 1 1970 mtdblock11
brw-rw---- 1 root root 31, 12 Jan 1 1970 mtdblock12
brw-rw---- 1 root root 31, 13 Jan 1 1970 mtdblock13
brw-rw---- 1 root root 31, 14 Jan 1 1970 mtdblock14
brw-rw---- 1 root root 31, 15 Jan 1 1970 mtdblock15
brw-rw---- 1 root root 31, 16 Jan 1 1970 mtdblock16
brw-rw---- 1 root root 31, 17 Jan 1 1970 mtdblock17
brw-rw---- 1 root root 31, 18 Jan 1 1970 mtdblock18
brw-rw---- 1 root root 31, 19 Jan 1 1970 mtdblock19
brw-rw---- 1 root root 31, 2 Jan 1 1970 mtdblock2
brw-rw---- 1 root root 31, 3 Jan 1 1970 mtdblock3
brw-rw---- 1 root root 31, 4 Jan 1 1970 mtdblock4
brw-rw---- 1 root root 31, 5 Jan 1 1970 mtdblock5
brw-rw---- 1 root root 31, 6 Jan 1 1970 mtdblock6
brw-rw---- 1 root root 31, 7 Jan 1 1970 mtdblock7
brw-rw---- 1 root root 31, 8 Jan 1 1970 mtdblock8
brw-rw---- 1 root root 31, 9 Jan 1 1970 mtdblock9
crw-rw---- 1 root root 10, 90 Jan 1 1970 ramdump_AR6320
crw-rw---- 1 root root 10, 89 Jan 1 1970 ramdump_AR6320_SD
crw-rw---- 1 root root 10, 85 Jan 1 1970 ramdump_modem
crw-rw---- 1 root root 10, 80 Jan 1 1970 ramdump_smem
cat /proc/mounts
Code:
rootfs / rootfs rw 0 0
ubi0:rootfs / ubifs rw,relatime,bulk_read,chk_data_crc 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
tmpfs /dev tmpfs rw,relatime,size=64k,mode=755 0 0
devpts /dev/pts devpts rw,relatime,gid=5,mode=620 0 0
tmpfs /run tmpfs rw,nosuid,nodev,mode=755 0 0
tmpfs /var/volatile tmpfs rw,relatime 0 0
tmpfs /media/ram tmpfs rw,relatime 0 0
ubi0:usrfs /data ubifs rw,relatime,bulk_read,chk_data_crc 0 0
/dev/ubi1_0 /firmware ubifs rw,relatime,bulk_read,chk_data_crc 0 0
ubi2:userrw /mnt/userrw ubifs rw,sync,relatime,bulk_read,chk_data_crc 0 0
ubi3:hdata /mnt/hdata ubifs ro,relatime,bulk_read,chk_data_crc 0 0
tmpfs /media/drives tmpfs ro,relatime,size=4k 0 0
adb /dev/usb-ffs/adb functionfs rw,relatime 0 0
var /var tmpfs rw,relatime 0 0
/dev/loop0 /mnt/hdata/licenses squashfs ro,relatime 0 0
I tried poking around /sys/devices/7980000.nand but I'm not as experienced with *NIX systems. I've also tried messing with QPST and similar tools but to no avail.
bump
MR1100?
I have been able to successfully build AOSP for Android 8.1 (I want to say `lunch aosp_arm64`), and I also got the source for the kernel from the manufacturer which successfully builds. The problem is when I try to flash it onto the device with `fastboot flashall`. There is no boot.img file anywhere. I guess I'm kind of confused on where to put the kernel build output and how to generate a valid boot.img.
Here's what files are output from the kernel build:
HTML:
Image .Image.cmd Image.gz .Image.gz.cmd Image.gz-dtb .Image.gz-dtb.cmd
Here's what is in the AOSP directory out/target/product/generic:
HTML:
-rwxrwx--- 1 root vboxsf 85 Dec 31 16:21 advancedFeatures.ini
-rwxrwx--- 1 root vboxsf 7 Dec 31 16:15 android-info.txt
-rwxrwx--- 1 root vboxsf 61 Jan 2 16:00 build_fingerprint.txt
drwxrwx--- 1 root vboxsf 68 Jan 1 04:23 cache
-rwxrwx--- 1 root vboxsf 69206016 Jan 1 04:23 cache.img
-rwxrwx--- 1 root vboxsf 91766 Dec 31 15:23 clean_steps.mk
-rwxrwx--- 1 root vboxsf 380 Dec 31 16:21 config.ini
drwxrwx--- 1 root vboxsf 136 Jan 1 13:49 data
drwxrwx--- 1 root vboxsf 102 Jan 1 02:15 dex_bootjars
drwxrwx--- 1 root vboxsf 204 Jan 1 14:21 fake_packages
drwxrwx--- 1 root vboxsf 204 Dec 31 18:03 gen
-rwxrwx--- 1 root vboxsf 304809 Jan 1 14:25 installed-files.json
-rwxrwx--- 1 root vboxsf 96906 Jan 1 14:25 installed-files.txt
-rwxrwx--- 1 root vboxsf 42220 Jan 1 14:24 installed-files-vendor.json
-rwxrwx--- 1 root vboxsf 12044 Jan 1 14:24 installed-files-vendor.txt
-rwxrwx--- 1 root vboxsf 4088328 Dec 31 16:21 kernel-ranchu
-rwxrwx--- 1 root vboxsf 2248129 Dec 31 16:15 module-info.json
drwxrwx--- 1 root vboxsf 782 Jan 1 14:24 obj
-rwxrwx--- 1 root vboxsf 38 Dec 31 15:10 previous_build_config.mk
-rwxrwx--- 1 root vboxsf 1025236 Jan 1 14:21 ramdisk.img
drwxrwx--- 1 root vboxsf 102 Dec 31 16:09 recovery
drwxrwx--- 1 root vboxsf 1122 Jan 1 14:21 root
drwxrwx--- 1 root vboxsf 306 Jan 1 13:48 symbols
drwxrwx--- 1 root vboxsf 612 Jan 1 14:25 system
-rwxrwx--- 1 root vboxsf 2147483648 Jan 1 14:30 system.img
-rwxrwx--- 1 root vboxsf 2149580800 Jan 1 14:33 system-qemu.img
-rwxrwx--- 1 root vboxsf 576716800 Jan 1 14:12 userdata.img
drwxrwx--- 1 root vboxsf 340 Jan 1 13:49 vendor
-rwxrwx--- 1 root vboxsf 99999744 Jan 1 14:25 vendor.img
-rwxrwx--- 1 root vboxsf 102760448 Jan 1 14:33 vendor-qemu.img
I feel like there's just one step I'm missing/not understanding somewhere.
It ended up being that Image.gz-dtb was the kernel image and Image.gz was the ramdisk image, so I was able to use those with abootimg to create a boot.img file