Need to delete junk/system files/crap/ from installing custom rom but keep root - General Questions and Answers

Hey all so I'm running 4.4.2 deodexed rooted with xposed, etc, etc. I went from rooted 4.1.2 to kitkat last month buy route of flashing deodexed 4.4 with partition flash and was able to keep root. Using Philz recovery ive always installed "clean to install new rom" but looking at the files and apps, etc now i have to much junk in internal memory/root of the sd card on my phone. I have a partitioned sd card. And basically ive flashed from backups. Tested and ran scripts, deleted scripts. Ive done alot so i need to delete the unused junk off my phone but not sure what to delete or what steps to use in Philz recovery. My main worry is loosing my supersu/root and messing up the partitioned sdcard. If i loose root on my phone the process of re rooting while on kitkat is extreme involving booting pc from a usb drive or cd and running virtual machine, etc etc. So i cant loose that. I do have backups on pc and 1 back up of my current rom on external sd card. I have Philz Recovery and link2sd.
Thanks
Josh

Related

How access internal sd?

Arc s. Bootloader unlocked and I have root.
Wanted to install "Andriod MooDeD ICS 80.3 IFT" and in the guide it said to transfer the file to the internal sd card.
How?
if you have not flashed a custom ROM yet then you should be able to turn the phone on and plug it in to your computer. then when your computer asks make sure you put it as a storage device, granted your running windows. then you just place the files you want to flash on the ROOT of the sd card. then boot to recovery, do your wipes, then a nandroid backup, then flash the new ROM

Folders from stock 4.04 still there after flashing CM10

I have seemingly successfully installed CM10. However, all of the internal SD folders from my prior stock 4.0.4 install are still there. I want a nice, clean and fresh install and want all junk from the previous stock version gone, but I don't know what's new and what's old. If there is a way to formate/wipe everything, then it seems that that would also delete the new system files as well as as the CM10 Rom zip, thereby making it impossible to reinstall.
Insights and suggestions on this matter greatly appreciated. Thank you.
Make sure you format /system as well as cache and factory reset. Do it twice if it will make you feel better.
You most likely just did a factory reset which leaves a bunch of trash behind.
Format all of that
Flash cm10
Flash gapps
Prcls77 said:
I have seemingly successfully installed CM10. However, all of the internal SD folders from my prior stock 4.0.4 install are still there. I want a nice, clean and fresh install and want all junk from the previous stock version gone, but I don't know what's new and what's old. If there is a way to formate/wipe everything, then it seems that that would also delete the new system files as well as as the CM10 Rom zip, thereby making it impossible to reinstall.
Insights and suggestions on this matter greatly appreciated. Thank you.
Click to expand...
Click to collapse
:crying:
I seem to have answered the last part of my of my inquiry. In CWM 5.5.0.4, I formatted data, system, cache, emmc, sd card. I can now only access recovery mode or download mode. In recovery mode, I obviously can't flash CM10 from the internal SD because I formatted/deleted it! When I get home, I'll try flashing CWM 6.0.1.0 in Odin and then flashing CM10 through the external SD card. If that doesn't work, then I'll have to flash the stock ROM.
Prcls77 said:
:crying:
I seem to have answered the last part of my of my inquiry. In CWM 5.5.0.4, I formatted data, system, cache, emmc, sd card. I can now only access recovery mode or download mode. In recovery mode, I obviously can't flash CM10 from the internal SD because I formatted/deleted it! When I get home, I'll try flashing CWM 6.0.1.0 in Odin and then flashing CM10 through the external SD card. If that doesn't work, then I'll have to flash the stock ROM.
Click to expand...
Click to collapse
Tried it the way outlined above and I now have a nice, clean install CM10!
Next time don't format emmc and sdcard.
For me i delete the files manually using Astro file manager or using a computer and use free app called (sd maid) in google play to remove more and do more cleaning of internal sd card it searches for app remains and empty directories etc all that after flashing the rom immediately before restoring my apps
Not bad but if anybody could find a better solution post it
Sent from my GT-P5100 using xda app-developers app

[root tool] Toshiba Thrive 10.1" ICS

(Now, I know this is not in the right section or even in the device's page, but...)
Forewarning: I am NOT responsible for any damages caused by running this tool. (You ran it, not me.) Also, do NOT use on the Thrive 7 or ANY of the Excites! The Thrive 7 has an entirely different bootloader/partition layout than the 10.
Pio_masaki and I have been working hard for almost a year to get root on the ICS version of the Toshiba Thrive 10.
Last night, I was able to finally sneak past sealime.ko and have it work.
It uses the "root any ICS device" tool, with special modifications specifically for the Thrive 10.
(can't post any links, so it's on the "thrive-hackers" github page.)
Special note: While it is set up for OSX ADB, I have not been able to find any binaries.
Are you saying that we are close to a root method for Thrives running Toshiba ICS?
rohads said:
Are you saying that we are close to a root method for Thrives running Toshiba ICS?
Click to expand...
Click to collapse
Saying there is a method to root it now, yes, we got around sealime.ko. This means we can flash the HC bootloader which is unlocked, which allows custom recovery and kernels/ramdisks (boot.img) to be used.
BTW the link is https://github.com/Thrive-Hackers
congrats guys ! very awesome work !
jdsingles deodexed ROM w/ agat63's 1.3 kernel Suped up w/ CB 6.26.13
More specifically, it bypasses sealime to flash the unlocked bootloader. What we did was we MVd /dev/block/mmcblk0p6 to 0p9. It's a pure fluke Pio and I found out that it works. We found out that sealime was explicitly blocking write to 0p6, so he semi-sarcastically said to move it. I ran the mv command, whadda ya know? It worked!
'Course, getting the tool completed wasn't as simple as that...
PS: Could we get this moved to the Toshiba Thrive Development section?
Have instructions been written for the process?
worked for me
I used this tool on Jul 8 and it worked very well. I got it from thriveforums dot org. Thank you pio_masaki and AmEv.
I tried changing the recovery to the latest TWRP using "fastboot flash recovery twrp-2.4.1.0.img" while in bootloader. I was not able to, though as it kept giving me errors.
Does this bootloader not allow flashing a recovery? I noticed the rootme script uses adb commands to push the CWM recovery.
I am now running Dale's latest deodexed rooted ICS rom with the CWM recovery he included.
Other unrelated lessons learned:
If you can't mount your SD card in recovery, try a different card!
And, Dale packages his update.zip inside the downloaded zip file!
navyguy said:
I used this tool on Jul 8 and it worked very well. I got it from thriveforums dot org. Thank you pio_masaki and AmEv.
I tried changing the recovery to the latest TWRP using "fastboot flash recovery twrp-2.4.1.0.img" while in bootloader. I was not able to, though as it kept giving me errors.
Does this bootloader not allow flashing a recovery? I noticed the rootme script uses adb commands to push the CWM recovery.
I am now running Dale's latest deodexed rooted ICS rom with the CWM recovery he included.
Other unrelated lessons learned:
If you can't mount your SD card in recovery, try a different card!
And, Dale packages his update.zip inside the downloaded zip file!
Click to expand...
Click to collapse
Try fastboot flash:raw.
Is there any need to do a backup before rooting?
TubaMeister said:
Is there any need to do a backup before rooting?
Click to expand...
Click to collapse
Not explicitly, but it wouln't hurt in case your tablet got into contact with allspark.... er, the bootloader didn't flash, and you're stuck in a bootloop.
easy root and CWM recovery
walk thru
http://www.youtube.com/watch?v=MXeYJhKCgX8
adb driver
http://www.thriveforums.org/forum/t...vers-usb-adb-driver-installation-package.html
root tool
https://github.com/thrive-hackers/thrive-10-inch-ics-root,
follow this to install CWM
http://www.thriveforums.org/forum/d...0-clockworkmod-touch-recovery-v6-0-1-1-a.html
follow to install touch CWM
http://www.thriveforums.org/forum/d...0-clockworkmod-touch-recovery-v6-0-1-1-a.html
ROMs
http://www.thriveforums.org/forum/dalepl/
Uh oh
robyn402 said:
walk thru
http://www.youtube.com/watch?v=MXeYJhKCgX8
adb driver
http://www.thriveforums.org/forum/t...vers-usb-adb-driver-installation-package.html
root tool
https://github.com/thrive-hackers/thrive-10-inch-ics-root,
follow this to install CWM
http://www.thriveforums.org/forum/d...0-clockworkmod-touch-recovery-v6-0-1-1-a.html
follow to install touch CWM
http://www.thriveforums.org/forum/d...0-clockworkmod-touch-recovery-v6-0-1-1-a.html
ROMs
http://www.thriveforums.org/forum/dalepl/
Click to expand...
Click to collapse
I installed the drivers, used the root tool, the restore was successful, but now the tablet is stuck in a boot-loop mode.
The root tool was running, there was a line that said the screen would go blank, which it did, and it stayed there for several hours. When I came back to check on it, the tablet was off, so I turned it on. That's when I found the boot loop. It'll get to the home page, tell me that nova launcher has stopped, then loop back to the moving stars section of the boot screen.
Any ideas on what to do now?
DLeach4512,
if CWM is still alive, so just flash any ROM via CWM (flashing wipes all your data that exist in internal memory, so you need to make backup via CWM if you wish to save your data; and after flashing ROM you can import all data via Titanium Backup)
Kyonex said:
DLeach4512,
if CWM is still alive, so just flash any ROM via CWM (flashing wipes all your data that exist in internal memory, so you need to make backup via CWM if you wish to save your data; and after flashing ROM you can import all data via Titanium Backup)
Click to expand...
Click to collapse
You know, I feel kinda dumb because I didn't even try that!
Now i've tried it, and I see I can get into CWM.
I put a ROM on an SD card on my PC, then put that SD card into the Thrive and used CWM to install the .zip of the ROM I selected, and it won't install. It starts, then it says Installation aborted, but won't tell me why.
Any ideas where I should start unraveling this mystery?
1. check that your recovery is CWM and not stock recovery
2. check that you put on SD archive that contain folders named system and META-INF, file like boot.img, something other maybe (many ROMs archive contain "archive in archive", so you need to unpack archive from main archive and than put that internal archive on SD); after checking that all right try to flash that archive again
3. try another sdcard (full sized SDHC + formated in FAT32)
DLeach4512 said:
You know, I feel kinda dumb because I didn't even try that!
Now i've tried it, and I see I can get into CWM.
I put a ROM on an SD card on my PC, then put that SD card into the Thrive and used CWM to install the .zip of the ROM I selected, and it won't install. It starts, then it says Installation aborted, but won't tell me why.
Any ideas where I should start unraveling this mystery?
Click to expand...
Click to collapse
also make sure you open the zip and place the update.zip on your card -
From my GSIII - jd's Stock/Rooted/Deodexed 4.3
Kyonex said:
1. check that your recovery is CWM and not stock recovery
2. check that you put on SD archive that contain folders named system and META-INF, file like boot.img, something other maybe (many ROMs archive contain "archive in archive", so you need to unpack archive from main archive and than put that internal archive on SD); after checking that all right try to flash that archive again
3. try another sdcard (full sized SDHC + formated in FAT32)
Click to expand...
Click to collapse
Excellent!
1) I had to extract "update.zip" from the ROM I had downloaded.
2) I re-formatted the card I was using to FAT32 instead of FAT.
3) I was able to get the install started with no trouble after following your directions.
BIG THANK YOU FOR THAT!
I got a successful install message, and then it booted!
Thanks a million!
Problems after Mount Changes
I changed the mount as described on thriveforums.org to allow apks and data to go to the external sd rather than "shared" internal memory.
I now have the situation with less free memory available on the sd card than on internal. The CWM backups went on the physical card- a 32 G one almost full. Will look for a major mfr 64 Gig.
One or so issues with the revised mounts where the external sd card is now internal. They relate to making backups with dalepl's latest CWM 6.0.1: where to put CWM backups for now and are they being made correctly with the revised mounts?
The backup made prior to the mount change looks normal: a single, dated/numbered folder about 2.6 Gb, 6 files: boot.img, cache.ext4.tar, data.ext4.tar, nandroid.md5, recovery.img and system.ext4.tar. However, the one made after the mount change also has a dated, numbered folder of only 15.8 Mb and 7 files: .android_secure.vfat.dup, boot.img, cache.ext4.dup, data.ext4.dup, nandroid.md5, recovery.img and system.ext4.dup. There is a second folder associated with the later bu called "blobs", which is huge --2.76 Gb, 3292 folders and 6581 files. Is this an expected result and any one think it might be a valid bu?
Also, it went on to the external SD (now "internal") and total storage use is now almost 28 Gb out of 30.2. I now have the situation with less free memory available on the sd card than on internal. The stuff there looks ok, pix movies and music plus CWM bups of 5.5 G and App_Backup_Restore archived apks at 2.8 Gb. So, I copied the cwm backups folder to the real internal memory, now sdcard2. I assume this true internal memory might get wiped during a restore so, this is not a valid storage site for this? And, if I put copies on a spare card, will that really work if my downloaded apps are on the original card, eg does the CWM backup copy the external card apps?
As I note, for some reason this 'blobs' folder won't copy easily to a USB via the Thrive or Win 7 pc. It also won't copy to a Win 7 HD partition where I store my Thrive stuff. (Update: I was able to do a wireless transfer to my pc and then, from there, to a spare SD card.)
Any thoughts? Should I go back and change the mounts to default?
BTW, I find FolderMount has no real use with the changed mount on the Thrive unless someone tells me otherwise. With the Thrive mounting the external card as internal, files go to the physical card.
gberpa,
I don't understand your question - it is very long. But I know that custom recovery (CWM / TWRP) itself remounts sdcard and internal memory before wipe process so it will wipe correct memory (only internal memory). If you need to change the ROM you don't need to worry about mounting paths because after wipe mounting paths will be restored to original.
Partition layout of Toshiba Thrive 10.1" ICS
AmEv said:
Also, do NOT use on the Thrive 7 or ANY of the Excites! The Thrive 7 has an entirely different bootloader/partition layout than the 10.
Click to expand...
Click to collapse
Can you give us information on the Toshiba Thrive 10.1" ICS partition layout and their names, please?
We would like to compare it to ours Toshiba Excite Pro (AT10LE-A, tostab12BA). A Dirty Cow enabled KingoRoot has given us a temporary root.
[Q] How Root Toshiba Excite Pro AT10LE-A-108 by dexxxZ
https://forum.xda-developers.com/showthread.php?t=2583677&page=6
Sent from my takee 1 using XDA Labs

