Do I need to unroot for the Soak test? - Motorola Atrix 2

I'm planning on joining the soak test (I have the invite and survey already done) and it was recommended that I reset my phone before the test sense I have it rooted.
This essentially gives me 3 options
As-Is, leave the root, busybox, and my mods on the phone (apn changes and some build.prop changes but not those that mis-identify the phone, nothing major) and hope for the best.
Unroot, uninstall root needed apps like busybox and update
Factory Reset, Recommended by Motorola but it'd take some time to rebuild the settings how I like them
Which option?
Thanks!

SaratogaCx said:
I'm planning on joining the soak test (I have the invite and survey already done) and it was recommended that I reset my phone before the test sense I have it rooted.
This essentially gives me 3 options
As-Is, leave the root, busybox, and my mods on the phone (apn changes and some build.prop changes but not those that mis-identify the phone, nothing major) and hope for the best.
Unroot, uninstall root needed apps like busybox and update
Factory Reset, Recommended by Motorola but it'd take some time to rebuild the settings how I like them
Which option?
Thanks!
Click to expand...
Click to collapse
The update will check build.prop for a sha1sum of "9ff9faedeb74bd02b3fe6a912e758f55d1437538", along with 615 more files (I am saying based on previous leak, the count may change). So if you touched build.prop or default.prop the OTA will refuse to proceed. It doesn't matter if you leave it rooted, at least leak didn't check for existence of su. But it recursively reset permission of /system so you'll lose root. If you hand edited build.prop I doubt if factory reset will help you restore. Maybe you want to return to full stock to guarantee that OTA update will work.

kousik said:
The update will check build.prop for a sha1sum of "9ff9faedeb74bd02b3fe6a912e758f55d1437538", along with 615 more files (I am saying based on previous leak, the count may change). So if you touched build.prop or default.prop the OTA will refuse to proceed. It doesn't matter if you leave it rooted, at least leak didn't check for existence of su. But it recursively reset permission of /system so you'll lose root. If you hand edited build.prop I doubt if factory reset will help you restore. Maybe you want to return to full stock to guarantee that OTA update will work.
Click to expand...
Click to collapse
That's the kind of information I was looking for. Thanks!
Now for the dumb question.. can I do that completely from within the phone?

Returning to full stock just from the phone, I think not possible, you need a computer to flash the firmware.
If you didn't touch any file except build.prop, then maybe you can download or email yourself a stock build.prop (attached, rename to build.prop), and then use root explorer or terminal emulator to overwrite the modified one.

kousik said:
Returning to full stock just from the phone, I think not possible, you need a computer to flash the firmware.
If you didn't touch any file except build.prop, then maybe you can download or email yourself a stock build.prop (attached, rename to build.prop), and then use root explorer or terminal emulator to overwrite the modified one.
Click to expand...
Click to collapse
Thanks, I restored the file. I'll hook back into the thread when the upgrade comes down and report how it goes.

Also, if you installed the Atrix 2 Bootstrap to run Clockworkmod recovery you will need to restore the following files. You need to still be rooted in order to do this. I did it with Root Explorer.
1) Delete file /system/bin/logwrapper
2) Delete file /system/bin/hijack
3) Rename file /system/bin/logwrapper.bin to /system/bin/logwrapper
4) Delete directory /preinstall/recovery
Furthermore, if you installed it to be loaded every time you boot you also need to restore the following file.
1) Delete file /system/bin/mot_boot_mode
2) Rename file /system/bin/mot_boot_mode.bin to /system/bin/mot_boot_mode

I didn't do anything with Clockworkmod but I was able to find another version of the build.prop file I had that was the original that was on my phone.
The one that kousik gave me was the AsiaRetail.GB version. I attached my build.prop file which should be more suitable for AT&T phones (remove the .phone.txt).

