Status 6 Error with flashing ROM cooked with dsixda's Rom Kitchen - Android

Hey there,
I've just been getting into ROM development and have a Sprint Samsung GNEX (toroplus) and a Google Nexus 7 (grouper). I made an AOSP build of 4.1.1 for my N7 and was using dsixda's ROM Kitchen to add root functionality, busybox, and to change the name of the ROM. I keep getting a "Status 6" error when trying to flash the ROM after building it.
I looked in the FAQ section of the thread and saw that it had to do with incorrect formatting due to using the wrong text editor, but the thing is that I haven't touched Windows while building this, it's all been on Linux.
So after flashing it, I used the "Report Error" function and check the recovery log, looks like there are some syntax errors. Could anyone help me out?
Thanks in advance!
Recovery.log
http://pastebin.com/QvpKe8vQ
updater-script
http://pastebin.com/kpMyqvTY
EDIT: Of course, the first thread I make has a typo in the Title. Wow. Can a moderator fix the typo in the title? Thanks!

Just click on edit then advanced and edit the title.
Personally I would suggest just building with those features from source.
Sent from my Galaxy Nexus using xda premium

So don't use dsixda's kitchen at all? And sorry, how do you compile from source with root functionality and busybox?

Anybody? I'm a little new to this stuff and am looking for some help, I was hoping this was the right place...

something15525 said:
Anybody? I'm a little new to this stuff and am looking for some help, I was hoping this was the right place...
Click to expand...
Click to collapse
You are using an aosp rom. There shouldn't be any reason you need the android kitchen. Go to github.com/cyanogenmod/android_build read the commit history. Should give you some insight with building a better busy box and root. Look up the system su from cyanogenmod ect ect.
Sent from my Galaxy Nexus using xda premium

lithid-cm said:
You are using an aosp rom. There shouldn't be any reason you need the android kitchen. Go to github.com/cyanogenmod/android_build read the commit history. Should give you some insight with building a better busy box and root. Look up the system su from cyanogenmod ect ect.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Okay, thanks! I'll take a look at it when I get some time!

Related

[KITCHEN] Basic ROM Kitchen for aspiring Nexus One cooks [PC/MAC]

