Reformt - T-Mobile, Samsung Galaxy SIII

I installed cm10. And it messed up my directories. How can I just start over as if my phone exchange is newly rooted.
Sent from my SGH-T999 using xda premium

By messing up, do you mean a "0" folder that appears in your sd card?
Sent from my SGH-T999 using xda premium

Find the stock file which I think Is in one the development sections and extract the zip file and open Odin and select the extracted .tar.md5 file, then it returns to stock
Sent from my SGH-T999 using xda app-developers app

52me52 said:
Find the stock file which I think Is in one the development sections and extract the zip file and open Odin and select the extracted .tar.md5 file, then it returns to stock
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
I did that but nothing shows up on internal sd card when I try to install something. I actually deleted the 0 directory. I odin'd it to stock, but internal sd still looks the same. Is there a way to return it to the way it was before I rooted it????

ScottBroker said:
I did that but nothing shows up on internal sd card when I try to install something. I actually deleted the 0 directory. I odin'd it to stock, but internal sd still looks the same. Is there a way to return it to the way it was before I rooted it????
Click to expand...
Click to collapse
This happens when people don't read before Modding. This has been a known issue since 4.2.1 came around and there are workarounds posted for this
Sent from my SGH-T999 using Tapatalk 2

GalaxyS3Guy said:
This happens when people don't read before Modding. This has been a known issue since 4.2.1 came around and there are workarounds posted for this
Sent from my SGH-T999 using Tapatalk 2
Click to expand...
Click to collapse
Care to share these fixes?

ScottBroker said:
Care to share these fixes?
Click to expand...
Click to collapse
Nah... care to search before posting?
They r in all 3 4.2.1 threads and twrp thread. I'm sure u can find it
And u posted ur question in the wrong section LOL
Sent from my SGH-T999 using Tapatalk 2

GalaxyS3Guy said:
Nah... care to search before posting?
They r in all 3 4.2.1 threads and twrp thread. I'm sure u can find it
And u posted ur question in the wrong section LOL
Sent from my SGH-T999 using Tapatalk 2
Click to expand...
Click to collapse
//ignore db

ScottBroker said:
//ignore db
Click to expand...
Click to collapse
Basically all the 10.1 tons create an emulated ad card and place all your data from your original sdcard into a 0 folder inside that emulated apace. In order to fix it. You copy all the items inside the 0 folder and move them to the outside which would be the root . if you restore back to stock you would still have the 0 folder . so just move them from 0 to internal sdcard and then delete the folder. If you deleted the folder you are actually deleting you actual files and not copies of them. There are other suggestions and that's where people suggested teaching through the forums.
Sent from my SGH-T999 using xda app-developers app

monkeypaws said:
Basically all the 10.1 tons create an emulated ad card and place all your data from your original sdcard into a 0 folder inside that emulated apace. In order to fix it. You copy all the items inside the 0 folder and move them to the outside which would be the root . if you restore back to stock you would still have the 0 folder . so just move them from 0 to internal sdcard and then delete the folder. If you deleted the folder you are actually deleting you actual files and not copies of them. There are other suggestions and that's where people suggested teaching through the forums.
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
Thanks, Ill give that a shot.

ScottBroker said:
Thanks, Ill give that a shot.
Click to expand...
Click to collapse
Just don't delete anything without making sure you have all your files copied. Or even better copy them to your computer.
Sent from my SGH-T999 using xda app-developers app

Related

{TUT} How to Odex your APKs.

EDIT: I apologize for not including this earlier, but I have attached dexopt-wrapper.bin to the bottom of the post. Unzip and push it to system/bin. Then give it the correct permissions which are
Read Write Execute
--x----x------x
--x-----------x
--x-----------x
I haven't seen any tutorials on how to odex an apk sooooo i thought i'd throw one up on here.
Before we begin, of course, a great big thank you to strongsteve, mpcdata and Capp5050.
Well first things first make a nandroid backup in recovery. Once thats done follow these steps.
Apps needed if doing it on the phone:
1. Rom Toolbox (I have the paid version)
(You can also just download a terminal emulator)
2.Get both Root Explorer and Astro File Manager.
3.Use Root Explorer and go to either system/app or data/app (system/app is for system files{most if not ALL of these files are already odexed} data/app is where you can find the apps you've installed from the market{!!!-I'm pretty sure the launchers are in system/app-!!!})
4.Copy the app that you want to odex into a new folder on your internal sdcard named "app"(in case you mess up you don't get problems ;D)
5.I suggest you write down the name of the app so you don't have to go back and forth if you have horrible memory like me =D.
6.Open up your terminal emulator and type
dexopt-wrapper /sdcard/app/insert.name.of.file.here.apk /sdcard/app/insert.name.of.file.here.odex
7.Press enter and check that new folder you made named "app", you should see both the .apk and the .odex file.
8.Next long press the .apk file in Root Explorer and hit Open With and then select Astro File Manager. Astro should pop up with three choices, you're going to click Browse File.
9.In that file you should see "classes.dex". DELETE that file.
(NOTE: you MUST do this from within Astro because if you unzip it will break the signature and file will be usless{unless you can resign it})
10.Once done you exit Astro and head back into Root Explorer, copy the .apk and .odex files and put them back into the folder you got the original .apk from (system/app or data/app)
11.Once you put both of them in there you need to fix the permissions, simply long press on the files (one at a time ;D) and scroll down the pop-up menu to Permissions.
12.You will have three columns Read, Write and Execute along with three rows Owner, Group and Others.
Your Permissions should be (this is for both .apk and .odex)
Read Write Execute
--X----X-----------
--X----------------
--X----------------
(I've attached a picture below of what your permissions should look like)
13.Once your permissions match the above diagram hit OK and restart your phone and your app is officially ODEXED.
If you have any questions feel free to PM me. I'll be glad to help with as much as i can. =D
NOTE:To Everyone: If i forgot something PLEASE let me know.
: To Mods: If this shouldn't be here please move it (if unnecessary, delete it)
Alred hit yo button but just wanted to say thank you in writing.
....um one major thing...your gonna need dexopt-wrapper script in system/bin to be able to odex within the rom
Was actually just wondering about that cause my script was in the rom already. Ill look into that in a few cause I'm going back to bed XD and you're welcome Cole I hope it has clear instructions XD
Sent from my SPH-D710 using xda premium
BigJPNut said:
....um one major thing...your gonna need dexopt-wrapper script in system/bin to be able to odex within the rom
Click to expand...
Click to collapse
Dexopt-wrapper is a binary.. Not a script..
Sent from my SPH-D710 using Tapatalk
strongsteve said:
Dexopt-wrapper is a binary.. Not a script..
Sent from my SPH-D710 using Tapatalk
Click to expand...
Click to collapse
Thats what I meant lol. Thanks for the correction Steve....either way gotta have it.
BigJPNut said:
Thats what I meant lol. Thanks for the correction Steve....either way gotta have it.
Click to expand...
Click to collapse
I updated the thread and it now includes where to put it and what permissions to give it. The file was also attached to the bottom of the thread.
I've tried this a dozen times every which way and it always says no such location exists
Sent from my SPH-D710 using xda premium
Optimal Carnage said:
I've tried this a dozen times every which way and it always says no such location exists
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
You have to create the app folder in sdcard =D
Sent from my SPH-D710 using xda premium
mavd5831 said:
You have to create the app folder in sdcard =D
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
I've done that lol...and to be specific the folder is located at the root of they internal sdcard not external correct?
Sent from my SPH-D710 using xda premium
Optimal Carnage said:
I've done that lol...and to be specific the folder is located at the root of they internal sdcard not external correct?
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Yeah its on internal sdcard tell me what youre typing lol
Or gimme a screenshot
Sent from my SPH-D710 using xda premium
mavd5831 said:
Yeah its on internal sdcard tell me what youre typing lol
Or gimme a screenshot
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
dexopt-wrapper /sdcard/app/galleries.apk /sdcard/app/galleries.odex
Exactly how you have it posted but with the app I want to odex.
Sent from my SPH-D710 using xda premium
Optimal Carnage said:
dexopt-wrapper /sdcard/app/galleries.apk /sdcard/app/galleries.odex
Exactly how you have it posted but with the app I want to odex.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Hmmm have you put dexopt-wrapper.bin in system/bin and gave it permissions?
And did you copy the apk into sdcard/app?
Sent from my SPH-D710 using xda premium
mavd5831 said:
Hmmm have you put dexopt-wrapper.bin in system/bin and gave it permissions?
And did you copy the apk into sdcard/app?
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Yeah I copied the bin file as well as copied the app to the sdcard location. I'm trying to get scrolling wallpaper back after el29 and somebody posted the old apk but it's deodexed and I'm odex on my phone.
Sent from my SPH-D710 using xda premium
Optimal Carnage said:
Yeah I copied the bin file as well as copied the app to the sdcard location. I'm trying to get scrolling wallpaper back after el29 and somebody posted the old apk but it's deodexed and I'm odex on my phone.
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Im not sure but check to see if the app folder you created is App or app and try it however it is there
Sent from my SPH-D710 using xda premium
You can also try odexing it from within its originl folder
Ex. dexopt-wrapper /data/app/galleries.apk /data/app/galleries.odex and then copy the apk somewhere outside the data folder and delete the classes.dex file then put it back in the data folder and set permissions.
Sent from my SPH-D710 using xda premium
Let me know if it worked ;o
Sent from my SPH-D710 using xda premium
thanks for posting this.
I second that gravedig
Sent from my SPH-D710 using Tapatalk
Thirded. Lol. I learned how to odex my apps this morning! Worked first try. Great instructions. Thanks
Sent from my SPH-D710 using Xparent Blue Tapatalk 2

transferring rom

What is the best way to transfer a rom to/sdcard so it can be installed?
Copy and paste
Sent from my SGH-I747 using xda premium
d3athsd00r said:
Copy and paste
Sent from my SGH-I747 using xda premium
Click to expand...
Click to collapse
What do you mean copy and paste? How?
Copy and paste. Find the rom in your files, copy the zip and paste it in your SD card.
Stock ICS on my S3
sly-tendencies said:
Copy and paste. Find the rom in your files, copy the zip and paste it in your SD card.
Stock ICS on my S3
Click to expand...
Click to collapse
Thanks for the reply' but how how do i copy the rom to my phone first? Once i got on my phone, what tool do i use to copy/paste it into /sdcard?
Wow, if your asking this, you might as well start reading how to unbrick your phone, I think it's inevitable.
Sent from my SGH-I747M using xda premium
markdexter said:
Wow, if your asking this, you might as well start reading how to unbrick your phone, I think it's inevitable.
Sent from my SGH-I747M using xda premium
Click to expand...
Click to collapse
I am a noob and i am reading and trying to learn. So a little help would be appreciated!
merog said:
I am a noob and i am reading and trying to learn. So a little help would be appreciated!
Click to expand...
Click to collapse
Fair enough, don't rush into anything then. Read, read, read..... Plug your phone into your computer, click in the downloaded rom, drag it into your internal sd card (phone) or your external card (micro sd) reboot into custom recovery, wipe, then flash rom, then reboot
Sent from my SGH-I747M using xda premium
Check out this thread
http://forum.xda-developers.com/showthread.php?p=27745443
It might seem like a lot of reading and info at first but if you are interested in flashing roms it's worth it to avoid turning your device into a brick.
To respond to your op I use es file explorer to copy files from pc to device via lan shares.
Flash rooted stock firmware via oden on your pc. Install custom recovery (cwm I find works best for stock and asop or aokp over twrp) and make sure you do a backup (nandroid) and IMEI prior to flashing a Rom.
Sent from my SAMSUNG-SGH-I747M
markdexter said:
Fair enough, don't rush into anything then. Read, read, read..... Plug your phone into your computer, click in the downloaded rom, drag it into your internal sd card (phone) or your external card (micro sd) reboot into custom recovery, wipe, then flash rom, then reboot
Sent from my SGH-I747M using xda premium
Click to expand...
Click to collapse
Or u can get xda app on phone and when u download a rom it will go to ur sd card automatically
Sent from my SGH-I747M using xda premium
twanskys204 said:
Or u can get xda app on phone and when u download a rom it will go to ur sd card automatically
Sent from my SGH-I747M using xda premium
Click to expand...
Click to collapse
Use to do that all the time on my skyrocket but the wifi on gs3 ends up interrupting my download... mind you the bigger file sizes doesn't help lol
Sent from my SAMSUNG-SGH-I747M
Cool. Thank you guys! I appreciate your support!

[Q] flashable zip to restore sdcard back to 4.1.2

With my previous phones, someone made a flashable zip to restore sdcard back to 4.1.2 from 4.2.2. I guess it gets rid of the 0 folder and restores the file structure. Anything like this floating around? Thanks
Sent from my LG-LS970 using Tapatalk 4 Beta
I don't think we need one. If you run stock ROMs, delete the 0 folder. If you run CM ROMs, you can delete everything but 0 folder, but some files will still show up again in /root. If you run both ROMs keep all.
Sent from my LG-LS970 using xda premium
engine95 said:
I don't think we need one. If you run stock ROMs, delete the 0 folder. If you run CM ROMs, you can delete everything but 0 folder, but some files will still show up again in /root. If you run both ROMs keep all.
Sent from my LG-LS970 using xda premium
Click to expand...
Click to collapse
Don't they eat up storage if we keep both folder?
Sent from my LG-LS970 using xda app-developers app
drancid said:
Don't they eat up storage if we keep both folder?
Sent from my LG-LS970 using xda app-developers app
Click to expand...
Click to collapse
It's the logcat that eats storage, which can be deleted. It's in /root for stock. And in /mnt/shell/emulated in CM. I know I'm at least close on CM location.
Sent from my LG-LS970 using xda premium
But if I delete the 0 folder then won't I lose all the pictures videos and twrp backups? And how will twrp work then? It seems to only use the 0 folder. I don't have a twrp folder other than in the 0 folder.
Sent from my LG-LS970 using xda app-developers app
engine95 said:
I don't think we need one. If you run stock ROMs, delete the 0 folder. If you run CM ROMs, you can delete everything but 0 folder, but some files will still show up again in /root. If you run both ROMs keep all.
Sent from my LG-LS970 using xda premium
Click to expand...
Click to collapse
bowhunt2005 said:
But if I delete the 0 folder then won't I lose all the pictures videos and twrp backups? And how will twrp work then? It seems to only use the 0 folder. I don't have a twrp folder other than in the 0 folder.
Sent from my LG-LS970 using xda app-developers app
Click to expand...
Click to collapse
"ONLY" delete the 0 folder if you "ONLY" run stock ROMs. I guess I could have worded that better. My bad.
Sent from my LG-LS970 using xda premium

Files

Can anyone tell me why when flashing back and fourth from aosp to tw ROMs it always creates folders labeled "0" and moves all my files to that fold and starts fresh
Sent from my SGH I317 using xda app-developers app
Android 4.2 implements a multi user thingy giving the first user /0 the seccond /1 ect
I've never had a /1.........its always 0.......if I keep flashing back and fourth it creates another one inside the original 0 folder
/0/0
/0/0/0
/0/0/0/0
Like this......the more times if flash between tw and aosp the more times it creates another folder named 0
Sent from my SGH I317 using xda app-developers app
Before you flash..wipe internal sd..done.
If you haven't had another person log into your phone and its only been you, you won't get a /1 folder.
Evilspawn said:
Before you flash..wipe internal sd..done.
Click to expand...
Click to collapse
This...^^^^^^.....g
Sent from my SAMSUNG-SGH-I317 using XDA Premium HD app
I usually just select all and delete then move everything from the "0" folder to where its suppose to be but I was holding to find out why the folder is even created
Sent from my SGH I317 using xda app-developers app

My phone shows it has a lot of space but says I only have 2 gigs available

When I look at my internal storage I'm am barely using it and it shows that but it says I only have 2 gigs available I do have 2 back ups one being of my current rom and the other being my stock TouchWiz which has no apps or anything done in it just gapps
Sent from my SGH-T999 using XDA Premium 4 mobile app
are you on 4.2.2
Sent from my SAMSUNG-SGH-T999 using xda app-developers app
ayeitschris said:
are you on 4.2.2
Sent from my SAMSUNG-SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
Yes cm
Sent from my SGH-T999 using XDA Premium 4 mobile app
Please read forum rules before posting
Questions and Help issues go in Q&A and Help section
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator
rajbaba2 said:
Yes cm
Sent from my SGH-T999 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Depending on your recovery tool it may not have moved everything properly to the 0 folder. You might have duplicated all your user data. Use a file explorer and check the contents of sdcard. I think you should pretty much just have a 0 folder there which has all your stuff in it. I'm back on 4.1.2 now so I'm working from memory. Basically go up a level from your 0 folder and look what's in there.
When I first flashed 4.2.2 I used an old CWM and found I had duplicates of everything. I've since gone to PhilZ and all is well.
MrTallboy said:
Depending on your recovery tool it may not have moved everything properly to the 0 folder. You might have duplicated all your user data. Use a file explorer and check the contents of sdcard. I think you should pretty much just have a 0 folder there which has all your stuff in it. I'm back on 4.1.2 now so I'm working from memory. Basically go up a level from your 0 folder and look what's in there.
When I first flashed 4.2.2 I used an old CWM and found I had duplicates of everything. I've since gone to PhilZ and all is well.
Click to expand...
Click to collapse
Damn there is a folder named emulated that contains 2 copies of everything.. So that is step one but it won't let me delete it
Sent from my SGH-T999 using XDA Premium 4 mobile app

Categories

Resources