Related
As i dont have access to a linux box, would somebody mind uploading an unpacked factoryrs.rfs from the OFFICAL JI6 build?
Uploading it now.
lqaddict said:
Uploading it now.
Click to expand...
Click to collapse
You sir, are a saint!
Here you go http://www.megaupload.com/?d=3DM54Q10
ahh, that rfs isnt unpacked
well does anyone have to skills to unpack it? you can get the actual file from the above post
im pretty sure you need linux to do so, but i might be wrong
*edit* posted tut to unpack it
mopodo said:
I came from HTC Hero to the Samsung Galaxy S GT-I9000
So I had never problems with cooking something up, but in the Galaxy I faced .rfs files and a flashing tool I can't use on linux...
So I searched through some boards to find a way to extract the .rfs files here a working guide for the S I9000.
What you need
Linux (tested with Debian testing)
It's pretty simple, execute this commands as root on your computer
SHORT WAY (thanks to mimocan)
Code:
# mount -o loop factory.rfs /some_dir
LOOOONG WAY
Attatch the rfs file to the loop device
Code:
# losetup /dev/loop0 /somedir/factoryfs.rfs
Create a directory to mount the device
Code:
# mkdir /somedir/mnt
Mount the device
Code:
# mount /dev/loop0 /somedir/mnt
the content of the rfs is NOT saved on the sdcard! you have to copy it!
Now you can copy the content from the /sdcard/tmp directory to the sdcard
Code:
# cp -R /somedir/mnt /somedir/factoryfs
hope this is helpful for someone
Click to expand...
Click to collapse
You can unpack rfs by loading it through magiciso on windows
Free trial version will work fine hehe
oswade said:
You can unpack rfs by loading it through magiciso on windows
Free trial version will work fine hehe
Click to expand...
Click to collapse
looks just like ultra ISO, and i have ultra ISO ill check it out
uhhh? adb pull /system? and rar it up? or adb pull /?
if you want the full thing? not that complex
Also, You can get a VM setup. To do it in linux.
karimsaud21 said:
As i dont have access to a linux box, would somebody mind uploading an unpacked factoryrs.rfs from the OFFICAL JI6 build?
Click to expand...
Click to collapse
here u go
http://www.megaupload.com/?d=1QHR83RH
rhcp0112345 said:
uhhh? adb pull /system? and rar it up? or adb pull /?
if you want the full thing? not that complex
Also, You can get a VM setup. To do it in linux.
Click to expand...
Click to collapse
ya i wouldve just pulled the system but im not running the OTA on my phone
and i have a sole linux box back home so dont need to install a VM
demo23019 said:
here u go
http://www.megaupload.com/?d=1QHR83RH
Click to expand...
Click to collapse
THANKS!
Here's a NON-flashable, fully deodexed version of the OTA-JI6 /system directory, yeah, I know its not the full contents of factory.rfs, but its a start.
http://www.4shared.com/file/bn2lTCKf/JI6_OTA_Deodexed.html
cheers
Sorry man, misunderstood your request. Let me get on my linux box and unpack it.
Ok, unpacked it, transferring back to my home PC, and will upload to megaupload.
Sorry for the goof.
lqaddict said:
Ok, unpacked it, transferring back to my home PC, and will upload to megaupload.
Sorry for the goof.
Click to expand...
Click to collapse
I unpacked and already uploaded
Sent from my SGH-T959 using XDA App
demo23019 said:
I unpacked and already uploaded
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
Thanks demo, didnt see your update.
Thank you everyone, yall have been a great help
Thread moved to Q&A.
I'm attempting to root my Thunderbolt on a Mac. I've followed the instructions from the dev section, but whenever I try to "./adb push XXX" it tells me it "cannot stat 'XXXX': no such file or directory." How can I fix this?
It would help to know exactly what XXX is.
Pope of Eruke said:
I'm attempting to root my Thunderbolt on a Mac. I've followed the instructions from the dev section, but whenever I try to "./adb push XXX" it tells me it "cannot stat 'XXXX': no such file or directory." How can I fix this?
Click to expand...
Click to collapse
Sounds like you don't have the files in the directory you're running from. It can't find them with the information you've given it hence it reports they don't exist.
Change to the dir of the files then run or add the location in the filepath.
Xxx could be psnejter or any of the exploits that I'm trying to push.
Sent from my ADR6400L using XDA App
Pope of Eruke said:
Xxx could be psnejter or any of the exploits that I'm trying to push.
Sent from my ADR6400L using XDA App
Click to expand...
Click to collapse
It's either what the previous post said or you are pushing to the wrong directory. Most likely it's what he said though.
I'm not on a MAC, but my directory is c:\android-sdk-windows\platform-tools>
**You can always hit <tab> to jump to the directory you're looking for after entering in a couple characters of the folder you want.
I agree it sounds like your programs are not in the file/directory they should be located in.
For those of you who don't know exactly what the CRT animation is, it is the animation that Gingerbread uses when you press the power button and the screen gives a neat power off effect.
Well I wanted this. A lot. So I went out and did it. Just enabled it, and it looks gorgeous on my phone.
Please note, that you must be rooted in order to use this, and on Gingerbread.
It is a straightforward process.
PLEASE NOTE THIS REQUIRES ADB AND JAVA TO BE INSTALLED
A good idea to nandroid before this, as if something goes wrong it can screw up a lot of things.
Installation 1:
Download DX2-CRT-Animation.zip
Copy to sdcard
Flash in CWR
BIG THANKS TO p3droid FOR PACKAGING AS A ZIP
Installation 2 (the complicated, make you feel cooler, hardcore, original way):
This is modifying your framework-res so some themes may not work any longer.
Instructions:
[]Have phone plugged into computer, and in Charge Mode.
[]Download DX2-CRT-Animation.apk
[]Open Command Prompt (or Terminal) window in DX2-CRT-Animation.apk's location. (This can be accomplished by shift clicking on the folder where this resides, and clicking open command prompt here).
[]Push files onto the phone
Code:
adb push DX2-CRT-Animation.apk /data/local/tmp/framework-res.apk
[]Get shell access
Code:
adb shell
su
---When you enter this, make sure your phone is awake, as a Super User access allow/deny will pop up. Allow it.
In command prompt, you should now have a #.
[]Remove and copy files to proper location, reboot
Code:
mount -o rw,remount /dev/block/stl9 /system
stop
rm /system/framework/framework-res.apk
cp /data/local/tmp/framework-res.apk /system/framework/
rm /data/local/tmp/framework-res.apk
reboot
Whats next:
-Reverse CRT animation (hopefully!!!)
Any input is appreciated.
I am new to this. Give me your input, and help me get better.
Works great! Thanks!
I think everything is working as it should with crt animation working.
Directions worked well, I just had to change how I got into adb.
Great job.
This is awesome, however I'm a little confused. I'm no beginner by any means, but this looks to be outside the realm of what I've done.
When I go into the terminal, am I doing this from my computer? Or my phone (via Terminal Emulator)?
Here is what I'm thinking, and please tell me if I'm wrong:
Download apk
Enter terminal emulator
Type in all of your commands
Voila?
Sorry for all the newbness on this, but I'm dying for some CRT.
Thanks man!
Nevermind, I'm a fail.
I'm downloading the Android and Java SDK now.
I downloaded the necessary files. I can't get the first part to work.
"Open Command Prompt (or Terminal) window in DX2-CRT Animation.apk's location.
Can you explain this step more? I tried right-clicking...
People set up there adb differently. Important thing is to copy file to the directory of where your adb tools are. In my case its
/sdk/platform-tools
Hope this helps
Sent from my DROID X2 using XDA Premium App
Couldn't get it to work. Even had the IT guy from my work try to get it going. We couldn't get the terminal to find swt.jar
Is it possible for me to do this through root explorer, all through my phone? Change permissions and push it into the correct folder?
That would be awesome.
I am out of town but when I get back I will try to package a zip to flash.
Are you on linux?
If I can elaborate for you here:
When you download the apk, copy it to your documents folder. The use the cd command to change the directory to your documents folder. This is assuming you have your path files set up correctly. Hope this helps!
Sent from my DROID X2 using XDA Premium App
religi0n said:
I am out of town but when I get back I will try to package a zip to flash.
Are you on linux?
If I can elaborate for you here:
When you download the apk, copy it to your documents folder. The use the cd command to change the directory to your documents folder. This is assuming you have your path files set up correctly. Hope this helps!
Sent from my DROID X2 using XDA Premium App
Click to expand...
Click to collapse
Haha, it doesn't help. I'm clueless man. A zip file, or instructions on how to do it SOLELY from my phone (using root explorer) would be all I know.
Dying for this
I think you just need adb.
Nice work man! I'm on my way home to hook this up. This is a good excuse for me to get the Android SDK set up on my home machine.
Sent from my DROID X2 using XDA Premium App
can someone make this a file that I can flash in recovery?
I love this animation, but I have a mac and can't get this to work.
thanks
hodges1301 said:
can someone make this a file that I can flash in recovery?
I love this animation, but I have a mac and can't get this to work.
thanks
Click to expand...
Click to collapse
I've spent all day trying to get it to work. No dice.
Would love a zip as well...
Well, I tried both download links in the original post and each time it would successfully boot up but no CRT animation. I finally got it figured out as I have the X2 spare parts installed and had to turn off fancy input animations and now it works. Thanks for posting this.
EDIT: I take that back. I had to put the speed of transition animations to normal and can have fancy input animations enabled. For some reason this won't work when "fast" is checked.
Handing out cleveland steamers for a flashable zip file...
mistawolfe said:
Handing out cleveland steamers for a flashable zip file...
Click to expand...
Click to collapse
Do you have a pc?
I just put his file is /android-sdk-windows/tools
And followed his commands.
Just got this working. Thanks again to OP. I love this animation. Reverse would be cool. Or like a really old school crt that that has to warm up and slowly fades in. Haha.
Sent from my DROID X2 using XDA Premium App
rancifer said:
Do you have a pc?
I just put his file is /android-sdk-windows/tools
And followed his commands.
Just got this working. Thanks again to OP. I love this animation. Reverse would be cool. Or like a really old school crt that that has to warm up and slowly fades in. Haha.
Sent from my DROID X2 using XDA Premium App
Click to expand...
Click to collapse
Do you have to have the Android SDK kit? With the Java JDK? I could not get that to work at all...
Works great!
@mistawolfe I can help you out if you want man
Sent from my DROID X2 using XDA Premium App
mistawolfe said:
Do you have to have the Android SDK kit? With the Java JDK? I could not get that to work at all...
Click to expand...
Click to collapse
Nope. I just have the android sdk installed. The adb is not included in the dl from google so you have to dl and extract that into the android-sdk-windows/tools
http://www.megaupload.com/?d=RTEY0Q97
Then do the steps from beginning and test to confirm your device is recognized
Then proceed and follow the steps.
Sent from my DROID X2 using XDA Premium App
rancifer said:
Nope. I just have the android sdk installed. The adb is not included in the dl from google so you have to dl and extract that into the android-sdk-windows/tools
http://www.megaupload.com/?d=RTEY0Q97
Then do the steps from beginning and test to confirm your device is recognized
Then proceed and follow the steps.
Sent from my DROID X2 using XDA Premium App
Click to expand...
Click to collapse
Why link to mega upload when all you need to do is launch the sdk manager and add the platform tools package? I'd rather get my software from the distro than some megaupload. No offense.
Sent from my DROID X2 using XDA Premium App
I have installed SDK and java JDE in my windows XP..... Then download apktool from google and installed the executable file.
Now when I put required apk to directory and open command prompt and write any command regarding apktool.,
The output is
" 'apktool' is not recognized as an internal or external command, operable program or batch file"
Have I missed something???
Please help!!
Sent from my GT-S5830 using xda premium
I try to use it once...failed
Dude. I hope u have typed apktool insted of apkrool. And u need to have jre installed
AashayS said:
Dude. I hope u have typed apktool insted of apkrool. And u need to have jre installed
Click to expand...
Click to collapse
Edited post... Lol
N during sdk installation... They said that jre found and need jdk.. Then I downloaded jdk n installed also!!!
Sent from my GT-S5830 using xda premium
Apktool is only executable once you have changed directory (cd) into the system folder.
Alternative is to put apktools aapt.exe in your system path. Read this thread: http://forum.xda-developers.com/showthread.php?t=640592
Bakuron said:
Apktool is only executable once you have changed directory (cd) into the system folder.
Alternative is to put apktools aapt.exe in your system path. Read this thread: http://forum.xda-developers.com/showthread.php?t=640592
Click to expand...
Click to collapse
Can u help me to set up from beginning.... Please! I was unable to understand that post!!
Sent from my GT-S5830 using xda premium
thespb said:
Can u help me to set up from beginning.... Please! I was unable to understand that post!!
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Edit: Just follow these guides http://www.freeyourandroid.com/guide/install_android_sdk & http://www.freeyourandroid.com/guide/apktool
If you have unzipped and installed properly;
1. In command prompt type- cd c:/windows/ Then you are in the correct directory to execute APKTool.
2. If you dont want to have to do 1 each time then do this. Go to Control Panel, System, Advanced, Environment Variables, then find PATH, double click it and type at the end of it- ;C:\android-sdk-windows\platform-
tools;C:\android-sdk-windows\tools
After doing 2. you should just be able to type APKTool into the command prompt from any directory and it will run.
install JavA
R u kidding me?
U installed Java?
forever king said:
R u kidding me?
U installed Java?
Click to expand...
Click to collapse
Java is required for apk tool
Sent from the year 3000 using a SGA where sheep's are not present.
I just didn't follow the instructions. If your system names a file type, why add an extra extension? I slammed my face against my screen for two hours before I had that thought. I simply left the names on the batch and jar files as "apktool". Works just fine, now. I hope this helps the next guy Phind sends this way.
So... a lot of us are stuck on a certain firmware and need to get off of it. A solution to us all (hopefully), is a program called "bspatch" (usually comes with bsdiff). We have a boot.img file (compiled android img) and a boot.img.p (from an OTA update, zip, which we know 100% works and people have updated with the OTA zip).
We need bspatch to stop checking for corruption like it does now and to just force the patch to go. This would help save a lot of users stuck on firmware and we would all appreciate a point in the right direction.
We tried compiling the source of bspatch from many sites, but none seem to compile correctly or even run. We get them to run from binary pre-compiled versions, but those won't help us since it sees the patch as corrupt.
If we can get boot.img from the 6.12.181 fastboot files to patch with the boot.img.p from an ICS like the most current (6.16.206 as of 5/20/2012) we can make a fastboot files that is flashable onto someone stuck on 6.14.84 so they can upgrade to 206 with Moto Recovery.
Also if this magically can be done by the help of the XDA community, we can create a boot.img from 6.12.181 patched with a 4.0.3 boot.img.p (like from 84 or 85, since 79 and below aren't flashable on newer ICS), we can also have a root method for 4.0.4 like the GSM users have.
Best of luck to those who try to help with this!
http://www.daemonology.net/bsdiff/
https://launchpad.net/ubuntu/+source/bsdiff/4.3-10ubuntu1/+build/2960721
Files(s): http://rombot.droidhive.com/ROMs/spyder/BspatchProject.zip
alt link: http://www.filefactory.com/file/1xj6eh1mocz7/n/BspatchProject_zip
Note: My friend tried this already and we got Pre-flash validation errors when trying to fastboot it. Just throwing this idea out there.... best of luck.
EDIT: Added as an attachment.
Thanks to dhacker29 for trying this idea out first
Err.. Doesn't the /system/bin/applypatch can do this already??
I've always used it to patch OTA manualy..
example usage:
Code:
applypatch boot.img boot_new.img [B]X Y Z[/B]:boot.img.p
where
Code:
[B]X[/B] is the target(boot_new.img) sha1sum
[B]Y[/B] is the target(boot_new.img) new size
[B]Z[/B] is the source(boot.img) sha1sum
Obviously it will failed the cert test,
if the patch(boot.img.p) is not intended for the base(boot.img)
Information can be extracted from OTA update-script
example
assert(apply_patch("MTD:boot:8388608:5fff8425560eb 1002b467062de2b355b45090ad7:8388608:2997ddb421e1d4 4b026410339e343f60b3bb65bd",
"-", 2997ddb421e1d44b026410339e343f60b3bb65bd, 8388608,
5fff8425560eb1002b467062de2b355b45090ad7, package_extract_file("patch/boot.img.p")));
Click to expand...
Click to collapse
X = 2997ddb421e1d44b026410339e343f60b3bb65bd
Y = 8388608
Z = 5fff8425560eb1002b467062de2b355b45090ad7
easily done via adb
Code:
adb.exe push boot.img /tmp/
adb.exe push boot.img.p /tmp/
adb.exe shell /system/bin/applypatch /tmp/boot.img /tmp/boot_new.img X Y Z:/tmp/boot.img.p
adb.exe pull /tmp/boot_new.img
whirleyes said:
Err.. Doesn't the /system/bin/applypatch can do this already??
I've always used it to patch OTA manualy..
example usage:
Code:
applypatch boot.img boot_new.img x y z:boot.img.p
where
Code:
x is the target(boot_new.img) sha1sum
y is the target(boot_new.img) new size
z is the source(boot.img) sha1sum
Obviously it will failed the cert test,
if the patch(boot.img.p) is not intended for the base(boot.img)
Click to expand...
Click to collapse
I can confirm that applypatch does have at least some success in patching a boot.img once you can figure out the information required from updater-script found in the OTA you are trying to make fastboot images for. I patched the file obtained by
Code:
dd if=/dev/block/mmcblk1p14 of=/sdcard-ext/b/boot.bin
on a 6.12.181 successfully using the code
Code:
applypatch ./boot.bin ./boot.bin.2 dd9310794842a4908aff55979a9fe97f825e8748 8388608 8e21cfa5d9be4dd08427b079fbff9a80d6e04560:boot.img.p
the code i ripped apart from 6.16.206 is
Code:
assert(apply_patch("MTD:boot:8388608:8e21cfa5d9be4dd08427b079fbff9a80d6e04560:8388608:dd9310794842a4908aff55979a9fe97f825e8748",
"-", dd9310794842a4908aff55979a9fe97f825e8748, 8388608,
8e21cfa5d9be4dd08427b079fbff9a80d6e04560, package_extract_file("patch/boot.img.p")));
to figure out the apply patch code i looked at the info above and compared it to this
[qoute]adb shell applypatch
usage: applypatch <src-file> <tgt-file> <tgt-sha1> <tgt-size> [<src-sha1>:<patch> ...]
or applypatch -c <file> [<sha1> ...]
or applypatch -s <bytes>
or applypatch -l
Filenames may be of the form
MTD:<partition>:<len_1>:<sha1_1>:<len_2>:<sha1_2>:...
to specify reading from or writing to an MTD partition.[/quote] and with a little trial and error got it to work
EDIT
Let me be clear the patched boot.bin.2 does flash perfectly fine. no preflash validation failure.
Anyone on 6.16.206 want to do me a favor and do?
Code:
dd if=/dev/block/mmcblk1p15 of=/sdcard-ext/b/recovery.bin
and email/upload it to me? I'll hit the thanks button </bribe>
SilentViper said:
EDIT
Let me be clear the patched boot.bin.2 does flash perfectly fine. no preflash validation failure.
Anyone on 6.16.206 want to do me a favor and do?
Code:
dd if=/dev/block/mmcblk1p15 of=/sdcard-ext/b/recovery.bin
and email/upload it to me? I'll hit the thanks button </bribe>
Click to expand...
Click to collapse
I asked on the DroidRZR thread for 6.16.206 if anyone could do it, let's see
Edit: By the way which version boot.img is patched and flashable, and could we get a copy?
This is what a user at DroidRzr got when he tryed:
dd if=/dev/block/mmcblk1p15 of=/sdcard-ext/b/recovery.bin
[quote name='Fixter' timestamp='1337690349' post='46825']
Doing it right now Matt.
PS: Cannot Open for Read: Permission Denied
Also, I have root. Let me check now. I forgot to restore root.
Update 2: Cannot Open for Write: No such file or Directory. I copy pasted it, so I know it's right.
[/quote]
dimitri407 said:
This is what a user at DroidRzr got when he tryed:
dd if=/dev/block/mmcblk1p15 of=/sdcard-ext/b/recovery.bin
[quote name='Fixter' timestamp='1337690349' post='46825']
Doing it right now Matt.
PS: Cannot Open for Read: Permission Denied
Also, I have root. Let me check now. I forgot to restore root.
Update 2: Cannot Open for Write: No such file or Directory. I copy pasted it, so I know it's right.
Click to expand...
Click to collapse
[/QUOTE]
He might need to do
Code:
mkdir /sdcard-ext/b
He might need to do
Code:
mkdir /sdcard-ext/b
[/QUOTE]
http://www.mediafire.com/?iihwd669mdxg740
Recovery.bin from DR user Fixter from 206.
Enjoy!
dimitri407 said:
This is what a user at DroidRzr got when he tryed:
dd if=/dev/block/mmcblk1p15 of=/sdcard-ext/b/recovery.bin
[quote name='Fixter' timestamp='1337690349' post='46825']
Doing it right now Matt.
PS: Cannot Open for Read: Permission Denied
Also, I have root. Let me check now. I forgot to restore root.
Update 2: Cannot Open for Write: No such file or Directory. I copy pasted it, so I know it's right.
Click to expand...
Click to collapse
[/QUOTE]
Finally, some headway,
But I have a question is in regards to the DD command (kinda off topic but not really). How do you know that p15 is associated with recovery.bin, well at least for Droid Razr XT912-Verizon. I have some tools that show symlinks in an android file browser, but I am looking for a Linux command as well.
Been trying to find access to the devtree partition as well as cdrom, recovery, cdt.bin (p18=true), and now in this case, boot. I found all but devtree. Any ideas,
X
Open the recovery.img in a hex editor and the partitions are listed at the top.
mattlgroff said:
He might need to do
Code:
mkdir /sdcard-ext/b
Click to expand...
Click to collapse
http://www.mediafire.com/?iihwd669mdxg740
Recovery.bin from DR user Fixter from 206.
Enjoy!
Click to expand...
Click to collapse
AWESOME. I successfully flashed that to my secondary razr that i am playing with these updates on. I used this plus my custom patched boot.bin.2 to successfully boot into recovery. but im currently stuck there because no OTAs will flash from that, and my /system partition isn't the right version, nor anything else for that matter. now I need the rest of the /dev/block files from 206 :/
i'm going to have to figure something out quick
Couldn't you just extract the files from the .206 zip file that you need? Unless if I am missing something of course... just one thought I had on this.
No, those are patch files. To make a fastboot package I need the block dumps
Sent from my DROID RAZR using XDA
SilentViper said:
No, those are patch files. To make a fastboot package I need the block dumps
Sent from my DROID RAZR using XDA
Click to expand...
Click to collapse
Makes sense. Hopefully someone running .206 could provide that to you. Sadly I'm unable to as I'm on .203 on my RAZR. Bummer.
Project Success.
http://www.droidrzr.com/index.php/t...m-icsbut-not-back-to-gb-6148485-616203204206/
Great job to everyone involved!
mattlgroff said:
Project Success.
http://www.droidrzr.com/index.php/t...m-icsbut-not-back-to-gb-6148485-616203204206/
Great job to everyone involved!
Click to expand...
Click to collapse
Awesome! mind posting just the fastboot commands? I tried interpreting the .bat but haven't had much experience with .BATs and am not entirely sure what you are doing
DemoManMLS said:
Makes sense. Hopefully someone running .206 could provide that to you. Sadly I'm unable to as I'm on .203 on my RAZR. Bummer.
Click to expand...
Click to collapse
Not anymore you're not!
Sent from the bottom of my fart
SEMI success. We wanna get us back on the path, not on a later ICS build. This might be okay if it works with the OTA, but...
[TSON] said:
SEMI success. We wanna get us back on the path, not on a later ICS build. This might be okay if it works with the OTA, but...
Click to expand...
Click to collapse
Why wouldn't they be able to use this strategy again and use img file from official ota?
Sent from my DROID SPYDER using Tapatalk 2
Knowing Moto...
[TSON] said:
Knowing Moto...
Click to expand...
Click to collapse
I feel like update is pretty close . I would be impressed if they patched it that quickly
Sent from my DROID SPYDER using Tapatalk 2