jboxer said:
Also, if you installed the Atrix 2 Bootstrap to run Clockworkmod recovery you will need to restore the following files. You need to still be rooted in order to do this. I did it with Root Explorer.
1) Delete file /system/bin/logwrapper
2) Delete file /system/bin/hijack
3) Rename file /system/bin/logwrapper.bin to /system/bin/logwrapper
4) Delete directory /preinstall/recovery
Furthermore, if you installed it to be loaded every time you boot you also need to restore the following file.
1) Delete file /system/bin/mot_boot_mode
2) Rename file /system/bin/mot_boot_mode.bin to /system/bin/mot_boot_mode
Click to expand...
Click to collapse
Are you saying the above has to be done if using fxz with RDS Lite to get back to 2.3.5 stock?
Another question...I did go back to stock 2.3.5, but when I check for update to go OTA 2.3.6, it tells me that check for updates is disabled.
How long after going back to 2.3.5 stock before it updates to 2.3.6?

troycarpenter said:
Are you saying the above has to be done if using fxz with RDS Lite to get back to 2.3.5 stock?
Another question...I did go back to stock 2.3.5, but when I check for update to go OTA 2.3.6, it tells me that check for updates is disabled.
How long after going back to 2.3.5 stock before it updates to 2.3.6?
Click to expand...
Click to collapse
1. No if you flashed back to stock everything you did has been removed.
2. You should be able to download the OTA to 2.3.6 from 2.3.5 immediately, but often the production update servers are offline before a soak test or new OTA being released. I just checked my phone and for me the servers were online and told me no updates are available. I am on 2.3.6.

troycarpenter said:
Are you saying the above has to be done if using fxz with RDS Lite to get back to 2.3.5 stock?
Another question...I did go back to stock 2.3.5, but when I check for update to go OTA 2.3.6, it tells me that check for updates is disabled.
How long after going back to 2.3.5 stock before it updates to 2.3.6?
Click to expand...
Click to collapse
Make sure you're on wifi to receive the 2.3.6 update. I don't think it works on data.

The phone finally took 2.3.6 earlier today. Quite a bit of time on 2.3.5 before it recognized the update.

Related

Removing stock applications from the stock rom before install

Please tell me if this is feasable.
I was retarded and never bothered to Root my incredible when it was possible to do on 2.1
It obviously isn't possible using revoked/simple root/ or any other methods after 2.2 (not yet anyway)
I would like to remove the stock annoying apps(amazon,cityid, etc) from my phone entirely/rename them, but I can't. I can't because without root access you cant rename/delete files from the system/app folder on the phone, and you cannot force an unintall of these programs.
I recently downloaded the update.zip file from google for the 2.2 update(since I didnt want to wait for the OTA update). Do you think it is possible to remove the apk's you dont want from the stock 2.2 google rom since they are located in the same folder system/app within the rom files. Then rezip the rom files and reflash your phone with the edited rom files which would not include all this bloat crap stuff I do not want?
I cant think of a reason why it wouldn't work / be possible??? thoughts?
strunker said:
Please tell me if this is feasable.
I was retarded and never bothered to Root my incredible when it was possible to do on 2.1
It obviously isn't possible using revoked/simple root/ or any other methods after 2.2 (not yet anyway)
I would like to remove the stock annoying apps(amazon,cityid, etc) from my phone entirely/rename them, but I can't. I can't because without root access you cant rename/delete files from the system/app folder on the phone, and you cannot force an unintall of these programs.
I recently downloaded the update.zip file from google for the 2.2 update(since I didnt want to wait for the OTA update). Do you think it is possible to remove the apk's you dont want from the stock 2.2 google rom since they are located in the same folder system/app within the rom files. Then rezip the rom files and reflash your phone with the edited rom files which would not include all this bloat crap stuff I do not want?
I cant think of a reason why it wouldn't work / be possible??? thoughts?
Click to expand...
Click to collapse
Since you are using the stock recovery to install a stock ROM/update that is signed by them with keys the that you don't have, I would say NO. You'll have to get root first and install a customer recovery in order to install custom ROMs. If you modify the stock ROM/update and resign it, it will be a custom ROM/update at that point.
gnarlyc said:
Since you are using the stock recovery to install a stock ROM/update that is signed by them with keys the that you don't have, I would say NO. You'll have to get root first and install a customer recovery in order to install custom ROMs. If you modify the stock ROM/update and resign it, it will be a custom ROM/update at that point.
Click to expand...
Click to collapse
Ty for the response.
That is exactly the issue I ran into..
I wasnt able to figure out how to get past their md5/signed file check.
I am not sure if the bootlader/recovery console checks the file size or contents. What I tried to do originally was extract all the files in the update.zip package and make my changes then rezip them. Obviously this method failed because I had to repackage it and as a result it was no longer signed.
What I then tried was to edit the actual update.zip without extracting first. I figured this way the file itself would still be signed and I would be able to use it.
It generated a different error than I had seen the first time, but ultimately failed the check again..
Made me sad. I really wanted to get rid of all that crap. VZnavigator process is a memory hog. I dont need it at all, not with google maps which comes stock on the phone.. And to add to that, you cant even kill the process because as soon as you do it just starts again... So.. GG verizon
At this point I really only have two options..
1) Wait for 2.2 stock rom to be rooted. If this ever happens, I have faith that it will.
2.) Revert back to 2.1, s-off perma root and then manually load in 2.2 over that..
Have you tried that androot.apk? I was under the assumption that it was "universal".
Sent from my HTC Hero using XDA App
ddotpatel said:
Have you tried that androot.apk? I was under the assumption that it was "universal".
Sent from my HTC Hero using XDA App
Click to expand...
Click to collapse
I have not. What I did instead was use 3.2 unrevoked which works on 2.2
I am not sure what androot.apk is I will look into it out of curiosity.
[GUIDE] Universal AndRoot - 1-click root
give it a try....

