[GUIDE] [POGOPLUG] $20 Cheaper than Pi NAS - PogoPlug

Problem:
I wanted a NAS server (with data redundancy) at my house without having to run a whole PC. I bought a Pogoplug Series 4 (<$20 on amazon.com), set it up, and moved everything. In the process, I found that the pogoplug (with its default firmware) did not play well with moving my pictures from my phone to the device, and I lost about a year's worth of memories. I looked to the raspberry pi. simple enough, but needed an additional USB hub (under powered and not enough USB ports), and the video output was unnecessary (as I would setting it up as a headless server). So, while playing with the pi, I looked back to my dusty Pogoplug.
Solution:
Hack the pogoplug to operate just as I would have with the raspberry pi. You can install the OS on an SD card now (thanks to the Devs for that), it has two USB 3.0 ports (which is not necessary since this particular model only has an 800Mhz processor), an additional port on top with a hard drive dock (which I wont use often), and you will only see one power cord, and the cords going to the drives, taking up about a "Rubik's Cube" worth of space (OK, a little more, but not much).
Pros: 3 powered USB ports (2 x USB3.0, 1 x USB2.0), small form factor, OS on SD card, Low power consumption
Cons: 800 Mhz Arm processor (though, the rPi is only 700 Mhz), which is the transfer speed bottleneck. Fast enough for me though, and most home use scenarios. Also, no video output, but thats actually a for my scenario. SSH only.
Materials:
1: Pogoplug Series 4 - Don't pay more than $20
2: 2 x External Hard Drives - I bought two new 1TB USB 3.0 portable drives to replace my two old 1TB clunky ones.
3: SD card - I recommend 8GB or larger. I personally used a 16GB microSD w/ adapter because it's just what I had laying around from an old cell phone.
4) Optional - Wireless LAN Adapter - I recomend the EDIMAX EW7811Un because it fits under the cover when used on the top USB2.0 port, it uses the RTL8188CUS chipset, and it's ridiculously cheap. You'll have to load the realtek firmware to get it to work on pogoplug (apt-get update && install firmware-realtek).
Instructions:
1: The following instructions were copied from the following site (Hack the Pogoplug (v4/debian)). I figured it would help to have the info all in one place. This is an excellent tutorial for hacking the Pogoplug Series 4. Very easy to follow.
2: Optional - Install wireless adapter and connect via WiFi (I did this so I wasn't tethered to a router)
3: Setup Rsync via SSH - Since you will be running as the root user, you will omit the "sudo " from your commands. Be sure that when you enter "apt-get install rsync", you replace it with "apt-get install rsync cron" if you do not, then "crontab -e" will not work.
4: Optional - Install DLNA client to stream to game console, chromecast, etc (I used miniDLNA, seems to work pretty good.)
Final Product:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thoughts:
1: I tried following this link to install lsyncd for using with the Pogoplug. It worked, but I didnt want to accidently delete a file and have it delete instantly from the backup. So I just stick with RSYNC.
2: Now that I see the Pogoplug Pro has two 800 Mhz processors, I may research this same type of setup on that device. But I do like having the OS on an SD card. I would have to use a USB flash drive if I switched. I had already committed to the Pogoplug Series 4.
3: I understand that the costs incurred total over $20 when you factor in the SD card, External Hard Drives, and optional wireless adapter. This is simply a comparison to the "$35 Raspberry Pi NAS" reference. It is assumed that you likely already have hard drives that you currently save your info to, and likely some sort of SD card laying around. Also keep in mind, the Pogoplug already has a case for the circuit board.
Update 2014-11-12 - Do not use wicd-curses:
After some time with this Pogoplug, I ran into and issue where the Pogoplug freezes through simple tasks. It seems to be that I have reached the limit of the RAM memory. I tried adding SWAP, but the system doesn't seem to utilize it when activated. I believe it may be linked to my wireless application (wicd-curses). I uninstalled wicd-curses, using a LAN connection, and everything seems to work fine. My swap is even behaving properly. Now I just need to figure out how to get wifi to work properly with my configuration.
Credits and Thanks go out to:
Qui Hong, How-To Geek, and Ben Perove.

Thank you for posting this. I never would have found the qnology blog otherwise. I still need to get some hard drives to complete my setup, but I've got my Pogo all set.
To anyone wondering, arch is actually much easier to use on the pogo than Debian (IMHO), and the qnology blog includes both sets of inductions, so you can chose which you follow.

iXNyNe said:
Thank you for posting this. I never would have found the qnology blog otherwise. I still need to get some hard drives to complete my setup, but I've got my Pogo all set.
To anyone wondering, arch is actually much easier to use on the pogo than Debian (IMHO), and the qnology blog includes both sets of inductions, so you can chose which you follow.
Click to expand...
Click to collapse
As a follow up; I ended up switching to Debian because arch just isn't as stable in my experience. Pacman is definitely simpler and easier than apt (and I have used Ubuntu for many years). Systemd is way better than init.d, so I upgraded to Debian Jessie. Systemd on wheezy didn't seem as well put together as it is on Jessie.
Anyway good luck all.

Debian is definitely a better choice considering the huge variety of packages

Thanks.
Great guide.:good:

Thanks for the write up. I'm not sure if anyone will notice this post but I'll try anyways.
What kind of speeds are you getting with the Pogoplug NAS? According to this article (http://www.storagereview.com/pogoplug_series_4_review) the default pogo plug has a disadvantage of a transfer speed of 45 MB/s. Honestly that would be an amazing improvement as right now I'm getting about 3.5 MB/s with the pogo plug running Debian and Samba. This is on wireless or wired network.
Are there any way to improve speeds?

Guitarman19853 said:
Thanks for the write up. I'm not sure if anyone will notice this post but I'll try anyways.
What kind of speeds are you getting with the Pogoplug NAS? According to this article (http://www.storagereview.com/pogoplug_series_4_review) the default pogo plug has a disadvantage of a transfer speed of 45 MB/s. Honestly that would be an amazing improvement as right now I'm getting about 3.5 MB/s with the pogo plug running Debian and Samba. This is on wireless or wired network.
Are there any way to improve speeds?
Click to expand...
Click to collapse
The performance I got was abysmal. 45 MB/s would be surprising. I like playing around with the pogo, it's a great little headless project piece of equipment, but I can't get justifiable speeds for production use.
It worked better as a web server then a NAS.
Sent from my XT1060 using Tapatalk

Im thinking about doing this with a pogoplug V2 but had a question. Do the HDDs go to sleep after some time and wake up when needed or are they constantly on?

If you are running debian you can use hd-idle to send your hdds to sleep. It works well and is easy to configure
Sent from my Nexus 5 using Tapatalk

Related

[APP][2.1+][ROOT] Usb Host Controller 0.42

Usb Host Controller
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Shows enumerated usb devices, and allows you to mount external mass storage devices to the filesystem. Supports advanced features like the ability to reload partition tables and reseting USB devices. It can also control the USB Host functionality of S5PC210 devices with the appropriate kernel patch (more about this later)
The application does not use the USB Host API, so it can also run on older, 2.x devices. Because of that however almost all functionality (except for the listing of USB devices) requires root access.
The application needs a device that has USB Host (or USB OTG) functionality. Most modern high-end devices have this ability. Check the documentation and specification of your device (this functionality is usually called USB OTG or USB Host)
If your device doesn't have native USB OTG functionality, there are kernel patches for some older devices to enable the functionality, most notably for:
- S5PC210 based Samsung phones (Galaxy S, Captivate, Nexus S)
- QSD8250 based HTC phones (G1, Nexus One, Desire, Incredible)
You can find appropriate kernel drivers for these phones here:
- Samsung phones: http://forum.xda-developers.com/showthread.php?t=1450298
- HTC phones: http://sven.killig.de/android/N1/2.2/usb_host/
Note that these drivers might require skills to install, and may damage your phone and void your warranty!
Changelog and downloads
The application can always be downloaded from the Android Market: https://market.android.com/details?id=hu.sztupy.android.usbhostcontroller If you have Market, please download it from there. Thanks.
Version 0.44 Download: http://android.sztupy.hu/dl/usbhost/UsbHostController-0.44.apk
Fixed:
Crashes on some devices when getting wireless wifi data
Version 0.42 Download: http://android.sztupy.hu/dl/usbhost/UsbHostController-0.42.apk
Fixed:
Crashes on orientation change while opening the application
Version 0.4 Download: http://android.sztupy.hu/dl/usbhost/UsbHostController-0.4.apk
Fixed:
Crashes on pre-gingerbread devices
Crashes when using some ad-blockers
Version 0.3 Download: http://android.sztupy.hu/dl/usbhost/UsbHostController-0.3.apk
Fixed:
Massive instability on JVU/gingerbread
Various other gingerbread fixes
Version 0.2 Download: http://android.sztupy.hu/dl/usbhost/UsbHostController-0.2.apk
Fixed:
Increased stability
Added features:
real-time dmesg logging
reload partition table of devices
reset USB devices
turn off device charging (S5PC210 devices only)
multiple mount points support
Hungarian localization
Version 0.1 Download: http://android.sztupy.hu/dl/usbhost/UsbHostController-0.1.apk
Initial release
Help/FAQ
What is this good for?
Usb Host Controller let's you see what devices are connected to your phone, and also lets you mount external drives.
There are already a lot of apps for that
Yes, but UHC has some distinctive features:
To enumerate devices it does not use neither the USB Host API, nor external applications, like lsusb from busybox. Instead it reads the information from the filesystem, which is always avialable, therefore it can be used to debug all kinds of devices which have USB host support.
It has a special features to help control the USB Host mode of S5PC210 based Samsung devices (Galaxy S, Nexus S, etc.)
It also has some features usually not available (even from the command line), like the ability to reload the partition information, and the ability to reset USB devices
How to use
Most of the functionality should be straightforward, but the USB tab might need some clarification:
The USB tab shows all the USB devices connected to your phone, that have been found by the system. Below the devices you can see all of the USB Mass Storage devices (external hard drives, flash drives, other Android phones, etc.), with their avialable partitions. You can click on any line, and based on the line you click on you will have a list of options to choose from:
Clicking on an USB device in the upper part lets you reset that device. Sometimes mice, and keyboards need to be reset for them to work correctly.
Clicking on a partition lets you mount it to a mount point. The application will ask you where you want to mount it. The list of mount points can be set inside the settings panel. If the partition is mounted you can unmount it here.
Clicking on a Mass Storage Device (not on the partitions, but the base device above tha partitions) will lets you reset the hard drive, or reload the partition table of the disk. The latter is useful, if the system doesn't recognize a change in its partition information. This is usually needed, if you connect an external card reader, and you insert or remove a card from it. It also makes conecting other Android phones as storage possible, as they will not send their partition tables until you switch the USB Storage mode on them on.
What are the options if I have an S5PC210 based phone
The application lets you change how the USB Host is working in the S5PC210 based kernels (and currently only on those!). The avialable modes are:
Client: Default mode, means no matter what happens the phone stays in client (USB gadget) mode
Host: No matter what happens, the phone switches to host mode and stays there. Not recommended.
OTG: The phone is in client mode by default but changes to host mode if an OTG cable is detected.
Auto-host: The phone is in client mode by default but changes to host mode if any type of cable is detected. (good for homemade OTG cables where pins 4-5 are not shorted)
Using Host mode is not recommended, as the root hub of the S3C Host driver won't re-enumerate devices if they are changed (It is still useful for debug purposes). If you need host mode use either OTG mode (preferred if you have a valid OTG cable, which means it has the 4th pin grounded), or auto-host mode, which you should use if you have a "non valid" OTG cable (on which the 4th pin is not connected)
Nice! Download ?
Between i have a lg optimus one. Will it work ?
Sent from my LG-P500 using Tapatalk
Nice! Download
What info/files you need, so that you can add support to other devices?
Sent from my Derp using XDA Herp
julle131 said:
What info/files you need, so that you can add support to other devices?
Sent from my Derp using XDA Herp
Click to expand...
Click to collapse
If the device has USB host mode (most newer high-end devices and tablets, from that even most chinese ones), this app should work on it just fine.
If it doesn't have, but the chip supports it then a willing developer needs to try to enable it. I'm only working on S5PC210 (Hummingbird) based phones, as I have only access to them. Patches for QSD8250 (Snapdragon) based phones are available though.
If the device has a chip without USB host support (most low-end / mid-range phones) then sorry, this is not possible.
Version 0.3 released here, and on the Market
Version 0.3 Download: http://android.sztupy.hu/dl/usbhost/...roller-0.3.apk
Fixed:
Massive instability on JVU/gingerbread
Various other gingerbread cosmetic fixes
I have a snapdragon chipset phone named Ideos X6 i think that phone had very good possiblity with usb otg .. it has hdmi out too .... i think its possible to make otg for this phone ... can anyone help out ??? Ideos X6 check it here plz
kshitij_bhatt said:
I have a snapdragon chipset phone named Ideos X6 i think that phone had very good possiblity with usb otg .. it has hdmi out too .... i think its possible to make otg for this phone ... can anyone help out ??? Ideos X6 check it here plz
Click to expand...
Click to collapse
It might work, check the topics of other snapdragon phones, like the ones mentioned above.
download now... thx
Gtablet cm 7.1.0.1
App mounts external drive,but contents is not visible. Reports s3c usb host driver not found. Any ideas? ((btw no other app works at mounting the drive:just yours. Great job)
---------- Post added at 05:43 AM ---------- Previous post was at 05:28 AM ----------
App mounts external drive,but contents is not visible. Reports s3c usb host driver not found. Any ideas? ((btw no other app works at mounting the drive:just yours. Great job)
JUGOMAN said:
App mounts external drive,but contents is not visible. Reports s3c usb host driver not found. Any ideas? ((btw no other app works at mounting the drive:just yours. Great job)
---------- Post added at 05:43 AM ---------- Previous post was at 05:28 AM ----------
App mounts external drive,but contents is not visible. Reports s3c usb host driver not found. Any ideas? ((btw no other app works at mounting the drive:just yours. Great job)
Click to expand...
Click to collapse
S3c driver only visible if you have an s3c otg controller (samsung phones). Please post a dmesg log (after connecting the device) if you can, i'll check it
Sent from my GT-I9000 using XDA App
Works on CM9 Nook Color. Have not tried any of the advanced options but it does display good info.
Thanks for making this app!!
dmsg log gtab
Here it goes
JUGOMAN said:
Here it goes
Click to expand...
Click to collapse
Is your drive formatted as FAT32? If yes according to the logs there is some problem with it.
sztupy said:
Is your drive formatted as FAT32? If yes according to the logs there is some problem with it.
Click to expand...
Click to collapse
Yes, FAT32. I can mount it without problems on my Iconia a500 (HC 3.2)but not on the gtablet. It probably has to do with the kernel, since it is not really a "true" Ginger KERNEL
thank you very much!!!!!
I've tried your application. It's very nice and work ok but is there any chance you can add support for NTFS mounting as well?
linh1987 said:
I've tried your application. It's very nice and work ok but is there any chance you can add support for NTFS mounting as well?
Click to expand...
Click to collapse
Yes, NTFS and ext2/3/4 support is work in progress.
Anyone have any success (or advice) with a dell streak 5?
Great work btw.
Cheers
Zill

[APP][2.1+] Droid NAS - SMB server for Android

Droid NAS allows you to share folders over a Wi-Fi network, making your Android device visible as a Bonjour computer in the Finder on your Mac. Turn your phone or tablet into a wireless flash drive with a single tap!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Different profiles can be used to quickly choose which folders to share. Assign your home or office Wi-Fi networks to profiles and Droid NAS will auto-select profiles on start.
Supported systems:
- Mac OS X.
- Android: apps like ES File Explorer, Solid Explorer, GTVBox Video Player.
- Windows is NOT supported because it can't connect to SMB servers via a non-standard port.
- Linux most probably also won't work.
Recent changes:
- Added password protection.
The irony... You made a server with a Windows protocol (more or less) that don't work on Windows. xD
But what's the advantage of this over a FTP server (I'm not a Network guy)
Sent from my HTC One S using xda premium
Thanks to Bonjour protocol, Android device will appears automatically in Finder and you can work with it like you work with a flash drive. E.g. you can edit a documents directly on the device.
I've seen another SMB server on this XDA, but you need a root access to use the default port. Big question to ROM developers - can Android be modified to allow ports numbers < 1000 for apps like this?
Very nice....I transfered a 14 MB file faster than I could have went and found my USB cable. KUDDOS!!! Thanks for this app.
Will try it with total commander or sth. other on windows. Thank you any way it can be much easier to access the files of galaxy nexus since it has no mass storage mode.
- Windows is NOT supported because it can't connect to SMB servers via a non-standard port.
So why dont u use the standard port?
Mardon said:
So why dont u use the standard port?
Click to expand...
Click to collapse
It's only possible for console apps in rooted devices, will be happy if there will be some way to do it.
Version 1.0.4 adds support for custom shares, e.g. external SD card.
It could be great a version for rooted device ¡¡¡ then these users ( I`m one of thems) could enjoy enterely of this app with windows pc`s Is it so difficult to add up an option for these rooted devices? Maybe requesting some help to developer could solve this issue.
Anyway , thanks for so many efforts go on with your great app.
DesertEagle said:
It's only possible for console apps in rooted devices, will be happy if there will be some way to do it.
Version 1.0.4 adds support for custom shares, e.g. external SD card.
Click to expand...
Click to collapse
Why not smb compilation for android with root rights and gui backend?
Cheers
please SMB for windows!!!!!
DesertEagle said:
It's only possible for console apps in rooted devices, will be happy if there will be some way to do it.
Version 1.0.4 adds support for custom shares, e.g. external SD card.
Click to expand...
Click to collapse
Yeah, this is correct. I am assuming you have written this entirely in Java or using something like JLAN? If so, without changes to the Android framework it is not possible without elevating to root (via su) and running processes from the command line (as root). I tried the JLAN route and it works for non-standard ports but without running the application as the root user (not feasible atm) you can't bind ports below 1024.
"custom shares" Not from what I see!
DesertEagle said:
It's only possible for console apps in rooted devices, will be happy if there will be some way to do it.
Version 1.0.4 adds support for custom shares, e.g. external SD card.
Click to expand...
Click to collapse
I fully disagree with the ability to point to other folders NOT on the SD Card. I have an SATA drive on my Android that can't even be seen by this app. I can see and use via FTP but would love to see this app bring in sharing of ALL folders linked within the unit.
When will it be possible to share ALL folders on a device? I have a ton of data on both an SATA drive and a connected USB drive. Neither can this app see.
Is not possible to introduce a "Root Mode" that opens the server in the standard port or configures a iptables local port redirect to accept windows clients?
"Connection Failed" in finder
So this is admittedly a pretty vague issue. Until now i've been able to use the app DroidNas to transfer files with my Macbook. Randomly today, when I go to my device (Verizon HTC one) in Finder, it tells me "Connection Failed" almost immediately. They're both on the same wifi network, and as far as a I can tell I haven't changed any settings that would affect the network connectivity of my phone. I tried using a clean hosts file, in case maybe adaway was causing the problem, but no dice.
Anyone have any idea what the problem is / any troubleshooting ideas?
murtaza217 said:
So this is admittedly a pretty vague issue. Until now i've been able to use the app DroidNas to transfer files with my Macbook. Randomly today, when I go to my device (Verizon HTC one) in Finder, it tells me "Connection Failed" almost immediately. They're both on the same wifi network, and as far as a I can tell I haven't changed any settings that would affect the network connectivity of my phone. I tried using a clean hosts file, in case maybe adaway was causing the problem, but no dice.
Anyone have any idea what the problem is / any troubleshooting ideas?
Click to expand...
Click to collapse
I have the same problem still unable to fix it... too bad it was a Great app...
lbrenes said:
I have the same problem still unable to fix it... too bad it was a Great app...
Click to expand...
Click to collapse
It may be the problem with OSX Mavericks. The workaround is described in the last update:
What's New
OS X Mavericks workaround:
Press Cmd+K in Finder and enter IP address AND share:
smb://IP_ADDRESSort/Share
for example:
smb://192.168.1.2:7777/SD Card
Click to expand...
Click to collapse
leleobhz said:
Is not possible to introduce a "Root Mode" that opens the server in the standard port or configures a iptables local port redirect to accept windows clients?
Click to expand...
Click to collapse
This.
leleobhz said:
Is not possible to introduce a "Root Mode" that opens the server in the standard port or configures a iptables local port redirect to accept windows clients?
Click to expand...
Click to collapse
Same here. Then it is accessible by any client.
And does it work under Kitkat ?
Help... I installed this on my android tv box. My transfer speeds is around 2-3MB/s tops. In the same network, if I was to transfer between a mac and another mac, I get 5-10MB/s at least. Also, constantly, almost when the file is finished transferring, I get an error saying something like the file cannot be read and written.
Which android box should I get next to solve this issue? I need one that I can connect a 2TB hard disk to.
Also, what's the best workaround for 10.9 machines? SMB 2 seems to break functionality. I've tried using AFP/CDIF to no success.
Thanks!

Make your Surface RT faster by disabling Windows Defender!

Hi all,
I found out that my Surface lagged alot and Antimalware Service (or something like that) was eating a lot of resources. I went and opened Windows Defender configuration, but there was no disable option like on desktop. Then I started looking from registry and found a way to disable Windows Defender. Here's how:
If you have jailbroken your device, you can download the attached app that does everything for you. Source code can be found here.
If you have win86emu running, you have to right click and select Run as administrator or otherwise win86emu thinks it's a x86 program.
For manual registry editing:
1. Open regedit. Find HKLM\SOFTWARE\Microsoft\Windows Defender
2. Take ownership of the key and add write permissions to yourself (Right click Windows Defender key, click Permissions, click Additional settings, click Owner, type your username and accept. Now on the Permissions window click Add, type your username and check Full Access and click OK)
3. Change the value of DisableAntispyware to 1
4. Reboot
Now apps start instantly and no lag is noticeable. I may be imagining but before I did this all apps took forever to start. Please try and share your results. Would someone make a comparsion of app open times before&after?
Thanks for the tip! It does seem to be a bit more responsive.
Id agree. My Vivo Tab runs a bit quicker now.
switches back to 0 after reboot on mine. It's ok though.
Dope! I'll do a video comparison hopefully tomorrow, and post it. Thanks much! :laugh:
After a bit of use to confirm that I wasn't just seeing the placebo effect, this tweak does seems like it grants a SLIGHT smoothness-under-operation bump. If I had to give it a completely unscientific percentage of improvement, I'd say around 10%
About the same kind of improvement you get from disabling the SuperFetch service. Which I highly recommend doing as well.
Good work.
The.Yield said:
After a bit of use to confirm that I wasn't just seeing the placebo effect, this tweak does seems like it grants a SLIGHT smoothness-under-operation bump. If I had to give it a completely unscientific percentage of improvement, I'd say around 10%
About the same kind of improvement you get from disabling the SuperFetch service. Which I highly recommend doing as well.
Good work.
Click to expand...
Click to collapse
Any details about how much performance you gain from disabling SuperFetch? Shouldn't it already be disabled on an SSD device, anyway?
Jaxbot said:
Any details about how much performance you gain from disabling SuperFetch? Shouldn't it already be disabled on an SSD device, anyway?
Click to expand...
Click to collapse
Well the function of superfetch is, as far as I've ever understood it, to preload your ram with things the OS thinks you might use. I don't think its disabled on SSDs and its definitely a service that seems to be running on RT. I'll do some digging into just how much good it does us on the surface to disable it - but its always been a slight gain in perceived performance to disable it on low end machines since Win7.
Eh... all the way back on Vista, it was quite the opposite; I got vastly better perf with SuperFetch running even on a fairly low-end machine (2.8GHz single-core P4, 1280MB of RAM + 1GB ReadyBoost SD card, 7200RPM 80GB HDD). I think it largely depends on your RAM+ReadyBoost amount - with too little, yeah it could definitely impact the system performance negatively, although I'd have hoped MS would tune it well enough to avoid that problem. As a general rule, disabling caching to improve performance is like removing your car's turbo to improve performance; yes, the turbo does sap a little power from the engine when you aren't really using it, but most of the time it's a big improvement.
The.Yield said:
Well the function of superfetch is, as far as I've ever understood it, to preload your ram with things the OS thinks you might use. I don't think its disabled on SSDs and its definitely a service that seems to be running on RT. I'll do some digging into just how much good it does us on the surface to disable it - but its always been a slight gain in perceived performance to disable it on low end machines since Win7.
Click to expand...
Click to collapse
GoodDayToDie said:
Eh... all the way back on Vista, it was quite the opposite; I got vastly better perf with SuperFetch running even on a fairly low-end machine (2.8GHz single-core P4, 1280MB of RAM + 1GB ReadyBoost SD card, 7200RPM 80GB HDD). I think it largely depends on your RAM+ReadyBoost amount - with too little, yeah it could definitely impact the system performance negatively, although I'd have hoped MS would tune it well enough to avoid that problem. As a general rule, disabling caching to improve performance is like removing your car's turbo to improve performance; yes, the turbo does sap a little power from the engine when you aren't really using it, but most of the time it's a big improvement.
Click to expand...
Click to collapse
I understand what Superfetch is and what the pros/cons of disabling it are, but from what I've read, on 7/8 it's auto disabled for SSDs, and it was for me, so that's a little odd that it's enabled on the Surface. Mileage varies, I suppose.
In Windows 8 both superfetch and defrag are enabled by default and just work dynamically. If you check on surface, defrag is enabled to run on a weekly schedule yet should have never run. I believe same thing with superfetch.
carguy303 said:
In Windows 8 both superfetch and defrag are enabled by default and just work dynamically. If you check on surface, defrag is enabled to run on a weekly schedule yet should have never run. I believe same thing with superfetch.
Click to expand...
Click to collapse
You should never defrag an SSD. Windows 8 is usually smart enough to disable Defrag and use TRIM instead on SSDs. It was for me, anyhow. Are you sure defrag is enabled on the Surface? If so, they have some quality control issues.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Its the vivo tab but its RT so I'd assume its the same.
carguy303 said:
Its the vivo tab but its RT so I'd assume its the same.
Click to expand...
Click to collapse
Optimize is good. That means it's either running TRIM on the SSD, or defrag on an HDD.
SuperFetch is definitely on by default on my surface. Still doing a lot of A - B testing, but it seems like having it on is benefitting the surface.
Also, the HDD in device manager is very non-standard in its listing... I wonder what superfetch is actually doing on RT; maybe some secret sauce compared to standard Win8.
The.Yield said:
SuperFetch is definitely on by default on my surface. Still doing a lot of A - B testing, but it seems like having it on is benefitting the surface.
Also, the HDD in device manager is very non-standard in its listing... I wonder what superfetch is actually doing on RT; maybe some secret sauce compared to standard Win8.
Click to expand...
Click to collapse
What about prefetch? That is also set to run on windows rt
carguy303 said:
What about prefetch? That is also set to run on windows rt
Click to expand...
Click to collapse
Same thing
carguy303 said:
What about prefetch? That is also set to run on windows rt
Click to expand...
Click to collapse
Indeed it is and I had forgotten about it completely. My testing is netting some interesting results: It seems that disabling either one or the other alone nets weird performance. Disabling BOTH nets, so far, a very solid performance bump... More testing needed. I'll report back.
Really good article about this topic.
http://support.microsoft.com/kb/2727880
It seems that after disabling of the Defender, Windows doesn't identify corresponding updates - last update was installed on May 6th (when I disabled the Defender). I have just enabled it and Windows "see" such updates but can't install them (((
SOLVED: After editing of the registry, the Defender shall be turned on in Control Panel.

[PORT] [CALCULATOR] - Android on the TI nSpire CX

Android running on the TI nSpire CX Graphing Calculator
About:
The nSpire CX is a color-screen graphing calculator produced my Texas Instruments powered by an 150Mhz ARM-based SoC and 64MB of RAM. Unlike previous calculator models from TI, users, by default, are unable to create native homebrew applications for the device. Luckily, however, the TI community found a way to "jailbreak" the nSpire CX and CX CAS, allowing third-party developers to create apps for their calculators. One of the most notable community contributions, started by tangrs, was a port of Linux to the device, giving users and tinkerers full access to GNU userspace. This is my attempt to contribute back to the community, by porting Android userspace to the nSpire CX and CX CAS model calculators.
TL;DR
You can now run Android on a graphing calculator
Why?
Nowadays. there seems to be a misconception that Android can only run on fast smartphones. The latest Android release at the time of writing is Lollipop, a release Google claims can run on smartphones "with as little as 512MB of ram." Certainly a good start, But I was convinced *some* version of Android could run on *extremely* low end hardware. So, after a bit of searching, I found the best suitable Android release to run on the lowest-end Linux capable hardware I could think of: my calculator. That release is the obsolete, but venerable, Android Donut (1.6). After a bit of porting work, I managed to get a full Android stack up and running on my calculator and slowly began to iron out the major bugs. I've been playing with it for a while now and figured it was finally *decent* enough to release to the general public. However, it should be noted that a lot of functionality is still missing, partially due to bugs, and partially due to the age of Android 1.6. However, I do believe it has exceeded it's goal as a PoC port to help me learn more about what is involved porting Android to legacy hardware. As it turns out, it's even rather usable.
Status:
* Working:
Android Core
Most Android 1.6 Apps
Terminal Emulator
Keyboard
* Buggy:
Wifi (warning, extremely broken and may kill your cat. External dongle needed)
Bluetooth (Not actually sure whether this works or not as I don't have a BT dongle)
USB
* Not Working:
Touchpad (Using the touchpad dtb seems to break a lot of stuff like PMIC, so I disabled it _for now_)
Battery Status (Status is emulated using test_battery kernel driver)
FAQ:
* Q: Why are you using 1.6?! That's like, really old!
A: Android 1.6 was the only feasible version of Android version I could run with an 150Mhz ARM processor and less than 64MB of usable RAM
* Q: What do I need to run android on my nSpire CX (CAS)?
A: The bare minimum is (1) Calculator running OS 3.9 or less and (1) Mini-USB-OTG cable
* Q: What's the point of this?
A: I have no idea, but it sure makes me laugh when I think about it
* Q: Will this help students cheat by putting this on their calculator?
A: I very much doubt it
* Q: Can you run a calculator emulator on Android on the Calculator?!?!
A: Yes, yes you can
* How's performance?
A: Surprisingly, pretty decent, considering... I can even play some 2D games on it
* Can you port Android to *my* calculator? It's a (insert calculator using a z80 here)
A: No
* Will this. Run Crysis?
A: Good luck
* Where's the sources?
A: See the bottom of this post.
Installing nDroid on your calculator:
Prerequisites:
1) USB thumb drive, 1GB or greater
1) TI nSpire CX or CX CAS running OS 3.9 (Important! [It seems OS 3.6 breaks it, I'm using v3.9.1.38] (Thanks ViiperzRecon))
1) USB-OTG cable that fits the nSpire CX (mini-usb to host-usb)
Recommended) A powered USB hub (Without it your calculator might not have enough power to write to the USB drive and CRASH)
1) Computer running Linux or BSD
Step 1: Jailbreak your calculator
I won't explain how to do this are there are already an abundance of articles on how to do this. Take a look at http://ndless.me for details.
Step 2: Format the USB drive correctly
(It should already be known that doing this will destroy any and all data on the thumb drive)
Open up the partitioner of your choice (my favorite is gparted), and create the following partitions as described:
Partition 1: (System partition) ext4 (> 100MB recommended)
Partition 2: (Userdata partition) ext4 (> 500MB recommended)
Partition 3 (optional): (Cache partition) ext4 (> 50MB recommended)
Partition 4 (optional): (SD card partition) FAT (> 100MB recommended)
Example image:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Step 3: Download files
Boot.img.tns [LINK]
System.tar.gz [LINK]
nspire-cx.dtb.tns [LINK]
nDroidLoader.tns [LINK]
startndroid.ll2.tns [LINK]
Step 4: Install TiLP and create directories
You should have already installed this when jailbreaking your calculator in step 1, if not, install it now if you're using Linux, or use the TI software if you're using Windows now.
When you launch TiLP, connect your calculator and create a directory called "Android". Copy over nspire-cx.tns, Boot.img.tns, nDroidLoad.tns, and startndroid.ll2.tns. After that, download ndless.cfg.tns in ndless/, open it with a text editor, and add the following line:
ext.ll2=ndroidloader
Step 5: Extract system to USB drive
Now that the USB drive has been partitioned, mount the first partition somewhere on your computer and place System.tar.gz in the root directory of said partition. Open up a terminal in that location and type:
sudo tar -xpf System.tar.gz
rm System.tar.gz
After that, you should have some shiny new files and directories on your USB drive!
Step 6: Starting it up
After the files have synced to the USB drive, remove it and place it in the USB-OTG cable. When that's done, plug the small end of the cord into the top of the nSpire CX. Open "documents" on the device, click on the Android folder, and then click on startndroid.ll2.tns. A window should appear and shortly after you should see a framebuffer console. Congratulations, you should now be running Android on your nSpire!
Step 7: Boot up and finish
After about 10 minutes or so (boot ups are shorter on subsequent launches), you should be greeted with the stock 1.6 launcher. Feel free to hack away on your new Android-powered calculator. [NOTE: Until the touchpad is working, the "/" button is up, the "x^2" button is down, the "e^x" button is left, the "10^x button is right, "menu" is menu, "doc" is home, "esc" is back, and "save" is power].
Video:
Unofficial Reddit thread:
https://www.reddit.com/r/Android/comments/3awptt
XDA:DevDB Information
nDroid, ROM for all devices (see above for details)
Contributors
joshumax
Source Code: https://github.com/nDroidProject
ROM OS Version: 2.3.x Gingerbread
ROM Kernel: Linux 3.10.x
Based On: AOSP
Version Information
Status: Testing
Current Beta Version: nDroid-1.6
Created 2015-06-26
Last Updated 2015-12-02
I was surprised when I saw Linux on this thing. (Okay Doom was impressive too.) But Android! This is amazing! I hope you get the touchpad working, then this will be even more amazing than it already is. Thank you for making this! Keep up the good work.
something similar on a Nook Simple Touch?
I know very little about programing but am good with hardware, any chance your skills could be applicable to getting a NST running android (well)
I currently have 2 and find them great for unobtrusive access to data, but as it sits it only is selectively usable.
A killer app for me would be the ability to be able to use it for live navigation (with a standard android app) think hiking, or dash mounted on a motorcycle.
So far I rooted it (several times) and have been able to get individual pieces to work following USB otg, fast refresh, various stand alone functions, but it never works together.
wish list'
OTG+fast refresh option working seamlessly
bluetooth somehow without OTG
a root option with pre-installed play store, USB OTG, fast refresh, and and usual option i'm forgetting
any help would be appreciated
overclocking?
Since it is possible to overclock your ti-nspire cx/cas, do you think it would be possible to run higher versions of android on it?
strubelz said:
Since it is possible to overclock your ti-nspire cx/cas, do you think it would be possible to run higher versions of android on it?
Click to expand...
Click to collapse
The constraint really isn't the clock speed, but instead how little RAM it has. No matter how high you overclock it, whether it's 300 Mhz or 3000 Mhz, it will still only have ~60MB of usable memory. While I _might_ be able to get Eclair running, I doubt I'd be able to get something like KitKat or Lollipop running on it in any usable state.
Awesome! Great work
Plus it's running 4.0 Kernel!
Holy ****! I am testing this right now!
Henriquefeira said:
Holy ****! I am testing this right now!
Click to expand...
Click to collapse
Great! Let me know if you run into any major bugs while running it!
Henriquefeira said:
Holy ****! I am testing this right now!
Click to expand...
Click to collapse
joshumax said:
Great! Let me know if you run into any major bugs while running it!
Click to expand...
Click to collapse
Some bugs: random reboots, a bit of lag, sistem ui crashing and just stoped working on my calculator so any advice in reinstalling the original firmware?
Henriquefeira said:
Some bugs: random reboots, a bit of lag, sistem ui crashing and just stoped working on my calculator so any advice in reinstalling the original firmware?
Click to expand...
Click to collapse
Can you write logcat data to a file and upload it somewhere before it reboots? Also, nDroid shouldn't have done anything to the original firmware and should go away after a reboot or reset button press...can you specify exactly what happened to the calculator firmware after loading nDroid?
joshumax said:
Can you write logcat data to a file and upload it somewhere before it reboots? Also, nDroid shouldn't have done anything to the original firmware and should go away after a reboot or reset button press...can you specify exactly what happened to the calculator firmware after loading nDroid?
Click to expand...
Click to collapse
Sorry for the delayed answer, but now it okay
Doesn't seem to work, throws errors like some error -110 and keeps saying it can't enumerate the USB device.
gnmmarechal said:
Doesn't seem to work, throws errors like some error -110 and keeps saying it can't enumerate the USB device.
Click to expand...
Click to collapse
Can you please attach a dump of the kernel log and/or a screenshot of the boot process up to this point?
joshumax said:
Can you please attach a dump of the kernel log and/or a screenshot of the boot process up to this point?
Click to expand...
Click to collapse
I've formatted my drive since then, but I'll try again and record it.
Well... it seems now that I got another Mini USB OTG adapter, it still doesn't work. I'm on a 3.1 CX right now. I'll try on my 4.2 as well... Last time it didn't work, and I've since then updated it from 3.9 to 4.2... Here's hoping it works somehow.
On 3.1, it goes Kernel Panic - not syncing: VFS:Unable to mount root fs on unknown-block(1,0)
4.2 goes Kernel Panic - not syncing: Attempted to kill init! exitcode=0x0000000b
The 3.1 one is dualbooting 3.1 and 3.1 CAS. It's a model D, by the way. The other is a more recent model T, with 4.2 and Ndless.
Could this Work in OS 4.5?
Could the nDroid loader work on Nspire OS 4.5?
pattex16 said:
Could the nDroid loader work on Nspire OS 4.5?
Click to expand...
Click to collapse
Yes, it works fine on 4.5 (I tested -- or, currently am testing it myself). Though, if you press any button other than "esc" or "enter", the launcher crashes. Maybe it's fixable with a reboot.
Also, why would you bump a two year old thread?
@joshumax
I know this is a very old thread, but can you go back to this project one more time. A swap partition would fix everything, just like how it does on the HTC HD2. Sure it will be slow, but it would result in way better compatibility with apps. 192MB should be enough.
Also, is the official wireless adapter good enough for wifi, as buggy as it may be? Can it, at least, show the Google homepage?
The touchpad with mouse compatibility would be quite nice, but d-pad only is good enough too.
Like, if you have time or want to do this, it would be srsly more than appreciated by the whole community.
Overclocking, especially around 300MHz (maybe on Android is a bit more stable than on the Nspire OS) would help a lot. And the AHB overclocked too.
Instead of using an USB stick, a tiny SD Card adapter would probably work just fine, especially if the SD is rated as (10)U1. Why? Because it would slot quite nicely on the hole of the Wifi Adapter. It would look like it was intended to be like that. I know the SD speed will be slowed down by the USB speed, but it doesn't hurt to have a faster SD anyway.
Android 9 GO would be really cool to see running on this.
Myrmeko said:
@joshumax
I know this is a very old thread, but can you go back to this project one more time. A swap partition would fix everything, just like how it does on the HTC HD2. Sure it will be slow, but it would result in way better compatibility with apps. 192MB should be enough.
Also, is the official wireless adapter good enough for wifi, as buggy as it may be? Can it, at least, show the Google homepage?
The touchpad with mouse compatibility would be quite nice, but d-pad only is good enough too.
Like, if you have time or want to do this, it would be srsly more than appreciated by the whole community.
Overclocking, especially around 300MHz (maybe on Android is a bit more stable than on the Nspire OS) would help a lot. And the AHB overclocked too.
Instead of using an USB stick, a tiny SD Card adapter would probably work just fine, especially if the SD is rated as (10)U1. Why? Because it would slot quite nicely on the hole of the Wifi Adapter. It would look like it was intended to be like that. I know the SD speed will be slowed down by the USB speed, but it doesn't hurt to have a faster SD anyway.
Android 9 GO would be really cool to see running on this.
Click to expand...
Click to collapse
Joshumax hasn't been online on XDA since 2016.
It's very unlikely the official wireless adapter is ever going to work with Linux on the Nspire, much less Android, as it would require difficult amounts of reverse engineering and drivers written from the ground up. I'm not even sure it has the potential to work as a traditional wireless adapter at all.
Overclocking your calculator to 300MHz is probably going to kill it; I think around 196MHz is the highest "safe" overclock value. The stability of overclocking isn't dependant on the software, it's dependant on the hardware; overclocking using Android instead of the TI-Nspire OS wouldn't make a difference.
Using an SD card instead of a USB drive wouldn't be faster, as the miniUSB port on the Nspire is limited to USB 1.1 speeds, if I recall correctly.
The minimum RAM requirement from Android GO was 512MB, last I checked. This is quite a bit higher than the TI-Nspire CX's 64MB, and I doubt it would run well on a 132MHz (or 196MHz) processor. Does Android still even support ARM9 CPUs?
What can it run?
Hi,
Which android apps it can't run?
Can it run all the built-in apps?
Can I download apk files?
Thank you a lot.

[ROOT] Hardmod Root Your Amazon Fire HD 8 (7th Gen)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Amazon Fire HD 8 (7th Gen) Hardmod Root Guide​
I have successfully rooted the Amazon Fire HD 8 (7th Gen), and I want to help you do it too! This is not an easy root, but it's as easy as it can be. The aim for this root was to get at least one working method in order to help aid the development of an easier software root in the future. Countless people from the xda-developers forums worked together to make this root method possible. This thread is where everything started. In no particular order, I want to thank for their help:
@Supersonic27543, @DragonFire1024, @teixeirap, @diplomatic, @richaardvark, @t0x1cSH, @Qiangong2, @MontysEvilTwin, @TheRealIntence, @Snigglez, @ambush_boy, @cybersaga, @gamblodar, @adidasos
… and everyone else who I missed. You're all amazing. Thank you!
I sunk a couple hundred dollars into finding this exploit, so if it works for you please consider helping me recuperate the costs. I want to find an exploit for the newer 8th gen tablets but cannot keep spending money like this. If nothing else, please give this post a thumbs up!
Start Here
Remember, this is a hardware root, so you will need experience with a soldering iron. All the hardware modifications needed for this tablet are pretty easy even if you have never soldered before. However, especially in the case of hardware modifications, there is a chance you can permanently brick your tablet. If you follow this guide, don't hold me responsible if you break things.
This guide will be improved as time goes on. Please reply with any questions or comments and I will help out where I can! Let's get started
General Procedure:
Preparation - Gather the materials, build an SD card adapter, etc.
Disassembly - Take the tablet apart and turn over the motherboard
Hardware Modifications - Soldering the SD card adapter to the board
Communication - Getting the device to talk to your computer
Software Modifications - Installing SuperSU by hand
Testing and Cleanup - Checking for root, removing the SD card adapter, reassembly.
1. Preparation
You will need:
An SD card reader that can read in 1-bit mode. This one will work. If you already have a reader you'd like to try, find a working SD card and referring to this diagram use some electrical tape to cover up pins 1, 2, and 9 (DAT 1-3). If you plug in the card and it still reads, then the reader will work.
A micro-sd card adapter. This will be taken apart so you can solder to the inside.
A soldering iron, solder, and experience.
Some thin wire. I like to use some 28 AWG magnet wire since it has an insulative enamel coating to prevent short circuits.
A small phillips head screwdriver to remove the motherboard.
Either a linux-based computer or a virtual machine running linux through which you can mount a raw physical disk from the host computer. VirtualBox can do this and I will show you how.
Experience using Linux commands and mounting partitions.
SuperSU version 2.79.
Modifying the SD Card Adapter
Pry apart the SD card adapter. You need to connect wires to CMD, GND, CLK, and DAT0. Give yourself at least a few inches of length to work with. Here are some images to help you figure it out:
SD Card Pinout (Ignore column SPI. VSS = GND).
SD Card Adapter Internals
I recommend putting some tape on the wires and writing what they are so you don't lose track after putting the adapter back together (or in my case, wrapping tape around the adapter because I broke the shell).
Also, you will need to either make sure that the sliding lock on the side of the adapter is still there (or fill it in so that there's no more indent) or take apart your SD card reader and ground the read-only pin so that the reader allows you to write to the card. (Grounding it makes it writable, having it open makes it read-only). This pin is located to the far left of the reader when the opening is facing you and the card is facing up.
2. Disassembly
Use a pry tool to take apart the tablet at the seam. There are no ribbon cables connecting the back cover to the front so you can just pull it off. Start at the bottom, and pull upwards so that the fulcrum is on the top of the tablet where the USB port is. This is the easiest way to get it off.
Next, unscrew the screws near the top of the board. Remove the tape covering the camera and disconnect the camera. It just pops off with your pry tool. There is a battery connector at the bottom right, an LCD connector at the bottom left, and a touch screen connector at top center. The battery connector pops out without lifting any hinges. Use tweezers to get underneath the wires and pop it up out of the slot. Lift up the hinge on the touch screen connector and use something very thin to get underneath the glued down ribbon cable. Be careful not to break things. Once it's free from the glue, slide the ribbon cable sideways to pull it out from the connector. Lift the hinge on the LCD connector.
Now, take the board from the top and lift upwards. Stick something under the board to break free some of the glue underneath while you pull upwards. This time the fulcrum of the motherboard is where the LCD and battery connector are. Do be cautious, there are speaker wires at the bottom right to be aware of. Once you have it lifted up most of the way, you can slide it out from under the plastic parts near the power connector and fold it sideways towards the right side of the tablet. The speaker wires act as a hinge.
If all goes well you should be looking at the back of the motherboard right now.
3. Hardware Modifications
Solder the wires from the sd card adapter to the respective test points in this diagram. VSS means GND. Once done with this, fold the motherboard back over and plug the ribbon cables back in. Plug in the power cable last. Loosely put the tablet back into its cover so that you don't crush the wires you just soldered, but also to protect the tablet from short circuiting on your table or something.
4. Communication
Plug your SD card reader into your computer, but do not plug in the SD card adapter. Power up your tablet with the volume down button pressed. At the recovery, use the volume keys to navigate to "Enter bootloader" but DO NOT press power yet.
You need to be ready. Within half a second of pressing power you need to plug the SD card adapter into the reader. This is the most reliable way I have gotten the reader to talk to the eMMC chip.
If all goes well you will see all the partitions appear on your computer. On Windows, check disk manager to see them all. On Ubuntu, use the disks program. When on Windows, it will pop up probably 20 different windows asking you to format drives. CLICK NO. And no and no and no and .... You do not want to format your eMMC lmao. Now just leave the card plugged in and don't touch the tablet. Don't even breathe on it.
5. Software Modifications
Mounting the drive:
Ok this is the most difficult part. On Windows you need to get a linux virtual machine. I prefer to use Ubuntu for this. I also use VirtualBox to run the VM and I can't help you if you don't use it. If you are already using Linux this will make things easier, but if you must use Windows, then you need to mount the eMMC on your virtual machine.
To do this, open a command prompt as an Administrator and navigate to "C:\Program Files\Oracle\VirtualBox". Using disk manager, find what disk number (left side) the SD card reader is mounted on. Then, run this command:
Code:
VBoxManage internalcommands createrawvmdk -filename "C:\Users\<user_name>\firehd8.vmdk" -rawdisk \\.\PhysicalDrive#
Where the # at the end is the disk number you found earlier (mine was 2), and "<user_name>" is obviously the name of your account. This should make a vmdk file on your desktop and be successful. Then you can open your VirtualBox settings for your VM, go to Storage, SATA, and add an existing drive being that vmdk file that just got created. Now boot the machine, and the drive will disappear off Windows but will reappear inside the VM. Please note that VirtualBox must be running as an administrator.
Now, in linux, mount the system partition (it should be about 1.5GB and will usually be partition 14). Open a terminal into it.
Writing SuperSU:
Did I say the last part was most difficult? Well this one is most time-consuming and most easy to do wrong. Here we go! Extract your SuperSU zip that you downloaded. You only need to keep two folders: common and arm64. You will copy the files from these folders into the system partition and set permissions as follows.
Note: When you see 4 numbers like 0644, this is referring to the permissions to set via chmod.
Note 2: When you see something like ubject_r:system_file:s0, this is referring to the extended attribute security.selinux which can be set with this command:
Code:
sudo setfattr -n security.selinux -v "u:object_r:system_file:s0" FILENAME
(Get setfattr by installing the attr package)
Or on most Ubuntu systems, this command will work too:
Code:
chcon u:object_r:system_file:s0 FILENAME
Note 3: All files copied or created will be owned by root:root. If you use sudo for these commands or do them as root, you'll be fine.
Create a directory at /system/app/SuperSU (0644 ubject_r:system_file:s0)
Copy common/Superuser.apk to /system/app/SuperSU/SuperSU.apk (0644 ubject_r:system_file:s0)
Copy common/install-recovery.sh to /system/etc/install-recovery.sh (0755 ubject_r:system_file:s0)
Create symlink from /system/bin/install-recovery.sh to /system/etc/install-recovery.sh
Copy arm64/su to /system/xbin/su (0755 ubject_r:system_file:s0)
Copy arm64/su to /system/xbin/daemonsu (0755 ubject_r:system_file:s0)
Copy arm64/supolicy to /system/xbin/supolicy (0755 ubject_r:system_file:s0)
Copy arm64/libsupol.so to /system/lib64/libsupol.so (0644 ubject_r:system_file:s0)
Move /system/bin/app_process to /system/bin/app_process_backup
Create symlink from /system/bin/app_process to /system/xbin/daemonsu
Create an empty file at /system/etc/.installed_su_daemon (0644 ubject_r:system_file:s0)
That's it! Now properly unmount and eject your SD card and boot up your device.
6. Testing and Cleanup
If all goes well you'll find a SuperSU app on your homescreen. Run it and it will probably tell you to update the su binary. Do so, restart, and then you should have root! Congrats! Make sure to go into settings and set it to grant rather than prompt.
Power down your device, unplug the cables, flip the board, desolder the wires, flip the board again, plug in the cables, put your camera back in, and then screw it all back together and slap on the back cover. You did it!
Extra Info and Troubleshooting
I will add troubleshooting steps here as time goes on.
Should you need them, here are the eMMC dumps from the 16GB and 32GB variants:
16 GB eMMC Dump
32 GB eMMC Dump
Reserved
This is beautiful!!! I have to get some basic supplies, but I am excited to try this out! I'd just about given up hope that this device would ever be rooted, but you made it happen! Definitely not the easiest root process, but maybe it will eventually lead to easier ways to obtain root. Thank you again for your hard work and dedication (and to everyone else as well!) on this!! ???
richaardvark said:
This is beautiful!!! I have to get some basic supplies, but I am excited to try this out! I'd just about given up hope that this device would ever be rooted, but you made it happen! Definitely not the easiest root process, but maybe it will eventually lead to easier ways to obtain root. Thank you again for your hard work and dedication (and to everyone else as well!) on this!! ??
Click to expand...
Click to collapse
Haha yay! It makes me happy to see people excited over this. That's what I was hoping for in the long run. I saw the progress thread struggling and thought I could try and help out on the hardware side. It turned out to be a hobby I never knew I needed; something to look forward to each day that made my life a little more exciting. I'm really proud of how far we've come
And you're right, it's definitely not the easiest. I want to make a video tutorial sometime. I have little experience making video tutorials so we'll see.
Wow, this is outstanding! First, @</br>, thanks for all the work. You really got into the system and I love what you have found. Unfortunately I am not really good with hardware (totally sw guy) but I will find someone who might help me out here. Again, thanks for all your hard work!
I don't know Linux and I don't know how to solder but what the hell I've got an unused 7th gen hd8 sitting here and I'm pretty methodical so why not give it a go eh? Just for fun.
Edit: I'm looking at you @DragonFire1024, you know you want to
YAY!!! Finally, After almost a year of brainstorming by lots of people, and 700+ posts in the progress thread, we have root! THANK YOU for the work you put into this! :victory:
A pity that after so much time finally a root is found, but I can't do it (because it involves soldering which is a thing I can't do for a lot of reasons LOL). So, the progress thread will continue searching for a software root, and of course the next step, a bootloader unlock! You helped a couple of my ideas for a software root too, by full access to the eMMC dump.
Thank you again for your great work, and everyone, good luck hardware modding!
obvious said:
I don't know Linux and I don't know how to solder but what the hell I've got an unused 7th gen hd8 sitting here and I'm pretty methodical so why not give it a go eh? Just for fun.
Edit: I'm looking at you @DragonFire1024, you know you want to
Click to expand...
Click to collapse
Right now I don't have the supplies or means to get them. Otherwise I'd have already started this AM. Right now I'm focused on looking at the partitions to get these things unlocked, whether i have help and advice, or not. I'd prefer help, but as with most of my work, I am sure I'll eventually figure it it out on my own.
---------- Post added at 04:09 PM ---------- Previous post was at 04:04 PM ----------
With that being said, is anyone going to clarify what @diplomatic was talking about? I don't like receiving half of the advice/instructions.
I have the same Transcend SD card reader which I use to copy files to and from my Amazon tablets with a USB OTG cable. I was wondering if it would be possible to use a rooted Fire 7 (2015) or Fire HD 10 (2017) with Busybox installed to copy the SuperSU files and set permissions using a terminal emulator with a root shell, instead of a Linux machine/ virtual machine?
I am happy to break a couple of micro SD adapters to connect up the eMMC, but I am anxious about soldering to the motherboard. Is just taping the wires to the motherboard feasible, or is this just not robust enough?
Right now, this is a little too hard for me to attempt, but great job! Congratulations on figuring out how to root this stubborn thing!
DragonFire1024 said:
Right now I don't have the supplies or means to get them. Otherwise I'd have already started this AM. Right now I'm focused on looking at the partitions to get these things unlocked, whether i have help and advice, or not. I'd prefer help, but as with most of my work, I am sure I'll eventually figure it it out on my own.
---------- Post added at 04:09 PM ---------- Previous post was at 04:04 PM ----------
With that being said, is anyone going to clarify what @diplomatic was talking about? I don't like receiving half of the advice/instructions.
Click to expand...
Click to collapse
The way I understand it, you're looking for the address of the unlock 'partition' so if you flash a text file with renamed file extension to it then you can trawl through address space till you find the text you recognize. Then you'll be able to work out where it is. It might overflow to or from another area but knowing the content of the file will enable you to figure out where correct offsets are....or something like that. Just my interpretation.
MontysEvilTwin said:
I have the same Transcend SD card reader which I use to copy files to and from my Amazon tablets with a USB OTG cable. I was wondering if it would be possible to use a rooted Fire 7 (2015) or Fire HD 10 (2017) with Busybox installed to copy the SuperSU files and set permissions using a terminal emulator with a root shell, instead of a Linux machine/ virtual machine?
I am happy to break a couple of micro SD adapters to connect up the eMMC, but I am anxious about soldering to the motherboard. Is just taping the wires to the motherboard feasible, or is this just not robust enough?
Click to expand...
Click to collapse
Honestly it might be possible. I'll look into this and get back to you later.
As for taping the wires, you might get away with it but it better be strong tape. If the connection is broken at any point while mounted you risk corrupted data and such. Who knows what would happen. I believe in you though! Soldering is easy on this board, there's not much to go wrong. Just be careful around the resistors next to the CLK pad and you'll be fine.
Code:
sudo setfattr -n security.selinux -v "u:object_r:system_file:s0" FILENAME
Click to expand...
Click to collapse
Most Ubuntu systems come with selinux installed, so it might be easier to just do
Code:
chcon u:object_r:system_file:s0 FILENAME
.
P.S. How did you find out which test points were connected to the EMMC? I might be able to use that method to root a completely different device.
nonnymoose said:
Most Ubuntu systems come with selinux installed, so it might be easier to just do
Code:
chcon u:object_r:system_file:s0 FILENAME
.
P.S. How did you find out which test points were connected to the EMMC? I might be able to use that method to root a completely different device.
Click to expand...
Click to collapse
Thanks for that command! I did not know that.
I bought a broken tablet on eBay and removed the eMMC chip from the motherboard, then used a multimeter to test the points based on the datasheet for the chip. You could also probably figure it out with a logic analyzer by guessing and checking but this tablet gave no clues as to where the points were so I had to go the hard route.
Sorry to ask for more, but can we have pictures or a video of the whole process please. Also, can we get custom rom with this method?
JellyBeanGreen2 said:
Sorry to ask for more, but can we have pictures or a video of the whole process please. Also, can we get custom rom with this method?
Click to expand...
Click to collapse
Yes, pictures will be added soon. I'm overloaded with schoolwork but I wanted to get something out quickly so that's why this guide is not the best quality. I will probably make a video in the future. I don't know too much about roms so I'm not the best person to ask that question. I think @diplomatic would know, but my guess is that roms require an unlocked bootloader.
obvious said:
The way I understand it, you're looking for the address of the unlock 'partition' so if you flash a text file with renamed file extension to it then you can trawl through address space till you find the text you recognize. Then you'll be able to work out where it is. It might overflow to or from another area but knowing the content of the file will enable you to figure out where correct offsets are....or something like that. Just my interpretation.
Click to expand...
Click to collapse
I don't know if the partition is a bin or img. I looked at it as a text and there's only a few characters in it. I don't know if it means anything though. I'll have to get into this tomorrow
Sent from my Galaxy S4 using XDA Labs
obvious said:
The way I understand it, you're looking for the address of the unlock 'partition' so if you flash a text file with renamed file extension to it then you can trawl through address space till you find the text you recognize. Then you'll be able to work out where it is. It might overflow to or from another area but knowing the content of the file will enable you to figure out where correct offsets are....or something like that. Just my interpretation.
Click to expand...
Click to collapse
Also I would name the file proinfo.bin and flash it doing fastboot flashing correct?
Sent from my Galaxy S4 using XDA Labs
<br /> said:
Yes, pictures will be added soon. I'm overloaded with schoolwork but I wanted to get something out quickly so that's why this guide is not the best quality. I will probably make a video in the future. I don't know too much about roms so I'm not the best person to ask that question. I think @diplomatic would know, but my guess is that roms require an unlocked bootloader.
Click to expand...
Click to collapse
The Fire 5th gen from 2015 has custom roms via flash fire and a locked bootloader.
@<br /> Thank you so much for making this into reality! I can't wait to test this out on my tablet!
P.S. If I get this working, I'll see if I can try to create a custom rom; there's always time for first times, right?

Categories

Resources