Hi guys,
Over at the HTC Hero forum I have been developing a kitchen to help ordinary people learn how to build their own ROM. Recently, I purchased a Nexus One, and so I was able to port this kitchen so that it can now successfully create a rooted Nexus One custom ROM.
The kitchen works for the Nexus One but is still found at the HTC Hero Android Development subforum, so I'll probably get someone to move it to a common forum eventually:
http://forum.xda-developers.com/showthread.php?t=633246
Enjoy!
WOW, thanks, cant wait to try
can we use this forn N1???
pol18 said:
can we use this forn N1???
Click to expand...
Click to collapse
Of course...
dsixda said:
Of course...
Click to expand...
Click to collapse
Thanks bro. Setting up a Virtual Box right now and going to try it out.
mikroN1 said:
Thanks bro. Setting up a Virtual Box right now and going to try it out.
Click to expand...
Click to collapse
No problem, I'm trying to get Wi-fi tethering working as well, as the Nexus One requires some additional steps to get it to work. I asked in the Wireless Tether thread.. maybe someone knows?
I'm going to check this out, may be just what I needed
Wow thanks a lot, very kind of you to do this! Setting up now
Ok, I have now updated the kitchen to version 0.20, so that Nexus One owners can now cook in the Wireless Tether. As you might know already, for the Nexus One the wireless tethering app requires a kernel modification (which is kind of complicated for the Average Joe), so the kitchen does all that for you automatically. I just used the modified kernel that is provided in the Wireless Tether project page.
ROM ROM ROM ya boot..
Works really well, although it might be better (under OSX) to make the disk bigger than 500mb.
I found the simplest way to use the soylatte java was to extract it, put it on my Kitchen disk and then simply modify the menu by adding
Code:
PATH=/Volumes/Kitchen/soylatte16-i386-1.0.3/bin/:$PATH
at the top. Saves screwing up any other java dev work going on
Tested it with a Nexus One Cyanogen rom, works nicely for stripping out stuff I don't want and adding what I do.
Good Job. Thanks!
ScaredyCat
dsixda said:
Ok, I have now updated the kitchen to version 0.20, so that Nexus One owners can now cook in the Wireless Tether. As you might know already, for the Nexus One the wireless tethering app requires a kernel modification (which is kind of complicated for the Average Joe), so the kitchen does all that for you automatically. I just used the modified kernel that is provided in the Wireless Tether project page.
Click to expand...
Click to collapse
worked nicely for me too. set up a virtual machine on my macbook and loaded latest ubuntu plus jdk. ...changed splash ...stripped an apk ...added in motoapps for exchange calendar ...added a wifi tether direct instead of tool ...dropped in a few extra media sound files. the output zip flashed no problem and all tweaks (through very-very minor) working.
it would be appreciated if any more resource links exist other than those already in first post of thread. i'd like to learn more
yeah,this thing works(on mac).
but i wish we have a tutorial to cook a rom,(kernel).
rheza02 said:
yeah,this thing works(on mac).
but i wish we have a tutorial to cook a rom,(kernel).
Click to expand...
Click to collapse
There are about four tutorials linked on the first post of that thread, if that's what you mean.
a menu to edit build.prop will be great.
------------
i'm trying porting desire rom to nexus one, flash successfully but when i try to boot it, it's going back to recovery menu.
rheza02 said:
a menu to edit build.prop will be great.
------------
i'm trying porting desire rom to nexus one, flash successfully but when i try to boot it, it's going back to recovery menu.
Click to expand...
Click to collapse
Yeah this would be cool too.
rheza02 said:
a menu to edit build.prop will be great.
Click to expand...
Click to collapse
It's a text file, edit it with a text editor.
SC
ScaredyCat said:
It's a text file, edit it with a text editor.
SC
Click to expand...
Click to collapse
Yeah I know this, but I don't know what to tweak and what not too touch. Still a noob at this.
Breakthecycle2 said:
Yeah I know this, but I don't know what to tweak and what not too touch. Still a noob at this.
Click to expand...
Click to collapse
Tweak stuff, if it breaks tweak it back and reflash
That's how I find out what works and what doesn't... trial and error.
SC
ScaredyCat said:
Tweak stuff, if it breaks tweak it back and reflash
That's how I find out what works and what doesn't... trial and error.
SC
Click to expand...
Click to collapse
lol..good point. Thanks
rheza02 said:
a menu to edit build.prop will be great.
------------
i'm trying porting desire rom to nexus one, flash successfully but when i try to boot it, it's going back to recovery menu.
Click to expand...
Click to collapse
I don't think the Nexus One has the storage capacity to flash a Desire ROM - has been mentioned in this forum in some threads. You have to take stuff out to save space.
Menu for build.prop? I'm as much of a noob as you.

[Q] [HELP] How to create update-script?

Hope I've posted in the correct section
Hi guys,
How to I go about creating an update-script? Over the past few days I'be been cooking my own ROM (it's a port from the Incredible S dumps) and creating the update script is the last step before I test the ROM out and if it works, uploading to the Android Development forum.
I'm using a Nexus One btw.
So, could any assist me?
Thanks,
redbullcat
I tried to make my own the other day, and I found a helpful thread on the commands you can use for it. Ill try and find the link then update here.
Edit: http://forum.xda-developers.com/showthread.php?t=641223
This one is for update-scripts but I imagine there's not that much difference, correct me if I'm wrong. There does seem to be other commands for the same things in updater-script.
Another suggestion is to look at existing updater-scripts and see what makes them tick. They are quite self explanitory, nice and easy to read.
Sent from my Nexus S
You can take an update script from another custom rom, i think.
Don't forget to sign and do nandroid.
Sent from my HTC Hero using XDA App
liorweitz said:
You can take an update script from another custom rom, i think.
Don't forget to sign and do nandroid.
Sent from my HTC Hero using XDA App
Click to expand...
Click to collapse
You could also do this, but depending on what the custom rom changes you may need to change things in there, maybe not.
Sent from my Nexus S
Could Something like this be done as far as getting FlashLite working on my ROM? I've been trying to take it from "FroyoSense-V8.5_2.2" and Add to my "ExEnHeroc_2.2" ROM but Can't get it Working for Some Reason? Do you Guys think a Script or whatever is what I'm Missing??? Please Help!! T.I.A.!!
*Sent on My*
Fast as its Ever Been....
"Sprint" Hero.... Running My, *ExEnHeroC* Rom, w/Kifno's Twist, Also The XDA-BLUE.apk!! "Page 10" of My Thread!!
http://forum.xda-developers.com/showthread.php?t=957867
http://www.megaupload.com/?d=WTMLMK6M
http://m.youtube.com/index?desktop_uri=/&gl=US#/profile?user=PMGRANDS

dsixda kitchen?

i was wondering if the dsixda kitchen could work with the sgp. im just curious because i want to get into all this development stuff. if anybody has a simple tutorial link or something please share. thanks!
shahrukhraza said:
i was wondering if the dsixda kitchen could work with the sgp. im just curious because i want to get into all this development stuff. if anybody has a simple tutorial link or something please share. thanks!
Click to expand...
Click to collapse
Yes. I use that to cook my ROM. Have you looked at the official thread? There are plenty of instructions there.
http://forum.xda-developers.com/showthread.php?t=633246
and this one
http://forum.xda-developers.com/showthread.php?t=1227549
I've used it before, just for deodexing and zipaligning. The other features are supposedly meant for HTC roms only. But for some reason I get errors with busybox symlinks and the way terminal is set up using the kitchen so I don't use it to cook my rom.
Sent using Tapatalk
klin1344 said:
I've used it before, just for deodexing and zipaligning. The other features are supposedly meant for HTC roms only. But for some reason I get errors with busybox symlinks and the way terminal is set up using the kitchen so I don't use it to cook my rom.
Sent using Tapatalk
Click to expand...
Click to collapse
That's true. I only use that for the basic things and for packaging the whole thing into zip. As for busybox, I use busybox's --install option and it will generate all the symbolic links automatically.
No I get weird errors like this: http://forum.xda-developers.com/showthread.php?p=22732320
Sent using Tapatalk

[Q] editing the build.prop has no effect on Polaroid PMID4311

