Screwed up my M8, trying to remove the Carrier IQ. HELP!! - T-Mobile HTC One (M8)

Tried to remove the tmobile Carrier IQ from my device, last week. I used Solid explorer, to do it. This is the list:
/system/app
QXDM2SD.apk
QXDM2SD.odex
HtcResetNotify.apk
HtcResetNotify.odex
Htcloglevel.apk
Htcloglevel.odex
Smith.apk
Smith.odex
Udove.apk
Udove.odex
/system/priv-app
IQ-tmobile-release-signed.apk ???????
IQ-tmobile-release-signed.odex ???????
IQToggle.signed.apk
IQToggle.signed.odex
MyBreeze.apk
MyBreeze.odex
/system/lib
system/lib/libiq_service_tmobile_2.2.so
/data/data
com.carrieriq.tmobile
com.carrieriq.tmobile.IQToggle
The two questionable files above were slightly different, on my device. They read:
IQ-tmobile-release-unsigned.signed.apk
IQ-tmobile-release-unsigned.signed.odex
Against my better judgment, I continued to delete all of those files. Now, I can't even get past the banner on the home screen. It says, "Unfortunately, System Manager Application has stopped." I went to my bootloader and did a factory reset. Then, went to TWRP and did another factory reset and wiped the cache, dalvik & data. I used Firewater to unlock, root & S-OFF from KitKat Stock 4.4.2 and would prefer to keep it if possible. I had absolutely no problems with that version. The pictures are below.
As you can see, everything seems to be perfectly unaffected. I get calls, texts, voicemails, and every notification. It won't let me go beyond the home screen. If anyone can find KitKat 4.4.2 Stock Rom for Tmobile USA, I'd greatly appreciate it.

I am guessing you didn't do a backup before hand?

bradley_e_smith said:
I am guessing you didn't do a backup before hand?
Click to expand...
Click to collapse
Actually, I did a Titanium & NAND backup. But I didn't keep a copy of the NAND, in the internal storage. I just got an OTG Adapter. Gonna see if I can push the NAND onto the internal storage. Hopefully, it'll work. If not, I could definitely use your expertise.

Well then, all you need to do is to unpack the nand backup on your PC, and find the missing files and using TRWP mount / as rw and push the files back to your phone.

bradley_e_smith said:
Well then, all you need to do is to unpack the nand backup on your PC, and find the missing files and using TRWP mount / as rw and push the files back to your phone.
Click to expand...
Click to collapse
So, how do I do that?

Take your backup. the files that end in .win000, win001, win002, etc are tar files. So the easiest way would be to get a 'tar' program (cygwin has one built into it), and looking at each file look (tar -vtf [filename] -> will list the contents of the archive) for your missing files. By using -xvf option you can extract the file(s) you need.
BTW: On my lollipop backup of my M8 phone I didn't see any file that "IQ" in the filename, so kitkat must be different than lollipop.
-brad

Related

[Q] Backup one galaxy nexus to another?

