Learn to Sync Files Between Android And PC with Unison

Dropbox and similar cloud services are great if youre planning to keep your files … more

OnePlus Indian Ban Lifted, Android One Expanding – XDA TV

Android 5.0.1 Lollipop is available for the Nvidia SHIELD Tablet! That and … more

Nvidia and Robotics w/ Barrett Williams – XDA:DevCon 2014

Robotics continues to dominate our videos from this years XDA:DevCon 2014 in … more

Speed Up Deodexing with JoelDroid Batch Deodexer

Android 5.0 Lollipop brings many under-the-hood changes like changing the default compiler … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Kindle Fire HD Tate and TWRP

OP erForman

7th June 2014, 08:21 PM   |  #1  
OP Junior Member
Flag Krugerville
Thanks Meter: 0
 
7 posts
Join Date:Joined: Apr 2012
More
I successfully went through Hashcode's instructions for installing the second bootloader, rooting, and installing TWRP, and one of the Cyanogen nightly builds. All was working fine until I decided to try and go back to Kindle mode by restoring the original boot system and recovery images. The Kindle still seemed to work fine with the Kindle apps and I could use my Prime account. Now I am trying to switch back to Cyanogen. My problem is with TWRP. It does not see the sdcard files correctly. I have added some folders and zip files to the root of the sdcard but TWRP does not "see" the new files. It is like it has an image of the very original directory structure. How do I get TWRP to see the new files ????
7th June 2014, 08:59 PM   |  #2  
stunts513's Avatar
Recognized Contributor
Flag New Braunfels, TX
Thanks Meter: 610
 
2,231 posts
Join Date:Joined: Feb 2013
Donate to Me
More
If it isn't seeing the files you added to the sdcard you could always attempt a "adb sideload", personally i don't use this feature because I prefer pushing the rom and selecting it, but in your case it may be very useful. Oh that reminds me, the amazon os had a different symlink for sdcard I fi remember correctly. Look in the sdcard folder for a folder named 0, if you don't see it still look for it in /data/media/0, and if I have this backwards then it might actually be in the media folder rather than the 0 folder. Think the folder used to be called emulated... This is confusing me a bit, hadn't really looked at cm 11's sdcard paths.

Sent from my Amazon Tate using Tapatalk
Last edited by stunts513; 7th June 2014 at 09:03 PM.
7th June 2014, 09:24 PM   |  #3  
OP Junior Member
Flag Krugerville
Thanks Meter: 0
 
7 posts
Join Date:Joined: Apr 2012
More
Quote:
Originally Posted by stunts513

If it isn't seeing the files you added to the sdcard you could always attempt a "adb sideload", personally i don't use this feature because I prefer pushing the rom and selecting it, but in your case it may be very useful. Oh that reminds me, the amazon os had a different symlink for sdcard I fi remember correctly. Look in the sdcard folder for a folder named 0, if you don't see it still look for it in /data/media/0, and if I have this backwards then it might actually be in the media folder rather than the 0 folder. Think the folder used to be called emulated... This is confusing me a bit, hadn't really looked at cm 11's sdcard paths.

Sent from my Amazon Tate using Tapatalk

Yes, I found the 0 folder and that is what TWRP is reading/displaying. So now, how do I get TWRP to read/mount the sdcard and not the folder named 0 ???????????/
7th June 2014, 09:38 PM   |  #4  
stunts513's Avatar
Recognized Contributor
Flag New Braunfels, TX
Thanks Meter: 610
 
2,231 posts
Join Date:Joined: Feb 2013
Donate to Me
More
Just try browsing into /data/media, I would think that's where then old stuff would be, it is kinda the equivalent of what amazon os used i think. I would tell you for sure but I did internal storage wipe not too long ago so in don't have any files left over from amazon os anymore. There's one way you can check I think, boot into amazon os and run this from your PC
Code:
adb shell "ls -n /sdcard"
the part on the very right should should tell where it symlinks to, only problem is I believe it symlinks to another symlink, so whatever it outputs you might want ton run that command non again but with then new oath ton track it to it's original directory. Some of then sum links made created at startup so that's why in suggest doing this because there's no guarantee that the symlinks are in the same location in twrp. Sorry if this is a bit confusing, it makes more sense with a basic understanding of how linux works. I thinkmi traced cm 11's back to /mnt/shell/emulated, but I am sure that's a init.rc symlink... Annoying... Pretty sure that folder is the exact same as /data/media on mine. I'll see if I can help you out if you still can't find it.

Sent from my Amazon Tate using Tapatalk
Last edited by stunts513; 7th June 2014 at 09:41 PM.
8th June 2014, 02:54 AM   |  #5  
OP Junior Member
Flag Krugerville
Thanks Meter: 0
 
7 posts
Join Date:Joined: Apr 2012
More
Quote:
Originally Posted by stunts513

