yashsingh1/xdaforums huggingface dataset:
[Nexus 6 Q&A, Help & Troubleshooting] negativefx:
Hi all,

Running into issues with the new 5.1 factory image. After flashing, booting up, setting up my google account, and enabling the new Allow OEM Unlock setting in dev options, I jump to the bootloader to relock. I've tried running the lock from both fastboot and mfastboot. In either case, it says locking was successful, sets the lock status to (2). I hit Start (or fastboot reboot, etc.) and it hits the Google splash (no unlock icon at the bottom), quickly reboots, goes to Google splash, and then sits at the system update screen... the one with the green android/open chest/blue spinning wireframe. It never passes this. If I erase the cache, it hangs at the spinning colored dots splash screen forever. If I unlock, erase userdata and cache, it'll boot fine, but I'm back to where I was in the first place... data reset, unable to lock the bootloader.

I *have to* lock the bootloader because of stupid Mobile Iron requirements from work. Any ideas? My goal is to have a full factory install, unrooted, locked, on 5.1 so I can install Mobile Iron.

Thanks!
[Nexus 6 Q&A, Help & Troubleshooting] danarama:
Have you tried flashing the full factory image a second time? Maybe do each part separately
[Nexus 6 Q&A, Help & Troubleshooting] negativefx:
Yeah, I've tried multiple times with flash-all (both latest fastboot and modified to use mfastboot) and got the "error: update package missing system.img" error so I used mflashboot to flash the bootloader, radio, recovery, boot, system, cache, and userdata partitions.

I have not tried an OTA.

So full history: device was brand new about 2 weeks ago (t-mobile), came with 5.0.1. I never unlocked it or rooted or anything up until yesterday when I tried to flash the full factory 5.1 from google as described above. I downloaded the full 5.1 image, booted into fastboot, did "fastboot oem unlock", tried flash-all, hit that error, individually flashed everything. Unlocked dev options, enabled oem unlock setting, back into fastboot, 'mfastboot oem lock', this issue.

Trying to go back to 5.0.1 right now to see if I can at least get it back up and running with Mobile Iron.
[Nexus 6 Q&A, Help & Troubleshooting] negativefx:
Same problem on 5.0.1. Sigh.

Interesting though, if I try the lock, reboot, get the system update screen, and force it back into bootloader (vol down+power) and run oem unlock, I still get the system update screen. Have to blow away the cache to get it to boot.

Not sure if it matters but when unlocked, status code is 3, when locked, it goes to 2. I didn't pay attention to what the code value was prior to unlocking the first time.
[Nexus 6 Q&A, Help & Troubleshooting] danarama:
The codes are accurate
[Nexus 6 Q&A, Help & Troubleshooting] negativefx:
Any idea beyond this? Could it have something to do with the encrypted storage?
[Nexus 6 Q&A, Help & Troubleshooting] negativefx:
I might try flashing another rom and recovery and working from there.
[Nexus 6 Q&A, Help & Troubleshooting] negativefx:
Strange... the OEM unlocking setting in dev options doesn't seem to stick between restarts. I have to set it each time. Is that expected behavior?
[Nexus 6 Q&A, Help & Troubleshooting] danarama:
On 5.1 it is.

No idea though ultimately
[Nexus 6 Q&A, Help & Troubleshooting] negativefx:
I managed to get it to lock finally. I don't remember the exact combination but it eventually prompted me during reboot to provide my pass for the encrypted storage and I tried my PIN, that didn't work. Went in to fastboot, reflashed userdata and cache, went to android device manager on my PC and did a remote wipe. After that, it let me lock.
[Nexus 6 Q&A, Help & Troubleshooting] efrant:
I see you got it to work :good:, but just a little explanation:

The N6 forces a wipe when you lock the bootloader. And sometimes it hangs. What you need to do is boot into the stock recovery after you have locked your bootloader and do a factory reset. Then you should be able to boot normally with a locked bootloader.
[Galaxy Note 4 Q&A, Help & Troubleshooting] Digipro:
No need to explain why i needed to spoof my device but i tried editing the biuld.prop to sm-n9005 ( note 3) it didnt work but didnt chage it back as it made no difference other than chnage in device settins. so i downloaded device spoof and change it to another brand cant remmeber all i needed was for it to not be abote 4 cause of screen resolution and certain apps arnt compatable. anyway i spoofed it downloaded the app and the ask device spoof to return to previous and when phoone rebooted it stuck on the first boot screen note 4 android , so i thought i would reflash with stock rom but now when i try to flash it says Unsupported dev type on the phone and fails to flash.