[Q] Can't Update!

OK, so I finally got the system update for the D2G yesterday. I'm not new to this whole game, so I removed Clockworkmod, unrooted, and installed the update. The update downloads fine, but the with the little Android guy screen, I get an "!" in a triangle and then the phone reboots.
Maybe I didn't remove clockwork all the way? Don't you delete hijack and logwrapper, and then rename the logwrapper.bin to logwrapper?
well basiclly the phone needs to be untouch in terms of the file structure, in my case, I deleted a few of the stock apk files and when I tried to do the update it would fail because the stock apps were missing and the update is a patch not a full system OS so it cant install the default apps, I had to install them back to the system/app with root explorer and then set the permissions back to what they needed to be, unforchenitly a hard reset would not install the stock apps. Also make sure anything that the root touched has been set back to default
I have the same problem too. I can't get the update to work at all after installing Fission ROM. I even restored from a nandroid from a fresh D2G. It worked fine on the untouched phone tho. I checked all the files in the /system/app and they were there. Is there any magical restore .zip perhaps?
If anyone is looking for the update: http://dump.no/files/2501381a2bd4/Blur_Version.2.4.29.A956.Verizon.en.US.zip MD5: a493e4efc9d27c8932d604806f817a85
evilp8ntballer7 said:
well basiclly the phone needs to be untouch in terms of the file structure, in my case, I deleted a few of the stock apk files and when I tried to do the update it would fail because the stock apps were missing and the update is a patch not a full system OS so it cant install the default apps, I had to install them back to the system/app with root explorer and then set the permissions back to what they needed to be, unforchenitly a hard reset would not install the stock apps. Also make sure anything that the root touched has been set back to default
Click to expand...
Click to collapse
I never touched anything... I stopped using Titanium Backup a long time ago when I uninstalled everything verizon and had the same OTA problem you described. I am at a loss for the problem that I have! All I ever did was root and put on clockwork, and I made sure they were gone when I updated.
Please, someone help!
did you uninstall of freeze any of the stock apps in /system/app? You need to restore them in order to successfully apply the OTA update. One file missing or modified in /system and checksums will fail/update fails.
leobg said:
did you uninstall of freeze any of the stock apps in /system/app? You need to restore them in order to successfully apply the OTA update. One file missing or modified in /system and checksums will fail/update fails.
Click to expand...
Click to collapse
the only time I touched anything in /system was when I removed clockwork by deleting hijack and renaming logwrapper.bin. Can anyone give me a number of files I'm supposed to have in /system, or maybe a way to go back to stock. Man, that SBF would be mighty helpful right now...
There is system dump laying around. I'll PM you the link (not sure if appropriate to post it here). You can use it to compare content and recover missing file(s).
leobg said:
There is system dump laying around. I'll PM you the link (not sure if appropriate to post it here). You can use it to compare content and recover missing file(s).
Click to expand...
Click to collapse
Hi, I've been trying to find an answer, and I think you could help me.
I had the same problem as this person you were helping, but I already knew that I should look through the system dump and compare. I did that, and deleted one file called dbus.conf from /system/ect. Now, my phone just does the DROID animation over and over again! Please help, I made a copy of dbus.conf on my computer and did a nandroid backup. Please, you or someone else on here, HELP!
So you are in a boot loop. If you can't get the phone to boot into clockwork recovery, today is your lucky day! SBF was finally released!!! Get the SBF and reflash /system
leobg said:
So you are in a boot loop. If you can't get the phone to boot into clockwork recovery, today is your lucky day! SBF was finally released!!! Get the SBF and reflash /system
Click to expand...
Click to collapse
Where is it? Isn't it only available to those with some app called TBH (or something like that)? And now I have to wait for a public release? And, if I'm wrong, can you give me a link to thee file? I can't find it anywhere...
Thanks for your help, I really appreciate it!
I would recommend you to approach the team black hat members and talk to them directly about how to get the sbf while your phone is non functional.
Sent from my DROID2 GLOBAL
But where is the system update located? I checked on the verizon website and there is nothing there. Also, do you have to be a verizon customer to get the update?
Sent from my DROID2 GLOBAL using XDA App

