Can a trojan/malware persist after full wipe and rom install? - Android Q&A, Help & Troubleshooting

I wiped system, cache, dalvik, boot and recovery before installing a new custom rom. What are chances that a malicious code still run on the device? Thanks

TheTripLoop said:
I wiped system, cache, dalvik, boot and recovery before installing a new custom rom. What are chances that a malicious code still run on the device? Thanks
Click to expand...
Click to collapse
Have you mounted every partition you've seen in mount menu of twrp and wiped them? Also there are other memory spaces, but I guess they are not used by malware (no guarantee).

There's also data partition, I wiped that. EFS I don't think there's an option to wipe it. USB otg is unmounted.

TheTripLoop said:
There's also data partition, I wiped that. EFS I don't think there's an option to wipe it. USB otg is unmounted.
Click to expand...
Click to collapse
Yeah, data partition should be wiped too(wipes your data, be careful!). And internal storage too!

It doesn't answer my question

TheTripLoop said:
It doesn't answer my question
Click to expand...
Click to collapse
It's easy: wipe/format every single partition = no code will be survive

Related

Complete Wipe of SGS2

Whats the best way to do a FULL wipe of the device? including ALL user data/files/rom leftovers/battery stats/binary counter/everything!?
I am talking about as clean a slate as possible.
*2767*3855#
Extra wipe probably overkill .
Connect phone in mass storage mode and format the phone drive .
Boot to recovery wipe cache Advanced wipe dalvik cache .
Mounts and Storage format system data and sd card .
Use Odin to flash stock firmware as phone is empty .
jje
Thanks Guys appreciate it!
Sent from my GT-I9100 using Tapatalk
Flash CWM Recovery. Then select every option called "Wipe xxxxx" in every menu and submenu. Then flash a stock rom.
I have a question by full wipe u mean-
in cwm format system ,data,cache
wipe cache, dalvik cache. Anything else.I dont want to lose sd card contents so i did not do format sd card.Is it ok when installing a new rom?
abhiwltya said:
I have a question by full wipe u mean-
in cwm format system ,data,cache
wipe cache, dalvik cache. Anything else.I dont want to lose sd card contents so i did not do format sd card.Is it ok when installing a new rom?
Click to expand...
Click to collapse
if u wipe with this way u just loss contact and apps that u installed them on your phone but other things like musics,movies and photos .
thanks button
wipe data factory reset and go to mount and storage and format system
To me complete wipe means complete not part wiped .
System Data Cache and internal SD card .
Though no need for wiping SD Card unless data corruption on it .
jje
Wiping by means of formatting won't destroy all of the data, formatting an ext4 partition simply overwrites the file tables. With the right tools it is still possible to retrieve lots of your personal information from a re-formatted partition, including stored passwords, pictures, etc.
tanseerj said:
..including../binary counter..
Click to expand...
Click to collapse
All the named procedures does not, don't they?
So either old bootloader and jig or easier use triangle away.
Erasing user data there is an additional option: settings-device-storage-erase USB-storage.
Full wipe. How??
aydc said:
Flash CWM Recovery. Then select every option called "Wipe xxxxx" in every menu and submenu. Then flash a stock rom.
Click to expand...
Click to collapse
I also do this when the instruction says "full wipe". Aside from this I also format the internal SD(to delete extra folders created from the previous ROM) since all my installers are inside the external SD.
Aside from the above instruction, I also read some posts that you have to mount to a specific folder(not internal/external sd) and clear/format that location. Can anyone confirm this? Thanks in advance.
I do this:
Wipes:
- Factory Reset
- Cache Partition
- Dalvik (Advanced)
Format:
- System
- Data
- Cache
- Internal Storage (No SD)
austick said:
I do this:
Wipes:
- Factory Reset
- Cache Partition
- Dalvik (Advanced)
Format:
- System
- Data
- Cache
- Internal Storage (No SD)
Click to expand...
Click to collapse
Could you care to elaborate on how to do the ones in bold?
What I normally do is that I mount points like /system, /data, /cache, /emmc and format all of them. I'll do all of this using ClockworkMod Recovery.
Sent from my GT-I9100 using Tapatalk 2

[Q] What does wiping system do?