Hello, I have a few questions concerning the Polaroid PMID4311 (a cheapo 4.3 inch allwinner CPU device running 4.0 my little brother picked up). Fist off let me say I am no noob at android, and have had much experience modding my galaxy player. The problem is he wants to play some Gameloft games (nova 2, asphalt 6), but of course they give infamous "this device is not compatible request a refund" message. So no biggie, I just change the model in build.prop, right? Now here is the mystery; it doesn't make any difference what I change the model to - it still gives the error and still shows the original model under "about device" in system settings. I have done this countless times on other devices with no problem. I have checked the default.prop, and the boot image is insecure (ro.secure=0). The device came rooted. Any thoughts? Also, if anyone has this device, I seem to have lost my backup of the original build.prop, and would appreciate a copy. Thank you!
Sent from my YP-G1 running Nebula B1
Mh...
iJimaniac said:
Hello, I have a few questions concerning the Polaroid PMID4311 (a cheapo 4.3 inch allwinner CPU device running 4.0 my little brother picked up). Fist off let me say I am no noob at android, and have had much experience modding my galaxy player. The problem is he wants to play some Gameloft games (nova 2, asphalt 6), but of course they give infamous "this device is not compatible request a refund" message. So no biggie, I just change the model in build.prop, right? Now here is the mystery; it doesn't make any difference what I change the model to - it still gives the error and still shows the original model under "about device" in system settings. I have done this countless times on other devices with no problem. I have checked the default.prop, and the boot image is insecure (ro.secure=0). The device came rooted. Any thoughts? Also, if anyone has this device, I seem to have lost my backup of the original build.prop, and would appreciate a copy. Thank you!
Sent from my YP-G1 running Nebula B1
Click to expand...
Click to collapse
I got two things.. >>Random> We both have the same device :0
Ok.. Try compiling it on your computer once finished? That may help.
And I don't have a original my brother messes with my tablet.. I'm just starting to code in C++
jonahly said:
I got two things.. >>Random> We both have the same device :0
Ok.. Try compiling it on your computer once finished? That may help.
And I don't have a original my brother messes with my tablet.. I'm just starting to code in C++
Click to expand...
Click to collapse
Hey, thanks for the reply! I'm not sure I understand what you want me to compile?
And if you're just starting to code in c++, you're 1-up on me
Sent from my YP-G1 running Nebula B1
l
iJimaniac said:
Hey, thanks for the reply! I'm not sure I understand what you want me to compile?
And if you're just starting to code in c++, you're 1-up on me
Sent from my YP-G1 running Nebula B1
Click to expand...
Click to collapse
Try compiling the Build.prop once edited (Edit, Save, Compile.) If that doesn't work google.
jonahly said:
Try compiling the Build.prop once edited (Edit, Save, Compile.) If that doesn't work google.
Click to expand...
Click to collapse
I have never heard of compiling build.prop before, what do you use to compile it?
Sent from my YP-G1 running Nebula B1
Don't worry about 'compiling" use a usb - edit on computer save it. Put it back where it goes I wasn't good at it earlier.. But I got it figured out.. please give me a thanks
Sent from my PMID4311 using xda premium
jonahly said:
Don't worry about 'compiling" use a usb - edit on computer save it. Put it back where it goes I wasn't good at it earlier.. But I got it figured out.. please give me a thanks
Sent from my PMID4311 using xda premium
Click to expand...
Click to collapse
Well, I have edited it, and I do know what I am doing, but there is no effect. I'll give you a thanks just because I like making people happy.
Sent from my YP-G1 running Nebula B1
What OS are you using? If you use windows it won't work.. Try getting Gedit on your computer.
Sent from my PMID4311 using xda premium
jonahly said:
What OS are you using? If you use windows it won't work.. Try getting Gedit on your computer.
Sent from my PMID4311 using xda premium
Click to expand...
Click to collapse
I use notepad++ on windows, but have also edited it on the device using root explorer. I know this isn't the issue since certain properties will work if I change them (example: I can change the firmware version from 4.0.4 to 4.1.2).
Sent from my YP-G1 running Nebula B1
Ok, get root explorer plus, using web. Edit build.prop with text editor. Delete backup. Turn off tablet. Turn back on. Done!
Sent from my PMID4311 using xda premium
jonahly said:
Ok, get root explorer plus, using web. Edit build.prop with text editor. Delete backup. Turn off tablet. Turn back on. Done!
Sent from my PMID4311 using xda premium
Click to expand...
Click to collapse
Dude, I'm not an idiot! I have been telling you I have already done this multiple times. I know perfectly well how to edit a build.prop, but what I am saying it's it seems to have no effect on this device for some reason. I really don't need to figure it out anymore since I just edited the apks to remove the compatibly check.
Sent from my YP-G1 running Nebula B1
Sorry was more stupid back then get root explorer and edit it once you have done so reboot. If that doesn't work maybe what you are trying to do on there doesn't work look at the experience in my eyes
Sent from my PMID4311 using xda premium
I just want to get this out of the way.. Install superuser then edit the build.Prop
Should work.
Sent from my SGH-I997 using xda app-developers app

