Related
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
how do you add different icons into the status bar
Use an app called metamorph. You can modify the framework...and that's the status bar icons
Tbolt meatclaws via talkatap
Go to uot.dakra.lt/kitchen and make one for yourself. You can edit the colors and much more. All you need is your ROMs framework-res.apk.
Get the framework.apk from the rom your using (/system/framework/framework-res.apk) and from the theme that has the icons you want, then use 7-zip to get into the framework res apk / drawable (drawable-hdpi) folder and swap out the .png files that you want to change. Make sure the new file has the same name as the one you are replacing.
You'll have to copy the .png files onto your desktop to view them and get familiar with the apk folders, it's not difficult.
Close the framework-res.apk in 7-zip, no need to re-sign it, and push it back onto your phone.
reboot.
or Ninjamorph.
is the methods described only for custom roms? im running stock rom...
any apps u guys recommend that use the least amount resources?
update....I just installed this: http://forum.xda-developers.com/showthread.php?p=8639993
is editing framework-res.apk a better solution? im just looking for least amount battery consumption...thank u kind sirs
adding the circle battery was the first thing I did on stock rooted ROM...it's easy to do again if you change ROMs.
IISiDeK1CKII said:
Go to uot.dakra.lt/kitchen and make one for yourself. You can edit the colors and much more. All you need is your ROMs framework-res.apk.
Click to expand...
Click to collapse
So easy! Thanks!
IISiDeK1CKII said:
Go to uot.dakra.lt/kitchen and make one for yourself. You can edit the colors and much more. All you need is your ROMs framework-res.apk.
Click to expand...
Click to collapse
I had no idea there was a kitchen like this available without the nasty coding.
Thanks very much!
do you have to be rooted to use this
OK I just tried this. After I flashed the .zip I got a TON of force closes from various places. Browser, google search, some others, right when the phone booted. I followed the directions and extracted and uploaded my ROM. the only options I wanted to flash were the circle battery and the bootanimation. The bootanimation and circle battery did show up, but after it booted there were just way too many force closes.
Can anyone help on what I need to do?
First thing I always do out of habit is go into CW, clear cache, clear dalvik cache, then reinstall my zip. Takes care of most FC issues.
ZuneNinja! said:
OK I just tried this. After I flashed the .zip I got a TON of force closes from various places. Browser, google search, some others, right when the phone booted. I followed the directions and extracted and uploaded my ROM. the only options I wanted to flash were the circle battery and the bootanimation. The bootanimation and circle battery did show up, but after it booted there were just way too many force closes.
Can anyone help on what I need to do?
Click to expand...
Click to collapse
Sent from my ADR6400L using XDA Premium App
I want to try the UOT Kitchen but I can't confirm if the stock TB rom is odexed or deodexed. I am a newb, been looking for an answer, but I can't find one.
**UPDATE** So I been browsing my rom files and ive seen some .odex files. I think this means its an odexed rom and can't be used with the kitchen. Is that correct?
all confusing to me! haha
I have done quite a few mods to the graphics in the Framework, including the battery one here. My question is that every time I push the framework back and reboot. I have to re-setup a few things (i.e. passwords) and clear contacts and resync. Is this normal or am I doing something wrong? Thanks for any help anyone may have.
Stock rom is odex. You can download plainjane rom that is deodex stock and rooted.
tbtaf said:
Stock rom is odex. You can download plainjane rom that is deodex stock and rooted.
Click to expand...
Click to collapse
Thanks, I'm actually doing that now
Many users are frustrated by 4.0.3+ AOSP ROMs, as from Android ICS & JB AOSP ROMs there is no Facebook Contacts SYNC.
Well after much drooling and browsing I finally found a way to enable this.:victory:
As stated on website --> http://niranjanthilak.com/facebook-sync-for-android-ics-devices/
and on --> http://www.modaco.com/page/news/_/a...sync-in-ice-cream-sandwich-r140#commentsStart
So, go on at these websites and try youself.:good:
Here, I'm Attaching a modded "ContactsProvider.apk" file that i used, in my CM10 ROM (dated:20121014)
FYI :: First rename file "root//system/app/ContactsProvider.apk" to "ContactsProvider.bak", then delete or rename "root//data/data/com.android.provider.contacts/databases/contacts2.db". Now copy provided "ContactsProvider.apk" to "root//system/app" folder, change permission to 644 and restart the device wait some time for data to sync.
P.S. :; I'm not responsible for data loss, do this on your gut.
Thnkx
If one doesnt wanna share their info with third party apps like HaxSync or FBcontactsync.
There is a great app and info about how to make it by Recognized Developer Deadknight.
Here is the link --> http://forum.xda-developers.com/showthread.php?t=1731298
No go for me. How did you modify your apk file? When I baksmali'd mine, I didn't see a res/variables folder at all like was suggested in the original guide on how to do this. Tried adding it, but ended up with the same thing I get from your file - FC's and no contacts
Thanks. I tried both the given file and the steps. No go.
NegativeOne said:
Thanks. I tried both the given file and the steps. No go.
Click to expand...
Click to collapse
Haha I never tried it but yeah ... You should stay here and wait for OP's reply though .
have you changed the permission to 644 thats -rw-r--r--
Sent from my GT-I9100G
Just to be sure .. before doing above step try switching off wifi and data network, and remember to change permission, thn restart
Sent from my GT-I9100G
so:
1) rename original
2) disable all data (airplane mode)
3) delete contacts2.db
4) paste new file in and set permissions.
Sadly, still no good. get FC's in all my apps that use contacts.
You can't just use the modified apk...instead, using the guide and make the necessary changes...the modded apk was not for every ROM...
Ok...to add some details:
For ContactsProvider APK, the file
in question is res/values/arrays.xml
To gain access to this, you must decompile with apktool, not baksmali...
The file provided was for CM10, was it not? I'm running CM10 - the only difference is I'm actually on a Galaxy S3. I've tried with the guide but have met with similar ends.
Only difference is - when I tried manually I did not set my file permissions to 644.
Working like charm mate ...
Thanks a lot ...
I have GT-I9100G
The contacts synchronized smoothly but their pics and birthday aren't synchronized...
ROM : CodeBox 1.6.0 Official
Kernel : Horsepower 3.1.0-Fuss
If you like my post then please hit the button thanks ...
NegativeOne said:
The file provided was for CM10, was it not? I'm running CM10 - the only difference is I'm actually on a Galaxy S3. I've tried with the guide but have met with similar ends.
Only difference is - when I tried manually I did not set my file permissions to 644.
Click to expand...
Click to collapse
Hmm...I'm not sure whether all cm system apps will work on any phone...May have certain dependencies...that's why i asked you too mod yourself...did you modify the database (2nd step) or just merely the first step? And by the way, all system apps must have their permissions set to 644 or rw-r--r--...
I thought this one required you to simply delete your contacts2.db instead of modifying it, no?
NegativeOne said:
I thought this one required you to simply delete your contacts2.db instead of modifying it, no?
Click to expand...
Click to collapse
Nope...the first guide actually taught on how to modify...to me, modifying is better than deleting...
yes thats right
Sent from my GT-I9100G
try doing disassembly through apktool .. and doing whats needed to be done .. wish u luck
http://code.google.com/p/android-apktool/
Sent from my GT-I9100G
for pics .. u can use facebook contact sync app
Sent from my GT-I9100G
s3 system files have different dependencies and so for that u hav to do it yourself.
Sent from my GT-I9100G
well if you .. change the lines in smali codes where columns are first initiated thn thr is no need to modify contacts2.db file
Sent from my GT-I9100G
Thanks guys. I'm going to try this. I've been trying to use the xdaAutoTool wrapper for apktool, and I'm not 100% sure I'm doing it right.
What do I need to do to make sure that it loads the correct framework-res.apk for resource dependencies? I did "install other" and pointed it to the file, but it says "No Framework installed".
If someone could point me to a guide for raw apktool that includes signing the apk (which I understand I must do) and loading a framework dependency, that would work too. Thanks in advance!
My Galaxy Tab 7 P1000 was originally running clockwork 3.X... and I just tried to install clockwork 5... and after installation, the device keeps staying at the boot screen. And when I go to recovery mode, the 'HOME' button doesn't work.... :crying::crying:
How can I fixed this brick back to a normal tab?
The usual.
Use overcome method.
Follow my signature.
Sent from my GT-P1000 using xda app-developers app
priyana said:
The usual.
Use overcome method.
Follow my signature.
Sent from my GT-P1000 using xda app-developers app
Click to expand...
Click to collapse
Hey Dude,
Thanks for your reply. I will try it out tomorrow and hope it works on my stupid tab.
By the way, 1 more question. Before reading your reply, I tried to install CWM-based recovery 5.0.2.8 again and tried to install CM9.x on the tab, but not matter which version I used, (P1000, 1000L, 1000N), all of them gave me 'assert failed getprop( ro.product.device ) galaxytab...'. It sounds that the ROM installation file couldn't recognize my P1000 tab.....do you have any idea on how come my device couldn't be recognized.
I'm not sure what exactly has happened in these cases, but it's clear some information, some kind of ID perhaps, somehow has been removed or corrupted. I've seen it myself, but luckily there's fix. When you install a ROM, the first command of updater-script in folder META-INF is an assert statement. This statement tests what Tab you have, and aborts if it's not the right one. Now, if you get an assert error and you're positive you've got the right ROM for the Tab, you can disable the check and it will install the ROM. Even if it's the wrong one! You open the ZIP, edit updater-script and remove the assert statement. It's best to open the ZIP, and not unpack and repack it. And to modify some ZIPs you will have to use Linux, because Windows can't handle those ZIPs.
Thx X 1000000000000000000000000
ableeker said:
I'm not sure what exactly has happened in these cases, but it's clear some information, some kind of ID perhaps, somehow has been removed or corrupted. I've seen it myself, but luckily there's fix. When you install a ROM, the first command of updater-script in folder META-INF is an assert statement. This statement tests what Tab you have, and aborts if it's not the right one. Now, if you get an assert error and you're positive you've got the right ROM for the Tab, you can disable the check and it will install the ROM. Even if it's the wrong one! You open the ZIP, edit updater-script and remove the assert statement. It's best to open the ZIP, and not unpack and repack it. And to modify some ZIPs you will have to use Linux, because Windows can't handle those ZIPs.
Click to expand...
Click to collapse
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