is there away to reflash boot loader kernel or anything i can do as i think it wont flash cause it now thinks the phone is something different .

please have mercy have done this sort of thing in past with no problems i am thinking cause i didnt change the build prop back to the note 4 from note 3 device spoof has reflashed it to a note 3

or is there away to get odin to force flash and get past the phone saying unsupported dev type

any help trying to solve this would be very greatfull

I can get into download mode and the stock recovery but it says install anything from sdcard is locked and adb is locked when i try to select them

thanks

steve

ps i think this is rught forum it did say for questions and help

update have installed a custom recovery but every time i try to install a custom rom it says the rom is for a trltexx and my devie is a trlte ? accoring to google search this is the same thing ??? whats gives lol

managed to install a custom rom it installed but when it booted it did the same just stayed on the first boot screen the samsung note 4 andthen vibrated and rebooted does not even get to the samsung logo, what gives why would it do this ? have cleared cash all sorts dont overlook me a u think i am a newbee please as i have flashed other phones never had a problem other than a boot loop that was sorted with wipein cash files. this has me stooped surely a dev can give some help please you would be top of my list for christmas cards lol
[Galaxy Note 4 Q&A, Help & Troubleshooting] Digipro:
sorry everyone turns out the site that said the stock rom was for my phone was wrong managed to get the stock rom from better site and now phone currently been set up again as we speak on stock rom just need to root it then can install the app as i manage to download the app and will change the resolution using adb next time instead of trying to use a shrt cut by using an app that obviously is not suitable for all phones that it is used on as a number of people have reported the same thing.

thanks everyone and this is my lesson to be learned
[Android Software Development] Tech N You:
INTRODUCTION

This is a tool for those who want to start learning how to make custom ROMs, or who just want to save some time with their ROM customization.

Basic fundamental is to make your life easier, and, at the same time, help you learn about the Android OS.

The kitchen will not automatically turn you into a developer. You are not programming anything or building a ROM from the ground up. The kitchen merely presents a user-friendly interface to hide all the rough details. However, this may be the push that gets you into development in the future.

No command lines nothing required to operate this kitchen, just enter options as "1" or '2', however you many need some knowledge about Android tree (ROM files)

Here is a quick peek of how this kitchen appears.

[IMG="Tyrancy Kitchen"]http://i.imgur.com/LRLI5vc.png[/IMG]​

NOTE : This kitchen is still a WIP but does a pretty decent job if it comes to modding. All coding has been done in 72 hours up straight with less or no sleep by me only. I warn you before hand if you have no idea what ROM is or most importantly what ANDROID is kindly use Google as your teacher rather than spamming this thread. No useless questions will be entertained.

DEVELOPERS/USERS GOOD WITH WINDOWS SCRIPTING (BATCH) PLEASE

CLICK HERE

Supported devices

As I said it's the first release as it's still a WIP but all basic commands like rooting, extracting boot.img etc are supported. So technically it's a universal kitchen.

DOWNLOAD KITCHEN

Below is the download link to kitchen

MOD EDIT: REMOVED

Although critics never stay back yet some of you might like my work and want this kitchen to be supported and go on and on. Though this kitchen is free but still kindly consider

donating

as it helps both of us, me getting resources and you ending up in my credit section and being the most important part of the development :D:p:cool::angel::cowboy:

XDA:DevDB Information

Tyrancy Kitchen - Windows Kitchen, CYGWIN FREE, Tool/Utility for all devices (see above for details)

Contributors

Tech N You

Version Information

Status: Testing

Current Beta Version: 1.0.0.0

Beta Release Date: 2015-03-16

Created 2015-03-15

Last Updated 2015-09-22
[Android Software Development] Tech N You:
FEATURES

● Smart as your phone! Detects all possible vulnerabilities that may affect kitchen

● Very Light weight! Only 16 MB

● Deodexing option

● Latest smali\baksmali 2.0.5 for quicker and faster deodexing

● Generate log of deodexing process

● Root your ROM

● Add init.d support without touching kernel! (Just Archi init.d)

