Daily Mobile Forum
19 March 2010, 14:10 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Do NOT share WAREZ / CRACKED applications. Please read the forum rules before posting. Ignoring the rules will get you banned!
 
   Home   Help Search Login Register  

Pages: [1] 2   Go Down
  Print  
Author Topic: [QUESTION] Attention FW Cookers. How to preinstall apps within FW?  (Read 1018 times)
0 Members and 1 Guest are viewing this topic.
Don MC
Forum Addicted
***
Thanks: 40
Offline Offline

Current Phone:
5800XM 40.0.005 COOKED!

Location:
Finland

Posts: 201



Activity
100%

2110 6110 8850 3300 6170 5100 N70 5500S 5800XM


« on: 08 February 2010, 17:31 »

I've asked this same question many times, but perhaps it's worth its own topic.

I want to know how one can preinstall an app into the cooked FW? Naughtypope did this by putting Maps 3.03, Ovi Store and Rompatcher+ into Z:
I can't seem to reproduce this. Opened up the sis files with Siscontent, but the files inside don't seem to make much sense. For instance, the contents and folder structure within Maps3.03.sis doesn't match that of naughtypope's rofs2 file. I tried to copy the contents of the sis file into the corresponding folders of my ROM, but after flashing my phone just bricked.

Maps sis contained folders like "c_private..." and so on. I copied the contents of those folders into the corresponding folder in the rofs2 (the prefix "c_" is of course excluded). There were other files I couldn't find out where the hell I should put them. Files such as "License_Manager.pkg". Where the flying f**k should those be copied?


If people could post some tutorials regarding preinstalling some of the most usual apps, I think more folks than I alone would be very grateful.
Logged
andyx
Full Member
**
Thanks: 14
Online Online

Current Phone:
Nokia 5800XM on EdgeWave v1

Location:
Florence, Italy

Posts: 52



Activity
36%

Firmware Cooker


WWW
« Reply #1 on: 08 February 2010, 17:46 »

I did it with Youtube client, it works like a charm. You simply have to copy the content following these rules:

- c_resource, c_private, c_sys ---> resource, private, sys in rofs2
- c_sys contains folder bin, copy that content also in sys/hash (you have to create that folder)

Example:

example.sis content

-c_resource
 -file 1,2,3
-c_private
 -folder 00000000
  -file 1,2,3
-c_sys
 -bin
  -file 1,2,3


>>>


-rofs2
 -resource
  -file 1,2,3
 -private
  -folder 0000000
   -file 1,2,3
 -sys
  -bin
   -file 1,2,3
  -hash
   -file 1,2,3
Logged
Don MC
Forum Addicted
***
Thanks: 40
Offline Offline

Current Phone:
5800XM 40.0.005 COOKED!

Location:
Finland

Posts: 201



Activity
100%

2110 6110 8850 3300 6170 5100 N70 5500S 5800XM


« Reply #2 on: 08 February 2010, 17:52 »

Thanks! Will try it.
What about the .pkg files in the sis folder root?

And another thing: Does this mod work also if placed in rofs?:
You are not allowed to view links.
Register or Login
 
Logged
vaterix
Forum Addicted
***
Thanks: 23
Offline Offline

Current Phone:
5800 XpressMusic v.40.0.005 "squares" edition

Location:
Moldova

Posts: 249



Activity
100%


« Reply #3 on: 08 February 2010, 17:53 »

Any ideas on themes, how to have them installed with firmware?
Logged
andyx
Full Member
**
Thanks: 14
Online Online

Current Phone:
Nokia 5800XM on EdgeWave v1

Location:
Florence, Italy

Posts: 52



Activity
36%

Firmware Cooker


WWW
« Reply #4 on: 08 February 2010, 18:41 »

Thanks! Will try it.
What about the .pkg files in the sis folder root?

And another thing: Does this mod work also if placed in rofs?:
You are not allowed to view links.
Register or Login
 


.pkgs are not necessary. They are used to pack the .sis.
Logged
Don MC
Forum Addicted
***
Thanks: 40
Offline Offline

Current Phone:
5800XM 40.0.005 COOKED!

Location:
Finland

Posts: 201



Activity
100%

2110 6110 8850 3300 6170 5100 N70 5500S 5800XM


« Reply #5 on: 08 February 2010, 19:08 »

^^Well, the method of copying sis contents into rofs didn't work. Phone got bricked again.
Logged
Mr Pingu
Crazy Poster
***
Thanks: 9
Offline Offline

Current Phone:
Nokia 5800 Xpress Music v31.0.008

Location:
The Netherlands

Posts: 192



Activity
87%


WWW
« Reply #6 on: 08 February 2010, 19:14 »

Any ideas on themes, how to have them installed with firmware?


Would also like to know that...
Logged
andyx
Full Member
**
Thanks: 14
Online Online

Current Phone:
Nokia 5800XM on EdgeWave v1

Location:
Florence, Italy

Posts: 52



Activity
36%

Firmware Cooker


WWW
« Reply #7 on: 08 February 2010, 19:46 »

^^Well, the method of copying sis contents into rofs didn't work. Phone got bricked again.


I got to install RP+, Ovi Store, Ovi Maps and YouTube with that method.
Logged
Don MC
Forum Addicted
***
Thanks: 40
Offline Offline

Current Phone:
5800XM 40.0.005 COOKED!

Location:
Finland

Posts: 201



Activity
100%

2110 6110 8850 3300 6170 5100 N70 5500S 5800XM


« Reply #8 on: 08 February 2010, 19:50 »

I got to install RP+, Ovi Store, Ovi Maps and YouTube with that method.


Hmm. What the hell am I doing wrong?

There's a folder called "License_Manager" inside the Maps sis. It also contains "c_private" etc. folders. Did you also copy those to the same locations?


EDIT: OK. I am now doing them one at a time. Tried only Ovi Store first. It worked! The trouble is with Maps then.
Logged
Gonizah
Crazy Poster
***
Thanks: 13
Online Online

Current Phone:
Nokia 5800 RED v40 CustomFW

Location:
Israel

Posts: 133



Activity
60%


« Reply #9 on: 08 February 2010, 20:33 »

combining apps in Z:/ works here too..
all the apps i've tried are working, but the Nokia Handwriting Calc which doesnt start..
Logged
andyx
Full Member
**
Thanks: 14
Online Online

Current Phone:
Nokia 5800XM on EdgeWave v1

Location:
Florence, Italy

Posts: 52



Activity
36%

Firmware Cooker


WWW
« Reply #10 on: 08 February 2010, 23:11 »

Hmm. What the hell am I doing wrong?

There's a folder called "License_Manager" inside the Maps sis. It also contains "c_private" etc. folders. Did you also copy those to the same locations?


EDIT: OK. I am now doing them one at a time. Tried only Ovi Store first. It worked! The trouble is with Maps then.


Actually, I found problems with Maps: after the flash it used to work, but now it doesn't starts. Gotta work on this.
Logged
vaterix
Forum Addicted
***
Thanks: 23
Offline Offline

Current Phone:
5800 XpressMusic v.40.0.005 "squares" edition

Location:
Moldova

Posts: 249



Activity
100%


« Reply #11 on: 09 February 2010, 08:57 »

It's because everyone is showing off their CFW instead of spending 5 minutes and explaining step-by-step how they inserted apps in Z or whatever changes/mods they make. 100 topics with users showing off their CFW, but only a few actually explaining how to do this or that. Too bad.

I think moderators should ban topics like "My CFW v.0.1" or whatever and instead gather all the mods in one closed topic and so everyone can make their own CFW based on those findings, and later on have another topic about CFW with just the link and changes made to it, so that those who don't cook can just download them by choosing which one suits best.
Logged
Bl3nch0z
Crazy Poster
***
Thanks: 6
Offline Offline

Current Phone:
nokia 5800 xm

Location:
london

Posts: 135



Activity
100%


« Reply #12 on: 03 March 2010, 13:53 »

It's because everyone is showing off their CFW instead of spending 5 minutes and explaining step-by-step how they inserted apps in Z or whatever changes/mods they make. 100 topics with users showing off their CFW, but only a few actually explaining how to do this or that. Too bad.

I think moderators should ban topics like "My CFW v.0.1" or whatever and instead gather all the mods in one closed topic and so everyone can make their own CFW based on those findings, and later on have another topic about CFW with just the link and changes made to it, so that those who don't cook can just download them by choosing which one suits best.


i totally agree no 1 has really made a nice and easy clear tutorial to preinstall apps, i have tried and failed at this still with no luck.
people should jus explain how they did it so people can make their own because most of these cooked firmwares have lots unwanted apps and themes etc
Logged
TRC
Newbie
*
Thanks: 0
Offline Offline

Posts: 1



Activity
1%


« Reply #13 on: 04 March 2010, 11:39 »

when
Thanks! Will try it.
What about the .pkg files in the sis folder root?

And another thing: Does this mod work also if placed in rofs?:
You are not allowed to view links.
Register or Login
 

What i must do when i have folder d_private (in this folder i have sis file)
Logged
Kcube989
Hero Member
***
Thanks: 48
Offline Offline

Current Phone:
Nokia 5800 XpressMusic Silver v40

Location:
Philippines

