Help - Search - Members - Calendar
Full Version: Tutorial | Slimming Down The W810
SE-NSE Forums > SE Firmware > Firmware Tutorials & Guides
Pages: 1, 2
Snowiffic
© Mr.Thunderbird
- For ANY form for copying off this tutorial, I MUST be informed.


Hello SE-NSE people.

I've made a little tut for the guys who like to delete the maximum unneeded files from their phone.

DISCLAIMER: I take NO responsibility for damaged phones or such.
NOTE: This works on other phones aswell..

NOTE: This is not a noob topic, if you are new to this, don't read on, visit the Newbie Forum instead.
2nd NOTE: Your folders may vary from mine, since there are different FSs.
3rd NOTE: I used R4EA031 MAIN [Used Fake Main] and R4ED001 FS in this tut. [Both Fresh]
4rd NOTE: Yes, some things maybe won't work after this.
5th Note: 50% of stuff I don't know, I don't touch, so keep in mind, if you sit there thinking "WHY IS HE NOT DELETING THIS", then please post it here, and explain what it does.


EXPERIMENTAL STUFF IS UNDER THE ATTACHED PICTURE....!!!


Okay, Let's start! smile.gif



PART1: /IFS folder

Corrections -> As I guess, this holds some factory settings for BT, I wouldn't touch it.
Drm -> Since I don't know what this folder does (and it's empty) I delete it.
Fifo -> I delete it, since it's empty.
Messaging -> Empty from fresh flash, but AFAIR it's used later on.
Mirror -> For some reasons, I leave it.
OS -> Empty, I delete it.
PDH -> Don't know what it is, not empty, don't delete it.
Security -> Empty from fresh flash, can't remember if it used later or not, I deleted this.
Settings -> I leave the SETTINGS folder, but inside it, I delete the "key" folder.
Version -> Don't know, not empty, not deleted.

PART2 :/SMSDATA
Messaging -> Leave it alone.
System -> Leave it alone too.

PART3 :/SYSTEM
Camera -> Delete since empty.
Messaging -> Leave it.
Preset -> Delete it.
Settings -> Leave it.
Wap -> I think it contains WAP profiles, but since I don't use WAP, i delete this folder.
Wap Folder will be generated by the phone, pretty useless deleting it. but DO it anyways tongue.gif

PART4 :/TPA
Drm -> Contains sort of a certificate, I don't think I need it, so I deleted it. (The DRM folder will be generated.)
Messaging -> I leave this one alone.

PART4.5 :/TPA/PRESET
Custom -> Well, NEVER delete this, pretty important, however, I only have the cusomize.xml in it, everything else I deleted.
Default -> Well, I delete the "audio", "image", "java" and the "theme" folders from there.
System
Custmenu -> Empty on mine, so I deleted it.
Desktop -> I don't use flash menus, so I delete this folder.
Java -> Don't know, will look at it sometime.
Language -> You can delete everything from here, but I've kept the languages I need. [NOTE: English is not stored here, so if you only use English, then delete this folder.]
Loconn -> Don't know, just contains a lot of empty folders, I've deleted it.
Menu -> Keep.
Messaging -> Keep.
Multimedia -> Contains Clipart, frames and some sounds., I've deleted the whole folder.
Oaf -> Empty, I deleted it.
Security -> I keep it, but I delete the "SLIP" folder in it.
Settings -> Contains STARTUP/SHUTDOWN stuff. I've deleted this folder.
Sound -> Contains system sounds, I don't like them, I've deleted this folder.
Wap -> Contains WAP stuff, I don't use WAP, I delete this folder.

**back to preset folder**
Wizard -> Who the heck uses this ?, Well not me. Deleted.

**back to TPA folder**
Syncmlds -> Something to do with the calendar, contacts, notes, and tasks. I've deleted this.


TPA/SYSTEM FOLDER
Audio -> Deleted.
Bg_images -> Don't really know, Fresh Flash it's empty, but I think that .thm will use this, so i keep it.
Etc -> Empty, Deleted.
Fota -> A lot of bin files, I've kept this.
Games -> Empty, Deleted.
Language -> Empty, Deleted
Layout -> MUST keep.
Loconn -> Hid files ??, I keep them.
Messaging -> Keep.
Multimedia -> Deleted, however, WALKMAN playlists are stored here, so I guess you cannot create them after deleting this.
OAF -> Deleted.
Pbook -> don't know, empty at fresh flash, I deleted it.
PDH -> Empty, Deleted.
Profile -> Kept.
Settings -> Kept. for some reasons.
Syncmldm -> Empty, deleted.
Temp -> Empty, Deleted.
Theme -> Deleted.


**Back to TPA**
User -> I delete every folder inside, but not the folder itself.

**back to FS**
USB -> I do the same thing as to USER folder...




Enjoy wink.gif


RESUTLS:





EXPERIMENTAL:::

What I've kept:
IFS->Settings, I've ONLY kept the ACOUSTIC, CAMERA, and DISPLAY folder.
SMSDATA -> Totally wiped for data, empty folder.
SYSTEM -> Emptied.
TPA -> Preset, I've kept the CUSTOM folder with ONLY customize.xml in it.
TPA -> Preset -> System, I've ONLY KEPT the MENU folder, with the MENU.ml of course.
TPA -> System, I've kept BG_IMAGES, and LAYOUT.
USB -> Wiped for data.

NOW, Let's see if it can boot up! lol.gif


IT BOOTED !!!!!

// now i need to test it... but i'm on 31MB which is the MAXIMUM!!! laugh.gif


CALLING : OK!
SMS: NOT OK!
BLUETOOTH: OK!
WALKMAN: OK!
HEADSET: OK!
MPS-70 LOUDSPEAKERS: OK!
RADIO: OK!
CAMERA: OK!
WAP: NOT OK!

/// Well as I can see from what I CAN test, Only SMS and WAP died.

++
It reboots a couple of times before it's ready.
++

So I would say that the w810i is 90% stupida-proof lol.gif

Folders that re-generates itself:
IFS:
Bluetooth >> Contains a .CFG file. Just contains "&öu  Z œ " [Probably encrypted or such]
Corrections >> 2 "Zero-Byte" files.
PDH >> 2Files, One of them says "S A M _ T A B L E" the other "S A M _ P E R M I S S I O N S _ T A B L E"
Security >> This folder has generated 4 other empty folders. and one file "  WÑL¨MÑL 8UÑLÿÿÿÿ", [Probably encrypted]
Settings >> Nothing generated here, still only Camera, Display and Acoustics.


QUEUE >> I never knew what this folder did or does. And it's still unknown. But it's empty.
SMSDATA >> I think the phone has TRIED to generate this folder fully, but it couldn't, I think this folder is intact with some other folders..
SYSTEM >> Generated 5 folders. + a lot of subfolders, about FM radio and some SMS/MMS stuff.
USB >> Generated the folders, but not the files wink.gif


TPA:
Okay "G" is for "GENERATED", "NF" is for NO FILES and "ALOSF" is for "A LOT OF SUB-FOLDERS", "E" for "EMPTY" wink.gif
DRM >> GE
PDH >> G ALOSF with a lot of files I REALLY don't know what they do.

PRESET:
DEFAULT >> One file "STAUTS.INF" That says "8" confused.gif

SYSTEM >>
AMS >> E
Custmenu >> G Two .dat files.
JAVA >> G some folders and some files.
LANGUAGE >> G "allowed_language.txt" and "lng.lst"
LOCONN >> G E 2 folders.
MENU >> Just MENU.ML inside.
MESSAGING >> G some folders. 0 - Files.
MULTIMEDIA >> LOOK UP AT "MESSAGING", same Sh*it








SETTINGS >> G "WAP" With files I don't know what they do.
SYNCMLDS >> G with one E folder.




More To Come.

ATTACHED:
All the files that are generated.
(the Acoustic, Camera and Display driver is not generated, but you need it wink.gif )
Ciggy
great work mr. thunderbird. and your phone works fine? with patches and stuff right?
qwerty12
Great Mr Thunderbird laugh.gif.

I plan on making and releasing the smallest R4EA031 firmware (as a project laugh.gif). With a small W810 FS.

Really, I want the most memory available laugh.gif.
Snowiffic
QUOTE (Ciggy @ 2007-10-27 06:22) *
great work mr. thunderbird. and your phone works fine? with patches and stuff right?

I can call, and I can send SMS's, Listen to walkman smile.gif

Patches you say, I hardly can believe that pacthes that are actually applied to the MAIN, somehow should have a problem with the FS wink.gif
TVH
Great work. Im currently in the process of doing exactley what you suggested Mr T.

@qwerty, any updates on what i asked before about completely removing patches?
Snowiffic
THV, Good luck wink.gif thumbsup.gif

But, not for nothing, You can just flash a fresh MAIN and FS to remove all patches smile.gif
TVH
QUOTE (Mr. Thunderbird @ 2007-10-27 11:56) *
THV, Good luck wink.gif thumbsup.gif

But, not for nothing, You can just flash a fresh MAIN and FS to remove all patches smile.gif



It doesnt completely remove the patches. According to qwerty, residual bits of the patches are stored in memory somewhere (i cant remember). Ask him and he'll explain much better
Snowiffic
Yeah okay, thought so, since it makes new blocks and stuff like that... smile.gif
Jaffa-cake
i have done the same with my k800i, you can use this guide and delete some (but not all) of the same files, some folders arent empty on my k800i that are said to be empty here, so i didnt delete them, but now i have 76mb free smile.gif
BLiZZARD777
censored.gif now i have white screen when i turn on my w800
now i have to reflash fs.....
what is the name of folder i deleted by mistake in FS??
its something like QUEE????
Snowiffic
QUOTE (BLiZZARD777 @ 2007-10-27 13:19) *
censored.gif now i have white screen when i turn on my w800
now i have to reflash fs.....
what is the name of folder i deleted by mistake in FS??
its something like QUEE????

You need to wait long time, the white screen, since you've deleted the startup stuff. tongue.gif



++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++UPDATE: I'm on 31 MB Now wink.gif+++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++
BLiZZARD777
I'VE DELETED THE DISPLAY DRIVER BY MISTAKE,IT'S WORKING NOW laugh.gif
Snowiffic
rofl.gif
eek.gif

Oh my god Blizzard lol.gif



//// Any possibilities of that mods could move it in the tut section ? smile.gif
Snowiffic
Little update under the pic wink.gif
Snowiffic
Updated.... Under the pic again.
Ciggy
i'll try that some time around. i have a lot of patches to apply back when i flash my phone. that's the only reason i haven't tried it yet
chris_b0ss
cool mr t !!!you expanded the memory of your phone!! this is good for the ones that don't have a stick...but gr8 tut!
qwerty12
QUOTE (TVH @ 2007-10-27 11:52) *
@qwerty, any updates on what i asked before about completely removing patches?


I may have found out something but I need a Russian translator to help (Iouri? laugh.gif)

QUOTE (TVH @ 2007-10-27 11:59) *
It doesnt completely remove the patches. According to qwerty, residual bits of the patches are stored in memory somewhere (i cant remember). Ask him and he'll explain much better


I think Mr T gets it laugh.gif lol so I wont bother but I will do if anyone wants to know laugh.gif
Snowiffic
QUOTE (qwerty12 @ 2007-10-27 17:02) *
I may have found out something but I need a Russian translator to help (Iouri? laugh.gif)

You can always count on me wink.gif
But just not that crazy big text, I'm pretty busy with school and such.. But if it's not much, I can do it wink.gif


QUOTE
I think Mr T gets it laugh.gif lol so I wont bother but I will do if anyone wants to know laugh.gif

tongue.gif
You can always tell us =)

But for me, a total reflash has always worked wink.gif
Wally_Dog
The file "smsbearer.bin" also regenerates. I deleted it by accident once and my SMS stopped working, but after I clicked Send Text Message a few times it regenerated.
Snowiffic
Hmm, Thanks for the info, however, I knew that wink.gif

But I'm pretty busy ATM, that's why I can't update the first post smile.gif


Thanks to Rekoil for moving it laugh.gif
qwerty12
QUOTE (Mr. Thunderbird @ 2007-10-27 18:51) *
You can always count on me wink.gif
But just not that crazy big text, I'm pretty busy with school and such.. But if it's not much, I can do it wink.gif


Lol, it isnt (that) much laugh.gif:

Первое что нужно знать, откуда у вас начинается замейновая область, берем MAIN и натравливаем на main2raw ищем сторочку Last flash block offset: $xxxxxxxx, length: $xxxxxxxx, теперь берем и складываем например 456A0000+00009D84=456A9D84. Конечный адрес можно узнать натравливанием FS на main2raw и посмотреть адрес в строке Firts flash block offset: $xxxxxxxx.

Теперь считаем "Конечный адрес" - "Начальный адрес" = "Длинна" например 45900000-456A9D84=02450044

Для того, что бы найти захламленное место, берем SEFP или Setool2Lite и сливаем участок, начиная с начала вашей замейновой области (456A9D84) и длинны (02450044), открываем слитый участок, в каком нибуть HEX редакторе и ищем где начинается и кончается захламленное место.

Адреса перепроперяйте 10 раз! Если адреса буду не верные, то можете затереть что нибуть!

Hehe... (Thanks as always smile.gif)

QUOTE (Mr. Thunderbird @ 2007-10-27 18:51) *
You can always tell us =)

But for me, a total reflash has always worked wink.gif


Lol, just because it's you laugh.gif

With patches like these, http://forums.se-nse.net/index.php?showtop...st&p=174890, where it needs to patch a value with a bigger value, it can't just overwrite it with a bigger one because that would ruin the codes of the next part in hex, resolving in a broken function.
So you can make a patch change the "Jump/XRef (I dont pretend to be a programmer tongue.gif)" of a patch (the bit of code in the MAIN which says at which hex numbers, can that hex code be found). The only space that is big enough, is the bit after the MAIN and the bit before the FS. When functions are written there, because they are in a location which is not touched by flashing a MAIN or an FS, the patches are still there.
Although it has to be noted, an function in that area can only be called when it is modified in the MAIN area to point to that code. So for all purposes, when you flash a MAIN, you are removing that effect i.e that patch cannot work because there is nothing to reference it but the actual code in that bit after the main, is laid dormant (not the right word I know laugh.gif) because nothing is there for it to be "activated" laugh.gif


--

BTW, if you don't want a file to be generated, make a dummy file with the same name as the file you don't want to regenerate and set it to read only smile.gif

Also, I may as well contribute a bit to this topic:

Custmenu isn't needed (I know you know because you deleted) because it is only there for the sony ericsson links in the file manager and the right softkey hook from nkls. Basically, you only need it if your custpack has itm's in it. As we are trying to save space, we dont want those itm's in teh 1st place.

/ifs/pdh I am not sure about but the /tpa/pdh (it is made after the phone customises) should be kept there. It contains important stuff for the database of java apps etc

BTW: It would be much appricated if you could translate that text because it means I can start on my project which is basically the same as this but focused on making the phone faster with a slimmed down FS but keeping the good features such as T9 and taking out the crap like My Friends.
I want to do it with a patched main and modified FS.
Snowiffic
QUOTE (qwerty12 @ 2007-10-28 09:38) *
Lol, it isnt (that) much laugh.gif:

Первое что нужно знать, откуда у вас начинается замейновая область, берем MAIN и натравливаем на main2raw ищем сторочку Last flash block offset: $xxxxxxxx, length: $xxxxxxxx, теперь берем и складываем например 456A0000+00009D84=456A9D84. Конечный адрес можно узнать натравливанием FS на main2raw и посмотреть адрес в строке Firts flash block offset: $xxxxxxxx.

Теперь считаем "Конечный адрес" - "Начальный адрес" = "Длинна" например 45900000-456A9D84=02450044

Для того, что бы найти захламленное место, берем SEFP или Setool2Lite и сливаем участок, начиная с начала вашей замейновой области (456A9D84) и длинны (02450044), открываем слитый участок, в каком нибуть HEX редакторе и ищем где начинается и кончается захламленное место.

Адреса перепроперяйте 10 раз! Если адреса буду не верные, то можете затереть что нибуть!

The first thing we need to know, is where the start adress begins. Take the MAIN and use MAIN2RAW, Look for the line "LAST FLASH BLOCK OFFSET: $xxxxxxxx, lenght: $xxxxxxxx. Now put them together.
Example: 456A0000+00009D84=456A9D84
We can find the last adress by using MAIN2RAW on an "fs". Look at the adress in the line "First flash block offset: $xxxxxxxx"
Now let's count "End Adress" - "Start Adress" = "Lenght" [Example: 45900000-456A9D84=02450044"]
If we want to find the "Crappy (?)" (or encumbered) area, we take SEFP or Setool2Lite and merge the area, starting from your "Last flash block offset" calculation (456A9D84) and lenght (02450044). Open the merged area in some hex-editor and search for where the "crappy (?)" (or encumbered) area starts and ends.