● Boot/Recovery editing tools (All devices supported except for SONY [kernel.elf] , working on that be patient please it's just first release)

● All file updated with latest su and other stuff

● Add busybox

● Get working folder information same as dsixda kitchen

● 14+ Integrated ADB/Fastboot command menu to make your life more easier

● Supports Flashable ZIP format, System.img+boot.img and ODIN firmware (more to come in next update

● Change name of your ROM

● Add /data/app support

SETTING UP KITCHEN

Download the kitchen and extract it your core

C:\

directory ONLY! or it won't work and just execute Kitchen.bat to begin

FREQUENTLY ASKED QUESTIONS

Q) Why does Tyrancy kitchen closes automatically everytime after I choose this option(s)?

Ans) Two reasons - (a) You have spaces in your username like "Tech N You" .. Solution is create a new account with single line username like "Admin"

(b) You have not extracted it in core C:\drive eg. "C:\Tech N You\kitchen" this is wrong C:\Tech N You\kitchen it should be "C:\Kitchen"

If you did both right then it's a code fault, let me know which option it does so

Q) Do I need anything else in order to run this kitchen?

Ans) You need only JAVA that too in order to deodex your ROM. Make sure you use latest version of java and it is defined in your system path.

Q) I get prompts like "C:\Kitchen\WORKING_FOLDER\blabla is a file or directory". What to do?

Ans) Come on people be smart. You know what to do. Read it carefully it has the answer.

Q) I want this feature to be added, where should I inform you?

Ans) Here! Right in this thread just tag me in your reply! All suggestions welcome! Open to all kind of suggestion!

BUGS

No bugs as of now! Stable and fluid please report any bug if you find..
[Android Software Development] Tech N You:
CREDITS

THE LEGEND - [MENTION=673068]dsixda[/MENTION]
[MENTION=5161352]JustArchi[/MENTION] for his init.d script
[MENTION=5105831]Ricky Divjakovski[/MENTION] for some of his files
[MENTION=1299419]JesusFreke[/MENTION] for his smali and baksmali
[MENTION=4477466]cofface[/MENTION] for his bootimg utility

@Chainfire for SuperSU

Me for creating the tool
[Android Software Development] Tech N You:
REQUEST TO DEVELOPERS

This kitchen is open-source and is free to mod and share in this thread only (if you can add more features to it)

lease message me ASAP if you want to help.!:laugh::fingers-crossed::cool:

Thanking you all in advance:good:
[Android Software Development] Tech N You:
TO DO

● Add Lollipop deodexing (Have everything ready, coming in next update)

● Make Updater-script checking

● Add automatic updater-Script building Complete check v 1.5

● Add automatic device support

● Request more you want
[Android Software Development] Tech N You:
CHANGELOGS

● v 1.0 Initial release

v1.5

● More streamlined

● Added custom boot animation functionality

● Optimized code

● Fixed various bugs

● Added automatic updater-script generator

● User can now Input his/her name in updater-script without opening.
[Android Software Development] Tech N You:
Reserving this last one just in case.
[Android Software Development] Ricky Divjakovski:
good job although this is very identical to my kitchen, alot of the code is the same, files of mine were used without permission aswell.
[Android Software Development] Tech N You:
I am really sorry for the confusion sir :( I assumed your project was open-source so it could be modified.

Well it is more like dsixda (the layout) . I assure you that no coding was copied from your kitchen. I coded every ounce of it myself.

I only used your files and for that I added your name in credits.

Again really sorry for the confusion.
[Android Software Development] lucky_sidhu:
Does it deodex LP ?
[Android Software Development] Tech N You:
[MENTION=4256692]lucky_sidhu[/MENTION] I will add lollipop support in upcoming updates please stay tuned
[Android Software Development] MikeUI:
Tnx Great Dev.

Tnx For This..Cause Mainly I'm Using Windows7(32-bit) To Do My Android Stuff And Not Linux Been Waiting For A Tool Like This Since Before Glad You Can Make It...But Can You Add Mirrors?Some Other Link Cause i'm having a trouble downloading it from the original link. :)
[Android Software Development] Tech N You:
Ah sure thing buddy check out the thread I added mirror! And thanx for checking this project out :)
[Android Software Development] Darshan601:
Great tool !!!!!:good:

Currently using v1.0 .Will update to v1.5 to see more stuff:cool:
[Android Software Development] Tech N You:
Thank you for your response :)