[Q]

I need help making my ROM. Any help is apreciated. Thx http://www.vmroms.com/index.php?topic=827.msg14743#msg14743
Nick_73 said:
I need help making my ROM. Any help is apreciated. Thx http://www.vmroms.com/index.php?topic=827.msg14743#msg14743
Click to expand...
Click to collapse
What kind of help are you looking for? Do you want suggestions on what to add? Are stuck on how to add a particular feature to your ROM? One thing you could try is compiling AOSP and using that as the base for your ROM a great guide on doing that can be found here and here (Official Google guide to building AOSP). I'll be happy to help you out best I can so let me know if you still have questions.
shimp208 said:
What kind of help are you looking for? Do you want suggestions on what to add? Are stuck on how to add a particular feature to your ROM? One thing you could try is compiling AOSP and using that as the base for your ROM a great guide on doing that can be found here and here (Official Google guide to building AOSP). I'll be happy to help you out best I can so let me know if you still have questions.
Click to expand...
Click to collapse
I am building it from stock. Right now the custom launcher won't open. Also after boot, it loops. Does the services.jar need a new odex if modified?
Sent from my SCH-S738C using Tapatalk
I fixed the launcher issue but not the services.jar. Also, the Trev-E mod WiFi tether app force closes when I flash Rom and boot
Sent from my SPH-L300 using Tapatalk
Also if an admin could name this "[Q] Rom help" that'd be great
Sent from my SPH-L300 using Tapatalk
Nick_73 said:
I fixed the launcher issue but not the services.jar. Also, the Trev-E mod WiFi tether app force closes when I flash Rom and boot
Sent from my SPH-L300 using Tapatalk
Click to expand...
Click to collapse
Glad you were able to fix that, my main suggestion would be to modify only one part of your ROM at time (Just like a science experiment) that way you know that if it doesn't work it's very likely because of the modification you just made. Also logcat will be a big help to help you figure out where things are causing problems and what things are causing problems.
shimp208 said:
Glad you were able to fix that, my main suggestion would be to modify only one part of your ROM at time (Just like a science experiment) that way you know that if it doesn't work it's very likely because of the modification you just made. Also logcat will be a big help to help you figure out where things are causing problems and what things are causing problems.
Click to expand...
Click to collapse
Why do all system apps I add force close until they're updated?
Sent from my SPH-L300 using Tapatalk
Nick_73 said:
Why do all system apps I add force close until they're updated?
Sent from my SPH-L300 using Tapatalk
Click to expand...
Click to collapse
Try updating the system apps to their latest version and pulling the apk's of the updates version then including these latest version updated apk's in your ROM :good:.
shimp208 said:
Try updating the system apps to their latest version and pulling the apk's of the updates version then including these latest version updated apk's in your ROM :good:.
Click to expand...
Click to collapse
I did that, but still fc.
Sent from my SPH-L300 using Tapatalk
Nick_73 said:
I did that, but still fc.
Sent from my SPH-L300 using Tapatalk
Click to expand...
Click to collapse
Also make sure in your ROM's updater-script the system apps you have added are given the proper file permissions.
I did a work-around and made added apps get flashed to /data/app. But Play Store still fc's. I modified the updater-script from another Rom for this phone, but I only added lines.
Sent from my SPH-L300 using Tapatalk
shimp208 said:
Also make sure in your ROM's updater-script the system apps you have added are given the proper file permissions.
Click to expand...
Click to collapse
I have an issue with smali. I backsmali a classes.dex file. I can re package it with smali, when I don't edit files. If I edit any files within the output folder, I cannot repackage it with smali. It gives me an error... Unexpected top-level exception. And I cannot find any help online....
Sent from my GT-P5110 using Tapatalk
Never mind. I tried it a few times and it worked
Sent from my GT-P5110 using Tapatalk

Categories

Resources