Flashing device with/without sim/sdcard - Touch Pro, Fuze ROM Development

Can someone enlighten me as to why is it important to flash the raphael without the sim card in it, as well as the sd card. I just flashed 2 roms with the sim card in it because i didnt remember to take it out, and i want to know what to expect.
Note: i previously used to own the kaiser and i never took my sim or sd card out when i would flash a rom and this never caused me any problems so i assumed the same would be true for the raphael.
So whats the reasoning behind this? is it safe to continue flashing with the sim in the phone?

thebestguru333 said:
Can someone enlighten me as to why is it important to flash the raphael without the sim card in it, as well as the sd card. I just flashed 2 roms with the sim card in it because i didnt remember to take it out, and i want to know what to expect.
Note: i previously used to own the kaiser and i never took my sim or sd card out when i would flash a rom and this never caused me any problems so i assumed the same would be true for the raphael.
So whats the reasoning behind this? is it safe to continue flashing with the sim in the phone?
Click to expand...
Click to collapse
I have never had a problem flashing with SIM card in (I have flashed hundreds of times), but from what I have read, if the card is in and a call comes in while it is still loading it could mess up the flash (customization part of flash). But always better to be safe than sorry.

thats a very good reason as to why one shouldnt have the sim in there, but i highly doubt the phone can receive a call through the sim while the rom is being flashed(process when the phone shows the percent bar from 0% - 100%), some please correct me if i am wrong.
Now I can also understand that a call can or may be received when the rom is installing stuff on the first boot.
Any other input on this subject?

I'm not sure about possible incoming call when flashing, but I highly agree with this guy :
mddjr01 said:
... always better to be safe than sorry.
Click to expand...
Click to collapse

thebestguru333 said:
thats a very good reason as to why one shouldnt have the sim in there, but i highly doubt the phone can receive a call through the sim while the rom is being flashed(process when the phone shows the percent bar from 0% - 100%), some please correct me if i am wrong.
Now I can also understand that a call can or may be received when the rom is installing stuff on the first boot.
Any other input on this subject?
Click to expand...
Click to collapse
I always flash with SIM card in raphael. I presume I can't receive a call when the card is protected by PIN code. Without entering it the phone can't make calls or even receive them...

I never take my SIM or SD out. I have recieved a call before during customization(not flashing,which should be impossible) and it didn't have any ill effects. The SD: I'm pretty sure this can stay as some people use it to flash with RAPHIMG.nbh. Also, how is the sdconfig to run during customization if you leave it out. I used to do the whole take my phone apart, remove SIM/SD, flash, etc.etc. but it takes twice as long and I haven't seen any benifits. By the way, I am flashing ROMs at least 2-3 times a day while developing a new ROM. Only thing I notice with SIM in is that connection setup tends to popup during customization, but with SIM out I get the PIN pad instead. Maybe a seasoned PRO can tell us why it is supposed to be necessary.

I used to follow the practice of removing my SIM and SD card as well as plugging the charger in when flashing.
Since i've been cooking my own ROM's, I've ceased the practice of removing the SIM and SD Card - primarily because I am using the SD card to flash my ROM to the device. I still keep the device plugged to the charger.
The problem with an SD card flash approach, is that the SD card could be faulty resulting in a corrupted flash. As the device is HardSPL'ed, corrective measures are simply: obtain a new SD card, copy the ROM to it, initiate bootloader ... and one is "back in business".
HTH,

jmckeejr said:
I never take my SIM or SD out. I have recieved a call before during customization(not flashing,which should be impossible) and it didn't have any ill effects. The SD: I'm pretty sure this can stay as some people use it to flash with RAPHIMG.nbh. Also, how is the sdconfig to run during customization if you leave it out. I used to do the whole take my phone apart, remove SIM/SD, flash, etc.etc. but it takes twice as long and I haven't seen any benifits. By the way, I am flashing ROMs at least 2-3 times a day while developing a new ROM. Only thing I notice with SIM in is that connection setup tends to popup during customization, but with SIM out I get the PIN pad instead. Maybe a seasoned PRO can tell us why it is supposed to be necessary.
Click to expand...
Click to collapse
LOL
You're one step ahead of me.
ASFAIK, the PIN pad (assume you mean the MS Dialer) comes up as it is apparently possible to place emergency 911 calls without a SIM present - haven't personally tried calling 911 to find out. Same as when the phone is security locked, it is possible to bypass the PIN Lock and place an emergency call to 911.