New update brings a whole lot of changes.
[Android Software Development] bogdan003:
Cant wait for support lollipop!? thank you!
[Android Software Development] drmodify:
been using that old kitchen since 2012, damn why weren't you posted in the XDA portals? thanks for making my life easier as there is no support anymore for dual sim for my sammy phone! Ended in 2014. Now because of you new life has breathed into my phone!
[Android Software Development] Tech N You:
Thank you for your valuable response. Will be adding lollipop support soon. Please bear with me. Rest this is stable kitchen.
[Android Software Development] thunderstorm12345:
can't wait for the lollipop update :D
[Android Software Development] seff666:
ill try it,
[Android Software Development] Tech N You:
Lollipop support is ready.

Problem is I have Cm12 which has no odex file format so I can't test and I have not recieved official lollipop support
[Android Software Development] kamalmawa:
Im happy to test it for you... I have a Xperia Z2 Lollipop ROM with Odex files
[Android Software Development] Dave_247:
I noticed a little bug or more like a typo in your code. I was trying to set up a working folder from a Samsung Rom using the Odin option however when the script came to opening EXT4 Extractor instead of opening there was simply a message stating "could not find the file specified".

I opened the batch file and found the line where it should execute the program which is

cd C:\Kitchen\tools\ext4_unpacker

I changed the command to "start" and the script seems to now work as intended.
[Android Software Development] Tech N You:
Thank you sir! Update will out soon :)
[Android Software Development] Tech N You:
Thank you! Really appreciate it :)
[Android Software Development] kentandrei:
subscribing and esp. waiting for the lp support :)
[Android Software Development] chuyennho184:
[MENTION=5941042]Tech N You[/MENTION]: Please add unpack & repack system.dat file of AOSP rom. Thanks!
[Android Software Development] Tech N You:
Sure that has to be lollipop kitchen part :D
[Android Software Development] lipaaa:
Hi, I want to ask if this tool is able to extract files from system.img.ex4 lolipop rom? if I want to have my apps backup
[Android Software Development] Tech N You:
If u have extracted dat format ot can handle from there
[Android Software Development] GreekDragon:
Works Perfectly. My New rom is at 50% of proccess. with your app :D
[Android Software Development] Tech N You:
Nice to hear that glad u liked my little tool :)
[Android Software Development] ktetreault14:
Going to be trying on tmobile s6 edge
[Android Software Development] Tech N You:
Sure kindly leave your feedback!
[Android Software Development] ktetreault14:
Alright I'm trying. Going to have to go and do it. I have the system and boot from a tar file already in the correct spot.
[Android Software Development] Neiman11:
How do you do this? I right-clicked the bat file and clicked edit, did a search for the line, where do I add the 'start' command? Please help

Nevermind, I found out how, change the cd to start, should read like this

start C:\Kitchen\tools\ext4_unpacker

but when I try to open the system.img.ext4 I get an error "Unkown File Format"
[Android Software Development] brezzz:
How do i use this with .kdz files for LG phones?

Thanks for the great work btw
[Android Software Development] ktetreault14:
Running this for my SM-G925T as we speak
[Android Software Development] Neiman11:
So can no one help me? Ext4 unpacker can not read system.img.ext4.

I'm using the SM-N910W8 Lollipop rom. Want to remove some apps before I flash it to my SM-910T galaxy note 4, please help. Thanks.
[Android Software Development] Tech N You:
I am very sorry, kindly share your screenshot problem. I will try my best to help
[Android Software Development] Tech N You:
Hello nice to see you like this. :)

I have no idea about .kdz file I am sorry. But you can try one thing I assume you can use either ext4 unpacker manually or try 7zip
[Android Software Development] DUHAsianSKILLZ:
Hi! I seem to have this error "computed crc32 of 0x6d14abed, expected 0x00000000" when I pick option 2 my system file is system.img.ext4. Even the other option doesnt do it. It converts it to a sparse alright but doesnt rename it to system converted something in whixh throws that error . Is there anything Im doing wrong? The kitchen is located in my c:/. Thanks!
[Android Software Development] Tech N You:
Hi thanks for trying out this kitchen. No there is no error everything is ok. Just convert it to sparse and extract files using exr2explore as it open
[Android Software Development] DUHAsianSKILLZ:
Ah thanks!
[Android Software Development] mapleshadow:
Very good! Please support Android 5.0.x system
[Android Software Development] ANANDH16:
Tutorial for using this kitchen

Dear Dev ,

Kindly give the basic tutorial to use this kitchen it will be most appreciated
[Android Software Development] Er. Aditya:
does this work for note 4 lollipop, looks really promising

edit : dsnt works
[Android Software Development] brar.arsh:
Thanks for testing out, I was just about to download this for my S6 edge.
[Android Software Development] PIRATA!:
I am searching a way to kitchen up a stock Lollipop rom just with files that I deodex by my self with other tools.

Is it possible? Only the reassemble of the files...no extra mods or nothing...just pack them up.

Tnx.
[Android Software Development] amadorsg1:
KDZ fiels are sepcific to LG try using LG Flash Tool or another KDZ extractor.

Also anyone get a flashable zip out of this? I get a file named OUTPUT_ZIP when I add a .zip to the end all I see in it is META-INF.

Ideas?
[Android Software Development] Tanuj97:
this is my first time porting rom ...i am looking forward to use this tool to port euphoria rom from lg p880 to hox it is a lollipop 5.1.1 based rom.

Just wanted to confirm if it will work or not ??:)
[Android Software Development] evilvoice:
Not for lollipop
[Android Software Development] Er. Aditya:
Lollipop not supported
[Android Software Development] Tanuj97:
when will be updated for lollipop..any idea??
[Android Software Development] Er. Aditya:
No my friend ... only dev knows
[Android Software Development] Tanuj97:
lol ..k
[Android Software Development] JoHnNYBlaZE716:
It is impolite and against xda rules to ask for ETA's. I'm sure the dev will get around to it as soon as he can. Thanks for your fine work [MENTION=5941042]Tech N You[/MENTION]
[Android Software Development] Tanuj97:
Well my bad ...just couldn't control my excitement.. Sry I have hurt anybody
[Android Software Development] Tanuj97:
I think [MENTION=5941042]Tech N You[/MENTION] have stopped the work on this kitchen ..its been 2 months and not even a single update !! :confused:
[Android Software Development] -m3tac0rt3x-:
You were already told a post back that asking for ETA's is impolite on XDA, but, you keep asking if an update will come, or if dev abandoned ship... and you are demanding and update because it's been 2 months... wow, a life time!! :rolleyes: That's just really rude. :(

I ask you, are you paying the dev a paycheck at a weekly or monthly basis so you get updates? :confused:

People share what they build / make on their

free time

here on XDA because they want to, and without the look for profit, so updates come

if and when the dev wants

them released, you just have to be patient and

wait

. On XDA there are no guarantees for support or warranties for software (it's a

developers

site), so, just wait.

OR, you pick where somebody left off and if you want to, learn how to improve their work and re-share with the community. It's easy... just read and learn, then share. :cowboy: :highfive:

If you don't want to do this last steps, then patience is the key word. :victory:
[Android Software Development] Tech N You:
I am really sorry my friend. I have faced some serious family issues due to which I had to stop. I mentioned earlier this is a open source kitchen. If you got something kindly share it. I thank you all for you support and patience and give me a week more please I'll update the kitchen soon.

This new update has all features for lollipop. If I kept releasing small updates for every change I make it'd be frustrating. I'll release new update before this month end (at max)

I've been working on some of my own binaries and have successfully compiled them. You'll get best experience ever.

Kindly wait.
[Android Software Development] Tech N You:
Thank you my friend for understanding :highfive:
[Android Software Development] Tanuj97:
Apologies ...didn't knew you had serious difficulty..all the best for your ur project :)
[Android Software Development] Hamidreza2010:
[MENTION=5941042]Tech N You[/MENTION]

Dear can i make a custom rom with this tool for sony devices like xperia sp on 4.3 jb?

if yes any other idea for that?

special thanks
[Android Software Development] Tech N You:
Yes you can, I own Xperia SP too and I tried it booted. Make sure after ROM gets built in zip format open the ROM with winrar then goto META-INF->com->google->android and open updater script with notepad++

then goto Edit and select EOL Coversion and make it Unix Format and save

Same do with build.prop if you changed the name of the ROM.
[Android Software Development] Hamidreza2010:
Ok i,ll try it after my exam and if i have problem i,ll ask you

just:

please update the great tool and add more feature to it , make it more professional than dsixda

i used dsixda before but its very old

Thanks advance
[Android Software Development] Tech N You:
It has all features of dsixda and even has more than it. Lollipop support will be soon
[Android Software Development] Er. Aditya:
one of the most simple form of kitchen thanks aton dev for making this so so user and starter friendly

also can you add option init.d supprt without kernel and ram disk modifying like archi kitchen
[Android Software Development] Hamidreza2010:
I think its been in this tool

read second post:
[Android Software Development] Er. Aditya:
thankyou and sorry for not reading the op