yashsingh1/xdaforums huggingface dataset:
[Android Software Development] viulian:
Introduction

Here's the classic Midnight Commander for Android!

Features

a) Function keys work (F3 - view, F5 - copy, F8 - delete, F10 - exit, etc...)

b) Very stable, doesn't crash.

c) Much easier installation than the previous one version (which needed an additional apt-get clone, named ipkg, etc). More about this below.

d) comes bundled with xterm (terminfo) and syntax highlighting for major languages.

e) I kept the wrapper script 4.6.2 but updated it so that function keys work.

Reasons

There is an one year old version floating around (version 4.6.2) and even if does start, it crashed every time I pressed the arrow keys in the search panels:

/system/xbin/mc.real: libc/misc/ctype/ctype.c: 290: tolower: Assertion `((((unsigned int)((c) - 0)) <= ((127 * 2 + 1) - 0)) || ((c) == (-1)))' failed.

Not only this, but I had to restart Putty, since the whole screen became garbled.

Installation

You need a rooted phone with busybox.

Installation is easy:

click Install and allow root access.​

If everything is ok, you will see an output like in the screenshot below:

To use mc, you could connect with a terminal emulator (but it looks ugly). A good alternative is if you use DroidSSHd as SSH server on the phone and Putty as client from your PC (or connect-bot as client on the phone).

For now, there is no uninstaller for the native MC that is extracted on the phone. Thus, feel free to uninstall the app as you don't need it anymore once MC native is copied to the phone.

Download

Use it at your own risk! (License is GPLv2)

NativnuxInstaller_1.1.apk
[Android Software Development] dancer_69:
cp cannot create 'mc-4.0.7................

read only file system.

How to solve this ?

I tried to remount /system as rw but didn´t help.

How to get write access to / ?

I tried to extract the archive on a linux machine and copy the folders to device via QtADB but when I tried to run mc from terminal emulator I get error run xterm.

So I think there was some permission errors.
[Android Software Development] viulian:
1. Become super user:

su

2. Check output of current mounts:

cat /proc/mounts

You will see something like:

...
/dev/block/mtdblock0 /system yaffs2 rw,relatime 0 0

Remember the number after mtdblock! Important. In case above is 0, but it might be 3 also etc...

3. Execute command:

mount -o rw,remount -t yaffs2 /dev/block/mtdblock[PUT_HERE_THE_NUMBER] /
[Android Software Development] dancer_69:
Seems that /system is in /dev/block/mmcblk0p12 . I tried your command with mmcblk0p12 but again I get the same error. So, something I'm doing wrong. Here is the output of cat /proc/mounts:

# cat /proc/mounts
rootfs / rootfs ro,relatime 0 0
tmpfs /dev tmpfs rw,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
/dev/block/mmcblk0p12 /system ext3 rw,relatime,errors=continue,data=writeback 0 0
/dev/block/mmcblk0p13 /data ext3 rw,nosuid,nodev,relatime,errors=continue,data=ordered 0 0
/dev/block/mmcblk0p6 /cache ext3 rw,nosuid,nodev,relatime,errors=continue,data=ordered 0 0
/dev/block/mmcblk0p1 /cust_backup vfat ro,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
/dev/block/mmcblk0p14 /HWUserData vfat rw,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
tmpfs /mnt/obb tmpfs rw,relatime,mode=755,gid=1000 0 0
/dev/block/vold/179:17 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0602,dmask=0602,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:17 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0602,dmask=0602,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,relatime,size=0k,mode=000 0 0
/dev/block/dm-0 /mnt/asec/com.junglesoft.calc-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-1 /mnt/asec/com.aldiko.android-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-2 /mnt/asec/com.jiubang.android.euphorialite-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-3 /mnt/asec/com.gamestar.idiottest-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/dm-4 /mnt/asec/com.svox.classic.langpack.ell_grc_fem-1 vfat ro,dirsync,nosuid,nodev,relatime,uid=1000,fmask=0222,dmask=0222,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0

Can this helps you to give me, a specific to my system, command?

Thanks in advance
[Android Software Development] viulian:
As you can see, your device has ext3 type partition, unlike mine which has yaffs2.

Your custom command is:

mount -o rw,remount -t ext3 /dev/block/mmcblk0p12 /

In future, please search your device specific forum for device specific :) questions - I found the answer myself here: http://xdaforums.com/archive/index.php/t-928727.html
[Android Software Development] dancer_69:
No, this doesn't work eather, I've already tried.

I figure it out myself though, needed to remount rw my / partition which is rootfs.

After that the extarction worked without any error.

But still I get:

Error opening terminal: xterm

when I try to execute mc.
[Android Software Development] viulian:
Make sure you have the following file copied over from the .tar.gz archive:

/etc/terminfo/x/xterm

I suggest to copy all files (/etc/mc and /system/share .. ) because they contain a lot of .ini files / syntax etc, without which mc will look black and white :D

Better if you untar in / directly ...
[Android Software Development] dancer_69:
I did this already, and xterm is in correct place.
[Android Software Development] viulian:
Please post screenshot of the following commands executed in same terminal:

cls
ls -l /etc/terminfo/x/xterm
cat /system/xbin/mc
ls -l /system/xbin/mc.real
[Android Software Development] dancer_69:
I execute them via adb:

# ls -l /etc/terminfo/x/xterm
-rw-r--r-- 1 system system 3213 Jul 5 2010 /etc/terminfo/x/xterm
# cat /system/xbin/mc
#!/system/bin/sh
export TMPDIR=/data/local/tmp
if [ ! -e $TMPDIR ]; then
mkdir $TMPDIR
fi
# So that F1, ... works
export TERM=xterm
/system/xbin/mc.real $*
# ls -l /system/xbin/mc.real
-rwxr-xr-x 1 system system 3508114 Aug 31 19:51 /system/xbin/mc.real
[Android Software Development] viulian:
Looks good.

What kind of terminal are you using adb in ? I suggest http://code.google.com/p/droidsshd/ and ssh to the phone - and bypass adb completly.
[Android Software Development] dancer_69:
I'm on linux machine and use tilda as terminal, but I execute the command and on device with terminal emulator with the same results
[Android Software Development] viulian:
Try copying over your Linux /etc/terminfo (or depending on the distro, it might be somewhere else - my Ubuntu says to check /lib/terminfo then /usr/share/terminfo).

Copy all the single letter folder onto /etc/terminfo on the phone, and then change /system/xbin/mc to export a different type of terminal, for example:

export TERM=linux

Of course, make sure that /etc/terminfo/l/linux is there before this.

With TERM=linux, the function keys do not seem to work in my case, they are rendered like ~13 etc .. However, it might work in your case ?
[Android Software Development] dancer_69:
I get the same error, but now for "linux"

linux is there on letter l
[Android Software Development] viulian:
I'm curious, why does your phone shows the /etc contents are owned by system / system, instead root / root ?
[Android Software Development] dancer_69:
I don't know, but I think that is the reason for this error.
[Android Software Development] krzych:
To be strict - you don't have to use anything but this:

mount mountpoint -o remount,rw

which means in this case:

mount / -o remount,rw

Writing the filesystem type or device name for such a command in a guide for everyone is quite an error.

And to be complete - only thing you have to write to see all mounted filesystems is: mount<enter>

Cat'ting /proc is NOT safe (one of the reasons: it can be switched off, whole proc filesystem, and there are many more reasons to be honest)
[Android Software Development] s0l:
it's not correct place ) /usr/share/terminfo is compiled inside mc.real binary(to ensure strings -a mc.real | grep terminfo or winhex it), so to run we need to create /usr/share/terminfo/x/xterm, but it's not possibly to create such path on any device. the easest way to fix - recompile mc with hacked terminfo path. if you could compile mc can't you please? :)

ps: my english is baaad, sorry )

ok, it's solution - add export TERMINFO_DIRS=/system/etc/terminfo to mc script :)
[Android Software Development] viulian:
Nice find.

I remember specifying the prefix to be /system and I removed /system/etc/terminfo and it failed to start, then I put it back and it executed.

There might also be some hardcoded paths too that strings finds, some failover defaults.

On my phone, /etc is a link to /system/etc in fact.

I will double later a bit, no access to PC now
[Android Software Development] hawkeyexp:
Hi at all, basicly it works for me on cm7-nightly - but i get problems with loading the default skin

has anybody a solution for it ?

Uploaded with ImageShack.us

THX !
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] Serious_Beans:
Getting that in recovery...what do I do?
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] StuMcBill:
Stock recovery or custom?

Sent from my Amiga 500 using Workbench
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] Serious_Beans:
Custom Recov
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] StuMcBill:
I had this on stock, didn't think it was a problem though?

Never seen it in custom.

Sent from my Amiga 500 using Workbench
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] pcgeek86:
I'm having the same problem -- any ideas? I'm running stock ROM with CWM (ClockworkMod) v4.0.0.4.

Samsung Galaxy Tab 10.1 16GB Wifi-only U.S.

Cheers,

Trevor
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] Turley:
I'm having the same problem

E:Unable to open ums lunfile (No such file or directory)
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] Serious_Beans:
No support for USB in cwm
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] takman0124:
What can i do now then?
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] mark.m.moran:
Getting the same error here as well :-(
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] thecraigmcrae:
same error here. downloaded some custom roms via my GT10.1, found out after wiping the files weren't completed properly, so trying to transfer them via my laptop now... kinda stuck.
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] dragon4000:
You have to adb push files to tab while in recovery. For instance,

adb shell mount /data

adb push (your file) /data/media/

Hope that helps
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] GiorgosCyprus:
how to adb push files?
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] spymare:
this is coursed because the cwm that came with the rom does not support usb mounting.

So all you have to do is, put your sd card in anorther phone, and boot into cwm, mount the sd card, and transfer anorther rom, and put back the sd card in your phone, and install it. that worked for me :)
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] jlrendon89:
Galaxy Nexus

What if your using the galaxy nexus???? i need a way to access my SD storage through my MAC so i can put a ROm on there to flash it..any helpful tips?? need a phone mines stuck till i fix this :(
[EVO 4G Q&A, Help & Troubleshooting] dblkspecial:
Which sense 3.0 rom is the best overall?
[EVO 4G Q&A, Help & Troubleshooting] SantinoInc:
Yeah, that probably wasn't a smart question to ask in this forum...let the beatings commence! :D
[EVO 4G Q&A, Help & Troubleshooting] barnacles10:
http://xdaforums.com/forumdisplay.php?f=652
[EVO 4G Q&A, Help & Troubleshooting] bhint15:
Move your thread

If you have the ability (which I don't know if you do or not) then you should move this thread ASAP you will get hammered by everyone for posting this in the Development section. I would recommend Q&A.

Cheers!!!
[EVO 4G Q&A, Help & Troubleshooting] jaquaslife:
FLAME ON! wrong section dude. Goes in the Q&A section. Plus I've already asked that question.
[EVO 4G Q&A, Help & Troubleshooting] travisd4est:
Balls
[EVO 4G Q&A, Help & Troubleshooting] travisd4est:
Superman Rom 6.6.6
[EVO 4G Q&A, Help & Troubleshooting] storm68:
Lmao!!!
[EVO 4G Q&A, Help & Troubleshooting] jaquaslife:
Skriller Roms are the best. Lmfao sorry I tried not to laugh.
[EVO 4G Q&A, Help & Troubleshooting] eltheself:
Dude, you have 93 post under your belt, how the hell did you NOT know this post ?

was a bad idea?!?!? especially in this particular part of the forum... especially since EVERYONE KNOWS THERE IS NO SUCH THING AS "THE BEST" OF ANY TYPE OF ROM.... there is only, what works best for your particular phone...

+1
[EVO 4G Q&A, Help & Troubleshooting] FlipnScotch415:
So many trolls under the bridge! Haha
[EVO 4G Q&A, Help & Troubleshooting] Luisit0:
Agreed, its kinda stupid for ppl to ask for a "Best Rom" I mean seriously if there was one then why the F**K would there be any other Roms??? I guess some ppl just want what everyone's using....

-Rr!cAn 3v0
[HTC Sensation] nkon:
On the last 2 roms I've flashed (Coredroid & P3D), I've noticed that the conditions don't refresh every time I wake my sensation into the weather lockscreen. I've seen others having this problem too, but no one has posted a solution for it yet. Currently, the weather refreshes if you directly open the weather app and it downloads the new info. I've already tried wiping and re-flashing the roms, but no change. :confused:

Any ideas on how to fix this?
[HTC Sensation] ProximaC:
Go into Accounts & Sync and set Weather to update every hour or so in addition to just "Update when opened".
[HTC Sensation] nkon:
I realized auto-sync was disabled when I accessed the accounts & sync settings, I guess it's disabled by default thanks for your help!
[EVO Shift 4G Q&A, Help & Troubleshooting] iball8888:
I am stuck on the Evo Shift 2.3.3 I am having problems with my GPS and 4g.

I live in the heart of Boston and my 4g signal is horribly weak. Also whenever I use my gps (ANYWHERE) It can find me just fine, but when I do Navigation for driving, it just says "Searching for GPS"

Any help?

Is it possible to update Radios without a rooted phone? :confused:
[EVO Shift 4G Q&A, Help & Troubleshooting] fallnSaint:
I think you have the most current radios with 2.3.3. Pretty sure you can't flash with a locked bootloader anyway. Could be wrong on both counts tho, never been on the stock 2.3.

You try clearing data on telenav? How does google maps nav work for you?
[EVO Shift 4G Q&A, Help & Troubleshooting] iball8888:
I always use the google navigation. I never bothered with telenav because I thought you had to pay for it.
[EVO Shift 4G Q&A, Help & Troubleshooting] prboy1969:
Try turning on your WiFi when using GPS. It helps lock the signal quicker. As for your 4G you can try this THREAD . I use it with good results :) . Also , if you want to speed up your data you can try the info on HERE . Both of these can be done without Root. You just need your MSL. I usually just call Sprint and ask for it.
[EVO Shift 4G Q&A, Help & Troubleshooting] iball8888:
Followed the 4G and 3G tutorials, it was doesn't difficult to get the MSL number, quick call to Sprint, made a joke and stuff with the Tech and he gave it to me with no question.

*Note* I always make jokes and stuff with all the Techs.

Anyways, Turning on wifi even though I am no where near Wifi signals helps GPS? This is like my fourth Sprint Android device and I've never had so many problems with Navigation.
[EVO Shift 4G Q&A, Help & Troubleshooting] prboy1969:
Yes turining on WiFi helps. Even though your not connected, it helps lock quicker. I can dig up the thread that explains it if you would like.
[Touch Pro2 CDMA] munaveed2002:
Yesterday I upgraded my HTC TOUCH PRO 2 ROM from

http://www.htc.com/us/support/touch-pro2-sprint/downloads/

and I noticed that my option for add group in messaging is absent...:mad:

How can I add this option...
[Epic 4G General] HeavyweightCR:
I don't know if this question has been asked before. But can someone overclock it to 1.7GHz?:) I saw at the Captivate forums that they did it. It must be cool
[Epic 4G General] globalninja:
They haven't been able to oc to 1.6 stable on froyo.
[Epic 4G General] HeavyweightCR:
Do you think when the official Gingerbread comes out, they will be able to overclock it more?
[Epic 4G General] tony45x220:
Do they have any info on voltage information...id be willing to try their settings on my Epic which I pushed comfortably to 1.5Ghz?

Sent from my rooted, suited, & booted Epic 4G #knowdat!
[Epic 4G General] duce102:
The phone would get so hot it might grill sammiches..... Lol :)
[Epic 4G General] ugothakd:
Yeah can we get a link to the voltages? It can MAYBE be done with tegrak...but the phone might straight out not support it
[Epic 4G General] cds0699:
Cool new feature!
[Epic 4G General] xopher.hunter:
I know the other galaxy s phones can hit 1.7ghz but our devs actually care about us and our phones by limiting us to 1.45ghz. Its not worth it
[Epic 4G General] deano0714:
Also what are you doing that needs 1.7ghz?
[Epic 4G General] murso74:
must be to impress the ladies
[Epic 4G General] RandomKing:
This is the only reason I'd be interested in this! That looks delicious...

Seriously though guys, what do any of you overclock for in the first place? I've never done it, but I play Mario Kart 64 flawlessly on my phone. And nothing else I've run thus far even pretends to tax my Epic.
[Epic 4G General] Shoulon:
Doesnt anyone build computers anymore?

Sent from my Epic 4G
[Epic 4G General] sceptor:
I have the n64 emultor but no clue where to get games. Any suggestions?
[Epic 4G General] Overstew:
I could save money...sell my stove and just get another Epic. :D
[Epic 4G General] RandomKing:
CoolRom. But I won't post a link, and only download games that you already physically own. ;)
[Android Q&A, Help & Troubleshooting] lordofazeroth:
I am looking for a comfortable App for tweaking Android settings.

It shoult be capable for example of changing the scheduler:

http://xdaforums.com/showthread.php?t=576004
[Epic 4G Q&A, Help & Troubleshooting] metalblaster:
honestly the only one i really really want is the battery mod. Hopefully this will come soon. I know they changed the framework but it would be easy to port it non-the less.
[Epic 4G Q&A, Help & Troubleshooting] Shinydude100:
Shane said he got that working. ask shane
[Epic 4G Q&A, Help & Troubleshooting] duce102:
Have some patience lol.... it was to be expected that the aio mod was getting ported but samsung keeps changing the framework...... Jeez
[Epic 4G Q&A, Help & Troubleshooting] shane6374:
Here's the working battery mod framework and sysui (flashable). It has my failed overscroll and crt attempts in it as well.
[Epic 4G Q&A, Help & Troubleshooting] ac16313:
What do you mean "failed" lol?

Sent from my SPH-D700
[Epic 4G Q&A, Help & Troubleshooting] Shinydude100:
As in not working for crt off or overscroll, only battery % mod working for now
[Epic 4G Q&A, Help & Troubleshooting] duce102:
So it boots though right? I downloaded an hour ago.... Just waiting to make sure another 10 minute restore isnt around the corner lol..... Fail attempts included doesnt sound right??? Lol :)
[Epic 4G Q&A, Help & Troubleshooting] shane6374:
It boots fine. Just my failed attempt at both overscroll and crt are built in it. They just sit there with no ill effect on it.
[Epic 4G Q&A, Help & Troubleshooting] duce102:
Thanks :) ill have to use this.... Sorry to go off topic here but im making a copy and paste rom.... When I boot it up 3g nor 4g connect... Only 1x is available so all I can do is use my phone as a phone.... Weird lol..... Any idea what in a rom or kernel could be doing this?
[Epic 4G Q&A, Help & Troubleshooting] metalblaster:
thank you very much for this, the battery mod is all i was concerned about in the firsst place. I know the rest will come quickly because this dev community is so good.
[Epic 4G Q&A, Help & Troubleshooting] GuestK00145:
CPK just posted a battery mod/crt off
[Epic 4G Android Development] crawrj:
I have updated the lag fix for EH17. ALL credit goes to Chris41G for the original fix. I just upgraded it for EH17.

Deodexed Stock Lag Fix:

MD5: 27ef1ed002ee85c237916ec5b679e04b

Download: http://dev-host.org/15mwe22693aj/EH17DeodexStockLagFix.zip
[Epic 4G Android Development] metalblaster:
Nice though I have yet to see any rotation lag at all on EH16... Maybe thats just my set up, Ill run this and see if theres a difference.

Either way, thanks for getting this out so quickly.
[Epic 4G Android Development] JungleJiujitsu:
Thanks, will flash this now!
[Epic 4G Android Development] Shinydude100:
Same.I see no lag.
[Epic 4G Android Development] crawrj:
I have never had rotation lag but I always see people requesting it so I went ahead and put it out.
[Epic 4G Android Development] ac16313:
Thanks

Sent from my SPH-D700
[Epic 4G Android Development] tommi_han:
Couldn't you use the horizontal calibration inthe settings display...seems to work for me
[Epic 4G Android Development] crawrj:
From what I have read it works for some and not others.
[Epic 4G Android Development] crawrj:
Welcome
[Epic 4G Android Development] rando991:
pardon the question, but how do you flash this? Do you extract it first and if so what file do you put in Odin or CWM?
[Epic 4G Android Development] crawrj:
Just put the zip file on the root of your sdcard and flash with CWM.
[Android Software/Hacking General [Developers Only]] mastmalang70:
hi, is there a custom rom for FG8 android 2.2.1 , i only want to overclock , i did root it with Z4 root ,form there im lost ,anyone , ??????????? do i need a rom ????? which one is compatile with my phone??????????

i did try different apps for overclocking ,none works

thanks
[Thunderbolt Q&A, Help & Troubleshooting] DNak206:
What's your highest GB (data) usage in a month and has there been any drawbacks? Looking for throttling thresholds, random radio/connectivity drops, or actual examples of other potential risks. Please only actual use cases not hypotheticals of actual rooted tethering (non-paying). Use Wireless Tether.
[Thunderbolt Q&A, Help & Troubleshooting] XDAThunderbolter:
So you don't want our input if we're rooted and using free tethering? They would throttle a 20gb/month video watcher the same as a 20gb/month tetherer.

And if I'm wrong in my assumption, then I can tell you my wife uses about 300-550mb per night playing Rift through my OpenGarden tether. Monthly, I would guess it averages about 6300mb usage, not including the random times I allow people to connect while waiting in school lines to pick up kids and at neighborhood parties (my friends are starting to loath AT&T;)).