Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,743,085 Members 44,151 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 353
Posts: 304
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:
Select 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:
Select 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: 322
Join Date: Nov 2012
Location: Toilet
First check that your mount points are correct:

Code:
Select Code
heimdall print-pit
 
dotmaniac
Old
#3  
dotmaniac's Avatar
Senior Member - OP
Thanks Meter 353
Posts: 304
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 3606
Posts: 3,278
Join Date: Mar 2011

 
DONATE TO ME
Code:
Select Code
 sys_mnt=\/dev\/block\/mmcblk0p3
You're escaping the forward slashes. You don't need to do that. This should work fine:
Code:
Select 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:
Select 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:
Select 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: 172
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:
Select 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:
Select 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: 257
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, 18 views)

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Slide Dial Replacement Dialer Lets You Make Calls from Anywhere

If you frequently make phone calls, your dialer (aka phone app)is one of the … more

Navigate with Your Samsung Gear 2 Using DMA Navi Watch

Whether you’re travelling to a new destination or exploring some previously … more

Xperia Z1 Stereo Speaker Mod, Cell Phone Unlocking Legal Again! – XDA Developer TV

Cell Phone Unlocking is legal again!! That and much … more