1. Download our Official Android App: Forums for Android!

Root [AT&T] Cyanogenmod after Format Data

Discussion in 'Android Devices' started by holheartedly, Aug 17, 2013.

  1. holheartedly

    holheartedly Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Aug 17, 2013

    Aug 17, 2013
    1
    0
    5
    Hi Everyone,

    I really need some help with my problem. I have a AT&T HTC One and it is rooted. I had the latest cyanogenmod installed on it but I realized that the my folder structure was messed up (it had duplicate folders labeled as "0") and so I read online that I had to format my data and such. But when I did format my data, I realized that my folder with all my gapps and the latest cyanogenmod is gone. I tried plugging my m7 into my computer but I can't see it on my computer. I am not sure where to go from here. Any help would be greatly appreciated :)
     

    Advertisement

  2. ocnbrze

    ocnbrze DON'T PANIC!!!!!!!!!
    Rank:
     #13
    Points:
    1,923
    Posts:
    23,596
    Joined:
    May 13, 2010

    May 13, 2010
    23,596
    14,436
    1,923
    Male
    being a flashaholic sponsor, helping others gettin
    los angeles
    welcome to AF!!!!!!!!!!!

    moved you to the att one root forum for better help.

    sorry to hear about your predicament. you need to always backup your sd card before formatting the card.

    do you have a card reader? you can use that to move your cm rom file to the sd card.
     
    scotty85 likes this.
  3. clsA

    clsA Android Enthusiast
    Rank:
    None
    Points:
    173
    Posts:
    659
    Joined:
    Apr 8, 2013

    Apr 8, 2013
    659
    554
    173
    Painter
    FLA. USA
    You going to sideload or push a new rom file to your phone via adb
    here's a guide from XDA
    http://forum.xda-developers.com/showthread.php?t=2318497

    The guide is for TWRP Recovery but the same thing can be done from CWM recovery under advanced

    it can also be done like this:
    adb push rom.zip /data/media/0/


    LOL you evidently don't have a HTC One .. theirs no removable SDcard
     
    ocnbrze and scotty85 like this.
  4. scotty85

    scotty85 Android Expert
    Rank:
    None
    Points:
    1,413
    Posts:
    11,139
    Joined:
    Jul 25, 2010

    Jul 25, 2010
    11,139
    7,418
    1,413
    ocnbrze and clsA like this.
  5. clsA

    clsA Android Enthusiast
    Rank:
    None
    Points:
    173
    Posts:
    659
    Joined:
    Apr 8, 2013

    Apr 8, 2013
    659
    554
    173
    Painter
    FLA. USA
    Thanks for posting your guide, but i think it needs an update, pushing to /sdcard won't always work. the correct path for Android 4.1.2 is /data/media
    and for Android 4.2.2 is /data/media/0
     
    ocnbrze and scotty85 like this.
  6. scotty85

    scotty85 Android Expert
    Rank:
    None
    Points:
    1,413
    Posts:
    11,139
    Joined:
    Jul 25, 2010

    Jul 25, 2010
    11,139
    7,418
    1,413
    thanks for the tip. when is it not working? it seemed to work fine when i tested it.
     
    ocnbrze likes this.
  7. clsA

    clsA Android Enthusiast
    Rank:
    None
    Points:
    173
    Posts:
    659
    Joined:
    Apr 8, 2013

    Apr 8, 2013
    659
    554
    173
    Painter
    FLA. USA
    here:
    Bah my bad i didn't include the trailing /
    it has to be: push file.nam /sdcard/
    Sorry for the mistake
     
    scotty85 and ocnbrze like this.
  8. scotty85

    scotty85 Android Expert
    Rank:
    None
    Points:
    1,413
    Posts:
    11,139
    Joined:
    Jul 25, 2010

    Jul 25, 2010
    11,139
    7,418
    1,413
    i havent messed with it on 4.2 yet,but on 4.1 when i copy something to /sdcard/ or to /data/media/0 using root explorer,adb,or drag and drop something to htc one/internal storage on the PC it would always appear in both places,and those files are the exact same(12.29 gb in my case) so i had assumed that the path used was somewhat 6 of one,half dozen of the other. but there could definately be some scenarios where it may for some reason make a difference.

    i still need to mess with it with twrp(so id know exactly where to push a nandroid) and with an OTG cable. real life has unfortunately kept me from messing with my personal phones too mush the past few weeks :eek: :(
     
    ocnbrze likes this.
Tags:

Share This Page

Loading...