Just try browsing into /data/media, I would think that's where then old stuff would be, it is kinda the equivalent of what amazon os used i think. I would tell you for sure but I did internal storage wipe not too long ago so in don't have any files left over from amazon os anymore. There's one way you can check I think, boot into amazon os and run this from your PC

Code:
adb shell "ls -n /sdcard"
the part on the very right should should tell where it symlinks to, only problem is I believe it symlinks to another symlink, so whatever it outputs you might want ton run that command non again but with then new oath ton track it to it's original directory. Some of then sum links made created at startup so that's why in suggest doing this because there's no guarantee that the symlinks are in the same location in twrp. Sorry if this is a bit confusing, it makes more sense with a basic understanding of how linux works. I thinkmi traced cm 11's back to /mnt/shell/emulated, but I am sure that's a init.rc symlink... Annoying... Pretty sure that folder is the exact same as /data/media on mine. I'll see if I can help you out if you still can't find it.

Sent from my Amazon Tate using Tapatalk

As I mentioned before, I found the "0" folder. It has the sdcard files and folders that TWRP is now reading. It is not the real root of the sdcard!
Should I just delete the "0" folder ????
8th June 2014, 05:44 AM   |  #6  
Ph0enix_216's Avatar
Senior Member
Flag /system/xbin/su
Thanks Meter: 100
 
446 posts
Join Date:Joined: Aug 2013
More
Quote:
Originally Posted by erForman

As I mentioned before, I found the "0" folder. It has the sdcard files and folders that TWRP is now reading. It is not the real root of the sdcard!
Should I just delete the "0" folder ????

I wouldn't reccomend deleting it (but that's just me). Amazon's OS for the KFHD is based on Android 4.0.3. CyanogenMod is based on 4.2.2 - 4.4 (depending on which version of CM you download), which includes a user profile feature that saves each user's data to a different numbered folder (the default user being numbered "0" ).

At least, I think this is how it works...?

>>>Sent from my homebuilt TARDIS running Android 4.4... or maybe it's a Kindle Fire HD running Cyanogenmod 11
8th June 2014, 10:32 AM   |  #7  
stunts513's Avatar
Recognized Contributor
Flag New Braunfels, TX
Thanks Meter: 610
 
2,231 posts
Join Date:Joined: Feb 2013
Donate to Me
More
Yea it should be the folder one level up from the 0 folder that has the amazon os sdcard directory I think.

Sent from my Amazon Tate using Tapatalk
8th June 2014, 09:16 PM   |  #8  
OP Junior Member
Flag Krugerville
Thanks Meter: 0
 
7 posts
Join Date:Joined: Apr 2012
More
Quote:
Originally Posted by Ph0enix_216

I wouldn't reccomend deleting it (but that's just me). Amazon's OS for the KFHD is based on Android 4.0.3. CyanogenMod is based on 4.2.2 - 4.4 (depending on which version of CM you download), which includes a user profile feature that saves each user's data to a different numbered folder (the default user being numbered "0" ).

At least, I think this is how it works...?

>>>Sent from my homebuilt TARDIS running Android 4.4... or maybe it's a Kindle Fire HD running Cyanogenmod 11

Got it sorted out now, I have to use the "0" folder for anything I want to use in TWRP. I am able to safely switch back and forth between Kindle mode and Cyanogen for pure Android. Now ready to experiment with other Rom's. Does anybody have a favorite running on the Kindle Fire HD seven inch?
9th June 2014, 05:32 AM   |  #9  
Ph0enix_216's Avatar
Senior Member
Flag /system/xbin/su
Thanks Meter: 100
 
446 posts
Join Date:Joined: Aug 2013
More
Quote:
Originally Posted by erForman

Got it sorted out now, I have to use the "0" folder for anything I want to use in TWRP. I am able to safely switch back and forth between Kindle mode and Cyanogen for pure Android. Now ready to experiment with other Rom's. Does anybody have a favorite running on the Kindle Fire HD seven inch?

I'm using CyanogenMod 11. I like it because its just basic CM without any extra features, and runs smooth.

>>>Sent from my homebuilt TARDIS running Android 4.4... or maybe it's a Kindle Fire HD running Cyanogenmod 11<<<
9th June 2014, 08:44 PM   |  #10  
OP Junior Member
Flag Krugerville
Thanks Meter: 0
 
7 posts
Join Date:Joined: Apr 2012
More
Quote:
Originally Posted by Ph0enix_216

I'm using CyanogenMod 11. I like it because its just basic CM without any extra features, and runs smooth.

>>>Sent from my homebuilt TARDIS running Android 4.4... or maybe it's a Kindle Fire HD running Cyanogenmod 11<<<

I flashed a nightly CyanogenMod (20140528) with Android 4.4.2. It is running just fine on my Kindle Fire HD 7 inch. Very nice mod with a ton of options.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes