All credit goes to Ateisti in the I9000 forum.
http://forum.xda-developers.com/showthread.php?t=779803
Attached is my android.policy.jar file I made & should work on the Current deodex system's & all of my Builds as well.
Now, this is 100% my Work based on the Info he supplied, with that being said, if your system uses .odex file, exp.. Stock Rom or any other Rom's based on a .odex file system > this will not work!!!
As Always I recommend backing up the current android.policy.jar before trying.
How-to apply?
adb push android.policy.jar /system/framework
or
Buy Root explorer & copy android.policy.jar then Paste it into /system/framework
Thanks,
~Eugene
Works great men. On hybrid 3.
Barfed from my SGH-T959 using XDA App
Will this work?
Will this work on rooted Vibrant without any custom roms or anything? I didn't flash my Vibrant or do anything to it besides root.
No. It will boot up with the original lock screen. Very cool though
Sent from my vibrant
Will this work on any deodexed rom, or just Eugene's builds? Really cool this is out, thanks!
Running r3 and got infinite fc on phone and everything trying to boot! why??!?
beckhamsoccerman said:
Running r3 and got infinite fc on phone and everything trying to boot! why??!?
Click to expand...
Click to collapse
If you mess with framework while the phone is running you can cause problems. Revert if you can and then do this:
Code:
adb shell stop
THEN
Code:
adb push whatever
and then after you have pushed it successfully do this:
Code:
adb shell reboot
YES!
Flawless. Thanks Eugene.
XDA Mobile
works on the bionix 1.2 rom! Thanks Eugene!
Sent from my SGH-T959 using XDA App
Once again, thanks Eugene!
eugene373 said:
All credit goes to Ateisti in the I9000 forum.
http://forum.xda-developers.com/showthread.php?t=779803
Attached is my android.policy.jar file I made & should work on the Current deodex system's & all of my Builds as well.
As Always I recommend backing up the current android.policy.jar before trying.
How-to apply?
adb push android.policy.jar /system/framework
or
Buy Root explorer & copy android.policy.jar then Paste it into /system/framework
Thanks,
~Eugene
Click to expand...
Click to collapse
Does this overwrite the existing lock/unlock a.p in framework?
Edit.I downloaded to iMac,bluetoothed it to phone,moved it to framework and voila.
Thanks very much Ateisti and Eugene.
Confirmed working on Hybrid + TW v4. http://forum.xda-developers.com/showthread.php?t=779643
Here is the original android.policy.jar to restore: http://www.mediafire.com/?6qn494v6mnq2nph
Works great. Although, I remember it used to go on Vibrant instead of silent. But oh well. Thanks Eugene!
Ha my vibrant gets better and better every day! I hated the stock lock screen, thanks eugene!
Eugene - LOVE this; thank you so much!
Confirmed working on Bionix 1.2, for those interested.
Bugdog said:
Eugene - LOVE this; thank you so much!
Confirmed working on Bionix 1.2, for those interested.
Click to expand...
Click to collapse
after flash first boot may take longer than usual just give it some time, confirmed working
10min later lots of sats showing up (10+), but no locks until now.
Located in Rio de Janeiro, Brazil
Any idea?
*** UPDATE **
sorry, wrong thread
haiishq said:
after flash first boot may take longer than usual just give it some time, confirmed working
Click to expand...
Click to collapse
True; boot was slow and I worried for a quick sec - worked out perfectly. Another reboot and it should be smooth like butter.
The Reason for Slow boots, is since you change the file it's re-building the class file against the app's.
i backed up the original .jar file and replaced it with eugene's using Root Explorer. had trouble after the first and second reboot because it would get stuck on the samsung animation boot up screen. pulled battery out both times. booted the phone in to stock recovery then rebooted from there. for some reason that did the trick lol and now everything runs perfectly, including the new lock screen
that being said, i recommend using the adb push over root explorer lol. i'm on vibrant 9 btw.
Related
This patch is to provide fully deodexed app and framework for users of the new 1.36.605.0 OTA (stock 2.1 Sense).
Nothing has been stripped out or changed, this is completely stock. To be clear, it is NOT a full ROM and will replace your /system/app and /system/framework folders completely. If you have added anything to these directories it will be removed.
As always, you should perform a nandroid backup before applying the patch.
http://www.multiupload.com/HAI18ED91X
<Insert usual disclaimer about not taking responsibility here>.
Worked fine for me. Initial boot took several minutes, so it appears your droid eye is frozen and it also got stuck at the HTC Incredible white screen for a few seconds longer too.
So far only problem The keyboard doesnt work. Get a FC on com.htc.android.htcime
Thanks for providing this.
Can't optipng keyboard folks...it will break it every time.
adrynalyne said:
Can't optipng keyboard folks...it will break it every time.
Click to expand...
Click to collapse
I ran HTC_IME.APK through xUltimate and deodexed it there and it works fine now.
I'll attach it here for everyone, seems to work just fine on my phone now.
just reboot into recovery. I suggest the free app on market called Quick Boot. It has option to boot right to recovery or bootloader.
Put HTC_IME.apk in your tools folder where ADB is located
adb shell
rm /system/app/HTC_IME.apk
exit
adb push HTC_IME.apk /system/app/
Deodexing is fine, the problem is when folks try to use optipng on it.
adrynalyne said:
Deodexing is fine, the problem is when folks try to use optipng on it.
Click to expand...
Click to collapse
Whats optipng?
It compresses the png images inside the apks. A lot of the deodex tools out there optimize (zipalign) and optipng as well.
This allows you to get the performance increase from zipalign, but lowers the size as well.
Zipalign actually increases the size of an apk.
Hi guys this is a MOD for Vibrant ported from i9000 forum (http://forum.xda-developers.com/showthread.php?t=759537) to remove annoying Samsung incremental ringtone "feature"
Update:
Attached file is a Tested Bionix-V CWM update.zip, should work on any deodexed KA7 ROM
Also note you can use this on an odexed rom as long as you delete the phone.odex file.
Click to expand...
Click to collapse
Install instructions:
1. Reboot in recovery.
2. Apply ConstantRT-Phone.zip update.
3. Reboot the phone.
Notes:
-The update clear dalvik-cache to avoid issues (reboot should take a bit longer the first time after applying this).
-If you want to apply Phone.apk manually just extract apk from the zip file and copy over /system/app/ (root needed)
if you want make it for your ROM just follow the following steps.
Thanks to:
s15274n, YetisAreReal, MoWeb and Br1cK'd from think tank thread: http://forum.xda-developers.com/showthread.php?t=863033
the_ozyrys from i9000 forum goes the credits for finding this.
Detailed procedure for making the mod:
0. Download Apk Manager from here: http://forum.xda-developers.com/showthread.php?t=695701
1. Get your Phone.apk (/system/app/Phone.apk) and copy it to apk_manager\place-apk-here-for-modding.
2. Get twframework-res.apk (system/framework/twframework-res.apk) and copy it to apk_manager\place-apk-here-for-modding.
3. Open Apk Manager running Script.bat inside apk_manager folder.
4. Choose option 22 and select the number corresponding to Phone.apk.
4.5. Choose option 19 (compression level) and select 7 (maybe works with 9, i just tried with 7 and worked).
5. Choose option 10 and when asked drag twframework-res.apk to it.
3. Open folder with Phone source (<Apk Manager folder>\projects\Phone.apk\smali\com\android\phone ).
4. Open file Ringer$1.smali with your favourite text editor.
5. Find lines (2 lines) that reads:
Code:
invoke-virtual {v1, v5, v4, v3}, Landroid/media/AudioManager;->setStreamVolume(III)V
6. Delete this lines, save the file.
7. Go back to Apk Manager and choose option 11, when asked if a system apk choose "yes", then when asked if u want to put aditional files say "yes".
8. When "Press any key to continue . . ." appears go to apk_manager\keep\ and remove classes.dex (this is the compiled modified data or something ), then press Enter to finish.
9. Put the phone into Flight mode.
10. Go to apk_manager\place-apk-here-for-modding and push unsignedPhone.apk as Phone.apk into /system/app folder
10.5 Turn Flight mode off and/or reboot the phone to avoid FCs.
11. Enjoy constant-volume ringtones.
Can you give a bit more info about apk_manager? Thank you...
Thanks for making it work was not working no matter what I tried I am guessing the twframework-res.apk had something to do with it. Also note you can use this on an odexed rom as long as you delete the phone.odex file.
dasunsrule32 said:
Can you give a bit more info about apk_manager? Thank you...
Click to expand...
Click to collapse
added Apk Manager link
Man, glad you found the way. Three of us in think tank have been going crazy trying to get this to work. I still haven't tested personally, but will soon.
Edited: would be nice to see a little credit thrown to the three of us that have actually been working on this publically in that think tank. I'm sure you've been following it and learning from our trials, which is what this community is about, but just sayin.
Ginger Clone's of the World Unite! Via the XDA App
Br1cK'd said:
Man, glad you found the way. Three of us in think tank have been going crazy trying to get this to work. I still haven't tested personally, but will soon.
Edited: would be nice to see a little credit thrown to the three of us that have actually been working on this publically in that think tank. I'm sure you've been following it and learning from our trials, which is what this community is about, but just sayin.
Ginger Clone's of the World Unite! Via the XDA App
Click to expand...
Click to collapse
There u go!!!
Muchas gracias senior! I am about to hijack a laptop at the airport and give this a shot. Ok, wrong choice of words, but you get my drift. My apk wil be GingerClone final, I will post my results,and we can get this rolled out to other roms.
Ginger Clone's of the World Unite! Via the XDA App
Thanks Worked like a charm - Nero V3.
d3xt3rlab said:
Hi guys this is a MOD for Vibrant ported from i9000 forum (http://forum.xda-developers.com/showthread.php?t=759537) to remove annoying Samsung incremental ringtone "feature"
Attached file is a Tested Modded Nero V3 ROM Phone.apk, should work on any deodexed JL5 ROM
if you want make it for your ROM just follow the following steps.
Thanks to:
s15274n, YetisAreReal, MoWeb and Br1cK'd from think tank thread: http://forum.xda-developers.com/showthread.php?t=863033
the_ozyrys from i9000 forum goes the credits for finding this.
Detail procedure for making the mod:
0. Download Apk Manager from here: http://forum.xda-developers.com/showthread.php?t=695701
1. Get your Phone.apk (/system/app/Phone.apk) and copy it to apk_manager\place-apk-here-for-modding.
2. Get twframework-res.apk (system/framework/twframework-res.apk) and copy it to apk_manager\place-apk-here-for-modding.
3. Open Apk Manager running Script.bat inside apk_manager folder.
4. Choose option 22 and select the number corresponding to Phone.apk.
4.5. Choose option 19 (compression level) and select 7 (maybe works with 9, i just tried with 7 and worked).
5. Choose option 10 and when asked drag twframework-res.apk to it.
3. Open folder with Phone source (<Apk Manager folder>\projects\Phone.apk\smali\com\android\phone ).
4. Open file Ringer$1.smali with your favourite text editor.
5. Find lines (2 lines) that reads:
Code:
invoke-virtual {v1, v5, v4, v3}, Landroid/media/AudioManager;->setStreamVolume(III)V
6. Delete this lines, save the file.
7. Go back to Apk Manager and choose option 11, when asked if a system apk choose "yes", then when asked if u want to put aditional files say "yes".
8. When "Press any key to continue . . ." appears go to apk_manager\keep\ and remove classes.dex (this is the compiled modified data or something ), then press Enter to finish.
9. Put the phone into Flight mode.
10. Go to apk_manager\place-apk-here-for-modding and push unsignedPhone.apk as Phone.apk into /system/app folder
10.5 Turn Flight mode off and/or reboot the phone to avoid FCs.
11. Enjoy constant-volume ringtones.
Click to expand...
Click to collapse
DUDE!!!! It's alive, it's alive. Nice tutorial.
I hit the thanks button and for Br1cK'd also because he tried to help me.
I assume I need to adb push this to install it?
beren28 said:
I assume I need to adb push this to install it?
Click to expand...
Click to collapse
Or you can use root explorer and just copy it over from the SD card. Remember to enable flight mode first and reboot.
Once in a great while flight delays are a good thing. Was able to bribe a very nice person at the bar fir use of their laptop in exchange for drinks. Gave this bad boy anothr run, and after more than a few frustrating days of fc's and this not working, it finally works!
Big thanks to all who collaborated in getting this to the Vibrant. s15274n, Yetis, MoWeb, d3xt3r, it took us a little bit to figure it out, but we got it. Of course all credit goes to the_ozyrys who found the original fix for the i-9000.
I do think that deleting the classes.dex when compiling as a system app is the key. I followed the steps in the op, only thing I did differently was decompile with option 9 instead of 10, and didnt need the dependencies that way. Recompiled as a system app, keeping all but the classes.dex. Went to flight mode, then renamed my original phone.apk from system/app, and pushed the file as per the op. Basically I did everything the same accept for using option 9 to decompile. This works perfectly. No fc's, and on any volume level I have a steady ringer.
I can't post the apk right now, thought I'd be able to if I logged onto the website rather than the app from my phone, no dice, but I will post it the first chance I get.
*********
Edited: APK attached, this is only known to work on GingerClone Final, build date 12/21. Repeat, I made this from GingerClone, and it may not, probably won't, work for other roms. Backup your files as always. Not with this apk, but I have been stuck in an fc loop with previous attempts and needed to push the stock one via adb, probably won't happen, but a word to the wise.
Can we get a easier way to install this mod? My computer is toast and only able to do things directly on my phone
Sent from my SGH-T959 using XDA App
Vinsane said:
Can we get a easier way to install this mod? My computer is toast and only able to do things directly on my phone
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
Its a rom specific mod as per the i9000 thread. And a new one would need to be made for each rom to match changes made to the respective roms and frameworks. Its not a one size fits all mod. D3xt3r posted one for jl5, specifically nero v3, if that matches your rom you can move it over using your favorite root explorer app directly from your phone.
Ginger Clone's of the World Unite! Via the XDA App
that's kinda funny... my friend disliked my phone because of the volume increasing "feature". if this works, i wonder what he'll say lol
Br1cK'd said:
Its a rom specific mod as per the i9000 thread. And a new one would need to be made for each rom to match changes made to the respective roms and frameworks. Its not a one size fits all mod. Dext3r posted one for jl5, specifically nero v3, if that matches your rom you can move it over using your favorite root explorer app directly from your phone.
I have Nero V3. So just download the apk and install using astro?
Sorry for the noob questions. Just don't want to screw anything up.
Ginger Clone's of the World Unite! Via the XDA App
Click to expand...
Click to collapse
Sent from my Galaxy S via XDA App
Vinsane said:
Sent from my Galaxy S via XDA App
Click to expand...
Click to collapse
Yes you should be able to download his .apk and use it since you are on the same rom. Here is mine for stock JL5 odex/deodex.
Anyone do this for stock JL5?
I am using the attached Phone.apk from Post #1 for Nero V3.The only FC I get is when in Settings->Wireless and network-> selecting Mobile network= FC
EDIT: sorry the FC had nothing to do with the Phone.apk. It was due to the throttle mod I had.
This was running great when I installed it yesterday. Then today I kept getting dropped calls and FC's. I've since reverted and everything is fine. Can't figure out why it worked for a day then decided to give problems.
Running Nero v3 JL5
this script is based on the work to Danesham90 and others see link
http://forum.xda-developers.com/showthread.php?t=598026
===============================================================================
Tested on the Samsung Vibrant, Script may need modification for other phones
===============================================================================
===============================================================================
Directions:
===============================================================================
the easy way:
1. turn on USB debugging
2. plug phone in to computer
3. run the script and follow the screen pormpts
the script will download everything needed to make a
signed deodexed clockwork flashable update.zip while also
adding root and the modified 3e recovery in the proccess.
===============================================================================
the hard way:
http://forum.xda-developers.com/showpost.php?p=10986893&postcount=28
================================================== =============================
Code:
/* This program is free software. It comes without any warranty, to
* the extent permitted by applicable law. You can redistribute it
* and/or modify it under the terms of the Do What The **** You Want
* To Public License, Version 2, as published by Sam Hocevar. See
* http://sam.zoy.org/wtfpl/COPYING for more details. */
UPDATED 02/03/2010
bug fix to signupdate.jar
clockwork script tweeks
UPDATED 02/02/2011
added upload to ROM to SDCard
added reboot recovery
added test sign all apk's in ROM - see README for details
added pull "/data/app/" and install "/data/app"
UPDATED 02/01/2011
added adb on by default toggle
added data wipe toggle
updated smali/baksmali to 1.2.6
UPDATED 01/31/2011
updated adb
fix similar filename deletion when using delete.txt
added barebones_delete.txt deletes everything that
does not cause phone to crash
UPDATED 01/29/2011
add "symlink dumpstate SYSTEM:bin/dumpmesg" to update-script.
add "symlink debuggerd SYSTEM:bin/csview" to update-script.
completed secondary method to make ROM from extracted Odin files.
see this post for instructions
http://forum.xda-developers.com/showpost.php?p=10986893&postcount=28
UPDATED 01/28/2011
added auto delete apk's (bloat removal), edit bin/example_delete.txt and rename to delete.txt
added auto add apk's (pre-install or update apk's) add apk's to bin/apks directory
UPDATED 01/23/2011
fix path error when space in user name
UPDATED 01/22/2011
updated TempRoot.exe to not trigger anti-virus
updated Superuser.apk
This is fantastic! Thank you for always making things a little less troublesome.
Oooops, last minute change broke something, fixed and re-uploaded.
untermensch said:
Oooops, last minute change broke something, fixed and re-uploaded.
Click to expand...
Click to collapse
Thanks for the heads up. I was just testing this on KA5 for funsies. It looked like it went ok but there was a prob with temp root at the beginning and it looked like a few java errors at the end. I'll re-download and give it another go.
Edit: Ah, looks like it's working now. Temp root worked and it downloaded the modem and kernel.
Edit2: So it looked as though everything worked fine, but when I went to install it I got
E:Can't symlink /system/bin/cat
E:Failure at line15:
symlink toolbox SYSTEM:bin/cat
Installation aborted.
Whitehawkx said:
Thanks for the heads up. I was just testing this on KA5 for funsies. It looked like it went ok but there was a prob with temp root at the beginning and it looked like a few java errors at the end. I'll re-download and give it another go.
Edit: Ah, looks like it's working now. Temp root worked and it downloaded the modem and kernel.
Click to expand...
Click to collapse
I just tested on my laptop and got a java out of memory error
while signing the rom so I increased the heap size which seems
to have fixed it.
untermensch said:
I just tested on my laptop and got a java out of memory error
while signing the rom so I increased the heap size which seems
to have fixed it.
Click to expand...
Click to collapse
Yea I got the same thing as well. Thanks again, will give it another go.
Update: The process was more in-depth when deodexing. Signing went through np and when I flashed through clockwork it worked (goodbye splash screen!). There must be some issue with KA5 though. It got through to the Galaxy S screen and then started vibrating and then blackscreen. T_T
Thank god for this.. (Deodexer)
Thanks untermensch, your the best
Really really appreciate this. Thanks a bunch!
Most useful tool EVAR!
I T W O R K E D~!
My final attempt last night did not shoot out the "signed_ROM.zip" at the end. I ran it again this morning on KA5 and when it finished I had the signed_ROM.zip in the folder. Put that on my internal, flashed through clockwork and viola! Doedexed KA5 with root and modded 3e recovery. I can't thank you enough Untermensch for putting this together for everyone.
"Give a man fish feed him for a day. Provide him with tools to fish and feed him for a lifetime." (Yea I tweaked it but you get the idea!)
I noticed one thing. During the deodexing process I got [null] on one file in the core.odex. After it had all finished up I looked in the framework folder and core.odex was still there. So am I correct in assuming that it did not doedex properly? Other than that everything else looks golden.
Oh this is sick. i was looking for this all day the otherday when i was trying to deodex ka5! you rock and rule. i cant wait to explore the possiblities!
Whitehawkx said:
I noticed one thing. During the deodexing process I got [null] on one file in the core.odex. After it had all finished up I looked in the framework folder and core.odex was still there. So am I correct in assuming that it did not doedex properly? Other than that everything else looks golden.
Click to expand...
Click to collapse
I deleted the core.odex file and rebooted just to see what would happen and it soft bricked and is stuck at the Vibrant screen. So it seems the only issue lies in deodexing the core.jar at this point.
can i use this to port a rom? forgive me if that is a noob question. just wanted to know if i had the right idea...
Whitehawkx said:
I noticed one thing. During the deodexing process I got [null] on one file in the core.odex. After it had all finished up I looked in the framework folder and core.odex was still there. So am I correct in assuming that it did not doedex properly? Other than that everything else looks golden.
Click to expand...
Click to collapse
yep that was an baksmali error, likely you could run the script again and it
would baksmali OK.
this script is a real system stress test, any way I increased the java maxmem
setting for framework files to 1024m added error logging and the script will
now stop if there is an error. hopefully to prevent a broken ROM from being
released.
Whitehawkx said:
I deleted the core.odex file and rebooted just to see what would happen and it soft bricked and is stuck at the Vibrant screen. So it seems the only issue lies in deodexing the core.jar at this point.
Click to expand...
Click to collapse
can you reproduce this error? I have seen it once but cant reproduce it
untermensch said:
yep that was an baksmali error, likely you could run the script again and it
would baksmali OK.
this script is a real system stress test, any way I increased the java maxmem
setting for framework files to 1024m added error logging and the script will
now stop if there is an error. hopefully to prevent a broken ROM from being
released.
Click to expand...
Click to collapse
untermensch said:
can you reproduce this error? I have seen it once but cant reproduce it
Click to expand...
Click to collapse
Pretty sure the core.odex [null] error I got happened every time I ran the program. I ran it once after the 1:25am update and it happened. That is also the time it did not produce the signed_ROM.zip. I ran it again this morning after I saw the OP had been updated and it did produce the signed_ROM.zip but I still got the [null] error on core.odex. I'm going to Odin KA5 and do it again right now. I will let you know how it works out.
On a side note. I flashed the one I recieved this morning with everything being deodexed except the core.jar and it ran great until I deleted the odex file. Anywho, will test now. Also, not sure if this matters but I am running 32-bit Windows 7.
Update1: Initial news is good. Core.jar was deodexed properly with no errors. Will let you know how the entire process fairs once its completed.
Worked perfectly. I got no errors and everything deodexed properly. Flashed it on my phone and it's running just fine. You are awesome.
Thanks for retesting, glad it worked, there are thousands of files being generated
an lots of java processes being spawned so there are bound to be an occasional
error. I have added an automatic retry when there is an error to the next version
should be posted some time tomorrow.
I'm about 3/4 the way through testing this out - it seems to be working just fine with the exception that every command is appended with "ATTRIB" is not recognized as...
Hopefully it will work anyway.
One thing I noticed that might speed the script up in the beginning would be a root check, I have already rooted this rom but it still needed to run rageagainstthecage.
I've been looking for something like this forever now, thanks so much! Can't wait to play with it.
Sent from my SGH-T959 using Tapatalk
For Windows users, I've created a script based on designgear's thread on steps for recovery from a soft brick.
designgear's original thread on soft brick recovery:
http://forum.xda-developers.com/showthread.php?t=966405
-----
This script is all-inclusive. It will temp. root (no need to use SuperOneClick), create a /data/recovery folder, push services.jar, framework.jar, and framework-res.apk to the /data/recovery folder, and then copy them to /system/framework
Instructions:
USB debugging needs to be ON.
Unpackage the .7z archive
Execute "Run Me - Atrix Soft Brick Recovery"
Let the script run, and wait for the phone to reboot.
(Reboot might take a few moments, leave your phone alone and wait it out!)
Download:
Temporarily Removed. Will return soon...
Thanks go out to:
designgears
PAulyh0ffman
YellowGTO
Standard disclaimer...,yada yada yada, Use this at your own risk.
nice work, ill be a little for adventurous with snooping around the /system and trying to get rid of motoblur.
Good job, hope i won't need it
Awesome work. If this is not stickied, moderator please do so. I thank everyone involved. DG, I'm sorry to see you go. I thank you for your involvement thus far and any future help you contribute.
Sent from my MB860 using XDA App
added to the sticky
How do i use it, if my phone is stuck in the "M" screen?
Tried to run while in Early USB enumeration - didn't work.
Any other option from recovery / fast boot / SRD - that may work to un-brick?
Thanks in advance
The best way I can figure is to force the phone out from the moto screen. Put the phone into early usb enumeration. using Adeo0.7z click install as soon as the phone mounts. That got my phone to boot up yesterday. Once you hit the power button, to lock or turn off, reboot. It'll just go back to the moto screen and hang.
Sent from my MB860 using XDA App
tomerbn said:
How do i use it, if my phone is stuck in the "M" screen?
Tried to run while in Early USB enumeration - didn't work.
Any other option from recovery / fast boot / SRD - that may work to un-brick?
Thanks in advance
Click to expand...
Click to collapse
It looks like I'm having a problem with the shell root.
---
Use this temporary solution (which utilizes SuperOneClick), until I can get a chance to fix things.
1. Download SuperOneClick from shortfuse's site: http://www.shortfuse.org/
2. Download my temp script, and unpack
3. Unpackage and run SuperOneClick
4. Boot the Atrix into FastBoot, and enable Early USB enumeration
5. When you see "Reading ODM fuse: 1", plug your phone into the computer and run Shell Root with SuperOneClick
6. Once rooted, run the temp script "Run Me - Atrix Soft Brick No Root"
Your phone will boot into Android, and then reboot. Leave things alone until that reboot happens, and you no longer have the blinking red light.
Download:
Temporarily Removed. Will return soon...
Sorry 'bout this, I hope to get my original script fixed asap.
I used this script because I wanted my stock notification bar back so I used it. However I followed the instructions from the previous post and it still gave me a boot loop. I figured out that there was something with the services.jar and the framework.jar in the 7z file because I used those files the manual way and it still looped. So i replaced those files with these here http://hotfile.com/dl/108780455/13cd9f6/recoveryfiles.zip.html and it worked!
I just checked both scripts, and MD5 is verified against retail dump:
Blur_Version.4.1.26.MB860.ATT.en.US
If you pushed a different working file, can you send it to me so I can look at? I've ran pushed these framework files multiple times to my phone now.
Thanks,
olieebur said:
I used this script because I wanted my stock notification bar back so I used it. However I followed the instructions from the previous post and it still gave me a boot loop. I figured out that there was something with the services.jar and the framework.jar in the 7z file because I used those files the manual way and it still looped. So i replaced those files with these here http://hotfile.com/dl/108780455/13cd9f6/recoveryfiles.zip.html and it worked!
Click to expand...
Click to collapse
MD5 from my phone & Odexed Retail Dump
Framework:
9E59AA29AD0C068B52D966BF7F82F8DE
Framework-res.apk
8DA2B8AFE971C23E65C94B316BFEAFDD
Services.jar
5AD492B7C1B82A10ECA2A406FE4C8A70
Yours
Framework:
CE777AA13FEBE9B7438D99A045D93335
Framework-res.apk
8DA2B8AFE971C23E65C94B316BFEAFDD
Services.jar
5AD492B7C1B82A10ECA2A406FE4C8A70
Is there anything special with your phone that you've done?
EDIT:
I've redownloaded the Odexed retail dumped, and checked my files again & they match.
http://ponack.net/designgears/atrix/dumps/
Turns out the services.jar was fine. The framework seemed to be the problem. The only thing that didn't match was the framework Don't think I did anything different to my phone.
Sent from my MB860 using XDA App
Just pulled both downloads for now until I can look into this. Like I had mentioned before, my framework.jar matches the retail dump...? Going to collect some other framework.jar and see what I can find...
How do you turn on debugging? My .7z is Chrome7z. Is this sufficient? Where do I go to execute "Run Me - Atrix Soft Brick Recovery?"
norcal einstein said:
Just pulled both downloads for now until I can look into this. Like I had mentioned before, my framework.jar matches the retail dump...? Going to collect some other framework.jar and see what I can find...
Click to expand...
Click to collapse
I soft bricked my bell atrix...can you post ur scrit so i can try to run it??
Thanks
Any chance this thread gets updated?
demens13 said:
Any chance this thread gets updated?
Click to expand...
Click to collapse
i guess not???
Hello when are ou going to return the download links ?
manyelski said:
Hello when are ou going to return the download links ?
Click to expand...
Click to collapse
Wtf?!?! This threads over a year old... why the hell would you post here?
Sent from my CM7 Atrix 4G
I was wondering how I could edit the framework-res.apk (it can be found in the /system/framework directory) file and not brick my phone, I've tried putting a modified version
in a signed zip file that was supposed to be for that very purpose, a stock update.zip for getting rc29 to 1.5(and yes, I did flash my phone back to rc29) and I recently tried to just take a file manager in root mode and copy-paste-overwrite, but I just soft-bricked my phone halfway into the process, probably because it was still mounted
P.S. I did mount the /system directory as rw
my phone:htc dream,no 2g-3g contract(wifi only),rooted (universal androot),stock 1.6 drc83(but I can get it to rc29,1.5 and crc43; at least I think thats the name of the second update),stock recovery,superuser elite+superuser- latest, su binary- latest, busybox- latest binary, and about 5000 scratches.
--edit-- can also get cyanogen recovery,and root through cm 4.1.99, and cm4.2.15.1.
So is your goal to root your g1? Have you followed any guides to root? Can you give just a bit more detail of end goal and a bit confused about what os you are currently running. Also its nice to get all info from bootloader screen
Sent from my HTC Vision using xda premium
reply
demkantor said:
So is your goal to root your g1? Have you followed any guides to root? Can you give just a bit more detail of end goal and a bit confused about what os you are currently running. Also its nice to get all info from bootloader screen
Sent from my HTC Vision using xda premium
Click to expand...
Click to collapse
I've actually already got cyanogenmod 4.2.15 on it so rooting isn't really an issue right now.
What I really want to do is theme my phone, because I really like the ICS buttons and black statusbar - but I want to wait until I'm more experienced
before I try to port cm7 to the g1 (as far as I know, cm7 is the first cyanogenmod to support themes).
P.S. since this is being sent from my g1 - I can't currently post my bootloader info; but I will as soon as I can.
Also. I want to know how I can sign the framework-res.apk after changing it to my satisfaction.
Sorry, reading my last post (although 2months old) I must have been trying to reply to someone else
You don't need to sign the framework-res
Just decompile with apktool, make changes, recompile (make sure to add the metainf and manifest from original back in) then you can create a flashable.zip to flash it and chmod, or add it to a ROM and sign the ROM or use adb when in recovery to push it and change permissions
Sent from my Nexus 4 using Tapatalk 2
demkantor said:
Sorry, reading my last post (although 2months old) I must have been trying to reply to someone else
You don't need to sign the framework-res
Just decompile with apktool, make changes, recompile (make sure to add the metainf and manifest from original back in) then you can create a flashable.zip to flash it and chmod, or add it to a ROM and sign the ROM or use adb when in recovery to push it and change permissions
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
How would I sign the rom if I put it in one?
Apktool gives me errors when I try to recompile.
Ninjamorph from the market makes the changes, but they don't take hold.
P.S. perfect timing with the reply, as I posted my reply only about 45 min. ago!
If there are errors recompiling write those down and I'll take a look, as for as signing the ROM there are many ways, I use signapk for windows and one that amonra made for Linux, just Google search sign ROM android and you'll find many ways
Sent from my Nexus 4 using Tapatalk 2
Is there any posibility that I could just send you the rom I want to mod & a zipped folder containing a modified framework-res, and have you recompile/sign it? I just don't want to brick my phone. Thanks in advance!
If its a ROM for the g1 I already have it, how about just sending me your modded apk along with a link to the ROM and I'll make you a flashable.zip to install
And FYI, this isn't something that could brick your phone, recovery wouldn't be effected so worst scenario is you would end up in a bootloop
Sent from my Nexus 4 using Tapatalk 2
The rom is cyanogenmod 4.2.15.1 and I can't quite remember the link, but I'll post a zip with the frmwrk-rs and my email. Thanks in advance for the help!!
Here is a zip folder with the extracted/modified framework-res, if you don't have the rom I mentioned then ask for it in a comment.View attachment framework-res.zip
Sure, I'll take a look when I get home
Sent from my Nexus 4 using Tapatalk 2
demkantor said:
Sure, I'll take a look when I get home
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Thanks! Once you've signed/recompiled it, send the rom to me as a google drive/google docs file at [email protected] (or, if you know another better method, tell me) and I'll test it.
ok so finally got to a pc,
here you go
havent tested it at all, it recompiled but there was an issues with
framework-res\build\apk\res\drawable-land\Thumbs.db'
and
framework-res\build\apk\res\drawable\Thumbs.db
they were skipped but the rom should flash and whatever mods you made should be present other that this, dont have time to peek around and see what you did
demkantor said:
ok so finally got to a pc,
here you go
havent tested it at all, it recompiled but there was an issues with
framework-res\build\apk\res\drawable-land\Thumbs.db'
and
framework-res\build\apk\res\drawable\Thumbs.db
they were skipped but the rom should flash and whatever mods you made should be present other that this, dont have time to peek around and see what you did
Click to expand...
Click to collapse
Thank you so much for your time!
downloading......................
.......................complete!
flashing......
DREAMWAVE_devteam said:
Thank you so much for your time!
downloading......................
.......................complete!
flashing......
Click to expand...
Click to collapse
--edit-- (the best I can recall it saying)
finding update
opening update
verifying update
failed no verification (352 files)
update failed
installation aborted
Does the ROM flash for you with you current setup before the edited framework-res? What I mean, if you were to flash the update-cm4.... (Whatever the name) right now it flashes correct? With your current SPL, radio, and recovery. The only thing I did was recompile your framework-res, swap it with the one from the ROM you mentioned, rezipped and signed the ROM
I can't think of any edits you could have made to framework-res that wouldn't allow you to at least flash the ROM, may get stuck in a boot loop or never boot, but the ROM should flash
Sent from my Nexus 4 using Tapatalk 2
I looked inside the rom you sent me, and I didn't recognize any of it.
this is a link to the rom I got the framework-res from:
http://code.google.com/p/cyanogen-u...pdate-cm-4.2.15.1-signed.zip&can=1&q=4.2.15.1
from what I saw, the one you sent me looks more like a flash image than an update.zip,
if you look inside the one that I was talking about, it looks more like an ota, and I can flash it in cyanogen+jf 1.4 recovery which I got
from the flashrec app (not on google play anymore, from internet only).
I don't know if an unmodified version of the rom you sent me would flash, but the one you sent me seems to have problems in general.
No errors that would point specifically to the framework-res are appearing.
Here are the files that I modified: View attachment 2212696, decompile your own framework and paste/overwrite the contents over the contents of the res\drawable directory in the framework-res.apk.
I'm pretty sure that's the same ROM I installed you apk into, I'll be home shortly and take a look again, could have made a mistake
Sent from my Nexus 4 using Tapatalk 2
This rom that you gave me is about 10mb larger than the one I use, and takes 30 seconds to load in recovery and freezes everything momentarily.
@DREAMWAVE_devteam
yeah same rom, even checked SHA1 to make sure (with the ROM before i added your framework-res)
which is 1604kb compared with 5589kb of the original. so whatever was changed is what wont allow it to work
can you just quick go over how you decompiled and what changes you made, i know you linked something and ill look at it but i dont have a ton of time to dig right now so a brief overview would be nice