Hi all:
I got a new galaxy nexus that i'd like to use as my main phone, but I don't want to go through the trouble of setting it up again, my current gnex is just perfectly setup. They both have the same version of android (4.0.4).
I was going to to a clockwork mod backup of the current phone, move it to the new phone and restore there, but I think I'll mess up the IMEI if I do that?
What additional steps do I need to carry out to preserve the phone's IMEI?
Thanks in advance.
pcbroch said:
Hi all:
I got a new galaxy nexus that i'd like to use as my main phone, but I don't want to go through the trouble of setting it up again, my current gnex is just perfectly setup. They both have the same version of android (4.0.4).
I was going to to a clockwork mod backup of the current phone, move it to the new phone and restore there, but I think I'll mess up the IMEI if I do that?
What additional steps do I need to carry out to preserve the phone's IMEI?
Thanks in advance.
Click to expand...
Click to collapse
If both have absolutely the same ROM, restore just the data backup, not the system backup, and you should be fine.
You can copy the IMEI on the original nexus to the other? Wouldnt that be best?
Is so follow these steps (it may look much, but i dont think it would take long if u want to keep your original imei number!
You must have:
-Root
-Root explorer for copying files to and from EFS folder
-Android SDK for the ADB tools or Terminal in your phone.
IMEI is stored in ".nv_data" file in ORIGINAL SHIPPED EFS folder too, so you just have to do these:
1) make a copy of your EFS folder to your sdcard using root explorer and then make a backup of the folder to your computer [ to have another copy if you had to format sd card sometime ]
2) delete the EFS folder (BE SURE YOU HAVE BACKED IT UP IN A SAFE PLACE AS SAID IN STEP 1) from the root of your phone using root explorer.
3) reset the phone, after that, go to the root, and you can see that the EFS folder is still there, don't make any mistake, this EFS folder is new and generated by the android OS.
4) go to EFS folder using root explorer, and delete "nv_data.bin", "nv_data.bin.md5".
5) go to your backed up EFS folder on your sdcard, copy the "imei" folder to the EFS folder at the root of your phone, then again go to the backed up EFS folder at yout sdcard and copy the " .nv_data " file to your EFS folder at the root of your phone using root explorer, NOTE: the dot in first of nv_data is not a mistake, copy the ".nv_data" file.
6) make another copy of the ".nv_data" file in EFS folder in your phone, so you would have 2 copies of ".nv_data" in EFS folder
7) rename one of ".nv_data" files to "nv_data.bin" and another one to "nv_data.bin.bak"
8) at your PC open CMD at the ADB tool path, or run Terminal at your phone enter these commands:
adb shell ( use this command of you use ADB, if you're using terminal, skip this line )
su ( ALLOW THE MESSAGE CAME AT YOUR PHONE's DISPLAY BY SUPERUSER PROGRAM )
chown 1001:radio /efs/nv_data.bin
9) reset your phone.... after that you have your original IMEI. you can check your IMEI by dialing *#06#.
Sent from my LT26i using xda premium
HinotoriBR said:
If both have absolutely the same ROM, restore just the data backup, not the system backup, and you should be fine.
Click to expand...
Click to collapse
Thanks for the suggestion. Unfortunately, it doesn't seem to work, my IMEI gets clobbered to some generic IMEI when I do this.
Off to trying try sikiduck's suggestion.
Sikiduck said:
IMEI is stored in ".nv_data" file in ORIGINAL SHIPPED EFS folder too, so you just have to do these
Click to expand...
Click to collapse
Stupid question... there is no efs folder. Do you mean /factory? There are nv_data files in /data/radio as well.
I'll play with these a bit and see.
You got root?
Sikiduck said:
You got root?
Click to expand...
Click to collapse
Yes, I do. I tried playing with the nv_data files, but I can't get the original IMEI to come back no matter what I do.

[Q] Another "sdcard\0" thread..

Soo, I know there's a lot of these threads around, but I can't find the answer I'm looking for. I'm wondering: After I flashed 4.2 I got this extra "0" folder on my internal sdcarrd. Can I just cut/paste the content of the "0" folder back to the original sdcard root? or will this have a negative effect on the storage?
Regards.
olfyboy said:
Soo, I know there's a lot of these threads around, but I can't find the answer I'm looking for. I'm wondering: After I flashed 4.2 I got this extra "0" folder on my internal sdcarrd. Can I just cut/paste the content of the "0" folder back to the original sdcard root? or will this have a negative effect on the storage?
Regards.
Click to expand...
Click to collapse
I had this issue earlier so i moved everything back to the root folder and deleted "0". If you are planning on flashing a few 4.2 roms i suggest you use the latest TWRP recovery or wait for the updated clockwork recovery because everytime you flash 4.2 roms they automatically create a 0 partition so you will end up with 0/0/0 etc depending on how many you flash
K, thanks!
I think I'll just copy the content of the "\0" folder back to the root, and stick with the ROM I'm on now. Then I'll update CWM when an update is released.
Aaargh.. I'm getting kinda pissed now..
When I try to copy the sd-content back to the root, it says that the device has stopped responding, or isn't connected. Can you tell me what is the standard root folder for the sd-content?
After installing a previous backup the was still a 0 folder so I copied all of the files to the root folder however it made the pictures unable to view
Sent from my Galaxy Nexus using xda app-developers app
I've tried several methods to move my clockworkmod folder out of the "0" folder to the sdcard "root" to no avail.
I'm currently backing up everything from "0" to my desktop. Once that's done, how can I push the clockworkmod folder to the sdcard "root"?
daewond3r said:
I've tried several methods to move my clockworkmod folder out of the "0" folder to the sdcard "root" to no avail.
I'm currently backing up everything from "0" to my desktop. Once that's done, how can I push the clockworkmod folder to the sdcard "root"?
Click to expand...
Click to collapse
Seems like there are some problems copying big folders over to the root. Try to first copy the CWM folder from your PC into some folder on the sd-root. Then, from your phone, open up a file explorer and copy the CWM folder to the root. Pretty weird, but it looks like it's working for me..
Edit: Yupp! worked for me. Hope you'll sort it out aswell.
olfyboy said:
Seems like there are some problems copying big folders over to the root. Try to first copy the CWM folder from your PC into some folder on the sd-root. Then, from your phone, open up a file explorer and copy the CWM folder to the root. Pretty weird, but it looks like it's working for me..
Edit: Yupp! worked for me. Hope you'll sort it out aswell.
Click to expand...
Click to collapse
Thanks for the help!
What file explorer did you use? Every one that I've used takes me directly to the "0" folder when I hit "sdcard" thus I can't seem to paste the clockworkmod folder into sdcard root.
daewond3r said:
Thanks for the help!
What file explorer did you use? Every one that I've used takes me directly to the "0" folder when I hit "sdcard" thus I can't seem to paste the clockworkmod folder into sdcard root.
Click to expand...
Click to collapse
move it to /data/media
---------- Post added at 12:26 AM ---------- Previous post was at 12:11 AM ----------
here's how it works
before the virtual link to /sdcard was /data/media
cwm was writing under /data/media so cwm folder would show up under /sdcard as well
now the virtual link to /sdcard is /data/media/0
that's because of multiuser (even if multiuser is not working on phones)
cwm is still wriyinb to /data/media so cwm golder eoll mot show up under /sdcard
solutions
1. to copy cwm foldrr on pc: move cwm folder from /data/media to /data/media/0 that is to /sdcard then attach phone to pc and copy folder from sdcard
2. to restore from a backup on your vomputer: attach phone to pc, create cwm folder on sdcard andcopy h erebackup folis, copy cwm foldef from /data/media/0 into /dara/media
it is normal to have a /data/media/0 which means /sdcsrd
it is not normal to have /data/media/0/0 which means /sdcard/0
the latter happens on your second installation etc.
daewond3r said:
Thanks for the help!
What file explorer did you use? Every one that I've used takes me directly to the "0" folder when I hit "sdcard" thus I can't seem to paste the clockworkmod folder into sdcard root.
Click to expand...
Click to collapse
I used solid explorer beta2. You'll find it on google play
Sent from my Galaxy Nexus using Tapatalk 2
I haven't updated to 4.2 yet because of this sdcard/0 issue I'm reading about
I don't care much about what's on my SD card besides my Nandroid backups so the only thing for me is: can I restore a backup from CWM if I move the "clockworkmod" folder from sdcard/0 back to the root of the SD card?
I assume there's no other adverse effects of all our files and stuff being on sdcard/0 instead of just sdcard root?
Enhanced said:
I haven't updated to 4.2 yet because of this sdcard/0 issue I'm reading about
I don't care much about what's on my SD card besides my Nandroid backups so the only thing for me is: can I restore a backup from CWM if I move the "clockworkmod" folder from sdcard/0 back to the root of the SD card?
I assume there's no other adverse effects of all our files and stuff being on sdcard/0 instead of just sdcard root?
Click to expand...
Click to collapse
read my commeny above: yes, although cumbersone, yes
I'm thinking this is the appropriate thread to post this so here I go. I flashed the newly released 4.2 rooted stock image and there were a few problems :
1. I forgot to delete the cache/dalvik cache, which created a bootloop and completely messed up my device, and I had to wipe/factory data reset from the recovery to fix it (in which case I had to lose almost all of my data)
2. I accidently overwrote an existing nandroid backup of the previous (CM 10 stable) ROM I had made to restore just in case anything happens, so I was out of options to restore my nexus to a working state. I finally had to use the crashed ROM's nandroid backup using an advanced recovery so I had my photos, videos etc intact. I got it finally working but anyways,
3. I restored my apps+data using titanium backup. I wanted to go back to my CM10 backup which I had made using ROM manager and it was still present with the rest of my data. But when I selected the backup which made, the device restarted and gave me an error stating "SD CARD MARKER NOT FOUND" :crying:
Now I'm unable to restore or even make a new backup with ROM manager. And to add, I have like three folders for storage using up too much space on my sdcard :
1. root/sdcard - I have no idea where this came from but it sure has an awful lot of my files copied there
2. root/storage/sdcard0
3. root/storage/emulated - has two subfolders : 0, legacy
All of the above locations contain the same exact files and I just want my nexus back the way it was. I know I can flash CM10 right away but I just wanna get some help on how to delete and make changes to these added folders by properly moving the files without crashing the os.
Any help would be greatly appreciated!
I am having this issue as well and am very very annoyed. Please help. Thanks. I cannot get into recovery manually or otherwise. Keep getting Andy with the red exclamation mark in his chest and must remove battery to reboot.
Fu#k rom manager and CWM use TWRP an rom toolbox pro an you will be fine on 4.2 JB.
Sent from my Galaxy Nexus using xda premium
Update: got it working.. had to flash back cm10 stable, move files around and get back the old ROM manager backup and restore it. Its fine now. Not to mention the 4.2 ROM was pretty unstable on my nexus, causing several reboots and sometimes it froze (especially when I connected it to my desktop) and I had to remove the battery and put it back in to get it working. Moreover the 4.2 rom screwed up the file system, making my nexus' SD card unreadable on any desktop. It just wouldn't install the drivers whatsoever. I'd wait for cm10.1 than try any other custom 4.2 from now on.
Sent from my Galaxy Nexus using xda app-developers app
daewond3r said:
Thanks for the help!
What file explorer did you use? Every one that I've used takes me directly to the "0" folder when I hit "sdcard" thus I can't seem to paste the clockworkmod folder into sdcard root.
Click to expand...
Click to collapse
You can download Root Browser Lite from play store, which gives you complete access to the root of your phone and internal files such as system/.

[Q] How to clean wipe?

Hey guys wanted to know how can i clean wipe all the data folders on my phone except the new ROM file i want to flash
i have done normal formats and wipes but got so many dead/duplicated folders on it with the 0/0 and some other stuff
for exmple with root browser i got the SDCARD folder and then i got the STORAGE/SDCARD0 folder again
also got STORAGE/EMULATED/0/ and here ALSO all the files
and also on STORAGE/EMULATED/LEGACY
what am i missing guys?
The SDCARD folders are in fact only links to the real sdcard folder.
I think these links are needed because android used to have another folder structure and older apps wouldn't be able to accept the sdcard.
For a completely clean wipe you can select wipe internal data in TWRP. Maybe you can push the ROM you want to flash via ADB push. But I'm not sure about that.
Cliff666 said:
The SDCARD folders are in fact only links to the real sdcard folder.
I think these links are needed because android used to have another folder structure and older apps wouldn't be able to accept the sdcard.
For a completely clean wipe you can select wipe internal data in TWRP. Maybe you can push the ROM you want to flash via ADB push. But I'm not sure about that.
Click to expand...
Click to collapse
Ok thanks bud, its just that i know that the /0/ folder is a shortcut to the real folder yet the other 2 i wrote down are old files that i had with other ROMS i have used back in the day

Most needed files & folders from 98.30.1

I started this for several reasons.
1) For those who have deleted some system/app(s) & want to manually restore to get ready for the KK ota.
2) /persist dilemma. It is only on our phone yet both recoveries allow you to format it but do not back it up!!!! http://forum.xda-developers.com/showpost.php?p=48941876&postcount=2061
3) /firmware Also not backed up. Both recoveries format it. But Rsd lite will restore it.
I put some very obscure folders here & they may never be needed! DO NOT GO & restore these just because I attached them! If it ain't broke don't fix it!
Get the full zip here http://batakang.com/ftp/?dir=devs/mhous33/XT907/98.30.1
It is the largest one there!
You can extract even a single system/app with Explorer free & paste it with es file to get OTA ready
But some /partitions are only on the phone. Some are created on boot
1 folder not ANYWHERE BUT ON YOUR PHONE is /persist.
Persist permissions are here
http://forum.xda-developers.com/showthread.php?t=2589790
Some wonder why Vzw does not want us rooting?
/Firmware is in the xml/fxz.
/System/app
/Vendor
/Firmware
/System/media.... stock boot animation/Dst animation.
Use Rom Manager fix perms for now. It has never failed me. Set them to all. Then run RM>fix permissions & reboot.
Permissions & ownership need to be set before use.
Rom Manager fix permissions is one good reason to have that app even if it did not WORK on our M, but it does.
Updated op.
So apps from "Data/App" can be deleted and still get the OTA, just don't delete apps from "System/App", is that correct?
VannMann said:
So apps from "Data/App" can be deleted and still get the OTA, just don't delete apps from "System/App", is that correct?
Click to expand...
Click to collapse
You got it.
You, Sir, are the greatest. Have been wondering about this. Finally got root, so I deleted the amazon and some verizon apps fron "Data/App". Thanks!!
VannMann said:
You, Sir, are the greatest. Have been wondering about this. Finally got root, so I deleted the amazon and some verizon apps fron "Data/App". Thanks!!
Click to expand...
Click to collapse
2 things
1)You don't want to "delete" data apps & no need to root to uninstall them. Settings, apps, downloaded, select.... 2)Also the ones you mention sound like system apps?
I deleted them from the Data/App, so they would not be in my app drawer. And all of my system apps are still there, just looked.
Didn't think about disabling them, I got root happy, been to long without it, lol.
aviwdoowks said:
I started this for several reasons.
1) For those who have deleted some system/app(s) & want to manually restore to get ready for the KK ota.
2) /persist dilemma. It is only on our phone yet both recoveries allow you to format it but do not back it up!!!! http://forum.xda-developers.com/showpost.php?p=48941876&postcount=2061
3) /firmware Also not backed up. Both recoveries format it. But Rsd lite will restore it.
I put some very obscure folders here & they may never be needed! DO NOT GO & restore these just because I attached them! If it ain't broke don't fix it!
Get the full zip here http://batakang.com/ftp/?dir=devs/mhous33/XT907/98.30.1
It is the largest one there!
You can extract even a single system/app with Explorer free & paste it with es file to get OTA ready
But some /partitions are only on the phone. Some are created on boot
1 folder not ANYWHERE BUT ON YOUR PHONE is /persist.
Persist permissions are here
http://forum.xda-developers.com/showthread.php?t=2589790
Some wonder why Vzw does not want us rooting?
/Firmware is in the xml/fxz.
/System/app
/Vendor
/Firmware
/System/media.... stock boot animation/Dst animation.
Use Rom Manager fix perms for now. It has never failed me. Set them to all. Then run RM>fix permissions & reboot.
Permissions & ownership need to be set before use.
Rom Manager fix permissions is one good reason to have that app even if it did not WORK on our M, but it does.
Click to expand...
Click to collapse
So is there a package with all the system app .apks somewhere in this mess of links lol, sorry for I'm guessing a very obvious question
Delerios said:
So is there a package with all the system app .apks somewhere in this mess of links lol, sorry for I'm guessing a very obvious question
Click to expand...
Click to collapse
Dl #9 systemAPP!!!

