[Q] Rooting - am I stuck between firmwares? - Galaxy S II Q&A, Help & Troubleshooting

Just got a SGS2 which was on 2.3.3. I noticed that KIES had an update so I upgraded and now I'm on XWKI4 (I'm based in the UK which seems to be a bit behind).
The problem is.... all the rooting threads I can find are either about the old version I was on before (probably XWKH4) or the new 2.3.5 firmware (XXKI4?) - there doesn't seem to be one that's only about XWKI4.
I am a noob as far as Linux/Android goes, and also new to smartphones but I have a background in techie stuff so I can follow instructions - i.e. when a guide tells me "ENSURE THAT YOU HAVE XWKH4"... I don't go any further if I have a different version.
I have done all the searches I can think of (yes I watched the noob video!), so can anyone please please tell me if I can actually follow the guide for XWKH4 and expect it to be ok? Or point me at a guide for XWKI4 that I may have missed?
I only got into this rooting thing so that I could get the Orange GAN/UMA Signal Booster App and sign up with them But I got drawn into wanting cyanogenmod... and the rest is history, as they say.

i don't think it really matter whether XWKH4 or XXKI4 cause my self i flashed the xwki8 on xxki4 firmware and didn't seem like it affect anything

Chris911t said:
Just got a SGS2 which was on 2.3.3. I noticed that KIES had an update so I upgraded and now I'm on XWKI4 (I'm based in the UK which seems to be a bit behind).
The problem is.... all the rooting threads I can find are either about the old version I was on before (probably XWKH4) or the new 2.3.5 firmware (XXKI4?) - there doesn't seem to be one that's only about XWKI4.
I am a noob as far as Linux/Android goes, and also new to smartphones but I have a background in techie stuff so I can follow instructions - i.e. when a guide tells me "ENSURE THAT YOU HAVE XWKH4"... I don't go any further if I have a different version.
I have done all the searches I can think of (yes I watched the noob video!), so can anyone please please tell me if I can actually follow the guide for XWKH4 and expect it to be ok? Or point me at a guide for XWKI4 that I may have missed?
I only got into this rooting thing so that I could get the Orange GAN/UMA Signal Booster App and sign up with them But I got drawn into wanting cyanogenmod... and the rest is history, as they say.
Click to expand...
Click to collapse
Download the stock firmware of your choice(for which you have rooting guide)from intratech's thread here at xda.. Flash it using odin.. And then root..
I think, what fw you were on dont matter.. But as for your query, do the above..
Sent from my GT-I9100 using XDA Premium App

I think you can ignore the xx/xw bit and look for cf-root KI4, once rooted you can remove bloatware or flash a custom rom of your choice
from my own little world

Please use the Q&A Forum for questions Thanks
Moving to Q&A

Thanks
Athavan said:
Download the stock firmware of your choice(for which you have rooting guide)from intratech's thread here at xda.. Flash it using odin.. And then root..
I think, what fw you were on dont matter.. But as for your query, do the above..
Click to expand...
Click to collapse
Thanks Athavan. Being a noob at this I was under the impression that I had to root it before I loaded a new ROM.
So that makes me wonder if I need to root it at all for what I need...
I've already tracked down a zip of the files that are needed for the signal strength app. I started at h t t p : //adq.livejournal.com/118239.h t m l that described how to do all of it. [Sorry can't make it a proper link, new ppl can't do it for 8 posts so it says, so I added some spaces till it worked]
Then I found a post that had all the necessary files extracted into the zip I mentioned above so I guess that all I need to do is the last bit of the linked post, where the adb push stuff goes on?
However, I thought I'd need the phone rooted in order to push stuff into system folders. And I also thought that that would be true when I want to flash a stock firmware? From what you say it sounds as though I was wrong about the stock rom?
Thanks again,

Root not required to flash stock roms nor custom roms unless the dev has made the custom rom as a CWM flash (most are cwm flash ).
jje

One other question occurs having read JJE's post...
Do I need the phone rooted in order to push the files onto the stock rom I have now?
The article I quoted above (regarding how to get the Signal Boost app) said that once you have the necessary files (which I do) all you then need to do is this:
------------------------------------------------------------------
"After that, you'll have all the files needed. Plug in your phone to USB to push the files across with adb as follows:
adb shell remount -o rw,remount /system
adb push system/lib/libganril.so /system/lib
adb push system/lib/libkineto.so /system/lib
adb push system/lib/librilswitch.so /system/lib
adb push system/app/WiFi-Calling.apk /system/app
adb push libsec_ril.so /system/lib
adb push default.prop /system
---------------------------------------------------------------
If that can be done without rooting then I could spare myself the possible loss of the phone and just put the Signal Boost app on the existing rom and get an Orange SIM in it? I'm starting to lose the will to faff a bout with the rom when I should really focus on getting guaranteed coverage (which this app will do by allowing the phone to use my WiFi for calls).

Chris911t said:
One other question occurs having read JJE's post...
Do I need the phone rooted in order to push the files onto the stock rom I have now?
The article I quoted above said that once you have the necessary files (which I do) all you then need to do is this:
------------------------------------------------------------------
"After that, you'll have all the files needed. Plug in your phone to USB to push the files across with adb as follows:
adb shell remount -o rw,remount /system
adb push system/lib/libganril.so /system/lib
adb push system/lib/libkineto.so /system/lib
adb push system/lib/librilswitch.so /system/lib
adb push system/app/WiFi-Calling.apk /system/app
adb push libsec_ril.so /system/lib
adb push default.prop /system
---------------------------------------------------------------
If that can be done without rooting then I could spare myself the possible loss of the phone and just put the Signal Boost app on the existing rom and get an Orange SIM in it?
Click to expand...
Click to collapse
You need root to write files to the /system folder. So you will need root.

Chris911t said:
One other question occurs having read JJE's post...
Do I need the phone rooted in order to push the files onto the stock rom I have now?
The article I quoted above (regarding how to get the Signal Boost app) said that once you have the necessary files (which I do) all you then need to do is this:
------------------------------------------------------------------
"After that, you'll have all the files needed. Plug in your phone to USB to push the files across with adb as follows:
adb shell remount -o rw,remount /system
adb push system/lib/libganril.so /system/lib
adb push system/lib/libkineto.so /system/lib
adb push system/lib/librilswitch.so /system/lib
adb push system/app/WiFi-Calling.apk /system/app
adb push libsec_ril.so /system/lib
adb push default.prop /system
---------------------------------------------------------------
If that can be done without rooting then I could spare myself the possible loss of the phone and just put the Signal Boost app on the existing rom and get an Orange SIM in it? I'm starting to lose the will to faff a bout with the rom when I should really focus on getting guaranteed coverage (which this app will do by allowing the phone to use my WiFi for calls).
Click to expand...
Click to collapse
Ya.. Definitely you have to be rooted inorder to change and modify your system files...basicallu thats what root is for.. We get more access...
Sent from my GT-I9100 using XDA Premium App

Related

Adding ROM to Flashed Cricket Eris 2.1

HI all I have my Eris flashed to Cricket or Metro PCS, and I want to put a new rom on it. The guy who flashed it put a 2.1 update on it for me and told me he couldn't add the rom I gave him on my phone because it was flashed. So my question is am I stuck with the version I'm running or can I load different custom roms along with it being flashed??
Thanks
i have mine flashed to cricket. and I have changed to several roms, i of course was able to root the phone. so if yours is rooted then you should be able to switch roms.. i am not expert so if i am wrong please somebody correct me
Okay thanks for the reply, So can you help me out because I don't know where to start as far as adding a new rom. Do I need to re-flash to cricket after adding a new a new rom or will the flash still work and its just replacing certain things?
jcaf77 said:
i have mine flashed to cricket. and I have changed to several roms, i of course was able to root the phone. so if yours is rooted then you should be able to switch roms.. i am not expert so if i am wrong please somebody correct me
Click to expand...
Click to collapse
Okay thanks for the reply, So can you help me out because I don't know where to start as far as adding a new rom. Do I need to re-flash to cricket after adding a new a new rom or will the flash still work and its just replacing certain things? SORRY FOR DOUBLE POST!!!!
Puxxie said:
Okay thanks for the reply, So can you help me out because I don't know where to start as far as adding a new rom. Do I need to re-flash to cricket after adding a new a new rom or will the flash still work and its just replacing certain things?
Click to expand...
Click to collapse
power off your phone, once off, hold the volume down key while you press the power button if you see a recovery menu telling you, reboot, install from sd card, wipe etc.. then all you do is wipe the data and then install the rom...
but the main thing is to know that you have root access and recovery image
It will not erase what was written with QPST but the proxy will have to be setup again. I use many roms and just run the same setup for getting the proxy on there working.
jcaf77 said:
power off your phone, once off, hold the volume down key while you press the power button if you see a recovery menu telling you, reboot, install from sd card, wipe etc.. then all you do is wipe the data and then install the rom...
but the main thing is to know that you have root access and recovery image
Click to expand...
Click to collapse
Okay I know that much, how do I now if I have root access and recovery image?
jcaff77's advice is missing a whole lot.
YES, Before you flash ANY ROM, boot into Recovery (power off your phone, then power it on with Volume Up + Power) then go to Backup/Restore, then do a nand backup.
THIS way, you can ALWAYS go back to the flash that you're on. The guy that gave you that flash has NO idea what he's doing, and shouldn't be charging people money to flash things. Tell him he's basically a hack and a con artist because the information to do this is FREE and ALL around the internet. Tell him you're never going to ask for his help again, because he didn't really help you, he just took your money.
Anyway,
I posted a full tutorial that token419 from HowardForums put together to do this to ANY ROM. Your phone will stay on Cricket in general through flashing ROMs, but to make ANY ROM work FULLY on Cricket, follow this:
(from http://androidforums.com/all-things...ully-cricket-root-reqd.html?highlight=cricket )
Requirements:
Rooted Rom
Autostart (Root) from android market (free)
u2nl.zip from white rabbits site whiterabbit.org (hit Android stuff at the bottom, then get the pre-compiled Droid binary - Eris is included in that file)
Following Brandon's Guide and replace the internet portion with the steps listed below
Step 2. Setting up
What you need: u2nl.zip from white rabbits site whiterabbit.org
install Autostart (Root) from android market
Unzip the u2nl.zip to your androidsdk/tools folder so that u2nl and autostart.sh are in your androidsdk/tools folder. (use the autostart.sh that's in the Eris folder, not the one in the Droid folder!)
adb shell su
(look on phone to push 'Allow' or 'Always Allow' if it pops up - if not, then move to the next line)
mount -o rw,remount /dev/block/mtdblock3 /system
cd /data/
mkdir opt
chmod 0777 /data/opt/
chmod 0777 /system/bin/
exit
adb remount
adb push autostart.sh /data/opt/autostart.sh
adb push u2nl /system/bin/u2nl
adb shell
chmod 0777 /data/opt/autostart.sh
chmod 0777 /system/bin/u2nl
reboot
click always allow on the prompt to allow the Autostart app to run at system startup
Reply or PM me if you need help with it especially. Go ahead and flash a ROM with it. If you can't get all of this done, your phone will STILL WORK, just not all the apps, Browser Only. For a temporary Browser Only fix, just download AnyCut from the Market on your current phone flash, use AndroZip or ES File Explorer or IO File Manager or ANY program that can 'back up' apps, to back it up, then flash the NEW ROM you want, and Market won't work (until you do the instructions above). Again, to get Web to work, make a shortcut with AnyCut > Activity > Proxy, and click the Proxy shortcut you made. Set Proxy to wap.mycricket.com port 8080.
Like I said, I'll follow this thread, so just reply if you get stuck on any of those steps.
@pkopalek thanks..yeah I had a feeling he didn't know what he was doing and he was just trying to get paid. Well I'm going to try what you posted for me now and will be back to post mt status or PM and THANK YOU for you help I appreciate it.
Puxxie said:
@pkopalek thanks..yeah I had a feeling he didn't know what he was doing and he was just trying to get paid. Well I'm going to try what you posted for me now and will be back to post mt status or PM and THANK YOU for you help I appreciate it.
Click to expand...
Click to collapse
Yeah, just write back, I'll see it for sure. I did this to my girlfriend's phone, and many others, for free.
Enjoy.
this is funny
You'll also want to make sure you extract your telephony.db from /data/data/com.android.providers.telephony/databases/ to maintain MMS functionality with a new ROM, since the ROMs you'll use will probably be built for Sprint or Verizon.
You'll need RootExplorer on your phone to go to the above directory -> copy -> paste to your sdcard. Restore it to the same directory once you're new ROM is installed OR download and setup AndroidSDK (google it) and use adb to pull the file;
Code:
adb remount
adb pull /data/data/com.android.providers.telephony/databases/telephony.db
The file will end up in your /tools/ directory of the AndroidSDK.
Once you're new ROM is installed, you can use the SDK to push it back as well;
Code:
adb remount
adb push telephony.db /data/data/com.android.providers.telephony/databases/
adb reboot
That should restore MMS to your phone once you have the new ROM installed
-mak
.mak said:
You'll also want to make sure you extract your telephony.db from /data/data/com.android.providers.telephony/databases/ to maintain MMS functionality with a new ROM, since the ROMs you'll use will probably be built for Sprint or Verizon.
You'll need RootExplorer on your phone to go to the above directory -> copy -> paste to your sdcard. Restore it to the same directory once you're new ROM is installed OR download and setup AndroidSDK (google it) and use adb to pull the file;
Code:
adb remount
adb pull /data/data/com.android.providers.telephony/databases/telephony.db
The file will end up in your /tools/ directory of the AndroidSDK.
Once you're new ROM is installed, you can use the SDK to push it back as well;
Code:
adb remount
adb push telephony.db /data/data/com.android.providers.telephony/databases/
adb reboot
That should restore MMS to your phone once you have the new ROM installed
-mak
Click to expand...
Click to collapse
Actually, APN Backup & Restore already does this job.
If you use mak's way, you won't be needing APN Backup & Restore.
Both methods will work perfectly well.
pkopalek said:
Actually, APN Backup & Restore already does this job.
If you use mak's way, you won't be needing APN Backup & Restore.
Both methods will work perfectly well.
Click to expand...
Click to collapse
Was APN Backup suggested previously? I didn't notice if it had been, sorry.
I also can't speak to the validity of a program I've never used, but I suppose it would be much easier for the OP to use that than adb.
-mak
you can follow the guide here
http://forum.xda-developers.com/showthread.php?t=675652
Use the zip to flash from recovery that i created, there are 2 zips, one for just internet, and one for internet + MMS, some say the internet + MMS doesnt work, which is why i provided just an internet one as well.
As always make a nandroid backup first and have fun.
Since your phone is already flashed, disregard all the QPST stuff and simply look at the setting up web/mms portion of the guide.
The zip for MMS + Web works great for me, but your mileage may vary
Good luck and have fun
token419 said:
you can follow the guide here
http://forum.xda-developers.com/showthread.php?t=675652
Use the zip to flash from recovery that i created, there are 2 zips, one for just internet, and one for internet + MMS, some say the internet + MMS doesnt work, which is why i provided just an internet one as well.
As always make a nandroid backup first and have fun.
Since your phone is already flashed, disregard all the QPST stuff and simply look at the setting up web/mms portion of the guide.
The zip for MMS + Web works great for me, but your mileage may vary
Good luck and have fun
Click to expand...
Click to collapse
The MMS flashes the APNs, but the APN has to be specific for your phone number on your device (in my experience), so I wouldn't expect MMS to work for anyone but you, Token!
I'd stick with editing the APNs to get MMS working, but thanks for the internet patch!
THanks for all the info guys but I'm stuck on how to add a new recovery image using either the EMA it keeps saying it can't find my device state?

[Q] [SOLVED]A little help here please.

Hello all.
Well, here is my problem. I was searching for some theme to change the "colors" of the menu of my device. SInce i couldn't find one, i just started to read a lot, and try to do it myself.
Well, I followed the instructions... and finally got my framework-res. The only problem was that the size of the file was lower thatn the original one. Anyway, I just went to root explorer, took my new framework-res.apk and replaced it on framework folder in internal storage.
The problem is that now my device won't start, I mean... it's stuck on the samsung logo, doing the animation over and over and over. Well I tried to get to the original framework-res, but I don't know how since I cannot replace things because I can't use a file explorer.
I searched some themes on the forum, thinking that maybe the framework-res would be replaced for the new one, and then it would work. Well it doesnt.
I have kph rom, and tried with "Dark simplify theme" and "circle battery kph" couse it's supposed to be stock theme with the circle battery...
Now, I dont know what to do, I dont know how to make an update.zip myself (I tried searching and learning but i just don understand).
I think i would reflash my system but, My internal partition was transformed to ext4 with cf-root, and I read a lot that If i want to flash any other rom, I have to change it to rfs first, but i can't do it couse i can't get to the ext4manager application.
So any ideas? please?
Thanks in advance.
ps: okay, i was a little desesperated when I wrote this (i still am). I searched for some with ext4 compatiblity. I have just tried gingerReal now. It's working. I'm gonna change the internal storage to rfs again, and flash kph.
Bootloop is really common here
you don;t need to reflash, if you have working framework-res.apk you just need to raplace it..
copy framework-res.apk to your sdcard
connect your phone to computer when in recovery
mount system partition using CWM
then using adb follow this command
adb shell
su
cd /sdcard
cp framework-res.apk /system/framework/
reboot
done
also if you reflash your ace using odin to stock one, ext4 partition automatically reverted to rfs
seilent said:
Bootloop is really common here
you don;t need to reflash, if you have working framework-res.apk you just need to raplace it..
copy framework-res.apk to your sdcard
connect your phone to computer when in recovery
mount system partition using CWM
then using adb follow this command
adb shell
su
cd /sdcard
cp framework-res.apk /system/framework/
reboot
done
also if you reflash your ace using odin to stock one, ext4 partition automatically reverted to rfs
Click to expand...
Click to collapse
Hi thanks for the answer. About the adb, that is supossed to be used in a pc, right? (sorry I never used it, i have just used terminal emulator in the device itself). I mean, I enter cmd, write adb shell and i'm in? (i have already installed sdk and all the neccesary things)
About the ext4 to rfs, well thanks! nice to know that ahaha . I have already flashed kph again, so it's all working now. But the next time, I'll do what you say. I guess I already know about adb shell, but I dont know how to use it (i get easily confuse when it comes to apply commands). Well, that's what I love of all of this. You screw things up, you get really nervous, but then you know you can solve it and it is the best ahaha.
Thank you!.

[Q] Enable Development Mode on SGS2 custom-ROM by carrier

I just bought an SGS2 from a carrier in Brazil (TIM) but it came full of crappyware and most importantly: without the Development Mode option in Settings > Applications !!
So basically, although I could root it by replacing the kernel, I'm still not able to adb shell on it because of this issue.
Does anyone have an idea on how to enable the Development Mode through ConnectBot?
Also, how do I remount the SD from ConnectBot with 'rw'? You know... to remove all the crappyware...
Thank you
bruno.borges said:
I just bought an SGS2 from a carrier in Brazil (TIM) but it came full of crappyware and most importantly: without the Development Mode option in Settings > Applications !!
So basically, although I could root it by replacing the kernel, I'm still not able to adb shell on it because of this issue.
Does anyone have an idea on how to enable the Development Mode through ConnectBot?
Also, how do I remount the SD from ConnectBot with 'rw'? You know... to remove all the crappyware...
Thank you
Click to expand...
Click to collapse
dont you have cwm with replacing the kernel? so cant you flash a custom rom and with that everything you want? (still not dev relevant )
Sorry, I forgot to mention that I don't want to replace the stock ROM... not for now.
I'm waiting for CM7
bruno.borges said:
Sorry, I forgot to mention that I don't want to replace the stock ROM... not for now.
I'm waiting for CM7
Click to expand...
Click to collapse
ah okay. cm7 is already available almost everything is working. there are stock roms available for download in intratech's thread. without replacing your current rom it'll be difficult. I cant help more :-/
This thread should be in Q&A.
The first steps you need to take (rooting & custom recovery) are available in the CF-Root thread
Rawat said:
This thread should be in Q&A.
The first steps you need to take (rooting & custom recovery) are available in the CF-Root thread
Click to expand...
Click to collapse
he already did that: So basically, although I could root it by replacing the kernel, I'm still not able to adb shell on it because of this issue.
My question is: how to enable Development Mode from ConnectBot (terminal) directly from inside Android? Remembering that I have root
Again not dev and I'm not sure about connectbot but why don't you just replace settings.apk? Wouldn't t that take care of it instantly?
To replace settings.apk I need adb shell, or read-write access to mounted SD.
The reason I'm posting this to Dev question, is because devs are probably the ones with knowledge on how to do this.
I have root, I have terminal access to root (ConnectBot for example) and that's all.
I cannot adb shell into it because Development Mode option is not present on Settings > Applications.
How do I remount with read-write access the SD ? This way, I can download a settings.apk (new question: any hint from where I can get the stock-stock version?) and cp to /syste/app through ConnectBot
Use terminal emulator and remount system rw and then replace settings? Won't that work ?
Sent from my GT-I9100 using XDA App
Remounting with +rw worked. Carrier specific apps deleted. Now any hint on what settings.apk should I use? The one from CM7 ?
Must I replace SettingsProvider.apk too?
bruno.borges said:
Remounting with +rw worked. Carrier specific apps deleted. Now any hint on what settings.apk should I use? The one from CM7 ?
Click to expand...
Click to collapse
afaik different framework --> wont work. if you have a fast internet connection download a custom rom(based on samsung i.e. not miui or cm7), extract it and pick the settings.apk
take care. should match your present firmware. probably 2.3.3 and most of the users are on 2.3.4 or 2.3.5(miui+cm7)
or if anybody is so kind he could upload his settings.apk (i'm on miui so sorry)
http://forum.xda-developers.com/showthread.php?t=1182498
Flash that kernel with odin.
Download just about any rom, minus cm7, grab SettingsProvider.apk and Settings.apk from the zip file (/system/app/SettingsProvider.apk)
put them somewhere you can find them, open a command prompt in that directory.
(if you haven't setup adb properly you will need to drop everything in with the adb.exe file, but I would suggest setting it up properly.)
adb shell
su (accept on phone)
mount -o remount,rw /system
exit
exit
adb push SettingsProvider.apk /system/app
adb push Settings.apk /system/app
designgears said:
http://forum.xda-developers.com/showthread.php?t=1182498
Flash that kernel with odin.
Download just about any rom, minus cm7, grab SettingsProvider.apk and Settings.apk from the zip file (/system/app/SettingsProvider.apk)
put them somewhere you can find them, open a command prompt in that directory.
(if you haven't setup adb properly you will need to drop everything in with the adb.exe file, but I would suggest setting it up properly.)
adb shell
su (accept on phone)
mount -o remount,rw /system
exit
exit
adb push SettingsProvider.apk /system/app
adb push Settings.apk /system/app
Click to expand...
Click to collapse
Im 100% sure that the above WILL work..
But care to explain why you dont want to flash a custom rom?
Just curious..
Sent from my GT-I9100 using XDA Premium App
Which ROM do you recommend, that is mostly closer to stock Samsung TouchWiz 2.3.3 ?
I don't want to install CM7 yet because it still lacks some features.
bruno.borges said:
Which ROM do you recommend, that is mostly closer to stock Samsung TouchWiz 2.3.3 ?
I don't want to install CM7 yet because it still lacks some features.
Click to expand...
Click to collapse
modaco's prebaked ROM offers stock + a few tweaks that most people would find useful.
And although your questions would be best answered by those with developer knowledge, it still doesn't mean it should be posted here.
Also, even if you don't have terminal access, I'm pretty sure with root you can use Root Explorer to copy over the new settings.apk and setting the appropriate permissions.
Alright, thanks a lot!

[Q] Deodex ATT&T Atrix 4G 4.5.91 2.3.4

I have an AT&T Atrix 4G with system version 4.5.91 and android version 2.3.4. I am a Noob to the Android platform and researched this extensively on the web but I am still unsure about how to or if I need to Deodex my phone. I have rooted the phone using Petes Motorola Root Tools v1.05 (worked awesome) and downloaded several recommended apps for rooted phones. I want to use the modification to unlock the Webtop using the HDMI cable without the dock (http://forum.xda-developers.com/showthread.php?t=980193). All web sites say the phone needs to be deodexed before performing this modification. Is my phone already deodexed? Do I need to deodex my Atrix? Is there an auto-deodexer program that will work for this phone? How do I back everything up before deodexing my phone (I use Titanium Backup app)? Any help would be greatly appreciated and sorry for being a Noob! I LOVE this Phone!!!! Might even have to get rid of the ole lady so I can spend more time with my Atrix 4G!!! LOL
http://forum.xda-developers.com/showthread.php?t=1162764&highlight=how+to+deodex
Atrix4guser said:
I have an AT&T Atrix 4G with system version 4.5.91 and android version 2.3.4. I am a Noob to the Android platform and researched this extensively on the web but I am still unsure about how to or if I need to Deodex my phone. I have rooted the phone using Petes Motorola Root Tools v1.05 (worked awesome) and downloaded several recommended apps for rooted phones. I want to use the modification to unlock the Webtop using the HDMI cable without the dock (http://forum.xda-developers.com/showthread.php?t=980193). All web sites say the phone needs to be deodexed before performing this modification. Is my phone already deodexed? Do I need to deodex my Atrix? Is there an auto-deodexer program that will work for this phone? How do I back everything up before deodexing my phone (I use Titanium Backup app)? Any help would be greatly appreciated and sorry for being a Noob! I LOVE this Phone!!!! Might even have to get rid of the ole lady so I can spend more time with my Atrix 4G!!! LOL
Click to expand...
Click to collapse
Thank you for your post. I have read this topic (http://forum.xda-developers.com/show...=how+to+deodex) and because I am such a super noob with Android here is where I get confused:
I am assuming that when I first run xUltimate v2.2 my USB connenction should be set to none????? I do have USB Debugging and Unknown Sources enabled.
1. Unzip xUltimate v2.2, and launch "Main.exe"
2. If everything goes well xUlt should recognize the phone and make a connection. You now should see a list of options.
3. Run option 1. After option 1 is done, run option 2.
4. Now these well take a while. Run option 3.
5. IMPORTANT: After you have run option 3, you MUST navigate to the xUltimate folder and find "origi_frame" folder, and delete "guava.odex". It's a bad file, and interferes with deodexing process.
6. Now run option 4, and wait.
7. Exit xUltimate, and put the phone in USB mass storage.
8. Go back into the xUltimate folder and copy "done_frame", and "done_app", and move them to the root of the sdcard.
How do I access the root of sdcard and have the ability to copy them?
9. Put the phone in PC mode
I have never seen an option for PC Mode in my USB connection. Does this get installed in the previous steps or do I enable this in settings somewhere?
10. Open a command prompt, and do the following:
adb shell
su
stop
mount -o rw,remount /system/ /system/
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount /system/ /system/
reboot

[Q] Mounting trouble, bloatware removal only.

Greetings everyone!
New *registered* user here! I've been frantically sifting through post after post on the forums all night hoping to get some help with an issue I am having on my Vibrant.
Goal:
Remove some bloatware ONLY, not looking to install any ROMs or modify the phone too much...just clean some annoying apps and icons off.
Phone Information:
Model SGH-T959
Firmware 2.2
Baseband T959UVKB5
Kernel 2.6.32.9
Build FROYO.UVKB5
I currently have the latest version of Java, Android SDK, and SuperOneClick installed.
Install directory of AndroidSDK:
C:\AndroidSDK
My method of failure:
Open SuperOneClick, Click "Root"
Start, Run, "CMD"
cd c:\AndroidSDK\tools
adb shell
mount -o rw,remount /dev/block/st19/system
This is where it fails and I run into an endless loop of it telling me the proper usage of the "mount" command. I thought I had it at one point but when I typed: rm /system/AmazonMp3.apk all it did was tell me that it was a read-only file and that it couldn't be deleted.
Can someone help lead me in the right direction of what I am doing wrong? I rooted and removed all bloatware about a year ago but I just did an upgrade through MiniKies to the latest version of firmware and I can't seem to remember the process I went through that long ago to get it done right.
I apologize for possibly asking a question that has been asked numerous times but I just couldn't seem to get the wording right to get any helpful results in the search of the forums. Thank you so much for the time in reading this and the future help if any can be provided. Have a great night!!!
It looks like you are in the wrong directory. Open a command prompt in
C:\AndroidSDK\platform-tools
Open the platform tools folder. Click on a blank space > hold down the shift key > hit right click > select open command window here. Then enter the commands:
adb devices "to check if your device is connected. also make sure usb debugging is enabled on your phone.
adb remount
adb shell
su
mount -o remount,rw -t rfs /dev/stl5 /system
rm -r /system/app/[AppName].apk
If you want a list of all your /system/apps enter this command
cd /system/app
ls *.apk
This is much easier if you download rom toolbox from the market. All you do is go to /system/app and delete whatever bloatware you dont want.
BUT BE EXTREMELY CAREFUL WHEN DELETING SYSTEM APPS. ONLY DELETE WHAT YOU KNOW IS BLOATWARE OTHERWISE YOU WILL GET FC'S
good luck
Would I still need to follow the steps prior to that and use SuperOneClick to root the device or do I just skip that process and go straight to the cmd prompt?
Also, I followed a tutorial I found for installing the Android SDK that informed me to copy all the files from android-tools to the tools directory and use that instead but I don't know what the use in that is except for maybe a smaller directory name?
EDIT: I tried what you said with and with using SuperOneClick prior to the procedure and the cmd prompt displayed the following text:
*opened cmd promt in C:\AndroidSDK\tools (no files in platform-tools anymore)*
adb devices (it found my device connected)
adb remount (adb remount: no such file or directory exists)
The adb shell and su commands works fine BUT I still hit the endless loop of it trying to explain to me the "usage" of the mount command.
I will look into Rom toolbox as I'm trying to figure this out as well. Thank you.
I strongly recommend you download root explorer or some similar root browser app. Of course though your phone must be rooted. Just try rom toolbox. It has its own root browser within the app along with other useful features. This is probably the easiest way to uninstall the bloatware in your case since you are having issues with adb.
Sent from my Galaxy Nexus using XDA
Thank you!
Okay, I have the suggested "rom toolbox" downloaded from the market and I will try to use that but SuperOneClick does not root the phone deep enough for rom toolbox to see the phone as rooted so...will the "updated.zip" method work for this instead?
I haven't tried it before but I am willing to give it a go if you think it's the best method. If this is the method you recommend, would you happen to have a link to the most recent or atleast most trusted updated.zip rooting method?
CScrivener said:
Thank you!
Okay, I have the suggested "rom toolbox" downloaded from the market and I will try to use that but SuperOneClick does not root the phone deep enough for rom toolbox to see the phone as rooted so...will the "updated.zip" method work for this instead?
I haven't tried it before but I am willing to give it a go if you think it's the best method. If this is the method you recommend, would you happen to have a link to the most recent or atleast most trusted updated.zip rooting method?
Click to expand...
Click to collapse
You can try rooting your phone using this toolbox.
http://forum.xda-developers.com/showthread.php?t=954509
If that does not work for you i will try and find the link to the "one click root program" i use all the time.
Here is an excellent guide to root.
http://forum.xda-developers.com/showthread.php?t=849028
Sent from my Galaxy Nexus using XDA
Here is the program i use. Just remember to have usb debugging enabled on your phone. It really cant get any easier than this.
http://forum.xda-developers.com/showthread.php?t=739300
Sent from my Galaxy Nexus using XDA
So I downloaded the one click program you suggested and the program itself seems to bee pretty straight forward.
I connected phone to computer with debugging on. Opened program and hit one click root. It started doing it's thing...phone rebooted and went into recovery. I started to follow instructions up until I got to where it said install packages. When I clicked it, the phone said installation failed no such file our directory exists.
The phone is looking for the updated.zip file but none exists in the one click folder. There is a root.zip and an unroot.zip...do I need to rename one of them to proceed???
Thank you so much for all the help so far, I feel like I'm so close but just not there yet. You have been an incredible help!
Sent from my SGH-T959 using XDA
CScrivener said:
The phone is looking for the updated.zip file but none exists in the one click folder. There is a root.zip and an unroot.zip...do I need to rename one of them to proceed???
Click to expand...
Click to collapse
The way (Stock) Recovery works is if you are not "Install from SD" then it will look for the file labeled Update.zip. So you can rename only the Root.zip to Update.zip and make sure that is the only thing on your internal SD labeled that or with .zip Put the unroot.zip in a folder for now. Then try again.
Alright, will give that a try when I get home. I thought I read that the program copied the update.zip file to the phone during it's process so I didn't want to do anything to work against that. I will rename one of the files, copy it to the phone and give the one click root another shot. Thank you!
Sent from my SGH-T959 using XDA
CScrivener said:
Alright, will give that a try when I get home. I thought I read that the program copied the update.zip file to the phone during it's process so I didn't want to do anything to work against that. I will rename one of the files, copy it to the phone and give the one click root another shot. Thank you!
Sent from my SGH-T959 using XDA
Click to expand...
Click to collapse
There is no need to rename anything. The program does it all for you. Play close attention to the first screen (green one) if it says update.zip copied successfully it will then reboot your phone to stock recovery. Once you are in stock recovery all you do is click reinstall packages. Keep clicking reinstall packages even if it reboots the first time. To prove my point mount your phone to your pc and check to see if the update.zip is copied onto the root of your into storage. If not well copy the update.zip from the last guide i suggested from above.
Also check to see if the superuser app is installed on your phone. The program also installs that along with the update.zip. If you have superuser then go to the market download rom manager so you could download CWM.
Sent from my Galaxy Nexus using XDA
Alright, so I tried it again once I got home. Didn't work BUT I did see that update.zip was installed into my phone. The sig verification failed, which means I need to change recovery versions to the one that skips sig verification correct?
I'll go search the forums for that since I remember seeing that a little while ago but that is the correct path I need to take at this point in time am I right?
Thank you so much! Big big help!
You can pull the CWR from my signature. Same as before. Put it on your internal labeled update.zip, boot into recovery and and scroll down to Reinstall Packages. Hit it. It will cycle and probably come back to stock recovery. Hit Reinstall Packages again and the stock recovery will go from blue to green (CWR).
Side note, probably from there you will be able to install the Superuser update.zip. Just go to Install from SD card and find it and hit it. The reboot. Might not but the CWR instructions above shoudl work for you.
Well I changed the recovery version using the file from http://forum.xda-developers.com/showthread.php?t=833423 and then used the OneClickRoot and was able to get the update installed (I think). The phone booted up normally, I noticed that SU Permissions was installed so I figure I am rooted correct? WRONG. Rom toolbox says I am not. Is there another way to verify? Should I reinstall Rom toolbox incase it's just bugging out on me?
So I tried using Rom Manager too. Looks as tho SU is not installed correctly, will have to try again I guess.
Cannot install CWR, tried and the recovery text stays blue even after 14 times of reinstalling packages...
This phone will be sent flying across the room sometime tonight I'm guessing. About to erase the entire thing and try starting from scratch again. (Start from Eclair and work my way up maybe)
If you are willing to start from Eclair it would be soooo much easier that all this stuff.
Odin to stock, flash CWR from my signature, go from blue to green and then flash Fishman's Bionix and you are good to go. Simple and way easier than all this mess. Just download Fish's and put it on you SD card somewhere you'll remember. Once in green recovery just scroll to that ROM and flash it per OP.
We've just been trying to Root you since on your OP you said you didn't want to flash a custom ROM.
Well...I'm still trying to avoid flashing Roms (I've upgraded through MiniKies and that's it).
I've only been trying to root just to clean bloatware off but it seems that I must be lacking the technical skills to follow instrcutions properly....nothing is cooperating and even after following all steps nothing wants to work like it should.
Grrrr! One last try to get CWR working before I lose my mind and need to take a break/walk away for a bit.
Ok, so I'm currently back to stock Eclair (ew!!) and about to boot to recovery to install CWR. Wish me luck on that one....
Wooo, CWR up and running! Now I just have to work on a flash maybe or whatever steps were suggested next...I might try the ROM you suggested.
The ROM gets placed on external sdcard and installed from within CWR correct?
Do most ROMs remove bloatware and useless apps?
Yes and are pre-Rooted. Put the ROM.zip on either card. I have a folder that I use. Boot into recovery and get green recovery back. Go to install from SD, find the ROM and flash it per the OP instructions.
Bloat free, pre-Rooted and usually has Voodoo so you can get Voodoo Sound from the market and have a sonic ear-gasm.
Just wanted to say thanks for all the help! I installed the suggested ROM last night and I am very happy with the results thus far. It was alot easier than I thought it would be. Flashing a ROM was MUCH more simpler than the root only decision. Thank you again!

Categories

Resources