Posts: 946



Activity
100%


WWW
« Reply #14 on: 06 March 2010, 09:22 »

I see, the the files for sys should be copied to hash folder as well. no wonder that the apps i put on rofs2 didnt work Tongue

Thanks andyx +1
Logged
maler
Hero Member
***
Thanks: 40
Offline Offline

Current Phone:
5800xm

Posts: 518



Activity
100%


« Reply #15 on: 06 March 2010, 09:35 »

i never put a file too hash and many progs runs!
Logged
radelrama
Member
*
Thanks: 14
Offline Offline

Current Phone:
N5800 V40.0.005

Posts: 45



Activity
45%


« Reply #16 on: 06 March 2010, 11:14 »

I see, the the files for sys should be copied to hash folder as well. no wonder that the apps i put on rofs2 didnt work Tongue

Thanks andyx +1


as Maler said, not at all! Have a look at the Nokia preinstalled apps on z:. No need of
sys:/hash
sys:/uninstall

sys:/install is used by Nokia-apps, but it isn't necessary for apps to run - I left that completely out and all working apps in z: are ok without it.

so to sum up what you have to copy:
private\101f875a
private\10202be9
private\appspecific
resource\*
sys\bin\*
system\*



Logged
maler
Hero Member
***
Thanks: 40
Offline Offline

Current Phone:
5800xm

Posts: 518



Activity
100%


« Reply #17 on: 06 March 2010, 13:38 »

private\101f875a is for autostart i think and dont work in z you can remove the files in all apps.
Logged
nomorgow
Member
*
Thanks: 4
Offline Offline

Posts: 15



Activity
10%


« Reply #18 on: 06 March 2010, 14:04 »

Actually, from what i am seeing on the russian roms that are the most impressive out of every one i've ever seen, with lots of integrated programs and everything working perfectly, they do use the hash folder for stuff that's in sys/bin, but they do it the right way.  All files in there are 1k and are filled with code stuff.

So. There must be some program or some method to generate the proper hash files out of what we are going to be injecting into sys/bin. 

We just need to find it.
Logged
nomorgow
Member
*
Thanks: 4
Offline Offline

Posts: 15



Activity
10%


« Reply #19 on: 06 March 2010, 14:47 »

Okay, folks.  Bingo.  While i havent tested this yet, the theory sounds really good.  I don't have time now to try, but if anyone else does, please report results.

1) First - use SisContents to extract your package that you want to integrate into your rom.  Of your executables, look at the permissions that would be assigned to them, then download this program called petran from here:

You are not allowed to view links.
Register or Login

2) Use petran to patch your executable via command prompt.  To use it, this is how it works:
petran.exe -capabilities NetworkServices+LocalServices+ReadUserData+WriteUserData+UserEnvironment+AllFiles (exe file name here)

For example if i want to 'patch' an applictaion exe called 'crazy.exe' then you type : petran.exe -capabilities NetworkServices+LocalServices+ReadUserData+WriteUserData+UserEnvironment+AllFiles crazy.exe

Petran will then patch the application exe file for you.

3) Next, download a hash generator from here:

You are not allowed to view links.
Register or Login

Put it in your same folder you have your petran.exe and this one is one you can drag the patched exe onto the dialog box of the application.  It'll create your same exe with a .hash at the extension.  This is what you will copy to sys/hash and remember to remove the .hash prior to cooking the rom.

**** NOTE ABOUT HASH FILES & PETRAN PATCHING ****
From what i read, it looks like the combination of these two steps allows you to install programs without signing them.
Logged
Pages: [1] 2   Go Up
  Print  
 
Jump to:  


Related Topics
Subject Started by Replies Views Last post
Attention, 5530 & N97 users! Please copy your Z: drive and post it here! « 1 2 ... 5 6 »
Symbian v5 Modding
t00ny 101 6569 Last post 28 February 2010, 00:50
by an3k
N900 njub question about the apps
Nokia N900 Forum
Phat^Trance 7 421 Last post 20 October 2009, 10:44
by sabinkumar
FW Cookers Using Spinslide/Slidespin Effects,Use These Versions Instead Of Older « 1 2 3 4 »
v5 Custom Firmware / Cooking
Mr G 68 3998 Last post 27 February 2010, 06:55
by weijian95
Looking For ROM Cookers
Symbian v5 Modding
N5800V5 0 193 Last post 08 February 2010, 14:19
by N5800V5
preinstall rompatcher with autostart
v5 Custom Firmware / Cooking
steven25 18 1070 Last post 14 February 2010, 11:35
by semigor

Daily Mobile - Daily iPhone Blog - Contact us - Forum Rules -  Powered by clustered.net
Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC