Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
yosidia
Old
#1  
Member - OP
Thanks Meter 1
Posts: 34
Join Date: Aug 2007
Question Modify Android file system

I want to edit the system.sqhs and insert new fonts.
someone know how to do it?
 
Maikeu Locatelli
Old
#2  
Maikeu Locatelli's Avatar
Senior Member
Thanks Meter 1
Posts: 196
Join Date: May 2008
Location: Rio Bananal
in linux
unsquashfs system.sqsh

here is a tutorial
http://forum.xda-developers.com/showthread.php?t=610303
Device: Topaz (HTC Touch Diamond2 T5353)
ROM: SELF COOKED WM6.5.5
OS: WM 6.5.5 Build 23549
Radio: 4.49.25.91
 
iceman198
Old
#3  
iceman198's Avatar
Senior Member
Thanks Meter 6
Posts: 256
Join Date: Oct 2009
Location: Waterboro Maine
Quote:
Originally Posted by Maikeu Locatelli View Post
in linux
unsquashfs system.sqsh

here is a tutorial
http://forum.xda-developers.com/showthread.php?t=610303
Hey Maikeu,

Is there a tutorial something like that except for topaz maybe? I can successfully unsquashfs the XDAndroid 2.1 system.sqsh just fine...but when I try to unsquashfs the 1.6 (TopazKernal16) system.sqsh, it makes it to about 70% then stops saying "Killed".

If you could point me in the right direction for help, that would be great! If it makes a difference, I'm actually using Vector Linux instead of Ubuntu.

Thanks!
Duttonbiz.com
Current Device: HTC Vivid - De-sensed ROM v1.6 by Wajee
*******
Previous Devices:
~Nokia Lumia 900 - WP7.5
~Samsung Captivate
~iPhone 4
~HTC Pure
~LG Incite
 
iceman198
Old
#4  
iceman198's Avatar
Senior Member
Thanks Meter 6
Posts: 256
Join Date: Oct 2009
Location: Waterboro Maine
Quote:
Originally Posted by iceman198 View Post
Hey Maikeu,

Is there a tutorial something like that except for topaz maybe? I can successfully unsquashfs the XDAndroid 2.1 system.sqsh just fine...but when I try to unsquashfs the 1.6 (TopazKernal16) system.sqsh, it makes it to about 70% then stops saying "Killed".

If you could point me in the right direction for help, that would be great! If it makes a difference, I'm actually using Vector Linux instead of Ubuntu.

Thanks!
Ok...it took me forever but I figured it out...

Just a couple things to note (in case anyone else is trying to do this)...when you "unsquash" the system.sqsh, it creates a "squashfs-root" folder where everything is. Move all that stuff up a folder so it's all in the "system" folder and you can delete the "squashfs-root".

Also, when using "mksquashfs" make sure to use " -nolzma" at the end...Don't quite know what it is, must be something with compression because I notices the end sqsh file is slightly bigger...but that's what you have to tag on so when booting Android it can actually mount the sqsh file.
Duttonbiz.com
Current Device: HTC Vivid - De-sensed ROM v1.6 by Wajee
*******
Previous Devices:
~Nokia Lumia 900 - WP7.5
~Samsung Captivate
~iPhone 4
~HTC Pure
~LG Incite
 
Maikeu Locatelli
Old
(Last edited by Maikeu Locatelli; 3rd May 2010 at 08:26 PM.)
#5  
Maikeu Locatelli's Avatar
Senior Member
Thanks Meter 1
Posts: 196
Join Date: May 2008
Location: Rio Bananal
Quote:
Originally Posted by iceman198 View Post
Hey Maikeu,

Is there a tutorial something like that except for topaz maybe? I can successfully unsquashfs the XDAndroid 2.1 system.sqsh just fine...but when I try to unsquashfs the 1.6 (TopazKernal16) system.sqsh, it makes it to about 70% then stops saying "Killed".

If you could point me in the right direction for help, that would be great! If it makes a difference, I'm actually using Vector Linux instead of Ubuntu.

Thanks!
Sorry, i never tried and i dont understand a lot of this to help you, i know only how to unpack and repack, really sorry.

Have a lot of people that know, but i dont know why, they dont help us.

i know that the squashfstools 4 dont works, it unpack, but the repack dont works in kernel of pphusson, the 3.3.7 works good for me

http://ftp.debian.org/debian/pool/main/s/squashfs/
Device: Topaz (HTC Touch Diamond2 T5353)
ROM: SELF COOKED WM6.5.5
OS: WM 6.5.5 Build 23549
Radio: 4.49.25.91
 
yosidia
Old
#6  
Member - OP
Thanks Meter 1
Posts: 34
Join Date: Aug 2007
Quote:
Originally Posted by iceman198 View Post
Ok...it took me forever but I figured it out...

Just a couple things to note (in case anyone else is trying to do this)...when you "unsquash" the system.sqsh, it creates a "squashfs-root" folder where everything is. Move all that stuff up a folder so it's all in the "system" folder and you can delete the "squashfs-root".

Also, when using "mksquashfs" make sure to use " -nolzma" at the end...Don't quite know what it is, must be something with compression because I notices the end sqsh file is slightly bigger...but that's what you have to tag on so when booting Android it can actually mount the sqsh file.
is rename the "squashfs-root" to "system" is good enough ?
 
iceman198
Old
#7  
iceman198's Avatar
Senior Member
Thanks Meter 6
Posts: 256
Join Date: Oct 2009
Location: Waterboro Maine
Quote:
Originally Posted by yosidia View Post
is rename the "squashfs-root" to "system" is good enough ?
yeah, that will work...but you can just keep it the same name without every creating a "system" folder. I don't even bother using the "genext2fs" tool...I just "unsquashfs" it and it will create the "squashfs-root" folder and then when I'm done modifying it, just
Code:
mksquasfs squashfs-root system.img -nolzma
and that should do it.

You'll know if it doesn't work cuz Android will error while loading system.sqsh. =)
Duttonbiz.com
Current Device: HTC Vivid - De-sensed ROM v1.6 by Wajee
*******
Previous Devices:
~Nokia Lumia 900 - WP7.5
~Samsung Captivate
~iPhone 4
~HTC Pure
~LG Incite
 
AgentSmith
Old
(Last edited by AgentSmith; 23rd May 2010 at 09:09 PM.)
#8  
Senior Member
Thanks Meter 35
Posts: 372
Join Date: Feb 2006
-wrong topic-

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Careers in Android: Recruiter Reveals How Resumes are Chosen – XDA Developer TV

XDA Developer TV Producer Jayce released a video a … more

HttpClient Tutorial to Upload and Download with Your App

Developers wanting to interact with the Internet need to choose a package to do the … more

Profile Flow: A Tasker Alternative

By now, we’re all quite familiar with Tasker, the personal automation app that seems to be able to … more

More Tips to Help Promote Your Android App

With over 700,000 apps in the Google Play store and more than 48 billion app installs, it’s … more