[Q] Update to v55.13.25 after rooting?!

I ve removed some system apps like twitter n flickr. Can i update my device to the version v55.13.25 from the previous firmware without any issues ???
How did you remove the apps? Its better to freeze them and defrost before an official update. If it were me and I'd removed the apps completely and I liked where my phone was at and I didn't wanna flash the fxz I'd find those apps and re-install them. If you go that route make sure your permissions are correct when you place the apps back into the system folder.
The End.
Okay I've zipped the twitter and Flickr files and uploaded to my drop box if you want them. They're stock odex files. The two files for each app (.apk and. odex) are in folders. So after extracting their folders you can place the files in /system/app folder and change permissions once there. Let me know if you want the links to the downloads.
The End.
I just noticeD you're from India. You might want files from the India ROM yes? Are you on stock odex or a custom ROM?
The End.
KEB64 said:
How did you remove the apps? Its better to freeze them and defrost before an official update. If it were me and I'd removed the apps completely and I liked where my phone was at and I didn't wanna flash the fxz I'd find those apps and re-install them. If you go that route make sure your permissions are correct when you place the apps back into the system folder.
The End.
Click to expand...
Click to collapse
Removed them through system app remover.Will a hard reset restore those apps?Its an ATT model with their firmware not the Indian one..
Oh I see. I don't know what I was thinking. You can do a factory reset to get those back. You will loose all of your data in the process so backup your data and only format your SD card if you have that all stuff backed up to a PC.
The End.
Wait. What's "system app remover"? Is that an app? I'm confused. I've done so much to this phone with swapping ROMs and moving system files around via Root Browser that I'm not even clear about your issue.
FWIW I've recently come full circle and currently use the stock 2.3.6 odexed ROM. I use Twitter and Flickr too. Sorry. I think I've confused myself here ha-ha. Somebody please address the OP. lol.
The End.
KEB64 said:
Wait. What's "system app remover"? Is that an app? I'm confused. I've done so much to this phone with swapping ROMs and moving system files around via Root Browser that I'm not even clear about your issue.
FWIW I've recently come full circle and currently use the stock 2.3.6 odexed ROM. I use Twitter and Flickr too. Sorry. I think I've confused myself here ha-ha. Somebody please address the OP. lol.
The End.
Click to expand...
Click to collapse
Yes! it`s an app...To be clear i uninstalled those apps after rooting my A2 with the "system app remover" . Will the OTA update work even though the
i`ve removed those apps beacause the update might be for those apps as well and will i lose root if updated to the new firmware
NO, do not try the update if you have deleted any system .apk's.
This is probably the easiest way to do it:
1) Install CWM through the bootstrapper if you haven't done so yet.
2) Boot into CWM and make a backup
3) Flash the fxz (scroll down a bit)
4) Once the phone boots up, log in to your google account and do whatever else you need to do. DO NOT uninstall any applications (even if they're uninstallable) and DO NOT root.
5) Go to Settings -> About Phone -> Software update. Make sure you're connected to wifi and install the update!
6) Once your phone has updated, re-root it, install CWM, and restore the backup you made.
Hope this helps, good luck!
Yup. What cogeary said. How embarrassing. Its just been one of those days where I should just keep my mouth shut. Not in a bad way. It IS my birthday, and the moon is closer to the Earth than it will be for a good while. Ha-ha. Seriously, cogeary knows his stuff.
The End.

