Downgrading 4.2.2 AOSP to 4.1.2 Sense

imneveral0ne

Senior Member
Oct 5, 2007
1,404
397
113
MI
MAKE SURE TO MAKE A BACKUP OF INTERNAL STORAGE BEFORE YOU TRY THIS. IT WORKED FOR ME, BUT YOUR RESULTS MAY VARY!

I did not make this file, it was made for the Note 2, unfortunately I can't find the original thread for it. I had assumed it would not work for us, because the Note 2 had an actual SD card slot, and our phone does not. Anyway, I just tried it and sure enough, it does work perfectly.

If you decide you want to flash back to a 4.1.2 Sense rom from a 4.2.2 AOSP rom go ahead and wipe your phone like you normally would, flash the rom of your choosing, and then flash this file before you reboot. Only thing you'll have left after you reboot the phone, is the "0" folder. But it's empty since it moved all your files back to where they should be. Make sure you delete that "0" folder after the reboot. When I rebooted to TWRP after setting up, it appeared I had nothing on internal storage because it was still reading the "0" folder.


I'm very happy that this file actually works so now I can play with all the roms I want without the headache.

Me or the original creator of this file are not responsible for what you chose to do with your phone! That said it worked for me, and it SHOULD work for you.
 

Attachments

Last edited:

erikivy

Senior Member
May 7, 2010
595
128
0
Central VA
Thanks OP, worked perfectly for me as well.

For anyone who didn’t know about this problem before flashing a 4.2.2 ROM (like me!), and doesn’t have a back-up of their internal SD, I found one way to retrieve it. Although there was nothing too terribly important on it, I experimented with ADB while in recovery and found that I could pull a copy of the entire internal SD with one command. For anyone else who finds themselves in this position and wants to try it, the command I used is:
Code:
adb pull /sdcard/ c:\sdcard\
This is probably dirt simple for most folks here, but I had to try a few times before figuring out how to do it without it simply dumping ALL the files right into my tools folder! That will work, but it can be a mess to sort out. The command above will create a folder in the root directory of your PC named sdcard and very neatly plop all the files in the correct place. You can change the destination to suit your needs, of course, but the above worked for me.
 

Killer-B

Senior Member
Nov 16, 2011
1,033
883
0
Top of the World
Flashed this coming from vanilla root box to tranquil rom, tried deleting the 0 file and it won't let me. I go to recovery, it's still reading the 0 file but it doesn't have anything in there but the twrp file. Help please. Because it wont even let me put anything in the 0 folder to flash.

Sent from HTCONE using Tapatalk 2
 

mrrogers1

Senior Member
Jun 30, 2007
3,052
2,525
0
NEEEEBRASKA
Flashed this coming from vanilla root box to tranquil rom, tried deleting the 0 file and it won't let me. I go to recovery, it's still reading the 0 file but it doesn't have anything in there but the twrp file. Help please. Because it wont even let me put anything in the 0 folder to flash.

Sent from HTCONE using Tapatalk 2


I'm having the same problem wished someone could help me out

Sent from my HTC One using Tapatalk 4 Beta
While in Tranquil, use Total Commander or Root Explorer file explorer to delete the 0 directory. This will break the symlink and TWRP will look at the right directory after that.


Sent from my HTC d3rpONE using Tapatalk 4 Beta
 

ericwgarza1

Senior Member
May 13, 2008
560
366
0
H-Town, TX
While in Tranquil, use Total Commander or Root Explorer file explorer to delete the 0 directory. This will break the symlink and TWRP will look at the right directory after that.