See root files from pc

Am I the only one who can't figure out how to view and or copy some files from the phone to my pc? Example, I created two zip files on my phone to be copied off for backup. TWRP.zip and Titanium backup.zip but neither is visible when connected from my pc. Chmod and chown also fails through root explorer or terminal. I'm feeling retarded right now...
Where are those zip files located? Somewhere in your root storage or on your sdcard/internal storage?
If it's the latter, try using adb commands to transfer the files to your PC
Or you can use this app called "Handshaker" and see if the files are visible there
CyberpodS2 said:
Am I the only one who can't figure out how to view and or copy some files from the phone to my pc? Example, I created two zip files on my phone to be copied off for backup. TWRP.zip and Titanium backup.zip but neither is visible when connected from my pc. Chmod and chown also fails through root explorer or terminal. I'm feeling retarded right now...
Click to expand...
Click to collapse
If you created zip files in root explorer, did you look in...storage/emulated/0/SpeedSoftware/archives
If yes, then move them to a folder you've already created. Much easier to find that way ?
Yeah I can see the zip files fine on the phone, and I can see most all files from the PC. I created the zip files right in the root of sdcard which is the same as the root of internal shared storage from the PC. I can even browse both the folders TWRP and Titanium backup from Windows Explorer. I even copied the files to a different dir. I'm thinking they being owned by root is the issue. Going to keep plugging. And try the app suggested.
The issue was not here on the 6P. I just zipped up those two dirs and copied them to the pc. Can't copy twrp cause of file names that piss off Windows and tibu has way too may files. Anyway, going to look into the adb thing but if the files are not visible then ???
Also. Thought about otg but the phone insists on formatting the cards as fat32 which have a 2 gig limit lol
Badger50 said:
If you created zip files in root explorer, did you look in...storage/emulated/0/SpeedSoftware/archives
If yes, then move them to a folder you've already created. Much easier to find that way ?
Click to expand...
Click to collapse
Heh one more thing, root explorer ain't working for me. Lol was using jrummy root browser. My bad for the initial problem statement.
CyberpodS2 said:
Heh one more thing, root explorer ain't working for me. Lol was using jrummy root browser. My bad for the initial problem statement.
Click to expand...
Click to collapse
Meh...no biggie bruh. Sorry RE doesn't work. Kinda strange though. It's worked great for me on any rom thus far. Unless it's a f2fs thing? ?
Badger50 said:
Meh...no biggie bruh. Sorry RE doesn't work. Kinda strange though. It's worked great for me on any rom thus far. Unless it's a f2fs thing? ?
Click to expand...
Click to collapse
So how do you back up for TWRP and tibu if you are doing a complete wipe?
CyberpodS2 said:
So how do you back up for TWRP and tibu if you are doing a complete wipe?
Click to expand...
Click to collapse
Set lock screen to swipe. Uninstall all theme overlays. Do my TiBu backup, and save it to my pc. Go to twrp and backup boot, system, and data, and let it rip. Then I save that backup to the pc. Then if I'm installing a new rom, I just do the twrp factory reset thing. I don't wipe system anymore since that seems to foul things up. Which, I still don't quite understand since that was SOP on the 6p ??

Categories

Resources