Trying to make a edify_defs file for Android Kitchen

Search This thread

bgiesing

Senior Member
Here is what I have:

Code:
Google Nexus 7 by ASUS (Wi-Fi Only)

change_mnt=yes

sys_mnt=\/dev\/block\/mmcblk0p3
cache_mnt=\/dev\/block\/mmcblk0p4
boot_mnt=\/dev\/block\/mmcblk0p2
data_mnt=\/dev\/block\/mmcblk0p9
sdcard_mnt=\/dev\/block\/mmcblk0p9

param1=ext4
param2=EMMC

param1_sdcard=vfat
param2_sdcard=

Problem is... It only works under MultiROM.
When installing normally it gives a Status 7 error which from what I understand is because of bad mount points in the edify_defs file?

I have tried the mount points those mount points in the file above and also these:
Code:
/sdcard vfat /dev/block/sda1
 /system ext4 /dev/block/platform/sdhci-tegra.3/by-name/APP
 /cache ext4 /dev/block/platform/sdhci-tegra.3/by-name/CAC
 /data ext4 /dev/block/platform/sdhci-tegra.3/by-name/UDA length=-32768
 /misc emmc /dev/block/platform/sdhci-tegra.3/by-name/MSC
 /boot emmc /dev/block/platform/sdhci-tegra.3/by-name/LNX
 /recovery emmc /dev/block/platform/sdhci-tegra.3/by-name/SOS
 /staging emmc /dev/block/platform/sdhci-tegra.3/by-name/USP

I can't figure out what I am missing... Can somebody please help?
 
  • Like
Reactions: youkeshrbs

FBis251

Senior Member
Mar 21, 2011
3,418
3,716
www.fernandobarillas.com
Code:
 sys_mnt=\/dev\/block\/mmcblk0p3

You're escaping the forward slashes. You don't need to do that. This should work fine:
Code:
 sys_mnt=/dev/block/mmcblk0p3

EDIT
Just remember that you can only set variables like that in a .prop file.
 
Last edited:

kibmcz

Senior Member
Jun 6, 2010
698
413
kibmcz.ca
Samsung Galaxy S21
I found this thread in the process of working on parallel project it seems lol. Anyway I have found that i directly out of android kitchen it always gives error status 0 but i sorta found a fix that allowed it to boot on mine.

i used this in the edify_defs file

Code:
# Google Nexus 7 by ASUS (Wi-Fi Only)

change_mnt=yes

param1=ext4
param2=EMMC

param1_sdcard=vfat
param2_sdcard=

sys_mnt=\/dev\/block\/platform\/sdhci-tegra.3\/by-name\/APP
cache_mnt=\/dev\/block\/platform\/sdhci-tegra.3\/by-name\/CAC
boot_mnt=\/dev\/block\/platform\/sdhci-tegra.3\/by-name\/LNX
data_mnt=\/dev\/block\/platform\/sdhci-tegra.3\/by-name\/UDA
sdcard_mnt=\/dev\/block\/sda1

The key thing that made mine boot was changing the following items manually:

1. Change the boot line to the following (taken from cm 10.1 nightly)
Code:
package_extract_file("boot.img", "/dev/block/platform/sdhci-tegra.3/by-name/LNX");
2. use the update-binary from a recent cm nightly.

If you do that it SHOULD work.
 
  • Like
Reactions: lparcshinoda

lparcshinoda

Senior Member
Apr 23, 2011
332
163
40
Terracina (LT)
www.arcweb.it
I found this thread in the process of working on parallel project it seems lol. Anyway I have found that i directly out of android kitchen it always gives error status 0 but i sorta found a fix that allowed it to boot on mine.

i used this in the edify_defs file

Code:
# Google Nexus 7 by ASUS (Wi-Fi Only)

change_mnt=yes

param1=ext4
param2=EMMC

param1_sdcard=vfat
param2_sdcard=

sys_mnt=\/dev\/block\/platform\/sdhci-tegra.3\/by-name\/APP
cache_mnt=\/dev\/block\/platform\/sdhci-tegra.3\/by-name\/CAC
boot_mnt=\/dev\/block\/platform\/sdhci-tegra.3\/by-name\/LNX
data_mnt=\/dev\/block\/platform\/sdhci-tegra.3\/by-name\/UDA
sdcard_mnt=\/dev\/block\/sda1

The key thing that made mine boot was changing the following items manually:

1. Change the boot line to the following (taken from cm 10.1 nightly)
Code:
package_extract_file("boot.img", "/dev/block/platform/sdhci-tegra.3/by-name/LNX");
2. use the update-binary from a recent cm nightly.

If you do that it SHOULD work.

Thanks a lot, this really helped me to make my first grouper rom :good:
 

bshiznit

Senior Member
Jun 24, 2010
811
1,497
Denver
Thanks a lot, this really helped me to make my first grouper rom :good:

Here is the file I'm using for 4.4 (attached)...

Also in your update-script delete these lines (after you've built the zip at least once - these files don't exist!) and then answer yes to the convert to updater-script question:
set_perm 1002 1002 0440 SYSTEM:etc/dbus.conf
set_perm 0 2000 0550 SYSTEM:etc/init.goldfish.sh
 

Attachments

  • grouper.zip
    312 bytes · Views: 64
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Here is what I have:

    Code:
    Google Nexus 7 by ASUS (Wi-Fi Only)
    
    change_mnt=yes
    
    sys_mnt=\/dev\/block\/mmcblk0p3
    cache_mnt=\/dev\/block\/mmcblk0p4
    boot_mnt=\/dev\/block\/mmcblk0p2
    data_mnt=\/dev\/block\/mmcblk0p9
    sdcard_mnt=\/dev\/block\/mmcblk0p9
    
    param1=ext4
    param2=EMMC
    
    param1_sdcard=vfat
    param2_sdcard=

    Problem is... It only works under MultiROM.
    When installing normally it gives a Status 7 error which from what I understand is because of bad mount points in the edify_defs file?

    I have tried the mount points those mount points in the file above and also these:
    Code:
    /sdcard vfat /dev/block/sda1
     /system ext4 /dev/block/platform/sdhci-tegra.3/by-name/APP
     /cache ext4 /dev/block/platform/sdhci-tegra.3/by-name/CAC
     /data ext4 /dev/block/platform/sdhci-tegra.3/by-name/UDA length=-32768
     /misc emmc /dev/block/platform/sdhci-tegra.3/by-name/MSC
     /boot emmc /dev/block/platform/sdhci-tegra.3/by-name/LNX
     /recovery emmc /dev/block/platform/sdhci-tegra.3/by-name/SOS
     /staging emmc /dev/block/platform/sdhci-tegra.3/by-name/USP

    I can't figure out what I am missing... Can somebody please help?
    1
    I found this thread in the process of working on parallel project it seems lol. Anyway I have found that i directly out of android kitchen it always gives error status 0 but i sorta found a fix that allowed it to boot on mine.

    i used this in the edify_defs file

    Code:
    # Google Nexus 7 by ASUS (Wi-Fi Only)
    
    change_mnt=yes
    
    param1=ext4
    param2=EMMC
    
    param1_sdcard=vfat
    param2_sdcard=
    
    sys_mnt=\/dev\/block\/platform\/sdhci-tegra.3\/by-name\/APP
    cache_mnt=\/dev\/block\/platform\/sdhci-tegra.3\/by-name\/CAC
    boot_mnt=\/dev\/block\/platform\/sdhci-tegra.3\/by-name\/LNX
    data_mnt=\/dev\/block\/platform\/sdhci-tegra.3\/by-name\/UDA
    sdcard_mnt=\/dev\/block\/sda1

    The key thing that made mine boot was changing the following items manually:

    1. Change the boot line to the following (taken from cm 10.1 nightly)
    Code:
    package_extract_file("boot.img", "/dev/block/platform/sdhci-tegra.3/by-name/LNX");
    2. use the update-binary from a recent cm nightly.

    If you do that it SHOULD work.