Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,730,051 Members 53,807 Now Online
XDA Developers Android and Mobile Development Forum

Trying to make a edify_defs file for Android Kitchen

Tip us?
 
dotmaniac
Old
#1  
dotmaniac's Avatar
Senior Member - OP
Thanks Meter 347
Posts: 299
Join Date: Nov 2010
Location: Union, MO

 
DONATE TO ME
Default Trying to make a edify_defs file for Android Kitchen

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?
 
r00t4rd3d
Old
#2  
Senior Member
Thanks Meter 167
Posts: 321
Join Date: Nov 2012
Location: Toilet
First check that your mount points are correct:

Code:
heimdall print-pit
 
dotmaniac
Old
#3  
dotmaniac's Avatar
Senior Member - OP
Thanks Meter 347
Posts: 299
Join Date: Nov 2010
Location: Union, MO

 
DONATE TO ME
Default Re: Trying to make a edify_defs file for Android Kitchen

Sorry for replying late... but you do know that is only for Samsung devices?

I am trying to get it working on a Nexus 7 which is made by ASUS!

Sent from my Nexus 7 using XDA Premium HD app
 
FBis251
Old
(Last edited by FBis251; 10th April 2013 at 04:50 PM.)
#4  
FBis251's Avatar
Recognized Contributor
Thanks Meter 3574
Posts: 3,270
Join Date: Mar 2011

 
DONATE TO ME
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.
 
kibmcz
Old
#5  
kibmcz's Avatar
Senior Member
Thanks Meter 410
Posts: 669
Join Date: Jun 2010

 
DONATE TO ME
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.
Google Galaxy Nexus (Stock 4.3) ~ I90250: TWRP 2.6.3.0, PrimeMD04 Bootloader, i90250UGLL1 Radio
Google Nexus 7 (Stock 4.3) ~ ME370T: TWRP 2.6.3.0, Grouper-4.23 Bootloader

My Roms/Mods: http://kibmcz.ca/pages/downloads/android.php
The Following User Says Thank You to kibmcz For This Useful Post: [ Click to Expand ]
 
lparcshinoda
Old
#6  
lparcshinoda's Avatar
Senior Member
Thanks Meter 87
Posts: 171
Join Date: Apr 2011
Location: Terracina (LT)
Quote:
Originally Posted by kibmcz View Post
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
 
bshiznit
Old
(Last edited by bshiznit; 20th November 2013 at 05:30 PM.) Reason: No attachment
#7  
bshiznit's Avatar
Senior Member
Thanks Meter 335
Posts: 255
Join Date: Jun 2010
Location: Denver

 
DONATE TO ME
Quote:
Originally Posted by lparcshinoda View Post
Thanks a lot, this really helped me to make my first grouper rom
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
Attached Files
File Type: zip grouper.zip - [Click for QR Code] (312 Bytes, 17 views)

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Cast Your Device Screen the Way it Was Meant to be with Second Screen

Not too long ago here on the XDA Portal, we covered how Google had made … more

Samsung Gear Live Unboxed the XDA Way – XDA Developer TV

XDA Developer TV Producer AdamOutleris known for his XDA Unboxingseries where … more

Make Your Own DIY Capacitive Stylus

The XDA Portal is a place where we like to talkabout things that are interesting, fun, and sometimes … more