Go Back   Android Forums > Android Tablets & MIDs > Nexus 7 (2012) > Nexus 7(Gen1/2012) - All Things Root

test: Reply
 
LinkBack Thread Tools
Old November 29th, 2012, 05:45 PM   #1 (permalink)
Junior Member
Thread Author (OP)
 
mayonaka45's Avatar
 
Join Date: May 2012
Location: Android Forums, The Net. Zipcode:192.168.1.1
Posts: 25
 
Device(s): LG Optimus M Rooted, Nexus 7 rooted- stock
Carrier: Not Provided

Thanks: 13
Thanked 5 Times in 5 Posts
Red face Kernel- Loop Device support

Hello, I searched this for quite sometime and haven't found anything. Are there kernels for the Nexus 7 that has Loop device playback? i have version 4.2, and i havent been able to find any threads listing names of kernels that support Loop Devices. Thanks in advance

Advertisements
mayonaka45 is offline  
Reply With Quote
sponsored links
Old November 29th, 2012, 06:45 PM   #2 (permalink)
Dr. Feelgood
 
Rxpert83's Avatar
 
Join Date: Aug 2011
Location: MN
Gender: Male
Posts: 17,278
 
Device(s): Nexus 7, Nexus 5
Carrier: Sprint

Thanks: 14,787
Thanked 12,570 Times in 7,251 Posts
Default

I'm not familiar with that feature, can you explain it?
Rxpert83 is offline  
Reply With Quote
Old November 29th, 2012, 06:59 PM   #3 (permalink)
The PearlyMon
 
EarlyMon's Avatar
 
Join Date: Jun 2010
Location: New Mexico, USA
Posts: 46,384
 
Device(s): M8, LTEvo, 3vo, and Shift - Evo retired
Carrier: Sprint

Thanks: 42,734
Thanked 57,191 Times in 22,982 Posts
Default

Typical use of a loop device is to attach a virtual node in unix.

If you caught my posts last year on running Ubuntu in parallel with Android on my phone, I did that by getting an image file of Ubuntu and assigning it to a loop device.
__________________
|

Minutus cantorum, minutus balorum, minutus carborata descendum pantorum.

Links: Site Rules / Guidelines -and- Zero Tolerance Policy (All Members Read)


For right-on help, the Thanks button is on the right of the post.
For anything out in left field, the /!\ report button is to the left.

Remember, it's our forums and we're all in this together - so let's keep it cool!

Shoot the breeze at the best new gun forum!
EarlyMon is online now  
Reply With Quote
The Following 4 Users Say Thank You to EarlyMon For This Useful Post:
breadnatty08 (December 1st, 2012), CYNICALifornia (November 30th, 2012), frenchy714 (November 29th, 2012), mayonaka45 (December 1st, 2012)
Old November 30th, 2012, 01:17 AM   #4 (permalink)
Member
 
CYNICALifornia's Avatar
 
Join Date: Jun 2010
Location: Palmdale, Ca
Gender: Male
Posts: 300
 
Device(s): HTC LTEvo, Nexus 7 32gb
Carrier: Not Provided

Thanks: 122
Thanked 159 Times in 97 Posts
Default

Quote:
Originally Posted by EarlyMon View Post
Typical use of a loop device is to attach a virtual node in unix.

If you caught my posts last year on running Ubuntu in parallel with Android on my phone, I did that by getting an image file of Ubuntu and assigning it to a loop device.
I am in awe of the things people know how to do. I didn't even know they existed, let alone how the work, or how to do them.

Nice seeing you outside of the LTEvo forums.
__________________
Once I had a Nokia 6015i, but it wasn't smart enough.
Then I had a Helio Ocean, but Helio went adrift.
Then I had a Palm Pre, but that ended PREmaturely.
Then I had an HTC Evo 4G, and we had a grand times!
Now I have an HTC Evo 4G LTE, and all is right with the world.
CYNICALifornia is offline  
Reply With Quote
The Following 2 Users Say Thank You to CYNICALifornia For This Useful Post:
EarlyMon (November 30th, 2012), mayonaka45 (December 1st, 2012)
Old November 30th, 2012, 07:49 PM   #5 (permalink)
Junior Member
Thread Author (OP)
 
mayonaka45's Avatar
 
Join Date: May 2012
Location: Android Forums, The Net. Zipcode:192.168.1.1
Posts: 25
 
Device(s): LG Optimus M Rooted, Nexus 7 rooted- stock
Carrier: Not Provided

Thanks: 13
Thanked 5 Times in 5 Posts
Default

I know how to use them because I was trying to put Linux on my N7 but I can't find a kernel that has loop devices. Do you know of any for the n7 that has that?
mayonaka45 is offline  
Reply With Quote
The Following User Says Thank You to mayonaka45 For This Useful Post:
EarlyMon (December 1st, 2012)
Old November 30th, 2012, 08:36 PM   #6 (permalink)
Dr. Feelgood
 
Rxpert83's Avatar
 
Join Date: Aug 2011
Location: MN
Gender: Male
Posts: 17,278
 
Device(s): Nexus 7, Nexus 5
Carrier: Sprint

Thanks: 14,787
Thanked 12,570 Times in 7,251 Posts
Default

Quote:
Originally Posted by mayonaka45 View Post
I know how to use them because I was trying to put Linux on my N7 but I can't find a kernel that has loop devices. Do you know of any for the n7 that has that?
I'm not aware of one.

You can put ubuntu on the n7 though. Its kind of buggy but works