RE-CHECK THE ADRESSES 10 TIMES!, IF they are incorrect, you might overwrite something !!



cool.gif
Ciggy
i now realized something. the download option isn't available yet in XS++. i guess this means i can't copy files from my FS, right or wrong? well i'll wait til this becomes available and then i'll attempt this. i don't want to have to flash my fs if i delete something that i needed. plus i need my SMS and WAP. i use WAP alot and the SMS at least 2 times a day
Snowiffic
Oh okay, and about the power thing, the worst that can happen is that your changes will not be saved. tongue.gif

But I'm not sure..
Ciggy
well that's a relief. i guess i should ask gbrook3 what would happen if my phone gets disconnected while in the FS
Jaffa-cake
anybody know where the t9 dictionary is stored and can it be deleted safely, as i dont use it?
Snowiffic
It's in the language folder, it's exstention is .t9 smile.gif
Snowiffic
Upped Root Dirs.
NovaJet
Great tut! I shall try this soon laugh.gif
Snowiffic
Remember to keep what you need wink.gif
(messaging and such) wink.gif
Snowiffic
Updated.

Upped "GENERATED.RAR" which contains the files that are generated upon restart wink.gif
All_StaR
THanx Thunderbird!
I have made with my K800i@k810i!
But Xs++ didn´t delete folders
normal or not?
Snowiffic
QUOTE (All_StaR @ 2008-02-01 18:29) *
THanx Thunderbird!
I have made with my K800i@k810i!


No problems, glad you could use this smile.gif

QUOTE
But Xs++ didn´t delete folders
normal or not?


That's normal. smile.gif
All_StaR
Thunderbird!
i have now 78MB PhoneMemory!
Thank you have made with JDFLASHER
93bh
Hey. But i don't want to delete it. I moved some stuff to memory stick. lol
Snowiffic
Lol tongue.gif
All_StaR
One Question:
I want to Kill my WAP for ever(only with reflash FS) but i delete all wap folders and nothing happened why?
Snowiffic
You can't delete WAP forever, then you would have to edit the MAIN...
All_StaR
oh my mistake!
se user
worked on my w580 thanks
nednats
hi was just wondering is it possible to delete and is it safe to delete programs that come with the phone such as videodj, musicdj, photodj, code memo, news reader. These program are on my phone and i never use them could do with some extra space. I'm guessing musicdj will take up alot of space because of all the sound files it has with it. It would be great if you could delete it. is it possible and where is it?
nordingh
In MAIN firmware... so cannot delete...
nednats
sad.gif aww.... explains why couldn't find them
such a good idea tho.... think of that space its wasting
nednats
just to let you now you can delete news reader. just done it and have about gained 1mb. anything that comes in the application menu can be deleted as is in the the fs. but stuff in the entertainment is in the main. some of probably already knew that but i thought i would clear it up.
Snowiffic
Hey guys, I'm thinking of making this guide more updated... and more universal... If anyone with a K800, and maybe a W850 could help me... That would be nice.. smile.gif
nordingh
QUOTE (nednats @ 2008-03-25 19:26) *
just to let you now you can delete news reader. just done it and have about gained 1mb. anything that comes in the application menu can be deleted as is in the the fs. but stuff in the entertainment is in the main. some of probably already knew that but i thought i would clear it up.

News reader is java program, sure can delete.
Ciggy
QUOTE (Mr. Thunderbird @ 2008-03-25 14:37) *
Hey guys, I'm thinking of making this guide more updated... and more universal... If anyone with a K800, and maybe a W850 could help me... That would be nice.. smile.gif


in a few days Mr. T, i'm supposed to get my W850 in a week hopefully. so before i mod it, i'll see if i can help you out (if i get to use the pc because i have exams right around the corner).
Snowiffic
OK good Ciggy, smile.gif
agil
how can I delete the folder?? can I using XS++ ?? thanks
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.