Related
This is a bit of an embarrassing first post on these forums, but I've been reading here for quite a while. I've been running CM6.0 beautifully on my G1 for a few days now, but tonight I found my way to a thread containing instructions to push a new build.prop file in an effort to make protected apps show up in the market. Unfortunately I got waaaaaayyy ahead of myself, and without backing anything up I went ahead with the task, and only realised afterwards that the build.prop file I pushed was for a Nexus!
Any chance someone would be kind enough to point me in the direction of a CM6.0 build.prop file for a G1?
Many thanks!
EDIT: nevermind! in yet another bout of idiocy for the night, I never thought to just grab a copy from the ROM zip file. One day I'll learn. Maybe.
The last time I looked, the only dump for the Captivate on xda was a JF6 version, posted a few weeks ago, and the OP had taken out a few AT&T apps prior to doing it, making it not a true stock. This morning I decided to rip out the content out of the factoryrfs.rfs files from each of the three firmwares we have. I am planning to poke around in these a bit and try my hand at some deodexing, but I have also uploaded them for anyone else to play with them, or to restore any files they might have inadvertently deleted:
Here are the links:
JF6
JH2
JH3
JH7
rajendra82 said:
The last time I looked, the only dump for the Captivate on xda was a JF6 version, posted a few weeks ago, and the OP had taken out a few AT&T apps prior to doing it, making it not a true stock. This morning I decided to rip out the content out of the factoryrfs.rfs files from each of the three firmwares we have. I am planning to poke around in these a bit and try my hand at some deodexing, but I have also uploaded them for anyone else to play with them, or to restore any files they might have inadvertantly deleted:
Here are the links:
JF6
JH2
JH3
Click to expand...
Click to collapse
What do JF and JH stand for?
freedonkey said:
What do JF and JH stand for?
Click to expand...
Click to collapse
They relate to the month in which they were built. F means june, h is august. Both of the jh roms are test roms and unfinished, but functional and snappier than the stock jf6 rom.
Sent from my Samsung SGH-i987
Thanks for this.
Aye... Thanx for the system dumps.
Anyone seen these for the i9000?
alphadog00 said:
Anyone seen these for the i9000?
Click to expand...
Click to collapse
Easy to get the files out yourself. Extract the factoryrfs.rfs file out of the firmware tar file, boot into linux and do:
sudo mount -o loop factoryrfs.rfs <any_directory_of_your_choice>
Then copy the files from the mounted location to another, and you have the raw system dump.
Pardon my ignorance but what do these dumps do/provide? How are they different from the firmware from Samsung Firmware?
glio1337 said:
Pardon my ignorance but what do these dumps do/provide? How are they different from the firmware from Samsung Firmware?
Click to expand...
Click to collapse
The firmware from Samsung Firmware contains the applications and default configuration settings packed into a factoryrfs.rfs (which itself is then inside a .tar file). That format is suitable for Odin to flash onto the phone, but you can't access the individual files inside the .rfs. What I did was to unpack the .rfs file, so that the individual files inside are available for whatever you want to do with them. These are not suitable for flashing on the phone as a whole, but someone could take something, modify it and push it to their phone, or make a custom ROM out of it. A simple example is the circle battery indicator mod, where someone modified the framework-res.apk to show percentage, and then made a custom ROM update.zip with it. Without access to the original file, this would not have been possible. Everyone has these files on the phone in one version or another (unless they manually edit or delete them). I just wanted all versions of the files ever released or leaked.
I dont know if this is the place to ask but how we can extract particular app to be able to install it as .apk
here is what i need
http://forum.xda-developers.com/showthread.php?t=776739
zagorka said:
I dont know if this is the place to ask but how we can extract particular app to be able to install it as .apk
here is what i need
http://forum.xda-developers.com/showthread.php?t=776739
Click to expand...
Click to collapse
All the apks are inside the zip files, stored the same way they would normally reside on your phone. I am pretty sure the stock Clock widget is a touchwiz widget, and will not work on your wife's Aria. Hell it won't even work on our own phone if you switch to a different launcher.
rajendra82 said:
All the apks are inside the zip files, stored the same way they would normally reside on your phone. I am pretty sure the stock Clock widget is a touchwiz widget, and will not work on your wife's Aria. Hell it won't even work on our own phone if you switch to a different launcher.
Click to expand...
Click to collapse
I am talking about ClockPackage not SamsungWidget_CalendarClock or SamsungWidget_StockClock. It's the one in applications not the widgets.
zagorka said:
I am talking about ClockPackage not SamsungWidget_CalendarClock or SamsungWidget_StockClock. It's the one in applications not the widgets.
Click to expand...
Click to collapse
Clockpackage is in the zip files. Here is the JH3 version for you. Not sure if it'll install. When I try to push to the Android 2.1 Emulator, I get:
adb install ClockPackage.apk
1404 KB/s (0 bytes in 2921292.002s)
pkg: /data/local/tmp/ClockPackage.apk
Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]
Which tells me that the package is probably dependant on TouchWiz 3.0 or some other library already installed on the phone.
rajendra82 said:
Clockpackage is in the zip files. Here is the JH3 version for you. Not sure if it'll install. When I try to push to the Android 2.1 Emulator, I get:
adb install ClockPackage.apk
1404 KB/s (0 bytes in 2921292.002s)
pkg: /data/local/tmp/ClockPackage.apk
Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]
Which tells me that the package is probably dependant on TouchWiz 3.0 or some other library already installed on the phone.
Click to expand...
Click to collapse
Yes, I was able to extract the .apk and .odex files but couldnt install them.
Probably you are right it is too much trouble. I'll look for some alternative.
Thank you
I think he zipaligned the system apk's too
designgears said:
I think he zipaligned the system apk's too
Click to expand...
Click to collapse
I am very new to android, so I am not sure of the implications of this. After further investigation, there is a newer version of the bat files (Auto_Deodexer_2.3), but that version does not do any zipaligning. I added my own bat file to do this after the deodexing, but is what the older version did (zip align every apk in the app directory) bad, and why? If that is the case, which of the apk files should I not zipalign?
On a similar note, the newer bat file asks me to give a bootclasspath. When I give it the values in the init.rc, it skipped deodexing few of the apks in the app directory. When I added twframework.jar to the bootclasspath ahead of framework.jar, it skipped fewer files. I am sure that the older version was buggy, and made mistakes. What should the proper bootclasspath be to not skip deodexing the following files, and to properly deodex the others:
BluetoothOPP.apk+odex
Camera.apk.odex
FactoryTest.apk+odex
MiniDIary.apk+odex
TouchwizCalendar.apk+odex
Figured out the bootclasspath to use. OP and the JH3 file updated. If you downloaded the deodexed JH3 version yesterday, please replace it with the newer version.
What exactly does deodexing and zipaligning do? I understand it makes it faster but how so?
Sent from my SAMSUNG-SGH-I897 using XDA App
frenchtoasted said:
What exactly does deodexing and zipaligning do? I understand it makes it faster but how so?
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
All this is highly theoretical knowlege on my part, so if anyone has better information, feel free to correct me:
Deodexing:
Some of the apks and jar files on the default stock ROM have their code split between apk/odex and jar/odex pairs instead of in a single file. This is done by the developers to supposedly save space, and memory usuage, and to speed up the booting process. Unforunately having separate odex files means that replacing any part of the whole system is much harder. Deodexing the ROM puts the code from the odex files back into the apk and jar files so that every application and jar is self contained and could be replaced with an equivalent.
Zipaligning:
Zipaligning is an optimization of apk files to align all uncompressed data within them on 4-byte boundaries to reduce the memory usage. Since deodexing rebuilt the apks with the code from the odex files, they would have become unaligned. I realigned them to make them optimized again.
This is not necessarily a performance tweak at first, but once you are able to replace the slower parts of the system as a result of it, you should start to get more benefits out of it.
would it be possible to get the allshare package from the deodexed rom? will it work with any other device?
A while back when I didn't know what I was doing, I downloaded Root Explorer and went into /system/app to delete some At&t bloatware. I was dumb not to rename the extension or 'freeze' them, so now when I update it gets stuck on error AttMusic40.apk (which is one of several At&t apps I removed). So anyways, I need the original Bravo apps so I can move them back over to /system/app, that way the update can complete it's self.
Thanks in advanced
NVM. Found HERE: http://forum.xda-developers.com/showthread.php?t=955075&page=13
That BDX is already on it (thanks)
Sorry for the n00b behavior.
I also did something quite stupid. I changed my boot animation without saving a back up. If someone can give me the original to animation. Or just the sound file that goes with it? I would really appreciate it. thanks
Ok guys here you go. This is from a system dump someone linked me to a while back of 2.1. It looks good and legit so I am posting it up on a server and giving you the ability to grab whatever you need AND see how it supposed to be stock.
enjoy.
http://46.4.232.120/bravo/
(if you find this useful consider buying my donation version of my app
Any chance you could zip the apps, taking forever to download them one at a time
this is where I am stuck, I went and looked at that guys linked dump, but can't find attmusic40.apk or any of the other bloatware apps that I deleted.
I tried the factory reinstall, but it didnt restore the att bloatware I deleted, how can I get a hold of those files?
is there an image of the 2.1, or a work around the file check to install 2.2
edit: nm, I used the 2.2 stock sbf.
can someone who has not unlocked their bootloader go through the "repair" process in either one of the software updaters located here
http://www.sonyericsson.com/cws/sup...teyourproductsoftware/xperia-play?cc=gb&lc=en
when it downloads the repair image for your phone it will stores it on your computer probably somewhere in this folder
C:\Program Files\Sony Ericsson
or
start>run> %temp%
the file will be ~100mb or more
if someone can download that file and upload it to any media shareing website it would be greatly appreciated
I and we will need this for custom roms, root, and recovery if something goes afoot.
many thanks,
grant
EDIT: just an FYI this is different than the system.img /system dump that is floating around the recovery contains the boot.img, nv.img radio.img and among other things
hi johnsongrantr i just bought an xperia play sim free locked bootloader. I am new to the android front (newbie) been an iphone user for a while, if you explain what i need to do to get the recovery img i am more than happy to help
regards
Jason
C:\ProgramData\Sony Ericsson\Update Engine\db\13740270\blob_fs
is where it will be and it will be called something like: FILE_277919341 and will be 157MB
Just done it but that file cant be opened even with magiciso like other roms can.
there is this as well:
http://www.sonyericsson.com/cws/sup...etailed/updateservice/xperia-play?cc=gb&lc=en
interestingly the above software tells you to press the back key before plugging in the usb!
waz000000 said:
C:\ProgramData\Sony Ericsson\Update Engine\db\13740270\blob_fs
is where it will be and it will be called something like: FILE_277919341 and will be 157MB
Click to expand...
Click to collapse
that's the file I need
can you zip that folder or upload the file and host it somewhere, I'll have a crack at opening it
NO problem ill stick um on megaupload
gonna take about 40min to upload but it's on its way will post link when done about 180mb at 66Kbps
waz000000 said:
NO problem ill stick um on megaupload
gonna take about 40min to upload but it's on its way will post link when done about 180mb at 66Kbps
Click to expand...
Click to collapse
thanks, if you or anyone else is following along at home, universal extractor http://legroom.net/software/uniextract can extract *most* archive files unless it is heavily encrypted... then more digging I must do.
BUT... if that works, how to inject root access to a already compiled boot.img + ram disk have a look at this guide
http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack,_Edit,_and_Re-Pack_Boot_Images
read the whole article but pay attention to the "alternative method" where you modify default.prop and change the line ro.secure=1 to ro.secure=0
that's basically all there is to it. Lets hope we can cleanly extract the contents of that file shall we
Already tried that as well bud just shows me a log file and thats it.
Need to rename it to use uniextract but nothing is accepted it fails on all
I litterly have no idea how we get the image file short of jtagging it!
how did they get it for the arc?
waz000000 said:
Already tried that as well bud just shows me a log file and thats it.
Need to rename it to use uniextract but nothing is accepted it fails on all
I litterly have no idea how we get the image file short of jtagging it!
how did they get it for the arc?
Click to expand...
Click to collapse
well I'll just have to look at it then
shouldn't need jtagging, might be able to get an unsecure x10/or arc boot.img to boot enough to pull the info we need, but I don't want to even start messing with that junk yet
was this before or after the source for the arc was released?
http://developer.sonyericsson.com/w.../download/so-01cgingerbread30d279?cc=gb&lc=en
they might have just compiled from source.... sadly, the play doesn't have it's source out yet
EDIT:x10/ or arc
not sure been following the arc threads for a while they havent rooted yet but they are leaps ahead of us we cant make stage 1.
cant get an answer yet as to how they got it, ive posted but waiting on a reply
Originally Posted by waz000000
Guys and gals, where did you get your system.img from over in the play forums we are trying to root as well but we cant seem to figure out how to get our grubby hands on an system.img to work from.
Any help will be met with much kudos.
answer:
Decrypted SEUS firmware. System.sin extracted from .zip and converted to .img using sin2img.
and here is the guide ive found:
http://forum.xda-developers.com/showthread.php?t=730282
and here as promised are the files:
http://www.megaupload.com/?d=5T6KWVB8
waz000000 said:
Originally Posted by waz000000
Guys and gals, where did you get your system.img from over in the play forums we are trying to root as well but we cant seem to figure out how to get our grubby hands on an system.img to work from.
Any help will be met with much kudos.
answer:
Decrypted SEUS firmware. System.sin extracted from .zip and converted to .img using sin2img.
and here is the guide ive found:
http://forum.xda-developers.com/showthread.php?t=730282
and here as promised are the files:
http://www.megaupload.com/?d=5T6KWVB8
Click to expand...
Click to collapse
sweet!
your phone is a r800i unbranded correct?
johnsongrantr said:
sweet!
your phone is a r800i unbranded correct?
Click to expand...
Click to collapse
yeah GSM model sim free
waz000000 said:
yeah GSM model sim free
Click to expand...
Click to collapse
different time zones -0500 here, downloading now, so hopefully I'll bear good tidings in the AM
megaupload download eta 4hrs -_-
time4nap
If you go to "downloads" on top of that page, the sourecode for Gingerbread Xperia (Arc AND Play) are there, the one you link is not Arc. Seems all Xperia (new) is compiled from same source.
johnsongrantr said:
well I'll just have to look at it then
shouldn't need jtagging, might be able to get an unsecure x10/or arc boot.img to boot enough to pull the info we need, but I don't want to even start messing with that junk yet
was this before or after the source for the arc was released?
http://developer.sonyericsson.com/w.../download/so-01cgingerbread30d279?cc=gb&lc=en
they might have just compiled from source.... sadly, the play doesn't have it's source out yet
EDIT:x10/ or arc
Click to expand...
Click to collapse
Sent from my Nexus S using XDA App
And the source link
http://developer.sonyericsson.com/wportal/devworld/downloads/download/30a2181182tarbz2?cc=gb&lc=en
Sent from my Nexus S using XDA App
I'm in the process of deodexing the stock ROM (4.5.1-134_DFP-82) on my Defy+. I've tried a number of the deodexing tools posted around XDA and elsewhere but nothing would run anything like clean, so I've been building my own script to do it.
I've successfully deodexed everything in /system/framework/ and 151 out of 155 odexes in /system/app/. It has been quite interesting, tracking down the missing classes when something doesn't deodex clean first time with the default BOOTCLASSPATH files. Unfortunately, though, four of the .odexes in /system/app/ have got me beat.
The first one is Settings.odex. This is reporting:class Lcom/motorola/android/mirrorservice/IMirrorService; cannot be resolved.I can't locate that class anywhere. I've tried disassembling everything in both directories and searching the results but it just doesn't seem to be there. Settings seems rather too important to just allow baksmali to ignore the error.
The other three - DLNA.odex, MediaGallery.odex and VideoPlayer.odex - all display the same symptom. Trying to deodex with just the standard BOOTCLASSPATH files gives the error:class Lcom/motorola/android/extdispservice/IExtDispService; cannot be resolved.Adding /system/framework/com.motorola.blur.library.service.odex to the BOOTCLASSPATH files makes that go away, but instead gives the error:Could not find superclass Lcom/google/protobuf/GeneratedMessage$BuildeI've seen that one several times and the way to fix it has always been to add /system/framework/com.motorola.blur.library.utilities.odex to the BOOTCLASSPATH files. But in this case I end up with the error:class Lcom/motorola/android/extdispservice/IExtDispService; cannot be resolved.again. It's taking me round in circles! I've tried reversing the order of utilities and service but that doesn't fix it either.
Anyone able to suggest how I might get rid of these errors? The second one in particular is doing my head in!
OK, so I've done a bit more digging around online and it seems that both those classes are to do with the HDMI interface, which of course the Defy doesn't have. baksmali continues anyway and creates the out folder, so I'm assuming that it should be OK to zip those back in to the relevant apks and try those. Does that sound right?
Hi ejstubbs
thanks for starting this thread...i was wanting to start deodexing roms on my own. can you please help me with the apps needed and/or some link where i can get a thorough knowhow about deodexing roms for my Defy?
Questions go in the Q&A section, not the Dev section.