I have actually called 911 by accident once. When I was a noob, the first time I flashed I thought it was askin for a pin # or something. LOL. It does work, I hung up right away.

Awesome replies guys,
however one has not convinced me to take the sim and sd card out when flashing... i am going to continue flashing without taking the sim/sdcard out. It just saves a lot of time.

thebestguru333 said:
thats a very good reason as to why one shouldnt have the sim in there, but i highly doubt the phone can receive a call through the sim while the rom is being flashed(process when the phone shows the percent bar from 0% - 100%), some please correct me if i am wrong.
Now I can also understand that a call can or may be received when the rom is installing stuff on the first boot.
Any other input on this subject?
Click to expand...
Click to collapse
I never remove the sim or sd card when flashing. Never had any problems.
Just flashed a ROM and after the flash and hard reset, while the initial configuration was going on, I did receive a call. I did not get the ringtone when the call came in but I could see the lights blinking. I'm not sure if I could have answered the calll and I did not try it. I did have a voicemail when done. I do not see any side effects from it either.

Maybe we should have poll of who removes there simcards/sdcards and who doesn't lol j/p...
I actually remove mine after ever flash.. but seems like "everyones not doing it" lol so I guess I'll just on that bandwagon lol

sim and sd don't have to be removed. when flashing, the phone is in bootloader so there can't go anything wrong. i flash a half year now, once a day. I don't have lost my sim contacts or any content on my sd.

Ive flashed between my Kaiser and my Raphael at least 1000 times. Ive ALWAYS flashed via SD ( as i primarily use a mac and refuse to reboot into MS to use activesync ) and have NEVER removed my SIM in the process. Ive had calls come in ( As others stated, I just let the voicemail pick it up ). Not only is SD flashing SAFER ( never worry about losing a connection by bumping a cable ect ) But is it also FASTER. I carry several radio/ril combos and several OS's on the SD card itself and flash on the fly. Its a good way for me to test which radios work near which towers ( as I commute a lot )
Just my input here. Hope this helps some.
PS
I do make PIM backups of my contacts occasionally just so I have a somewhat current backup copy

I flashed mine with the SIM card and SD card in the phone before... I don't think it hurts anything.

how about flashing via the microS/D card and plugging in the power adaptor? shouldn't be a problem either right?

lukesky said:
how about flashing via the microS/D card and plugging in the power adaptor? shouldn't be a problem either right?
Click to expand...
Click to collapse
Its actually quite a good idea to plug it in while flashing stops you getting a bad flash from running out of battery

I've flashed with SIM and SD card in before and there where no problems. I haven't received any calls though so I can't tell you how safe it is to keep the SIM in..
I remove it now, better safe than sorry.

Related

Windows Mobile 6.5, Energy series, Storage Issues