Need experienced dev help w/ adb root vs. flashing *.tar (/system) root through Odin

I was originally rooted by using invisiblek's original "stock" root, which contained some Sprint stuff, so I opted to do a clean start from a stock Verizon rom, but to save time I rooted using the adb script method from GS3DebugFSRoot http://forum.xda-developers.com/showthread.php?t=1792342 instead of Root66, which requires a 1.5 GB image download then must be flashed through Odin.
I did this to avoid some of the strange app behaviors from the rooted "Sprint" rom, but after rooting through adb with an automated script, some root apps don't function properly, even though they're getting root permission.
After doing some research and restoring my sprint NAND backup several times to compare, the main things I noticed are:
1. After rooting through adb, the Superuser.apk app is installed in /data/app (which is a user app location) as opposed to /system/app in the case of the flashable root method.
2. Superuser.apk is called com.noshufou.android.su-1.apk instead
3. Superuser.apk from a flashed rom has these permissions (seen using root-expl)
rwsr-sr-x, but the adb method file xxxxxx.su-1.apk has these permissions rwxrwxr-x
4. The owner of the file is "root" when flashed through Odin, but "system" when rooted with adb.
Otherwise, the su binary itself is ok, it is a newer version and larger in size compared to the flashed versions, but it has the right permissions and is located correctly in /system/xbin.
I tried deleting the xxxxx.su-1.apk in /data/app and copying Superuser.apk to /system/app, to make it a system app, reset permissions and "owner" and "group" to root, but lost root after rebooting, so had to start back from my NAND backup again.
Does anyone know how to make Superuser a system app in the /system/app folder without losing root?
Also, I'm not sure this is the cause, but Titanium Backup has a hard time detecting root every time I start it, and has to be restarted multiple times, which wasn't a problem when flashed root w/ Odin, and most importantly, DroidWall is not blocking ANYTHING, whether it's in whitelist or blacklist mode, which it did when I used Odin to flash a rooted rom. I've tried everything, bu to no availe, can a dev that might have an idea what is going on here, help me with this and point me in the right direction to look for what to fix to get DroidWall to work, and if that is causing these issues, to get Superuser installed in the right folder?
Thank you
Nvm, I can't seem to find it again, I know I saw it somewhere though. If this was the OG Droid or Droid 2 I could tell you how to adb push no problem, but it's my first Samsung device. I don't know if anything is different, and I don't wanna be responsible for a brick :S

[Q] Modify Stock firmware through CWM backup mods

Hi, I have a GT-S7500 (wife's phone) with stock firmware and CWM. For some reason as soon as I root it, tried many different methods, camera and camcorder (and sometimes wireless) stop working. The thing is i don't really want to root this phone - but I really need to remove bloat Samsung and Italian TIM apps from it because the phone is unusable. (This means: freshly pushed stock firmware has 10-15 useless system processes and services running resulting in 70-80% of RAM usage)
So, I need to remove bloatware without rooting the phone. This is my starting point(http://forum.xda-developers.com/showthread.php?t=1534349#post23343879)
I'd like to take the "system.ext4.tar" from my CWM backup, extract, manually remove unwanted apk and odex files from it repack and push it back to the phone. Sounds fun!
Q1: "system.ext4.tar" is a normal .tar file, right? so when I'm finished i just use tar (i'm on *nix)
Q2: The above guide does not say but what is the best way to "push" the system partition back to the phone? My idea was to substitute the "system.ext4.tar" with its modded version right in the CWM backup folder (calculate and change md5 checksum in nandroid.md5) and then execute a restore from CWM. You think that would work? Is there another way to do this(ODIN)?
thanks
a\
Android Kitchen
Ok, I found Android Kitchen(http://forum.xda-developers.com/showthread.php?t=633246) and it resolved all my questions and doubts. You can take apart any rom (stock or custom) modify and repack it for CWM install. Thanx xda!

Categories

Resources