Related
Im looking to take a go at some theme making / startup shows. Ive done some looking but I can't find a definitive guide on pulling the framework-res.apk. I have found some how-too on modifying the files contained inside but most assume you already have a pretty solid understanding of abd. Mine is basic so if someone was willing to right out the abd commands for pulling it, backing it up (im guessing just a right click and copy), and then putting the original / modified (if different) back in, it would be much appreciated.
Not much in the line of themes for the Streak so far, so although it take me a while, im willing to do some work.
Any help is appreciated.
Ok I have been looking around and since no one has provided any info/insight ill post what ive found here and perhaps "someone" could be kind enough to just verify.
Pulling "framework-res.apk":
adb pull /system/framework/framework-res.apk
Pushing "framework-res.apk":
adb shell remount rw
adb push framework-res.apk /system/framework/
I also found this code for remount (not sure which is more appropriate?):
adb shell mount -o rw /dev/block/mtdblock1 /system
Also has anyone tried using this:
http://forum.xda-developers.com/showthread.php?t=737526
i was looking to change the bootscreen and in the process i found 'rootexplorer' together with z4root working great. you can copy the files to sdcard (i use usb, but bluetooth or wifi works also) and from there to the system dir.
dell splash logo
you have themed the dell splash logo @ power on? Sweet! can you tell us where it is located?
maybe a short vid to see it in action.
Yes I cant wait do debrand my streak,
chrisrotolo said:
you have themed the dell splash logo @ power on? Sweet! can you tell us where it is located?
maybe a short vid to see it in action.
Yes I cant wait do debrand my streak,
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=859009
please dont hijack the poor man's thread lol
Ha, ha @da_jojo. I suppose that should be happy that sooomeone posted any reply in this thread. Im going to have a look at the boot animation you posted as that was something else id like to try tackling in the future as well. Although I have to admit I was a little bummed that no one could confirm my questions. Just keeping trying on my own I guess.
Sent from my Dell Streak using XDA App
brunswick000 said:
Ha, ha @da_jojo. I suppose that should be happy that sooomeone posted any reply in this thread. Im going to have a look at the boot animation you posted as that was something else id like to try tackling in the future as well. Although I have to admit I was a little bummed that no one could confirm my questions. Just keeping trying on my own I guess.
Sent from my Dell Streak using XDA App
Click to expand...
Click to collapse
yeah same here.. information sharing is limited to helpdeskfunctionality nowadays lol
the method i used works great and doesnt require a pc to use. the adb commands should be fine i guess.remount the dir should do. im not to sure about the block remount. you can remount system in adb with :
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock6 /system
after some fiddling i found out that bootanimations installer for droid x works good.
You don't neccessarily need a knowledge of ADB to theme. You could just open up Steve's ROM, edit what you want and sign it again (each .zip inside the update.zip must be signed also).
Then you just flash it through recovery.
Meltus said:
You don't neccessarily need a knowledge of ADB to theme. You could just open up Steve's ROM, edit what you want and sign it again (each .zip inside the update.zip must be signed also).
Then you just flash it through recovery.
Click to expand...
Click to collapse
yu, but i think its more handy to just copy the file over with rootexplorer, for testing. the end-product can then be implented in the update if required , the way you describe it.
Ok sounds good. Ill give it a try tomorrow if I have some down time at work. Cant wait to get to work on something for this beast.
I keep getting this error when I am trying to start the first command in terminal
Jays-Mac-Prolatform-tools experience$ ./adb push psneuter /data/local/
cannot stat 'psneuter': No such file or directory
I have all of the files downloaded. the file on my memory card. I have been trying this for a few nights now and I can't seem to figure it out. Any help would be appreciated! Coming from my incredible with CM7 Nightlies to a non rooted thunderbolt for 2 weeks now is killing me!
longjas said:
I keep getting this error when I am trying to start the first command in terminal
Jays-Mac-Prolatform-tools experience$ ./adb push psneuter /data/local/
cannot stat 'psneuter': No such file or directory
I have all of the files downloaded. the file on my memory card. I have been trying this for a few nights now and I can't seem to figure it out. Any help would be appreciated! Coming from my incredible with CM7 Nightlies to a non rooted thunderbolt for 2 weeks now is killing me!
Click to expand...
Click to collapse
I posted a pretty comprehensive walkthrough in the development section.
http://forum.xda-developers.com/showthread.php?t=1011623
I recommend you look through there first. now, what you've done wrong: The files don't go in your sd card, they need to be put in the platform tools folder.
Post in my thread if you have anymore trouble, or if it helps you.
I would post there but I dont have 10 posts yet.
I don't have all of the files on my memory card only the one where you change it to p5000 or whatever it's called the problem I'm having is when inam doing this
Now, navigate to your home folder and there is a text file there for you. Pretty neat, eh?
Now, we need to navigate to adb. Go to your android-sdk-mac_x86 folder, open it. Now, go back to terminal, type cd and drag the folder Platform-tools to the terminal window. You should see a green dot with a plus sign in it, that means you can add the folder to the terminal window. It should read something like this:
Code:
cd /Users/Your Computer's Name/Downloads/android-sdk-mac_x86/platform-tools
If you moved the android-sdk-mac_x86 folder (Like I did) after downloading it, it will only be slightly different. (My folder was in my home folder, so it just says /users/my computer/android-sdk-mac_x86/platform-tools)
Once you do this, you are ready to begin
Once I Follow these directions above I am getting thus error
Jays-Mac-Proplatform-tools experience$ ./adb push psneuter /data/local/
cannot stat 'psneuter': No such file or directory
I am at a loss. Please help!
bump. Need some help figuring this out. Been reading the the guide here http://forum.xda-developers.com/show....php?t=1011623 and I still can't figure this out. Any help would be appreciative
i used corey streeter's walkthrough over at androidcentral.com...it could not have possibly been easier if you follow directions exactly...there is a video too
laneharts said:
i used corey streeter's walkthrough over at androidcentral.com...it could not have possibly been easier if you follow directions exactly...there is a video too
Click to expand...
Click to collapse
thanks. Ive tried his method to but every time i get the same error with terminal. I thought i watched the video already but ill give that a try as well. Thanks for the reply
longjas said:
thanks. Ive tried his method to but every time i get the same error with terminal. I thought i watched the video already but ill give that a try as well. Thanks for the reply
Click to expand...
Click to collapse
Just to confirm, psneuter, busybox and misc.img go into your platform tools folder, not your sd card. You aren't actually pushing anything, and you're receiving that error because there is nothing to push. Now, if you put the files from the exploit folder into your platform tools folder, it will work.
Good luck man I hope you get it to work...It was my first time with rooting a phone and I didnt think it was too hard except for the time it took to get it all done
the error msg you are getting is because the files you are trying to push are not in the directory you think they are.
IISiDeK1CKII said:
Just to confirm, psneuter, busybox and misc.img go into your platform tools folder, not your sd card. You aren't actually pushing anything, and you're receiving that error because there is nothing to push. Now, if you put the files from the exploit folder into your platform tools folder, it will work.
Click to expand...
Click to collapse
perfect. Thanks! i think that will fix it. I appreciate your response
laneharts said:
Good luck man I hope you get it to work...It was my first time with rooting a phone and I didnt think it was too hard except for the time it took to get it all done
Click to expand...
Click to collapse
That's the weird thing. This is my 5th phone I have rooted. Droid 1, 2, X, Incredible and now Thunderbolt. I have used terminal and commands in all of them i think except for the X. I understand what to do I just kept getting that error. I think i will be able to get it now. thanks for posting
longjas said:
perfect. Thanks! i think that will fix it. I appreciate your response
Click to expand...
Click to collapse
This same thing happened to me first time I thought u were supposed to put the exploits onto ur sd card haha
Sent from my ADR6400L using XDA Premium App
wwjdd44 said:
the error msg you are getting is because the files you are trying to push are not in the directory you think they are.
Click to expand...
Click to collapse
THanks I think i will be able to get it now with the help of ISiDeK1CKII and the posts
IISiDeK1CKII said:
Just to confirm, psneuter, busybox and misc.img go into your platform tools folder, not your sd card. You aren't actually pushing anything, and you're receiving that error because there is nothing to push. Now, if you put the files from the exploit folder into your platform tools folder, it will work.
Click to expand...
Click to collapse
That did it! I am officially rooted and i am making my first back up with clockwork. Thanks so much!
I love the forums on xda! I finally have a rooted thunderbolt. Now to decide what rom to load! Hopefully cm7 comes out for the Thunderbolt soon. Loved that on my incredible.
I find myself in the same boat, terminal replies "no such directory"
q: I know that the OP's directions explicitly say to download Android SCK...revision 3 <-- has this changed to just the platform tools?
the reason I ask, I have all the files dl and in the folders that sidek1ck says to, but CANT complete Step 5. Setup terminal for ADB. I open up terminal, type the letters "cd", drag and drop the "platform tools" folder to no avail..."no such directory exists"
I simply CANNOT find where I am going wrong here
Please guide me, as this guide seems to work seemingly flawless for everyone else
Hi
As topic says, it was easy (was a well informed thread) to do on the SGS1.
Now that the SGS2 used EXT partitions and has a different system structure, does anyone know how to do this?
Will love to know.
Thank you!
This should help:
http://forum.xda-developers.com/showthread.php?t=1081239
That helps a bit,
But still, isn't there a way to use "DD" command in adb to dump the files?
Sure, you can use dd from an ADB shell as well, but those raw dd dumps are not directely flashable via Odin - sadly.
For that one would need to do the repacking part of the above linked thread, those .img's should then be flashable via Odin (I have yet to try myself, but I'm interested in this as well, so I might give this a shot over the weekend or so).
Do you know what blocks I need to dump?
Or can you refer me to a list?
If I have the block addresses I could try it myself as well
Here you go:
http://forum.xda-developers.com/showpost.php?p=16058773&postcount=5
My email is [email protected]
Be rooted. Have a computer with adb working, or do this from an android terminal emulator. The instructions are for adb.
The applypatch commands are going to have [] around them to show you what to put, but we not used in the actualy script.
-----------------------------------------------------------------
Code:
adb shell
su
cd sdcard-ext
applypatch [Original Boot.img] [Desired Name of new Boot.img] [A] [B] [C]:[boot.img.p]
-----------------------------------------------------------------
A = Desired Boot.img's Sha-1 sum
B = Size (in bytes) of the desired boot.img
C = Original Boot.img's Sha-1sum
Looking at the updater-script you can see this line of code or something similar for applying the boot.img.p to the phone's boot.img.
You need this as a reference for the SHA-1 sums of the patch and boot.img and desired final boot.img.
//Reference script\\
Code:
assert(apply_patch("MTD:boot:[B]:[C]:[B]:[A]",
"-", [A], [B],
[C], package_extract_file("patch/boot.img.p")));
//Actual script\\
Code:
assert(apply_patch("MTD:boot:8388608:fe086e1f547082c3cf2a5f65dacb81fd232ecd89:8388608:4a7070c32d0312aa48e52e207c7932434bc46cb1",
"-", 4a7070c32d0312aa48e52e207c7932434bc46cb1, 8388608,
fe086e1f547082c3cf2a5f65dacb81fd232ecd89, package_extract_file("patch/boot.img.p")));
Actual commands used to patch D4 .219 fastboot file boot.img with D4 6.16.208 boot.img.p:
------------------------------------------------------------------------------------------
Code:
adb shell
su
cd sdcard-ext
applypatch boot219.img boot208.img 4a7070c32d0312aa48e52e207c7932434bc46cb1 8388608 fe086e1f547082c3cf2a5f65dacb81fd232ecd89:boot208.img.p
------------------------------------------------------------------------------------------
mattlgroff said:
My email is [email protected]
Be rooted. Have a computer with adb working, or do this from an android terminal emulator. The instructions are for adb.
The applypatch commands are going to have [] around them to show you what to put, but we not used in the actualy script.
Click to expand...
Click to collapse
Thank you very much mattlgroff. Our Razr Dev section really need more tutorials as this one.
Excellent !
-- Edit --
Do you mind bringing us a Tutorial to port an ICS system app to make it work in another ICS?
Here's an example: SoundRecorder.app from a Motola GSM ICS leak to Retail.BR GSM ICS 4.0.4
This really worth a really cold beer.
BTW. I can provide you all the files you may need or follow a guide to make it work to upcoming Razr's ICS. I've tools to extract .img, DD's even an app compiler. But I get stuck in signing. framework-res.apk etc.
Reason: Some features are built in some ICS versions but not in others. There's more apps, like SIP native support wich are not present in most ICS 4.0.4. I've tried a few Tutorials, but they aren't that much noob Engineering friendly. lol
Thanks man
pedrotorresfilho said:
Do you mind bringing us a Tutorial to port an ICS system app to make it work in another ICS?
Here's an example: SoundRecorder.app from a Motola GSM ICS leak to Retail.BR GSM ICS 4.0.4
This really worth a really cold beer.
BTW. I can provide you all the files you may need or follow a guide to make it work to upcoming Razr's ICS. I've tools to extract .img, DD's even an app compiler. But I get stuck in signing. framework-res.apk etc.
Reason: Some features are built in some ICS versions but not in others. There's more apps, like SIP native support wich are not present in most ICS 4.0.4. I've tried a few Tutorials, but they aren't that much noob Engineering friendly. lol
Thanks man
Click to expand...
Click to collapse
I've never done any modifications of apk's like this, I'm more into leaks and utilities
I agree that someone should make tutorials on this though. Sharing our knowledge is the best way to not have to repeat trying things that don't work over and over.
mattlgroff said:
I've never done any modifications of apk's like this, I'm more into leaks and utilities
I agree that someone should make tutorials on this though. Sharing our knowledge is the best way to not have to repeat trying things that don't work over and over.
Click to expand...
Click to collapse
Hi mattlgroff!
Do you know a Dev that may help us?
Thanks
pedrotorresfilho said:
Hi mattlgroff!
Do you know a Dev that may help us?
Thanks
Click to expand...
Click to collapse
I don't sorry.
apktool
I thought it was possible to make changes to an apk with apktool and then repack those changes back into original apk so you don't lose signing.
X
xlightwaverx said:
I thought it was possible to make changes to an apk with apktool and then repack those changes back into original apk so you don't lose signing.
X
Click to expand...
Click to collapse
We need to figure out how to check for dependencies on these disassembled APK files.
Also, these applypatch instructions have been posted by whirleyes before: http://forum.xda-developers.com/showpost.php?p=26363001&postcount=2
trying to figure out why manually patching would be necessary, why not just dd the boot.img partition after updating?
Q9Nap said:
trying to figure out why manually patching would be necessary, why not just dd the boot.img partition after updating?
Click to expand...
Click to collapse
If no one who knows how can upgrade to that version. Here on the XT912 Verizon front, barely anyone is left on GB who can help us with this. This way I can pull a leak and flash it within minutes with no external help.
What I am doing wrong? It doesnt work. I get always an error:
"bootxxx.img" is already target; no patch needed.
I did everything like described in the OP.
Edit: My fault. Want to update an older boot.img to the newer one using the boot.img.p, but it doesn't work.
EDIT: It worked. As you said, it shows an error but done it already. Thx!
Hi guys, is there any way to let the patch install with any SHA for the currently installed boot.img ? Magisk messes it up so OTA updates cannot work
Someone mind dumping the bootloader image for this device?
if you are savvy with adb it can be done via rooted adb shell
Code:
dd if=/dev/block/mmcblk0 of=/sdcard/Unbrick_Files/unbrick_sm-g900t.img bs=4096 count=50000
or if you want quick and easy this flashable zip will dump the image, zip it up and put it on your sdcard for faster uploading
http://shabbypenguin.com/getdownload.php?file=Tools/Unbrick-Creator.zip
shabbypenguin said:
Someone mind dumping the bootloader image for this device?
if you are savvy with adb it can be done via rooted adb shell
Code:
dd if=/dev/block/mmcblk0 of=/sdcard/Unbrick_Files/unbrick_sm-g900t.img bs=4096 count=50000
or if you want quick and easy this flashable zip will dump the image, zip it up and put it on your sdcard for faster uploading
http://shabbypenguin.com/getdownload.php?file=Tools/Unbrick-Creator.zip
Click to expand...
Click to collapse
Hey Shabby o/ nice too see a familiar user around. Just moved from sprint. If no one else does it I can do it later =)
Shoulon said:
Hey Shabby o/ nice too see a familiar user around. Just moved from sprint. If no one else does it I can do it later =)
Click to expand...
Click to collapse
Thanks, but im only visiting
i actually moved back to sprint. tmobile has some good deals and its awesome using any gsm device, but signal inside my house is terrible. i hopped on a fellow dev's framily plan so its 25 a month, plus 15 a month for a nexus 5. stinks to be locked to certain devices, but in my area spark is about to light up and at least now im no contract with em .
shabbypenguin said:
Someone mind dumping the bootloader image for this device?
if you are savvy with adb it can be done via rooted adb shell
Code:
dd if=/dev/block/mmcblk0 of=/sdcard/Unbrick_Files/unbrick_sm-g900t.img bs=4096 count=50000
or if you want quick and easy this flashable zip will dump the image, zip it up and put it on your sdcard for faster uploading
http://shabbypenguin.com/getdownload.php?file=Tools/Unbrick-Creator.zip
Click to expand...
Click to collapse
Here you go! http://www.mediafire.com/download/8e1cdcj7dho92b1/unbrick_sm-g900t.img.gz
You making something for us, Shabby?
BLuFeNiX said:
Here you go! http://www.mediafire.com/download/8e1cdcj7dho92b1/unbrick_sm-g900t.img.gz
You making something for us, Shabby?
Click to expand...
Click to collapse
Thanks!, and actually. you just did
this is an image that can be used with sdcard booting and unbrick peoples phones . ill probably bug someone like @mattlgroff to do the writeup tutorial though, hes a bit more known on the TMO side of things.
shabbypenguin said:
Thanks!, and actually. you just did
this is an image that can be used with sdcard booting and unbrick peoples phones . ill probably bug someone like @mattlgroff to do the writeup tutorial though, hes a bit more known on the TMO side of things.
Click to expand...
Click to collapse
Awesome! I can't wait to see what comes of this.
shabbypenguin said:
Thanks!, and actually. you just did
this is an image that can be used with sdcard booting and unbrick peoples phones . ill probably bug someone like @mattlgroff to do the writeup tutorial though, hes a bit more known on the TMO side of things.
Click to expand...
Click to collapse
baiscally woould it work the same way like the N900T SD boot tutorial just use this IMG file i guess??
man if you explain to me i can write it even in spanish
Gracias amigos
what ever became of this?