I dont know if I am the only one, but although I love this ROM and I find it perfect for my needs I just cant get around the fact that it destroys my 8GB microSDHC class 6 card by encrypting it. I have formated it endless times with the panasonic formatting tool it becomes usable, I put my files in it, it work for a few hours at best and the the phone hangs. usually using Total Commander, its interesting that it starts slowly, like 1 ever 5 secnds, showing my folders (I guess this is where the encryption begins. And then everything I try to open gives an error 18, data moved or something. Encryption desibled in setting, power administration disables it does that regardless.
After it does that if I soft reset or restart the phone the card will not show up anymore, either in the total comander, or file manager or any program that trys to access the card. After that if i put the sd back in my pc it shows everything just fine except an Encfitlog.menc file or something like that has being created. Its only that file thats all, no extensions have been modified no files moved nothing. And the computer reads and opens everything just fine. Sometimes if I delete the file the phone will read it again mst times it dosnt.
I know many think it can be bad SD card but the fact is that the computer reads it just fine and intrestingly enough so does the phone, for example i can install endless numbers of roms using the sd method. Even with the menc file on it the bootloader reads the card perfectly and flashes the RAPLPH.IMG everytime no erros. To me that means all hardware is working fine.
WHAT CAN IT BE????????????? PLEASE HELP I READ FOR HOURS DIFFERENT THREADS AND NOTHING HELPED. O LOVE THIS ROM BUT I NEED THE SD AS WELL
if anyone has any idea I would be extremely grarful!!!!!!
was the card properly inserted? The card slot is spring loaded. Try removing the card by pushing it in all the way, the card should pops out. That's when you know that you've inserted the card properly. If the card was inserted correctly, the easiest way to find out now is buying or borrowing a different card.
Yes of course, like I stated i can flash roms form the same sd card, it works for a while and then it just goes bananas. It seems to be a fairly common issue I just thought some one else might have figured out what triggers this error. Still no permanet solution.
Have you tried the second suggestion?
O tried the card in other phones and it works which is stait up wierd. Havent gotten around other cards to try yet. but is wierd i doubt its hardware related cause it reads the rom images perfectly to flash them. and doubt its the rom becuase i tried like 6 already ranging from stock 6.1 to heavily tweaked 6.5s yeilding always thesame results. its like they just dont get along. wierd. will look for another sd to try on my fuze and see how that goes
Try a different brand of Card
spos86 said:
O tried the card in other phones and it works which is stait up wierd. Havent gotten around other cards to try yet. but is wierd i doubt its hardware related cause it reads the rom images perfectly to flash them. and doubt its the rom becuase i tried like 6 already ranging from stock 6.1 to heavily tweaked 6.5s yeilding always thesame results. its like they just dont get along. wierd. will look for another sd to try on my fuze and see how that goes
Click to expand...
Click to collapse
I too use NRG roms and have flashed them from AS and my SD. I have a Sandisk 8Gb card that I brought when I got my Raph and have never had a problem. I can only strongly recommend that you get another brand of card and check the results. Maybe there is something funky about the way they talk to your brand of SD card.
Check on the HTC site. I think they list compatible memory cards. I have a similar issue with a 16G card I bought. Sometimes it's all there and sometimes it's not...no rhyme or reason to it. I just went back to the 4GB for now haven't had the time or incentive to go further yet.
i guess its just that!!! I mean it is a very cheap card, Generic from Microcenter. But the on and off thing is what confuses me. I would thing it would be a work or no work thing and not a sometimes works some times it dosnt senarrio. An I tried the card on a Kaiser, Titan, and CDMA Raphael and works. And for certain things it works on this Phone as well. I noted one more thing. If the phone never goes to sleep it dosnt corrup the card. But as it goes to sleep when i press the power button it hangs for a second and pufff!!! card gone. But if i plug it to the computer via USB it will recognize that theres a card it just wont show it. And if i plug it in the computer with SD adapter is all there plus the forsaken menc file. But the whole sleeping thing leads me to thing it might be a power management issues of how the OS handles the memory voltage on sleep and resume. Could it be?????????
WIERD!!!! I guess the only OTHER logical explanaition (which dosnt totaly stasify me, THEY JUST DONT UNDESTAND EACH OTHER)
Will try to get a secondary card and post resulsts.

[Q] MicroSD Slot Issue

Ok so I got the Amaze, had everything setup and I decide to use my microsd card from my G2 and place in the Amaze. Shut the phone off, took the backing off, place teh sd card in, turned it on. Worked! For about a minute! It goes down hill from there. The phone is now saying that my SD card is damaged or if it's in there, it says Removed SD Card. I've formatted the card plenty of times, inserted and took it out plenty of times, tried 2 other sd cards, all have the same problem. Put those SD cards back into the original phones and they work fine. I'm stumped. I need help. Any ideas or suggestions? Anyone having the same issue?
Have you tried a different SD card?
Also, try to reformat it (make sure to backup your files) and just put it in without any files inside. You could also format the card from the phone as well (backup before you do).
saulcho009 said:
Have you tried a different SD card?
Also, try to reformat it (make sure to backup your files) and just put it in without any files inside. You could also format the card from the phone as well (backup before you do).
Click to expand...
Click to collapse
Yeah, I've tried 3 different cards. I've reformatted them all through the computer but I couldn't through the phone. Every time I've tried through the phone, it wouldn't do anything.
at this point I don't know if it's a hardware issue or a software issue. I didn't a Factory Reset, still the same problem.. I love this phone! Everything else is awesome besides this one issue!
tonyfate said:
at this point I don't know if it's a hardware issue or a software issue. I didn't a Factory Reset, still the same problem.. I love this phone! Everything else is awesome besides this one issue!
Click to expand...
Click to collapse
Run! Don't walk back to the T-Mobile store and have them exchange it.
It doesn't matter if it is hardware or software, you are experiencing an issue that others with the same product are not. You did your due diligence as far as trouble shooting yourself. Take it in to the store and tell the rep to either fix it, tell you what you are doing wrong, or swap it out.
Don't wait any longer looking for solution here!
Go now!
LOL Thanks! I'm heading there in about 30mins when I get out of work!
So I got it replaced! SD Card works! Now I gotta bring it back for another one because when the soft keys light up, you can see two dots like they didn't coat the screen properly and missed a few spots..

[Q] my s2 won't read any sim card

hello ,
suddenly my s2 won't read any sim card and it's always on flight mode ! i tried to restart the phone and it didn't work , also tried to take the battery and the sim card off for a while and it didn't work also , i did factory reset still nothing.
- the sim card worked normally on another phone
- the phone is running on android 2.3.5 because we didn't get the ICS in the middle east for some reason.
- the phone is not rooted.
- kies doesn't recognize the phone anymore .
so how do i make it work ?
and sorry for the bad English because I'm not a native speaker .
kak2a2 said:
- the phone is running on android 3.5.5 because we didn't get the ICS in the middle east for some reason.
Click to expand...
Click to collapse
I'm impressed that you managed to get Honeycomb working on it.
oinkylicious said:
I'm impressed that you managed to get Honeycomb working on it.
Click to expand...
Click to collapse
sorry i mean 2.3.5
I'm pretty sure you EFS folder is messed up. There is a guide in general to recover it altrough most likely it won't. Other way is to contact xda member odia, I think he can recover it.
Sent from my sgs2 running cm9
Do one more factory restore but this time without Sim card and SD card.
Use the dial code to wipe.
Sent from my GT-I9100 using Tapatalk 2
Check first your IMEI is correct .
What do you mean by not read sim card network or you cannot read the data on the sim contacts etc .
jje
atifsh said:
Do one more factory restore but this time without Sim card and SD card.
Use the dial code to wipe.
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
didn't work , thanks for trying
JJEgan said:
Check first your IMEI is correct .
What do you mean by not read sim card network or you cannot read the data on the sim contacts etc .
jje
Click to expand...
Click to collapse
the network doesn't work and i can't show the data , it basically tells me to "insert the sim card" so it's like the sim is not even in the phone at all.
kak2a2 said:
the network doesn't work and i can't show the data , it basically tells me to "insert the sim card" so it's like the sim is not even in the phone at all.
Click to expand...
Click to collapse
Then it may not be you efs folder (IMEI!) becoming corrupted after all! Try cleaning the contacts on your sim & inside your phone & make sure none of the pins are bent or broken internally also, then try somebody elses sim card in your phone first before replacing your own! If your sim works in another phone then it's got to be something to do with the contacts/pins, as you haven't flashed your phone or anything to corrupt stuff in the first place!!
CrackDaddy said:
Then it may not be you efs folder (IMEI!) becoming corrupted after all! Try cleaning the contacts on your sim & inside your phone & make sure none of the pins are bent or broken internally also, then try somebody elses sim card in your phone first before replacing your own! If your sim works in another phone then it's got to be something to do with the contacts/pins, as you haven't flashed your phone or anything to corrupt stuff in the first place!!
Click to expand...
Click to collapse
my friend fixed it for me and he said yes the problem was in the IMEI . thanks for the help guys
Annoyed with Android
I have the exact same symptoms except I did not play around with any software updates or “internal settings”. The memory on my phone was filled with photos I took over the weekend and some apps refused to start up because of the lack of memory. Probably the mistake, I took the SD card out to try to read it from my Win 7 notebook, because the “Gallery App” did not want to open to allow me to delete of some images to free up memory. (Well why not, most other equipment allow their SD cards to be read by Windows.)
Whatever the reason the phone is completely stuffed; the SD card is not recognised and that result in no phone connection!! The phone can't be used. This is absolutely ludicrous. One cannot sell equipment that can be made unusable this easily. I can understand maybe losing image/data on the SD card if I took it out, but now the entire phone is useless, and it seems (from other forums too) that it is quite a process to get the so-called IEMI folder back. I am really frustrated at this point and have a real annoyance with Android. Judging from the amount of hits returned after a Google search, this SD card problem is a fairly common one. I am not going to fix this; will rather get a new phone, one that works, and it will not be an Android phone. Yes I know hardcore Andriod followers will be all over my post, but just think a bit, this kind of problem should not happen and is really nonsense
(PS: People that moan about multiple postings, can't you just answer the question, even if there is another similar thread, do you have to nit pick on everything.)
Pierre9 said:
I have the exact same symptoms except I did not play around with any software updates or “internal settings”. The memory on my phone was filled with photos I took over the weekend and some apps refused to start up becayse of the memory. Probably the mistake, I took the SD card out to try and read it from my Win 7 notebook, because the “Gallery App” did not want to open to allow me to delete of some images to free up memory. (Why not most other equipment allow their SD cards to be rad by Windows.)
Whatever the reason the phone is completely stuffed; the SD card is not recognised and that result in no phone connection!! The phone can't be used. This is absolutely ludicrous. One cannot sell equipment that can be made unusable this easily. I can understand maybe losing image/data on the SD card if I took it out, but now the entire phone is useless, and it seems (from other forums too) that it is quite a process to get the so-called IEMI folder back. I am really frustrated at this point and have a real annoyance with Android. Judging from the amount of hits returned after a Google search, this SD card problem is a fairly common one. I am not going to fix this; will rather get a new phone, one that works, and it will not be an Android phone. Yes I know hardcore Andriod followers will be all over my post, but just think a bit, this is really nonsense
(PS: People that moan about multiple postings, can't you just answer the question, even if there is another similar thread, do you have to nit pick on everything.)
Click to expand...
Click to collapse
- There is no need for you to start spamming this thread.
- Ask questions with common sense, that will help you get the much needed assistance.
- There no need for you to threaten anyone. If you are not going to buy Android device again, million more people will still buy it.
- You must understand that, people who give assistance here on XDA, do so without any monetary benefit. It's not your right to be given assistance, it's a privilege.
- Xda just like any other forum/organisation has rules and regulations, you must follow them.
- stop spamming around, it will only make things worse for you.
Peace
Swyped from my Samsung Galaxy SII
Pierre there is a trading forum on here.Im sure someone could give you £20 for your phone.....since its faulty lol.
Sent from my GT-I9100 using xda premium
Apologies for the double messages. I tried to fix it numerous times, but it does not seem to take effect.
Jokesy, the fact people don’t get paid for commenting here is completely irrelevant; I also have a day job and don’t have 6 hours in the evening to get a phone to make a call. Pointing out severe problems with a product is not spamming.
Pierre9 said:
Apologies for the double messages. I tried to fix it numerous times, but it does not seem to take effect.
Jokesy, the fact people don’t get paid for commenting here is completely irrelevant; I also have a day job and don’t have 6 hours in the evening to get a phone to make a call. Pointing out severe problems with a product is not spamming.
Click to expand...
Click to collapse
Posting the same thing 3 or 4 times within 3 minutes and again in another person's thread is indeed spamming.
I'm not if I'd reported you already
Swyped from my Samsung Galaxy SII
Jokesy you sure are not very observant. You should have noticed the multiple messages were due to an editing problem. Report my post; hopefully an administrator can clear up the extra messages as sure as tax this editor cannot. Do you think for one moment I value membership of a site where some rude one-eyed geeks hang out?
To the $20 guy; the phone is not worth that much. I will probably not come back to this site, so it is pointless, but I would even mail the phone to you in its original box, free of charge, if I could.
could you please tell me how did he fix it? Because I apparently have the same problem!:crying:
Try reflashing stock ROM
And theres ICS for middle east
Go to samfirmware.com and download it
Sent from my GT-I9100 using xda app-developers app
Interesting...
I am in a similar situation with a t989 phone that doesn´t recognize my simcards.
Some days ago I tried to upgrade my phone to the latest official ICS using ODIN as KIES
was always giving disconnection errors before finishing the upgrade.
Finally I got my phone stuck at the download mode with an error message and a yellow warning triangle.
I thought I had a bricked phone, but fortunately I managed to recover it using an old
official ROM. The problems is that now it doesn´t recognize any simcard inserted.
The current installed software versions are:
Android 2.3.5
Base band: T989UVKID
Kernel version: 2.6.35.11
Compilation number: GINGERBREAD.UVKID
Makrilli said:
I'm pretty sure you EFS folder is messed up. There is a guide in general to recover it altrough most likely it won't. Other way is to contact xda member odia, I think he can recover it.
Sent from my sgs2 running cm9
Click to expand...
Click to collapse
my S2 doesn't recognize my sim card
kak2a2 said:
my friend fixed it for me and he said yes the problem was in the IMEI . thanks for the help guys
Click to expand...
Click to collapse
Hello please i just read your post and would need your advice, my S2 just stopped recognizing my Sim card yesterday night, i was playing a fast action game on my phone and the phone suddenly went off, when it came back on it did not recognize my Sim card any longer. I tired putting the same Sim in another phone and it worked but when i returned it to mine it still did not recognize my Sim, please can you tell me what to do with regards to this issue?

Unrooted Evo 3D (Sprint CDMA) not recognizing SD card after ICS update - how to fix?

i updated my phone to ICS about an hour ago and since then, my phone keeps rebooting and doesn't seem to recognize the micro SD card (the same one I've used in the phone since I got it on release day). The card is listed in the Storage menu in settings with the correct total and free space, but it doesn't recognize it otherwise. Trying to unmount it does nothing, no pictures are showing up in my gallery and the apps that are on my card are showing on my home screens with the default Android logo instead of the actual app logos. Anyone know how to fix this? The phone is not (and never has been) rooted.
The phone is working better without the card, but I can't view texts. It just says Loading... and the message never comes up.
Is there something I have to do to get ICS to recognize the micro SD card? Or do I have to do a factory reset and/or format the card (two things I don't want to have to do)?
Having the same issues here. I'm wondering if it could be something on the SD card itself that could be causing the problem. Like an app that is installed on the card or something. Thinking about clearing the card and trying it again.
Do a factory reset. With OTA updates an unrooted phones, a lot of people have problems. This is why rooted users wipe everything (factory reset) when flashing roms, because updating rom's without wiping usually causes random issues like this.
Benknot said:
Having the same issues here. I'm wondering if it could be something on the SD card itself that could be causing the problem. Like an app that is installed on the card or something. Thinking about clearing the card and trying it again.
Click to expand...
Click to collapse
That's what I did last night (formatted the SD card) and my phone hasn't rebooted since then. Probably an app on the card that wasn't working with ICS.
I finally found it!
After hours of looking it up, i found the biggest issue I have ever had with my phone. Maybe second, after my down volume button broke (didnt fix that, ICS kinda did). Or maybe third, after my Micro SD card crashed, and when I went to repair it, it somehow wasnt the one the phone comes with...
Lets get on with this. I have waited so long, and thinking that they had a whole year to develop a perfect update, they screw it up.
I want to know why the hell the Micro SD keeps crashing my phone. I try to transfer the stuff, but it doesnt allow it. Should I buy an adapter and transfer the stuff to my pc? What will happen to all my game data? How do I restore that? Do I factory reset the phone only, the SD card, or both? I really need a perfect explanation what to do, and as much technological I am, I dont want to mess anything up.
And another thing, which might be irrelevant, but those other Googlers or HTC EVO 3D owners might have this same issue. Why is there a thick red border around the screen of my phone ( sometimes, it flashes periodically). I think its a developer option, but im not 100% sure. I really hate buggy software.
Oh, and if you guys didnt notice, or it might be just for me, but my computer doesnt detect my pc, and even the red charging light takes 5 minutes to turn on. If HTC doesnt do anything about this, im going to root, and believe me, I tried.
If HTC cant,help you guys can. Happy typing your response!
I want to know why the hell the Micro SD keeps crashing my phone
Click to expand...
Click to collapse
Could be a bad card.
Should I buy an adapter and transfer the stuff to my pc?
Click to expand...
Click to collapse
Can't hurt.
What will happen to all my game data? How do I restore that?
Click to expand...
Click to collapse
Well if the card is bad/failed, you probably lost that. Backups are very important in today's world.
Do I factory reset the phone only, the SD card, or both?
Click to expand...
Click to collapse
You don't factory reset the SD card, you format it. It's worth a shot, but if the card is bad it won't help.

[Q] Spyware persists after 3 factory resets

Thanks for reading this and helping me sort this out.
****Edited to make it short and sweet**** Original below if you want more of the story
Had spyware on my phone from roommate, 100% sure.
Did factory resets, yet he was still getting into it right away (while I had phone in hand)
Got a refurb phone replacement for camera issue. Put old SIM card in new phone for an hour or more, thinking that it was safe.
HEAVILY suspect that it is infected again based on it's behavior and my roommates behavior.
-Should have made clear below that I was 100% on the initial infection surviving, but only highly suspicious for 2nd phone. (Based on his behavior and earlier today, the cursor would move while I was trying to type in my password and certain keys on the keyboard would not work randomly)
I just got a new sim card, unused still. Want to clean EVERYTHING possible. ROMs, kernels, everything. Need advice. Perhaps I am just paranoid for the second part but I don't think so and know the first phone resets not working is true. Thx
******************
My soon to be ex-roommate and ex-"friend" has been spying on me with computer backdoors and spyware on my Droid Maxx (4.4.4-7) I am 100% on this, I can list the reasons why but judging from other threads in random sites, that would be a distraction. I will leave it at knowing special knowledge, his behavior and "real-time" reactions while I use the phone (clearing throat when I do certain things... now coughing since I told him he does that and he can't hold it back), everytime I reset the phone he slams the doors, caused my phone to hang up when I said "fraud" on the credit card phone system. Anyways it's legit. He did the same stuff for my computer he responded to what I typed in even and relayed what I searched for (gloating). He made random sounds play and throttled my PC speed to a crawl.
So I read elsewhere after the stuff with my phone continued to happen that there is software that can survive factory resets... I'm not sure if the ROM or kernel is the issue or some other firmware (relative noob compared to most of you) or if it is the SIM card which provides access. (if you think I am crazy look into it: since I can't post links search "Sim card apps defcon notes" and "the secret life of sim cards" also from Defcon. Also there is a somewhat related story about SIM cards being hacked in the beginning of most sim card hack searches)
He had one of his always precisely timed coughing fits when I started looking into SIM Tookit Hacks so I am suspicious of that. This was after getting a new phone (unfortunately I had the old SIM card in the new one for about an hour, I didn't know they were essentially little computers)
What do I do here? I have stock 4.4.4-7, no root (Droid Maxx is usually impossible to root currently). I have a new SIM card in but I'm afraid that now the new phone and the card are infected.
The computer software he used (backdoor/rootkits) Were mostly undetectable. I got lucky and detected only one backdoor, but later had rootkit activity detected but nothing found. I believe he has access to some new "zeroday" PC/Android software or at least it is pretty advanced. Perhaps the SIMcard has an applet that allows him to install the software over and over again since the card is not formated. This capability has been discussed in I believe both of the two first links.
I want to flash EVERYTHING. ROM, kernels, other firmware... Not sure how that could be done since I don't have root (maybe I am ignorant here) and many Verizon techs I have talked to think factory resets always work. Yes, this stuff is unlikely in general, but he has made a concerted effort to target me. Antivirus has been worthless.
I need to know 100% that everything is clean.
Thank you!

Categories

Resources