Deleted Everything off my Moto g.... Now What?

Hi all, i played around with my Moto G a while back, got the bootloader unlocked, put a new ROM on. Did a backup which i wanted to delete but couldnt... everytime i did a fresh install it was still there eating my memory so i wiped everything off my phone using TWRP (internal the lot!) now ive got nothing on my phone, no operating system nothing.
anybody got a tutorial to get it back up and running again? or at least some ideas on how to dispose of it haha.
thanks in advance.
*EDIT*
This post can be deleted now thanks! I have resolved this matter very easily with a very imaginative way that i never thought of. i couldnt reinstall another rom as my computer wouldnt reconise my phone in ADB. but using this method below i was able to very easily...
*QUOTE*
Alternate Method : Noob Friendly.
First of all backup your sd card (i.e data/media)
Flash Philz Touch 6.26.6 Recovery
Hope you have OTG cable and a pendrive.
Copy the rom which you want to install on pendrive. Attach pendrive through OTG.
(backup your current rom on usbdisk. For this goto Backup and Storage. Find option backup on storage/usbdisk )
Now, select Wipe Data/Factory Reset. It will ask Wipe to install new rom,tap on it. Say Yes.
After that goto Mounts and Storage and format /data and /data/media (/sdcard). Say Yes.
Done.
Now flash your favorite custom rom.
Select the option install from sdcard. Then select usbdisk. Select your custom rom and install it
*END QUOTE*
so hats off to "amit.lohar"
For future:
If delete info of internal storage, you can recover it with DiskDigger. Root required.
Google Play - DiskDigger:
https://play.google.com/store/apps/details?id=com.defianttech.diskdigger&hl=es_419

[Completed] Wiped all system data, now stuck on cwm custom recovery mode

I am a complete newbie to rooting. I followed the kingoroot guidelines and rooted my Idea Aurus 3 phone. Root was success. The next step I did was downloading custom recovery and cyanogenmod ROM from here to my memory card
I flashed the custom recovery with flashify. The next step I did was wiping all data from the device by entering in to recovery mode (including cache and everything)
I was hoping I could simply install zip from sd card. But when i click on this option, I cannot find my sd card nor zip file (I checked most folders including emmc, etc, sd-ext and couldn't find SD card. The custom recovery name is Phylz touch 6
Now basically I have a phone without OS and all I can do is accessing custom recovery. I don't have a back up too
I can also see an error log "Cannot mount custom path"
I formatted the memory card to exFAT from exFAT 32 hoping that would work, it didn't help as well.
Also tried to connect phone to pc using USB (thinking I can move rom to system memory), but wouldn't detect phone memory
Now, is there any way to get this fixed? Any help would be awesome
Thanks!!!
kumarj said:
I am a complete newbie to rooting. I followed the kingoroot guidelines and rooted my Idea Aurus 3 phone. Root was success. The next step I did was downloading custom recovery and cyanogenmod ROM from here to my memory card
I flashed the custom recovery with flashify. The next step I did was wiping all data from the device by entering in to recovery mode (including cache and everything)
I was hoping I could simply install zip from sd card. But when i click on this option, I cannot find my sd card nor zip file (I checked most folders including emmc, etc, sd-ext and couldn't find SD card. The custom recovery name is Phylz touch 6
Now basically I have a phone without OS and all I can do is accessing custom recovery. I don't have a back up too
I can also see an error log "Cannot mount custom path"
I formatted the memory card to exFAT from exFAT 32 hoping that would work, it didn't help as well.
Also tried to connect phone to pc using USB (thinking I can move rom to system memory), but wouldn't detect phone memory
Now, is there any way to get this fixed? Any help would be awesome
Thanks!!!
Click to expand...
Click to collapse
Hello,
Please try posting your query in Android Q&A Forum, the experts there maybe able to assist you.
Regards
Vatsal,
Forum Moderator.

Categories

Resources