Jump to content

Creating my own ROM


Recommended Posts

Guest JohnPorter
Posted (edited)

I'm having a go at creating my own ROM and I'm a bit stuck.

Which local.prop do I modify?

system/cust/hw/default/local.prop or system/cust/t-mobile/uk/local.prop ?

The guide I'm following says the local.prop should be in data/ but I can't find it in there

Also, how do I tell it what wallpaper to set when it's first installed?

Thanks Guys

Edited by JohnPorter
Guest BigBearMDC
Posted
I'm having a go at creating my own ROM and I'm a bit stuck.

Which local.prop do I modify?

system/cust/hw/default/local.prop or system/cust/t-mobile/uk/local.prop ?

The guide I'm following says the local.prop should be in data/ but I can't find it in there

Thanks Guys

I'd say that depends on the ROM you've flashed.

As the community ROM is a T-Mo UK ROM I'd say you'll have to modify system/cust/t-mobile/uk/local.prop.

Best regards,

BB

Guest JohnPorter
Posted

Wow, that was quick BigBear! Thanks....

Any idea about the wall paper?

Guest BigBearMDC
Posted
Wow, that was quick BigBear! Thanks....

Any idea about the wall paper?

No clue about the wallpapers, sorry.

Guest JohnPorter
Posted (edited)

Found it, it's in framework-res.apk!

I've extracted the APK, which was originally 4.75MB, after I replace the wallpaper, and repackage the files the file size is 2.15MB, any ideas anyone?

Edited by JohnPorter
Guest Simon O
Posted
Found it, it's in framework-res.apk!

I've extracted the APK, which was originally 4.75MB, after I replace the wallpaper, and repackage the files the file size is 2.15MB, any ideas anyone?

You have to make sure that the images are only STORED into the zip and not compressed. If you use APK Manager then it'll optimize the images and reduce the size a little.

Guest JohnPorter
Posted
You have to make sure that the images are only STORED into the zip and not compressed. If you use APK Manager then it'll optimize the images and reduce the size a little.

Thanks Flibblesan, I did try APK Manager kept coming up with errors, will give it another try.

Guest Simon O
Posted
Thanks Flibblesan, I did try APK Manager kept coming up with errors, will give it another try.

Easiest way to do this (which is what I did) is to rename framework-res.apk to framework-res.zip and open it up in WinRAR. Open the res folder and you'll find the default wallpaper is in two folders called 'drawable' and 'drawable-mcc234-mnc30'. The wallpaper you want to use needs to be 640x480 and names default_wallpaper.jpg

Drag and drop the new wallpaper to each of these two folders and use the STORE method when WinRAR asks. Then you can rename the zip back to framework-res.apk and it's done :)

Guest JohnPorter
Posted
Easiest way to do this (which is what I did) is to rename framework-res.apk to framework-res.zip and open it up in WinRAR. Open the res folder and you'll find the default wallpaper is in two folders called 'drawable' and 'drawable-mcc234-mnc30'. The wallpaper you want to use needs to be 640x480 and names default_wallpaper.jpg

Drag and drop the new wallpaper to each of these two folders and use the STORE method when WinRAR asks. Then you can rename the zip back to framework-res.apk and it's done :)

Excellent idea Flibbesan, thanks will do this later tonight when I get time to have another play again.....

Really enjoying doing this and learning loads, thankfully got guys like you willing to help :D

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.