Im sorry if this is such a nooby question but on some custom roms it recommends to wipe /system. What does this do? And what do you lose? When I usually go to another rom I wipe user data, cache, dalvik cache and battery stats. I never had any problems by doing so. In my case I never saw where to wipe /system I found out it was under mounts and storage in recovery a few days ago.
svenerator said:
Im sorry if this is such a nooby question but on some custom roms it recommends to wipe /system. What does this do? And what do you lose? When I usually go to another rom I wipe user data, cache, dalvik cache and battery stats. I never had any problems by doing so. In my case I never saw where to wipe /system I found out it was under mounts and storage in recovery a few days ago.
Click to expand...
Click to collapse
reset to factory status ands deletes all contacts, custom apps and any other personal information on the phone.
It will be like the day you got it.
Cosmic Blue said:
reset to factory status ands deletes all contacts, custom apps and any other personal information on the phone.
It will be like the day you got it.
Click to expand...
Click to collapse
This is wrong....
The /system partiton is where Android itself gets stored. As in the system apps and framework. It is recommened to wipe it when changing to a *non-wipe* firmware just in case some files are different and get left over from the previous rom.
Sent from my GT-I9100
Electroz said:
This is wrong....
The /system partiton is where Android itself gets stored. As in the system apps and framework. It is recommened to wipe it when changing to a *non-wipe* firmware just in case some files are different and get left over from the previous rom.
Sent from my GT-I9100
Click to expand...
Click to collapse
Thanks, that makes sense.
not wiping before installing a new rom usually results to bootloops.
i see to it i wipe before installing another rom (unless i'm installing a newer version of the existing rom)
in advanced wipe in twrp what does wiping system but keeping data,cache,and internal storage do ? will i keep my apps and data?
help me a noob said:
in advanced wipe in twrp what does wiping system but keeping data,cache,and internal storage do ? will i keep my apps and data?
Click to expand...
Click to collapse
As was posted earlier in the thread, wiping system basically wipes the rom/os and system settings. Your user data, apps, pictures will not be wiped. If you rebooted after wiping system the phone will not work, however you could wipe system then flash an update of the same rom and reboot and you should be fine(depending on the changes between rom versions). This is basically referred to as dirty flashing. FYI, most custom roms have a script which wipes system, cache and dalvik/art cache automatically preserving only /data(user apps and data)

About my phone file system

Hye everyone, my name is toby and I have a question..
Long a go after I bought sgs2 I try to remember, I think I've formatted this phone once using my laptop via usb. I plugged the phone, right click on my computer and format, I think it was NTFS file system. do you guys think this will have impact on the phone performance r/w or ROM? or will the sd partition won't work at all?
I'm asking this because I have installed ROM's and It lag and crashed a few times.. I think maybe this two connected.
Thank you..
p/s:f5,f5,f5,f5 waiting for some rom to update.
Yes the two are likely to be connected. If you formatted your sdcard as ntfs then I would presume that it is using the ntfs support in the Linux kernel to access it. However, NTFS is not a light fs, it is intended for heavy duty file work, and definately not suited for mobile devices. I'm not surprised it's causing your phone to lag.
I suggest you enter your phone's recovery mode and reformat your /sdcard partition, and if you have CWM just to be sure, do a full factory wipe, and format ALL partitions in the advanced section.
So...
mrnaz said:
Yes the two are likely to be connected. If you formatted your sdcard as ntfs then I would presume that it is using the ntfs support in the Linux kernel to access it. However, NTFS is not a light fs, it is intended for heavy duty file work, and definately not suited for mobile devices. I'm not surprised it's causing your phone to lag.
I suggest you enter your phone's recovery mode and reformat your /sdcard partition, and if you have CWM just to be sure, do a full factory wipe, and format ALL partitions in the advanced section.
Click to expand...
Click to collapse
So... everytime I wipe cache partition in cwm recovery mode, it reformat my /sdcard? so, I have nothing to worry right, because I always do the 4 steps of cleaning before installing, sorry, flashing new rom.
No. Wiping the cache does exactly that, wipes the cache. If you do wipe the cache, you'll find the first boot after you do it will take a bit longer than normal while the cache is rebuilt.
If you want to format your /sdcard, you need to go into mounts & storage in CWM.
thegreatdead69 said:
So... everytime I wipe cache partition in cwm recovery mode, it reformat my /sdcard? so, I have nothing to worry right, because I always do the 4 steps of cleaning before installing, sorry, flashing new rom.
Click to expand...
Click to collapse
Hm...
MistahBungle said:
No. Wiping the cache does exactly that, wipes the cache. If you do wipe the cache, you'll find the first boot after you do it will take a bit longer than normal while the cache is rebuilt.
If you want to format your /sdcard, you need to go into mounts & storage in CWM.
Click to expand...
Click to collapse
Okkkaay... Thank you sir..
Need Help with cwm
Hye, I can't find format /sdcard option in cwm Mounts & Storage Menu..
only have this formatting option:
format cache, system, data, secondrom_cache, secondrom_data, secondrom_system, external storage, internal storage.
and I can't mount /sdcard it say Error mounting /sdcard!
I am using CWMR Touch 5.5.0.4 btw.
P/S:Im not using any external mmc.

[Q] Format internal sd

Hello
I recently rooted and flashed LiquidSmooth onto my SG3 I747M and i would like to get rid of all the junk on my internal harddrive. I was wondering what the procedure would be to wipe my internal harddrive (So i do not have any random folders or old app files) on TWRP without losing my custom rom and root. Would i have to save the backup (just incase), custom rom and root on my sd card and just install it right after I wipe my harddrive?
Any help with this would be greatly appreciated
Thank you!
Wipe cache and go to /system/app and /data/app and delete unwanted apps. That should be enough.
Astu04 said:
Wipe cache and go to /system/app and /data/app and delete unwanted apps. That should be enough.
Click to expand...
Click to collapse
Id like to just format my internal harddrive completely. Is there anyway of doing this without losing my custom rom, root and bricking my phone? Ive been searching everywhere and i havent been able to find a clear answer.
2trainz said:
Id like to just format my internal harddrive completely. Is there anyway of doing this without losing my custom rom, root and bricking my phone? Ive been searching everywhere and i havent been able to find a clear answer.
Click to expand...
Click to collapse
boot into twrp, go to the wipe menu, and wipe everysingle thing. Then reflash your rom. That will wipe everything, and reinstall liquid smooth.
Doing this wont brick your phone or make you lose root.
chromium96 said:
boot into twrp, go to the wipe menu, and wipe everysingle thing. Then reflash your rom. That will wipe everything, and reinstall liquid smooth.
Doing this wont brick your phone or make you lose root.
Click to expand...
Click to collapse
Thank you! This is exactly what i was looking for. What would i be wiping though? Obviously Cache, Dalvik and Factory Reset but do i have to wipe System, Internal storage and format data? (What does format data do)?
2trainz said:
Thank you! This is exactly what i was looking for. What would i be wiping though? Obviously Cache, Dalvik and Factory Reset but do i have to wipe System, Internal storage and format data? (What does format data do)?
Click to expand...
Click to collapse
yeah wipe everything including system, and internal storage. format data formats the data partition of the phone, which is also necessary.
The only thing you dont have to wipe is your external sd card (if you even have one). Press thanks if i helped.

[Q] Do Wipe Internal Storage Too?

We factory reset device before installing a new rom but is wiping internal storage everytime necessary too?
pXbz said:
We factory reset device before installing a new rom but is wiping internal storage everytime necessary too?
Click to expand...
Click to collapse
no, just wipe cache, system ,data and dalvik cache, you don't need to wipe internal storage
Hit Thanks if that was helpful
sagnik9 said:
no, just wipe cache, system ,data and dalvik cache, you don't need to wipe internal storage
Hit Thanks if that was helpful
Click to expand...
Click to collapse
I have this doubt for long time? wiping internal storage ie 2.2 GB in moto e ( total 4 GB ) cause any problem when installing custom ROM?
when I reset last time I found nearly 200mb space went missing out of 2.2 GB, that's why I am asking?
Do not wipe internal storage unless you have a complete ROM ready with you in your internal or external memory for you to flash. Wiping internal storage wipes the entire 4GB emmc which means you are wiping off all partitions including bootloader. If you accidentally reboot after wiping internal storage, your phone will never switch on. So be careful, only wipe system, cache, data and dalvik, nothing else.
ok i accidentally wiped off my internal storage as well. now i am not able to install roms .. what to do?
devil.jeet said:
ok i accidentally wiped off my internal storage as well. now i am not able to install roms .. what to do?
Click to expand...
Click to collapse
No worries mate. Just copy your ROM into a external MC, insert it and boot your device into recovery and install the room
nilanko said:
Do not wipe internal storage unless you have a complete ROM ready with you in your internal or external memory for you to flash. Wiping internal storage wipes the entire 4GB emmc which means you are wiping off all partitions including bootloader. If you accidentally reboot after wiping internal storage, your phone will never switch on. So be careful, only wipe system, cache, data and dalvik, nothing else.
Click to expand...
Click to collapse
I wipe everything except External Memory card to install ROMs, and I delete all those left over folders in external via PC.
pXbz said:
No worries mate. Just copy your ROM into a external MC, insert it and boot your device into recovery and install the room
I wipe everything except External Memory card to install ROMs, and I delete all those left over folders in external via PC.
Click to expand...
Click to collapse
i used twrp and cwm to install cm12.1 its stucks at installing rom unconditionally.. also shows like md5 not found..
nilanko said:
Do not wipe internal storage unless you have a complete ROM ready with you in your internal or external memory for you to flash. Wiping internal storage wipes the entire 4GB emmc which means you are wiping off all partitions including bootloader. If you accidentally reboot after wiping internal storage, your phone will never switch on. So be careful, only wipe system, cache, data and dalvik, nothing else.
Click to expand...
Click to collapse
devil.jeet said:
i used twrp and cwm to install cm12.1 its stucks at installing rom unconditionally.. also shows like md5 not found..
Click to expand...
Click to collapse
Did you tried wiping everything again? Maybe problem with the download?
Btw MD5 not found isn't anything to worry about. Its just a hash check and can be skipped.
I recommend trying a different ROM like AICP.
installed successfully !! there was an error in downloaded zip re-downloading the file fixed the issue.. !
devil.jeet said:
installed successfully !! there was an error in downloaded zip re-downloading the file fixed the issue.. !
Click to expand...
Click to collapse
To be sure check your download zip befor flashing using md5 app, a guide i made in general section
pXbz said:
Did you tried wiping everything again? Maybe problem with the download?
Btw MD5 not found isn't anything to worry about. Its just a hash check and can be skipped.
I recommend trying a different ROM like AICP.
Click to expand...
Click to collapse
Adarsh1998 said:
To be sure check your download zip befor flashing using md5 app, a guide i made in general section
Click to expand...
Click to collapse
i made an md5 file from hash it worked for me..

Categories

Resources