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!
Related
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
Hey, I've been sent here by V7 'cause I posted in the wrong forum hehe.. First of all, NO I dont got original Sources for the MT6752. I'm compiling off the lenovo k50a40 and sony xperia c4/c5 sources. But heres the errors I'm getting
Code:
"CONFIG_TRUSTONIC_TEE_SUPPORT = "
scripts/Makefile.clean:17: /home/ellie/android/system/kernel/alps/eMAX/drivers/misc/mediatek/cam_cal/src//BRCB032GWZ_3_eeprom/Makefile: No such file or directory
make[4]: *** No rule to make target `/home/ellie/android/system/kernel/alps/eMAX/drivers/misc/mediatek/cam_cal/src//BRCB032GWZ_3_eeprom/Makefile'. Stop.
make[3]: *** [drivers/misc/mediatek/cam_cal/src//BRCB032GWZ_3_eeprom] Error 2
make[2]: *** [drivers/misc/mediatek] Error 2
make[1]: *** [drivers/misc] Error 2
make: *** [_clean_drivers] Error 2
#### make failed to build some targets (1 seconds) ####
For when it states:
Code:
`.../alps/eMAX/drivers/misc/mediatek/cam_cal/src//BRCB032GWZ_3_eeprom/Makefile
'. There should be mt6752 inbetween the two // like so:
Code:
.../alps/eMAX/drivers/misc/mediatek/cam_cal/src/[B]mt6752[/B]/BRCB032GWZ_3_eeprom/Makefile'.
And when make recoveryimage is ran:
Code:
make[1]: Entering directory `/home/ellie/android/system/kernel/alps/eMAX'
GEN /home/ellie/android/system/out/target/product/eMAX/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
***
*** Configuration file ".config" not found!
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
make[4]: *** [silentoldconfig] Error 1
make[3]: *** [silentoldconfig] Error 2
make[2]: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/ellie/android/system/kernel/alps/eMAX'
make: *** [TARGET_KERNEL_BINARIES] Error 2
#### make failed to build some targets (03:06 (mm:ss)) ####
Here the output of "ls -alh" in kernel root directory.
Code:
ls -alh
total 292K
drwxr-xr-x 30 ellie ellie 4.0K Jan 31 21:23 .
drwxr-xr-x 4 ellie ellie 4.0K Jan 31 21:33 ..
drwxr-xr-x 3 ellie ellie 4.0K Jan 25 17:59 abi
drwxr-xr-x 3 ellie ellie 4.0K Jan 25 17:59 android
drwxr-xr-x 14 ellie ellie 4.0K Jan 25 17:59 art
drwxr-xr-x 10 ellie ellie 4.0K Jan 25 17:59 bionic
drwxr-xr-x 3 ellie ellie 4.0K Jan 25 17:59 bootable
drwxr-xr-x 7 ellie ellie 4.0K Jan 31 20:19 build
-rw-r--r-- 1 root root 157K Jan 31 21:17 .config
drwxr-xr-x 12 ellie ellie 4.0K Jan 25 18:00 cts
drwxr-xr-x 13 ellie ellie 4.0K Jan 25 18:00 dalvik
drwxr-xr-x 6 ellie ellie 4.0K Jan 25 18:00 developers
drwxr-xr-x 20 ellie ellie 4.0K Jan 25 18:01 development
drwxr-xr-x 9 ellie ellie 4.0K Jan 26 16:02 device
drwxr-xr-x 3 ellie ellie 4.0K Jan 25 18:01 docs
drwxr-xr-x 242 ellie ellie 12K Jan 25 18:08 external
drwxr-xr-x 18 ellie ellie 4.0K Jan 25 18:11 frameworks
drwxr-xr-x 16 ellie ellie 4.0K Jan 25 18:11 hardware
drwxr-xr-x 3 ellie ellie 4.0K Jan 30 19:10 kernel
drwxr-xr-x 16 ellie ellie 4.0K Jan 25 18:11 libcore
drwxr-xr-x 5 ellie ellie 4.0K Jan 25 18:11 libnativehelper
-r--r--r-- 1 ellie ellie 87 Jan 25 17:59 Makefile
drwxr-xr-x 8 ellie ellie 4.0K Jan 25 18:11 ndk
drwxr-xr-x 4 root root 4.0K Jan 26 14:06 out
drwxr-xr-x 9 ellie ellie 4.0K Jan 25 18:13 packages
drwxr-xr-x 6 ellie ellie 4.0K Jan 25 18:13 pdk
drwxr-xr-x 17 ellie ellie 4.0K Jan 25 18:20 prebuilts
drwxr-xr-x 8 ellie ellie 4.0K Jan 28 16:13 .repo
drwxr-xr-x 27 ellie ellie 4.0K Jan 25 18:20 sdk
drwxr-xr-x 10 ellie ellie 4.0K Jan 25 18:20 system
drwxr-xr-x 3 ellie ellie 4.0K Jan 25 18:20 tools
drwxr-xr-x 4 ellie ellie 4.0K Jan 25 18:21 vendor
I am super stumped on what to do. I have ran "make menuconfig" many times, but cannot get the darn system to find the file! I have specified the config in the TARGET_KERNEL_CONFIG in the boardconfig.mk and there is 1 ".config" and my file that is specified by the TARGET... So, What can I do to get this to work?
No idea guys?
No one? Do I gotta run on a different distro? (On linux mint 17.1) like honestly... I've tried everything I could think of. Changing permissions from root to user. Chmod a+x (didn't think it'd do anything.. Which it didn't)
about umi emax update?
J.Naw said:
No one? Do I gotta run on a different distro? (On linux mint 17.1) like honestly... I've tried everything I could think of. Changing permissions from root to user. Chmod a+x (didn't think it'd do anything.. Which it didn't)
Click to expand...
Click to collapse
Hi i'm at the end of my life(patience with umi emax) can u tell me how can i do to succes an update in os 64 for this phone?
Do i install a linux mint on my computer before anything?
Can you teach me the basics???
And if you are ok, how can i make my person help you too in an other domain?
Thank you for yuour time
mchlbck33 said:
Hi i'm at the end of my life(patience with umi emax) can u tell me how can i do to succes an update in os 64 for this phone?
Do i install a linux mint on my computer before anything?
Can you teach me the basics???
And if you are ok, how can i make my person help you too in an other domain?
Thank you for yuour time
Click to expand...
Click to collapse
So I gave up on the emax.. Honestly. It's not possible. The sources are broken and just won't work. You can search around YouTube for tutorials on how to use Linux. First get it installed and I'd recommend learning and being comfortable with tuning the system before doing anything to this degree.
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
Hi,
Was playing with ROMs and got my phone system destroyed in the process. Can still put the phone into the download and recovery modes. In the recovery mode twrp is working fine and I can still flash files in the download with fastboot. So I have a stock KDZ file and am looking to restore the phone into a working condition.
Since I'm on Linux, flashing KDZ files with standard LG tools is a problem as they don't work on Linux. So my plan was to flash relevant parts of the KDZ file on Linux using the following approach:
1. Extract KDZ file. See [*] below.
2. Combine all system_*******.bin fragments into a single system.bin file
3. fastboot flash system /path/to/system.bin
4. No point flashing recovery and boot since the phone still boots into recovery and twrp is working fine, right?
5. ...?
Any problems with the above plan? Suggestions? Thanks
[*]
Code:
[email protected]:~/extracted$ ls -l
total 6335492
-rw-r--r-- 1 luser luser 1048576 Jul 19 19:16 aboot_300032.bin
-rw-r--r-- 1 luser luser 1048576 Jul 19 19:16 abootbak_304128.bin
-rw-r--r-- 1 luser luser 524288 Jul 19 19:16 apdp_1064960.bin
-rw-r--r-- 1 luser luser 524288 Jul 19 19:17 BackupGPT_30784512.bin
-rw-r--r-- 1 luser luser 15728640 Jul 19 19:16 boot_442368.bin
-rw-r--r-- 1 luser luser 524288 Jul 19 19:16 cmnlib_1084416.bin
-rw-r--r-- 1 luser luser 524288 Jul 19 19:16 cmnlib64_1086464.bin
-rw-r--r-- 1 luser luser 524288 Jul 19 19:16 cmnlib64bak_1087488.bin
-rw-r--r-- 1 luser luser 524288 Jul 19 19:16 cmnlibbak_1085440.bin
-rw-r--r-- 1 luser luser 524288 Jul 19 19:16 devcfg_1068032.bin
-rw-r--r-- 1 luser luser 524288 Jul 19 19:16 devcfgbak_1069056.bin
-rw-r--r-- 1 luser luser 16777216 Jul 19 19:16 dsp_212992.bin
-rw-r--r-- 1 luser luser 524288 Jul 19 19:16 factory_704512.bin
-rw-r--r-- 1 luser luser 524288 Jul 19 19:16 keymaster_1088512.bin
-rw-r--r-- 1 luser luser 524288 Jul 19 19:16 keymasterbak_1089536.bin
-rw-r--r-- 1 luser luser 18874368 Jul 19 19:16 laf_507904.bin
-rw-r--r-- 1 luser luser 524288 Jul 19 19:16 lksecapp_1082368.bin
-rw-r--r-- 1 luser luser 524288 Jul 19 19:16 lksecappbak_1083392.bin
-rw-r--r-- 1 luser luser 88080384 Jul 19 19:16 modem_16384.bin
-rw-r--r-- 1 luser luser 524288 Jul 19 19:16 msadp_1065984.bin
-rw-r--r-- 1 luser luser 5242880 Jul 19 19:16 persist_786432.bin
-rw-r--r-- 1 luser luser 524288 Jul 19 19:16 PrimaryGPT_0.bin
-rw-r--r-- 1 luser luser 1572864 Jul 19 19:16 raw_resources_770048.bin
-rw-r--r-- 1 luser luser 1572864 Jul 19 19:16 raw_resourcesbak_778240.bin
-rw-r--r-- 1 luser luser 17825792 Jul 19 19:16 recovery_573440.bin
-rw-r--r-- 1 luser luser 17825792 Jul 19 19:16 recoverybak_638976.bin
-rw-r--r-- 1 luser luser 524288 Jul 19 19:16 rpm_202752.bin
-rw-r--r-- 1 luser luser 524288 Jul 19 19:16 rpmbak_203776.bin
-rw-r--r-- 1 luser luser 524288 Jul 19 19:16 sbl1_198656.bin
-rw-r--r-- 1 luser luser 524288 Jul 19 19:16 sbl1bak_200704.bin
-rw-r--r-- 1 luser luser 524288 Jul 19 19:16 sec_299008.bin
-rw-r--r-- 1 luser luser 134217728 Jul 19 19:16 system_1130496.bin
-rw-r--r-- 1 luser luser 524288 Jul 19 19:16 system_1392640.bin
-rw-r--r-- 1 luser luser 524288 Jul 19 19:16 system_1394312.bin
-rw-r--r-- 1 luser luser 131596288 Jul 19 19:16 system_1398416.bin
-rw-r--r-- 1 luser luser 132644864 Jul 19 19:17 system_1658888.bin
-rw-r--r-- 1 luser luser 524288 Jul 19 19:17 system_1918600.bin
-rw-r--r-- 1 luser luser 131596288 Jul 19 19:17 system_1922704.bin
-rw-r--r-- 1 luser luser 132644864 Jul 19 19:17 system_2183176.bin
-rw-r--r-- 1 luser luser 524288 Jul 19 19:17 system_2442888.bin
-rw-r--r-- 1 luser luser 131596288 Jul 19 19:17 system_2446992.bin
-rw-r--r-- 1 luser luser 5767168 Jul 19 19:17 system_2707464.bin
-rw-r--r-- 1 luser luser 524288 Jul 19 19:17 system_2965504.bin
-rw-r--r-- 1 luser luser 524288 Jul 19 19:17 system_2967176.bin
-rw-r--r-- 1 luser luser 131596288 Jul 19 19:17 system_2971280.bin
-rw-r--r-- 1 luser luser 132644864 Jul 19 19:17 system_3231752.bin
-rw-r--r-- 1 luser luser 524288 Jul 19 19:17 system_3491464.bin
-rw-r--r-- 1 luser luser 131596288 Jul 19 19:17 system_3495568.bin
-rw-r--r-- 1 luser luser 132644864 Jul 19 19:17 system_3756040.bin
-rw-r--r-- 1 luser luser 1048576 Jul 19 19:17 system_4018184.bin
-rw-r--r-- 1 luser luser 524288 Jul 19 19:17 system_4276224.bin
-rw-r--r-- 1 luser luser 39845888 Jul 19 19:17 system_4280328.bin
-rw-r--r-- 1 luser luser 524288 Jul 19 19:17 system_4538368.bin
-rw-r--r-- 1 luser luser 132644864 Jul 19 19:17 system_4542472.bin
-rw-r--r-- 1 luser luser 132644864 Jul 19 19:17 system_4804616.bin
-rw-r--r-- 1 luser luser 132644864 Jul 19 19:17 system_5066760.bin
-rw-r--r-- 1 luser luser 132644864 Jul 19 19:17 system_5328904.bin
-rw-r--r-- 1 luser luser 132644864 Jul 19 19:17 system_5591048.bin
-rw-r--r-- 1 luser luser 132644864 Jul 19 19:17 system_5853192.bin
-rw-r--r-- 1 luser luser 132644864 Jul 19 19:17 system_6115336.bin
-rw-r--r-- 1 luser luser 132644864 Jul 19 19:17 system_6377480.bin
-rw-r--r-- 1 luser luser 132644864 Jul 19 19:17 system_6639624.bin
-rw-r--r-- 1 luser luser 132644864 Jul 19 19:17 system_6901768.bin
-rw-r--r-- 1 luser luser 132644864 Jul 19 19:17 system_7163912.bin
-rw-r--r-- 1 luser luser 132644864 Jul 19 19:17 system_7426056.bin
-rw-r--r-- 1 luser luser 524288 Jul 19 19:17 system_7685768.bin
-rw-r--r-- 1 luser luser 177733632 Jul 19 19:17 system_7689216.bin
-rw-r--r-- 1 luser luser 3144155136 Jul 19 20:13 system.img
-rw-r--r-- 1 luser luser 1572864 Jul 19 19:16 tz_204800.bin
-rw-r--r-- 1 luser luser 1572864 Jul 19 19:16 tzbak_208896.bin
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