Big Android BBQ 5.0 Recap – XDA TV

This fifth annual Big Android BBQ has come and gone. The speakers have spoke, the sponsors have … more

Microsoft to Counter “OK Google” with Bing Torque

When Microsoft is making apps for Android, users should be aware that something … more

Google Confirms “Android Lollipop Day” for November 3rd

A little over a week ago, Google announced the latest iteration of … more

Get Your XDA 2015 Custom Avatar and Signature Images Here

As stated in our motto, XDA Developer is for developers, by developers. The … more
Post Reply

Trying to make a edify_defs file for Android Kitchen

OP bgiesing

21st January 2013, 06:14 PM   |  #1  
bgiesing's Avatar
OP Senior Member
Flag Union, MO
Thanks Meter: 413
 
362 posts
Join Date:Joined: Nov 2010
Donate to Me
More
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?
23rd January 2013, 01:58 PM   |  #2  
Senior Member
Toilet
Thanks Meter: 168
 
323 posts
Join Date:Joined: Nov 2012
First check that your mount points are correct:

Code:
heimdall print-pit
23rd February 2013, 11:56 PM   |  #3  
bgiesing's Avatar
OP Senior Member
Flag Union, MO
Thanks Meter: 413
 
362 posts
Join Date:Joined: Nov 2010
Donate to Me
More
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
10th April 2013, 04:48 PM   |  #4  
FBis251's Avatar
Recognized Contributor
Thanks Meter: 3,684
 
3,326 posts
Join Date:Joined: Mar 2011
Donate to Me
More
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 by FBis251; 10th April 2013 at 04:50 PM.
15th April 2013, 09:27 AM   |  #5  
kibmcz's Avatar
Senior Member
Thanks Meter: 411
 
669 posts
Join Date:Joined: Jun 2010
Donate to Me
More
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.
The Following User Says Thank You to kibmcz For This Useful Post: [ View ]
30th August 2013, 07:19 PM   |  #6  
lparcshinoda's Avatar
Senior Member
Flag Terracina (LT)
Thanks Meter: 103
 
198 posts
Join Date:Joined: Apr 2011
More
Quote:
Originally Posted by kibmcz

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
20th November 2013, 04:53 PM   |  #7  
bshiznit's Avatar
Senior Member
Flag Denver
Thanks Meter: 355
 
295 posts
Join Date:Joined: Jun 2010
Donate to Me
More
Info 2
Quote:
Originally Posted by lparcshinoda

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, 26 views)
Last edited by bshiznit; 20th November 2013 at 05:30 PM. Reason: No attachment

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Nexus 7 Developer Discussion [Developers Only] by ThreadRank