https://wiki.ubuntu.com/Nexus7/Installation
Rxpert83 is offline  
Last edited by Rxpert83; November 30th, 2012 at 08:38 PM.
Reply With Quote
The Following User Says Thank You to Rxpert83 For This Useful Post:
mayonaka45 (December 1st, 2012)
Old November 30th, 2012, 10:24 PM   #7 (permalink)
The PearlyMon
 
EarlyMon's Avatar
 
Join Date: Jun 2010
Location: New Mexico, USA
Posts: 46,384
 
Device(s): M8, LTEvo, 3vo, and Shift - Evo retired
Carrier: Sprint

Thanks: 42,734
Thanked 57,191 Times in 22,982 Posts
Default

That requires a single purpose flash, a loop device wouldn't. Details on running the two in parallel -

Ubuntu Linux on the 3vo

You could try issuing an losetup command from a root terminal emulator session, see if it takes.

The stock kernel may support it.
EarlyMon is online now  
Reply With Quote
Old December 1st, 2012, 08:58 AM   #8 (permalink)
Junior Member
Thread Author (OP)
 
mayonaka45's Avatar
 
Join Date: May 2012
Location: Android Forums, The Net. Zipcode:192.168.1.1
Posts: 25
 
Device(s): LG Optimus M Rooted, Nexus 7 rooted- stock
Carrier: Not Provided

Thanks: 13
Thanked 5 Times in 5 Posts
Default

How would I do that? Also I'm trying yo run BackTrack, would it be the same procedure?
When I try to boot it I get these errors, and I'm not sure what I'm doing wrong. I know it says BackTrack ARM for Xoom but its modified to work on all,
Attached Images
File Type: jpg uploadfromtaptalk1354373886905.jpg (82.5 KB, 16 views)
mayonaka45 is offline  
Reply With Quote
Old December 1st, 2012, 11:09 AM   #9 (permalink)
The PearlyMon
 
EarlyMon's Avatar
 
Join Date: Jun 2010
Location: New Mexico, USA
Posts: 46,384
 
Device(s): M8, LTEvo, 3vo, and Shift - Evo retired
Carrier: Sprint

Thanks: 42,734
Thanked 57,191 Times in 22,982 Posts
Default

The bootbt there is trying to do an losetup and failing.

If you want, zip that file up and attach it here, I'll check it.
EarlyMon is online now  
Reply With Quote
The Following User Says Thank You to EarlyMon For This Useful Post:
mayonaka45 (December 1st, 2012)
Old December 1st, 2012, 01:18 PM   #10 (permalink)
Junior Member
Thread Author (OP)
 
mayonaka45's Avatar
 
Join Date: May 2012
Location: Android Forums, The Net. Zipcode:192.168.1.1
Posts: 25
 
Device(s): LG Optimus M Rooted, Nexus 7 rooted- stock
Carrier: Not Provided

Thanks: 13
Thanked 5 Times in 5 Posts
Default

Here's the bootbt file, thank you,
Attached Files
File Type: zip bootbt.zip (611 Bytes, 12 views)
mayonaka45 is offline  
Reply With Quote
sponsored links
Old December 1st, 2012, 06:45 PM   #11 (permalink)
The PearlyMon
 
EarlyMon's Avatar
 
Join Date: Jun 2010
Location: New Mexico, USA
Posts: 46,384
 
Device(s): M8, LTEvo, 3vo, and Shift - Evo retired
Carrier: Sprint

Thanks: 42,734
Thanked 57,191 Times in 22,982 Posts
Default

Bad news, they knew how to do it right.

They check to see if the loop device target exists (in use) before proceeding and give an error message if that happens. So they don't assume a free slot, in other words.

That passes and they use the shorter command sequence and handle it through a mount -o call. So while they don't do an explicit losetup, they don't need to, it's kernel limited as you thought.

I guess maybe your next move would be to ask kernel devs working this device to add the feature for you.
EarlyMon is online now  
Reply With Quote
The Following User Says Thank You to EarlyMon For This Useful Post:
mayonaka45 (December 1st, 2012)
Old December 1st, 2012, 10:45 PM   #12 (permalink)
Junior Member
Thread Author (OP)
 
mayonaka45's Avatar
 
Join Date: May 2012
Location: Android Forums, The Net. Zipcode:192.168.1.1
Posts: 25
 
Device(s): LG Optimus M Rooted, Nexus 7 rooted- stock
Carrier: Not Provided

Thanks: 13
Thanked 5 Times in 5 Posts
Default

Quote:
Originally Posted by EarlyMon View Post
Bad news, they knew how to do it right.
I have no words for that^^
Ok, thank you for your help,
mayonaka45 is offline  
Reply With Quote
The Following User Says Thank You to mayonaka45 For This Useful Post:
EarlyMon (December 1st, 2012)
Old December 1st, 2012, 11:41 PM   #13 (permalink)
The PearlyMon
 
EarlyMon's Avatar
 
Join Date: Jun 2010
Location: New Mexico, USA
Posts: 46,384
 
Device(s): M8, LTEvo, 3vo, and Shift - Evo retired
Carrier: Sprint

Thanks: 42,734
Thanked 57,191 Times in 22,982 Posts
Default

Yeah, probably one of my better ones.
EarlyMon is online now  
Reply With Quote
Reply
Tags
device, kernel, loop, loopback, nexus, support


Go Back   Android Forums > Android Tablets & MIDs > Nexus 7 (2012) > Nexus 7(Gen1/2012) - All Things Root
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:37 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.