Sent from my HTC d3rpONE using Tapatalk 4 Beta
I added a few lines to the "updater-script" so that it would delete the "0" folder (as failsafe, in case .sh script didn't delete it) but I need someone to test it. I only added two lines to the actual updater script file so it "should" work. Someone PM me and I'll send you the link.


EDIT:
http://www.mediafire.com/download/628ko5rmqjr5qdw/restore-sdcard-after-downgrade-EWG-Test.zip <--I AM NOT RESPONSIBLE FOR ANY DAMAGE CAUSED BY THIS ZIP. FLASH AT YOUR OWN RISK.
 
Last edited:
  • Like
Reactions: JoeNeckbone

thatotherguy..

Senior Member
Jul 3, 2012
1,597
562
0
28
Portland
I added a few lines to the "updater-script" so that it would delete the "0" folder (as failsafe, in case .sh script didn't delete it) but I need someone to test it. I only added two lines to the actual updater script file so it "should" work. Someone PM me and I'll send you the link.


EDIT:
http://www.mediafire.com/download/628ko5rmqjr5qdw/restore-sdcard-after-downgrade-EWG-Test.zip <--I AM NOT RESPONSIBLE FOR ANY DAMAGE CAUSED BY THIS ZIP. FLASH AT YOUR OWN RISK.
Doesn't work for me, I get error when trying to flash

Sent from my HTCONE using Tapatalk 4 Beta
 

ericwgarza1

Senior Member
May 13, 2008
560
366
0
H-Town, TX
Doesn't work for me, I get error when trying to flash

Sent from my HTCONE using Tapatalk 4 Beta
I just tested and uploaded a corrected version. I flashed it successfully via my recovery (TWRP) and verified that it deletes the "/data/media/0" folder. Let me know if you have any problems with the new zip. For the people who downloaded this previously, you will need to re-download. My bad on the silly error. :silly:

Link for fixed zip: http://www.mediafire.com/?v26rw54gwgbg19w
 

thatotherguy..

Senior Member
Jul 3, 2012
1,597
562
0
28
Portland
I just tested and uploaded a corrected version. I flashed it successfully via my recovery (TWRP) and verified that it deletes the "/data/media/0" folder. Let me know if you have any problems with the new zip. For the people who downloaded this previously, you will need to re-download. My bad on the silly error. :silly:

Link for fixed zip: http://www.mediafire.com/?v26rw54gwgbg19w
I can confirm it's working

Sent from my HTCONE using Tapatalk 4 Beta
 

james33440

Senior Member
Sep 6, 2007
628
42
0
I flash this and it works. However when I use twrp again, 0 folder gets created but nothing else go to that folder except the backup files.

Sent from my HTCONE using xda app-developers app
 

Digitalkarma

Senior Member
Feb 3, 2011
959
1,717
0
Thanks OP, worked perfectly for me as well.

For anyone who didn’t know about this problem before flashing a 4.2.2 ROM (like me!), and doesn’t have a back-up of their internal SD, I found one way to retrieve it. Although there was nothing too terribly important on it, I experimented with ADB while in recovery and found that I could pull a copy of the entire internal SD with one command. For anyone else who finds themselves in this position and wants to try it, the command I used is:
Code:
adb pull /sdcard/ c:\sdcard\
This is probably dirt simple for most folks here, but I had to try a few times before figuring out how to do it without it simply dumping ALL the files right into my tools folder! That will work, but it can be a mess to sort out. The command above will create a folder in the root directory of your PC named sdcard and very neatly plop all the files in the correct place. You can change the destination to suit your needs, of course, but the above worked for me.
I should start doing this before every flash. because last night I tried a 4.2.2 rom that didn't boot up and when I went into recovery TWRP was reading from the /0 directory and I didn't have any backup roms to reflash.... so I got worried that I was going to lose all my sdcard data and RUU restore my phone

so if youre phone ever gets stuck with no rom in your directory to flash and you have a working ADB. just move the rom to your ADB directory and type: adb push nameofrom.zip /sdcard/ while in TWRP. once its done pushing the file will show up when you go through the install directory and if you're going back to a 4.1.2 rom make sure you push the restore-sd.zip. I think it's time to invest in an USB-OTG flash drive as a security blanket.

wasn't sure if this method was covered before but just in case things f up. :thumbup:

---------- Post added at 04:07 PM ---------- Previous post was at 04:01 PM ----------

I flash this and it works. However when I use twrp again, 0 folder gets created but nothing else go to that folder except the backup files.

Sent from my HTCONE using xda app-developers app
install esfileexplorer and delete the 0 folder in sdcard directory.
 
Last edited:

james33440

Senior Member
Sep 6, 2007
628
42
0
I should start doing this before every flash. because last night I tried a 4.2.2 rom that didn't boot up and when I went into recovery TWRP was reading from the /0 directory and I didn't have any backup roms to reflash.... so I got worried that I was going to lose all my sdcard data and RUU restore my phone

so if youre phone ever gets stuck with no rom in your directory to flash and you have a working ADB. just move the rom to your ADB directory and type: adb push nameofrom.zip /sdcard/ while in TWRP. once its done pushing the file will show up when you go through the install directory and if you're going back to a 4.1.2 rom make sure you push the restore-sd.zip. I think it's time to invest in an USB-OTG flash drive as a security blanket.

wasn't sure if this method was covered before but just in case things f up. :thumbup:

---------- Post added at 04:07 PM ---------- Previous post was at 04:01 PM ----------



install esfileexplorer and delete the 0 folder in sdcard directory.
I don't see that directory at all. However, once I make a backup it is created still.

Sent from my HTCONE using xda app-developers app