[ROM][JB][4.1.2][Discontinued] Pristine JB All Languages v4.0

Status
Not open for further replies.

ThaiDai

Senior Member
May 28, 2011
2,537
2,574
203
Aachen/หนองบัวลำภู
Very compact Rom. I like it. Wish airview is fixed.

Sent from my GT-N7000 using xda premium
I have to search and exchange with other Rom cookers for fixes. I think I do not have the time to explore all myself, so I have to rely on others (normal way in XDA I assume).
But: first I want to finish the tutorial and second want to repeat it with the dumps of XXLSD (if I get them).

If someone is willing to search and provide fixes, it would be nice if he tell me about here. But please never forget to tell me who made them and give correct credits.
 

ThaiDai

Senior Member
May 28, 2011
2,537
2,574
203
Aachen/หนองบัวลำภู
I was looking for how to work with kitchen today. But, I couldn't install it! Maybe I did something wrong. Then I saw your thread and really made me happy. :good:
I just installed Cygwin according to your instructions but when I click on the icon, nothing happens (actually command prompt appears for a sec and then disappears) would you please help me out in this?
Not now, because I'm writing the tutorial right now. When it's finished in the first round I will start to fix errors in the tutorial or start to help here, ok?

I didn't even make one second round for quality checks until now. So I can't be sure about it.
 
  • Like
Reactions: Wir3start3r

ThaiDai

Senior Member
May 28, 2011
2,537
2,574
203
Aachen/หนองบัวลำภู
hmm I got an error:

Error: No ROMs found under original_update folder!
Did you do these steps?
From the Dump copy the following files to your kitchen into the folder "orginal_update":
  • factoryfs.img - this is the dump of /system
  • hidden.img - the /preload partition, important now because a nice way to save space in /system
  • cache.img - Cache partition with CSC (I did not have it, so I didn't use it, will try later)
  • modem.bin - from the dump
  • zImage - not the kernel from the dump but Philz Kernel 3.71 for XXLSC (or your Custom Rom will not boot). Get the zImage from the zip.
 
  • Like
Reactions: Wir3start3r

Wir3start3r

Senior Member
Jan 2, 2012
402
212
73
Vienna
Did you do these steps?
From the Dump copy the following files to your kitchen into the folder "orginal_update":
  • factoryfs.img - this is the dump of /system
  • hidden.img - the /preload partition, important now because a nice way to save space in /system
  • cache.img - Cache partition with CSC (I did not have it, so I didn't use it, will try later)
  • modem.bin - from the dump
  • zImage - not the kernel from the dump but Philz Kernel 3.71 for XXLSC (or your Custom Rom will not boot). Get the zImage from the zip.
Got it already thanks :)
I opened the Image with Ext2explore but nothing happened :/
Is this because I also got the "Problem: I got a small message "Bad magic", simg2img couldn't convert this file and this step didn't work for me. It seems that the .img files do have the necessary format already (ext4), so I only copied and changed the script)" ?
"so I only copied and changed the script" -> don´t know what you mean
 

ThaiDai

Senior Member
May 28, 2011
2,537
2,574
203
Aachen/หนองบัวลำภู
Got it already thanks :)
I opened the Image with Ext2explore but nothing happened :/
Is this because I also got the "Problem: I got a small message "Bad magic", simg2img couldn't convert this file and this step didn't work for me. It seems that the .img files do have the necessary format already (ext4), so I only copied and changed the script)" ?
"so I only copied and changed the script" -> don´t know what you mean
I added the following lines in the last 30 minutes and they are important here:

Important: Take the attached file "simg_files_to_working_folder" and replace the existing one in the filder "kitchen/scripts". I changed this file so that the kitchen worked for me (see "Problems" in the next chapter when using the kitchen). I will add the description of the changes later as Appendix.

Did you see and did you do this?
 

ferryaryan

Senior Member
Sep 16, 2012
501
43
0
Please try again:
What link do you mean?
What error message do you get exactly?
Thanks
Link at page one, i have error web page not available until now.
Can you help me about link download where i can download your rom? Thanks

Sent from my GT-N7000 using xda premium
 

Wir3start3r

Senior Member
Jan 2, 2012
402
212
73
Vienna
I added the following lines in the last 30 minutes and they are important here:

Important: Take the attached file "simg_files_to_working_folder" and replace the existing one in the filder "kitchen/scripts". I changed this file so that the kitchen worked for me (see "Problems" in the next chapter when using the kitchen). I will add the description of the changes later as Appendix.

Did you see and did you do this?
Which attached file?

I got the message/error: "Ignoring hidden.img" after extracting factoryfs to system folder
 
Last edited:

Wir3start3r

Senior Member
Jan 2, 2012
402
212
73
Vienna
"Important:And now please move back manually with your file manager the apps from "system\app" to "preload\symlink\system\app". Use the list you generated before. "

Do I have to do this?
 

dsmas

Senior Member
Apr 18, 2012
1,152
251
0
Bangalore
May I be allowed to suggest you could have 2 threads one for your own roms (lsc, lsd, lsx, etc) another for tutorials.

Sent from my GT-N7000 using xda premium
 

ThaiDai

Senior Member
May 28, 2011
2,537
2,574
203
Aachen/หนองบัวลำภู
Separating the thread in two might be a good idea, but not today and only if really necessary or useful.

Until now the reactions and replies to the tutorial aren't so high that an own thread seems justified. And the combination of Custom Rom with a tutorial based on this CR isn't so bad. In this way it's not an theoretical tutorial but something based on a specific and repeatable example.

Thanks for this idea, will keep it in mind. I hope I get dumps from LSD.DM soon, so I can use the tutorial on this files again.
 

ThaiDai

Senior Member
May 28, 2011
2,537
2,574
203
Aachen/หนองบัวลำภู
Does the kitchen automatically symlink apps put in pre-load? Or do you have to modify updater-script?

Sent from my GT-N7000 using xda app-developers app
I checked this but cannot copy the lines of code now (2 km distance to my computer). But yes, this is generated automatically - very nice when I saw the above lines. So I was sure that deleting from /preload gives me free space there for moving apps from /system without taking care of it.

If interested I will add this lines here for other "cookers" not working with dAK (most seem to not liking the kitchen). So they can add it to their scripts.

Update: found it without searching too much:

They are generated into update-script with the following script (unchanged from dsixda's Android Kitchen, credits to him!), see the "sed"-commands.

Code:
############################################################################
#
# Copyright (c) 2012 - dsixda ([email protected])
#
# Android Kitchen is 100% free.  This script file is intended for personal
# and/or educational use only.  It may not be duplicated for monetary
# benefit or any other purpose without the permission of the developer.
#
############################################################################

cd WORKING_*

if [ ! -e META-INF/com/google/android/update-script ]
then
  echo "Error: update-script not found!"
  cd ..
  exit 0
fi

if [ `grep -c "create_preload_symlinks" META-INF/com/google/android/update-script` != 0 ]
then
  echo "update-script already has /preload app symlinks content"
  cd ..
  exit 0

else

  cd META-INF/com/google/android

  echo "Updating update-script with /preload app symlinks entries"

  sed -i \
    -e 's/\(copy_dir PACKAGE:system SYSTEM:\)[ ]*[\n]*/\1\nformat PRELOAD:\ncopy_dir PACKAGE:preload PRELOAD:\n/' \
    -e 's/\(set_perm_recursive 0 2000 0755 0755 SYSTEM:bin\)[ ]*[\n]*/\1\nrun_program PACKAGE:create_preload_symlinks\n/' \
  update-script


  cd ../../../..

fi

cd ..
scripts/fix_update_script_blanks
 
Last edited:
  • Like
Reactions: shoey63

shoey63

Recognized Contributor
Jun 5, 2012
4,003
3,982
253
Somewhere in Oz...
That's good news! The previously unutilized (in ics) pre-load needs to be made to do some serious work in JB. And yes, please add to your tutorial when you have time :)

Sent from my GT-N7000 using xda app-developers app
 

O_G

Senior Moderator / ET Admin
Staff member
Jul 8, 2007
7,159
8,705
263
Thread Re-opened

This thread has been closed due to a honest mistake by the OP. As this contained a copy of mobile odin pro, it had to be closed for a full investigation. The OP is in the process of uploading a new "clean" version. Sorry for any inconvenience and thanks to the OP for his full cooperation.​
 
Last edited:
Status
Not open for further replies.