yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] dcatoffm:
Developer Options?

This is driving me up a new wall. Based on what I have been reading all day, Developer Options are a core function and cannot be removed, only hidden. This thing has not been giving me much confidence in that statement, however. I have been through the settings over and over again with a fine tooth comb and the whole thing eludes me.

This is Android 4.1.1. The 4.2+ trick (7 clicks on Build Number) doesn't work, and it's not in the App settings either, nor is there any sections renamed "Advanced" or the like. It may not be an end-all but I feel it would at least be a step in the right direction. I might be able to use an exploit such as Poot or Framearoot, which are currently ineffective.

I also haven't had any luck with getting into a recovery boot mode, not sure it's possible with this keyboard (I suspect it's soft driven; inactive until the kernel and modules are loaded). This seems to be just one shut down after another. I need more ideas, pointers, whatever. Don't forget, it can also help the next sap stuck with this model... :)
[General Questions and Answers] dcatoffm:
I decided to not lose sight of my original reasoning and move forward anyway with an app that claims to install Linux without root. I installed Gnuroot Wheezy which taught me some more f'd up things about this netbook but it at least in concept is working. What more things I have learned...

One of the issues with running Linux without root is the inability to use the external SD-card, at least native, because you can't mount an external partition/file that hasn't already been set up in the mount scripts outside of userspace. Gnuroot uses a chroot off the secure asec in /data. With about 3G user space available on this netbook, you'd think that wouldn't be a problem... but it is, because of another setup issue with this netbook...

See, while the external SD card does mount to /sdcard,/mnt/sdcard, that is NOT where Android app setup calls SDcard... there is a so called internal SDcard that is really a fake vfat via fuse mount off /data mounted to /mnt/local. This means it does no good to move my plethora of other apps to the "SD Card," actually, it makes the problem worse on this device. I imagine it was done so you could swap SD cards without affecting your apps, good move for flexibility but poor for expandability.

For those who would try it, that's also a big hint for getting it working. This device does not have access to the Play market*, so you will have to move helper apps from another Android device over. Don't bother with 3rd party repositories, you will not get everything you need. The biggest issue is the WheezyX obb file. It on install ONLY from the Play store will be located in /sdcard/Android/obb/champion.gnuroot.wheezyx/main.2.champion.gnuroot.wheezyx.obb , on this netbook the file must be moved to /mnt/local/Android/obb/champion.gnuroot.wheezyx or it will not be recognized, and because of the play store issue, can't be downloaded and gnuroot will exit with error.

Anyway, so now WheezyX is actually running and I am attempting to install an Openbox/LXDE desktop... the problem I am hitting now is the space limitation... It said it needed about 330 MB space and I had 360MB available on start... I'm now about 1/4 through and the netbook has come to a dead crawl due to... yep, very little space left (about 55 MB free on /data)... WTF! I feel like I am just not meant to win at like anything...

---

*Edit: Once rooted, the play store can be installed to the system partition and does work pretty good. :)

---
[General Questions and Answers] dcatoffm:
Some success with Linux

Well, it took quite a bit of monkeying and persistence but I do have desktop Linux running via the above described method. I found Synaptic was useful for finding packages but as the GNURoot author warned, for the love of all that's holy, use apt-get to actually install the packages. It seems trying to install a desktop environment via Synaptic totally overthrew the system. Also try installing only a few packages at a time and clean up after each one, especially where space is a premium.

What's left now is experimenting with vnc viewers a/o X11 environments. I'm presently using PocketCloud but it doesn't seem to like this keyboard (right shift = 6, no down arrow, Ctrl is sticky- forget combo keys; at least the included soft-keyboard does work, just a productivity killer) and getting a right mouse click is almost impossible, so I want to see if I can do better.

The environment is OpenBox with lxpanel and the background is set with qiv. I am confident now that providing space wasn't such an issue I could run pretty much any basic Linux program I want. I have not tested audio and I already know just being vncserver that motion video is a bad idea; this was mostly proof of concept until I can open up some space. I may now see how far I can take this (e.g. link large trees to the SD card, such as bin directories; since it's already running fake-root, I'm not too worried about user permissions. I may also experiment with fuse).

Edit:

This does not mean I don't still want to get a true root. If nothing else, even if I can't take Linux off the internal storage, root will allow me to force Android apps on to the external SD; either solves the current space issue and thus is still desirable. I'm just not as stuck in the mud now. :) Ideas still very much appreciated.

Done and done. :)
[General Questions and Answers] dcatoffm:
Just a quick update to say the project isn't dead, just dormant. I have successfully turned on USB debugging thanks to a shortcut app called "USB Debug" by Tatibana. Thank you

---
[General Questions and Answers] dcatoffm:
Framaroot, Universal Androot, and Poot have all failed.

:banghead:

Have yet to see if physical USB will now work... I don't exactly live alone. :)

---
[General Questions and Answers] dcatoffm:
SUCCESS!!!!!

IDFBT! I must have not been paying enough attention before or something, or maybe it was one of the half dozen greyed out options before... not sure, but after I was again unable to connect via direct USB, I decided to double check the developer options to make sure noting was reset by the last reboot.... and there in bright white last in the top section... Superuser Options (set to Always Deny)! I set it to Ask and tested, but it promptly rebooted as soon as I tried to su, and again on that boot, so I had to set to Always Allow. Amazon doesn't have SuperSU and last I knew ChainsDD Superuser is still adrift in the doldrums, so I'll have to sideload (as usual), but, I just wanted to share. This netbook does come rooted, you just need to turn on the hidden developer options, reboot, and go back and allow SuperUser.

Will report more as I progress. Banzai!!!
[General Questions and Answers] dcatoffm:
Adventures in Linux land

Well, I had mentioned before how space was an issue. Thanks in part to Link2SD, I managed to curb that problem.

Problem still though was my base graphical Linux install was taking 1G of my /data space. Since I made 2G available on the Link2SD ext4 (/data/sdext2) partition, I found I had about 1.3G available after moving most apps over, I decided I'd try a manual data move. I was slow with this since I didn't know how Link2SD or the system was going to handle it. That turned out to be a good thing.

When using Link2SD, one thing that should be obvious is to never move essential apps off the internal storage. These would be things like Link2SD itself, a Terminal emulator, and your superuser manager (e.g. SuperSU); basically, things you absolutely cannot lose access to even temporarily.

Okay, so, to test the behavior, I went into the emulator..

su

cd /data/sdext2

mkdir Linux

That's all. I then did a normal power off and restart. When rebooting, an "Android is Updating..." box came up and went away in a few seconds. The launcher came up and I waited for everything to load normally. Then I started getting a rash of "App is not installed" messages... uh oh. The only reason this turned out to not be a big deal is Link2SD and SuperSU were still on internal storage, and Link2SD is designed to deal with this problem. I simply launched Link2SD, clicked the tab bar on the upper left, and selected "Relink all application files," after which it requested a reboot, and I complied.

With a semi-disaster averted, I went back into /data/sdext2 to see if the Linux directory was still there. Hallelujah it was. Next was finding the GNURoot wheezyx root. This turned out to be fairly easy:

/data/data/champion.gnuroot/app_install/roots/wheezyx . I decided for potential future expansion to move the whole roots directory. Being cautious as I try, I do a copy.

su

cd /data/data/champion.gnuroot/app_install

cp -a roots /data/sdext2/Linux/

(... go make a sammich ...)

rm -R roots

(... go make and eat dinner ...)

ln -s /data/sdext2/Linux/roots roots

This appeared to work at first, until I tried to install something (abiword). I discovered that the permissions were not copied to the lib directories (android security quirk?). This would probably not be an issue if this were a true root install but being a fake root app install, it effectively prevented the installation of libraries. This was fixed simply by doing a chown and chmod on the lib directories.

Contined from above:

cd roots/wheezyx

chown 10102.10102 lib

chmod 771 lib

chown 10102.10102 usr/lib

chmod 771 usr/lib

*note: the app id number may be different on your copy. This will be fairly obvious with a simple ls -lh .

After that, the install completed and this thing is running pretty good. I am now considering this a complete success. While technically solved, I'll keep this thread open for questions or updates (for as long as the mods don't mind). :)

---
[General Questions and Answers] dcatoffm:
Screencap op

Assuming the uploads work this time, attached are some screencaps. Enjoy. :)
[Galaxy S 4 Q&A, Help & Troubleshooting] galaxynoob1:
Hi I used clockword mod to back up my phone by going to backup and restore and choosing backup to /sdcard but now I can't find th3 bqckup folder and it's consuming 4gb of my storage how can I find or delete it?
[Galaxy S 4 Q&A, Help & Troubleshooting] RubbaBand:
go to internal storage

then go to "clockworkmod" folder and delete it from there

if you want to just backup efs go to custom backup and choose what you want
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] kishore55:
Hi everyone, Kitkat For All [CM11-Stable-RC6] rom is awesome but the only thing im facing is its very slow, how to make it fast, and battery drains very fast , is ther any fix for these problems, if not then i need to change the rom again.

my CM 11, internal memory extended to 600mb.

1. Very slow

2. Battery drains fast .. any fix. ?:(:(
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] Deleted member 5617821:
KitKat is not actually stable yet. But developers are working really hard to make it stable. I know KitKat lags but don't forget that our device was not meant to get a KitKat update due to its low hardware. Installing performance scripts can reduce your lag to a certain extent. [MENTION=4910339]Venomous Viper 119[/MENTION] has provided us with a great guide on how to improve battery life & performance of ace. Here is the link,

Improve battery life & performance of Ace

Hope I Helped :)
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] kishore55:
Thanks for you reply, yeah its great that all the developers are working hard and i am very thankful for them. Now i m using Governor SMARTASSV2 , its working good. Even battery is running well in SMARTASSV2.
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] Zerien:
Yes Kitkat is still kind of fresh so it will take some time. If you're looking for performance-wise roms, adrenaline rom or droidace is just the rom for you :)
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] Viper The Ripper:
Don't use internal memory extender scripts and it'll improve your battery life and preformance due to the decrease in r/w cycle.

:good: using smartassv2 is a good choice, try sio governor and drecease a bit the frequency, it help also you to save battery ;)
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] mika67:
My favorite is the version of 27.04.2014 (cm-11-20140427-NIGHTLY-cooper-PS).

It runs without problems with me.

You know then also still the software of ViperTheRipper_CM11_NIGHTLY_20140427_Androidarmv6

download and over CWM install. Some really brings at speed.

Afterwards CronMod-Int2EXT+ install and you have a very stable system.:good:

All other versions RC5 /RC6 always made problem with Google Play.

Much success
[General Questions and Answers] saik710:
Hello

I am using LG -P990 (Optimus 2x) Indian mobile and yesterday i have installed CM10.1 Unofficial nightly ROM and i booted device and everything was fine but WIFI is very unstable.

I want to move to Official ROM of LG and want to install Official ICS from LG. Please help me how to do that?.

I dont know how to put my device into Recovery mode.

Whenever i remove battery and connect -VE & Power button together, it is going into CWM mode (clockwork mode) and its not help me to download official binary.

Please help me to resolve this

thanks

sai
[AT&T HTC One (M8)] androidbuff123:
I went back to stock by flashing the 1.58 RUU. I'm not even rooted. I changed the run time to ART and noticed a significant drop in Quadrant score.. down to the 14,000. This compared to when I am in Dalvik when I'm around 24,000 there.

What gives? Anyone else noticing the same.. or can someone do a quick check for me on their devices and let me know how it compares for them between Dalvik and ART?

I thought ART was supposed to enhance performance. I have very few third party apps. So not sure why the scores are dropping so much.
[AT&T HTC One (M8)] daddioj:
why benchmark scores so important? ART is very new. programs are not optimized for ART
[AT&T HTC One (M8)] androidbuff123:
I don't mean it that way. I was wanting to know if there is something wrong with the system or if there is a perfectly logical reason why it is so. Interestingly the low benchmark seems to happen only with quadrant.
[AT&T HTC One (M8)] daddioj:
didnt mean to come off rude. but yeah if its only quadrant i wouldnt worry about it. or benchmarks in general really
[Nexus 7 (2013) Q&A] tennvol12345:
I'm taking a road trip with 2 kids and want to use their Nexus 7's to share the screen between the 2 devices watching the same movie on each device. Here's the equipment I have available:

Seagate Wireless HD

Lenovo PC

1 Nexus 7 (2012)

1 Nexus 7 (2013)

VZW Jetpack w/ unlimited data

iPad4

What I was thinking is to go from the HD->PC->USB->OTG->Nexus. Does anyone know if I can stream video and audio from a PC via USB/OTG to 2 Nexus 7's at the same time via a USB Y cable from the PC? And if so what app should I use?

I would just attach them all to my VZW hotspot with something like Splahtop but I don't know if I'll have internet the entire way.

Sorry if this is confusing, it all makes sense to me...
[Nexus 7 (2013) Q&A] THEBANDIT420:
Use allcast along with allcast receiver and then use MX player on the device that's sending the file. Not the most elegant solution but it should work.

---------- Post added at 02:32 PM ---------- Previous post was at 02:30 PM ----------

And if you want to have the file on a PC instead of on one of the nexus 7's create a DLNA server on your PC using Divx then stream it to the 7's using the imediashare app.
[Nexus 7 (2013) Q&A] tennvol12345:
What if I'm in an area with no service,, or very slow speeds? We are driving from Denver through to UT and AZ and I doubt I'll have cellular coverage the entire way.
[Nexus 7 (2013) Q&A] THEBANDIT420:
You wont 't need internet access if you set up this before hand, all you'll need is a WiFi hotspot for all the devices to be connected too. As its streaming it locally and not through the internet.
[Nexus 7 (2013) Q&A] player911:
Yea but they'd need headphones. Because I doubt you can start them at the same time.

sent from my Verizon G2
[Nexus 7 (2013) Q&A] tennvol12345:
So the WiFi hotspot from the Seagate HD will be enough to allow me to stream to 2 tablets?

I know there are lots of products out there but I'm having trouble with the mirroring aspect to 2 tablets. I really do need them to be in sync with one another.
[Nexus 7 (2013) Q&A] THEBANDIT420:
I don't how how you're gonna get them to be in sync, don't even know if its possible.
[T-Mobile Samsung Galaxy S 5] agkelos:
Ok, so Im a new T-mo convert and I picked the S5 and prepaid unlimited everything ($80) plan. Im in the San Juan area in PR.

Ive been getting horrible data speeds <1Mbps since day one on the phone. The curious thing is that from 2 am to 6 am for (6 days straight now) speeds jumps to 15Mbps or higher. As soon as 6am ticks I'm back to Edge speeds. What is even weirder is that I swapped the sim card to my Note and started hitting 17Mbps or higher at any time.

I tried the new modem and it didnt work either. I also tried changing APNs to different values and going wcdma mode only and none work. I contacted customer support a few days agoand they said they would fix it but they havent. Since I'm on the 14 day thing, I think I may just return it.

Anyone with similar experience or know what could be going on?
[T-Mobile Samsung Galaxy S 5] jjlean:
Are you using the SIM that came with your new phone?
[T-Mobile Samsung Galaxy S 5] agkelos:
I am. With that sim on the S5 I get no data or edge speeds when I do get data,except from 2 am to 6 am which I get LTE speeds.

With that same simcard I get LTE speeds on my Note at all times.
[T-Mobile Samsung Galaxy S 5] erasat:
Return it and ask for a new one, I live in Caguas but I work on San Juan, and besides when I'm at the office, where all providers have the same signal issue, I have normal Data Speeds.

I must say that when I'm at home in Caguas, I get great LTE Speeds but in San Juan I have noticed that using 4G instead of LTE gives better download speeds, but from that to the issue you are describing is a great difference, that's why I'd suggest you get a new one during the 14 days.
[T-Mobile Samsung Galaxy S 5] agkelos:
Thanks, I think I may do just that. Especially now that I know you are nearby and have no problems.
[Android Q&A, Help & Troubleshooting] Gagan3019:
Hi,

Despite the effort put by Intel into SoC field , its SoC are not that popular in mobile devices.I know main reason for popularity of ARM based SoC is low power consumption.But what are other reasons ?

Thanks,
[Android Q&A, Help & Troubleshooting] sev7en:
It's the same matter of nVidia SoCs... powerful but unsupported.
[Android Q&A, Help & Troubleshooting] madhur1209:
they missed the bus earlier by not betting big on Android and now for them to catch up will take considerable time and effort as the market is already flooded with low cost player, the only premium player in the game is Qualcomm.
[Windows Mobile Development and Hacking General] mohgdeisat:
Hi all,

I am using eVC++ 4.0, and i've dynamically created a CListView like this:

lv.Create(0,_T(""),WS_CHILD|WS_VISIBLE,r,this,5);

but I dont know how to handle the events of this control... any ideas??

Mohammad
[Windows Mobile Development and Hacking General] OdeeanRDeathshead:
To get events from a listview (win32) I normally subclass it. I use the subclassing routine to post a message back to the parent when the user is doing something like tapping on it, then the windows routine can check whats selected etc and act on it. Is subclassing possible in mfc ?( :oops: I don't use it).
[Windows Mobile Development and Hacking General] mohgdeisat:
Thank u

but can anybody post some code??

thnx
[Windows Mobile Development and Hacking General] levenum:
Ok, I am a bit lazy to look up code at the moment, but here's something:

Yes, subclassing is possible in MFC. You just derive your class from the basic class provided like this:

class MyListView : pubic CListView

Then you add message handlers in the normal matter.

EDIT: The following passage is incorrect:

But I think subclassing may not be necessary in you case. List box controls send WM_COMMAND messages with notifications of major events like selection change to the parent window. All you have to do is to create a WM_COMMAND handler in your parent class.

Sorry I was thinking of ListBox not list view when I wrote it.

To manually add message handlers you need to put macros like ON_MESAGE or ON_COMMAND in the DECLARE_MESSAGE_MAP section of the class cpp file. All the detaisl are available on MSDN.
[Windows Mobile Development and Hacking General] OdeeanRDeathshead:
Are you saying that a listview will send the same WM_COMMAND as a list box in mfc? Dose this also happen in win32 made listviews. I have always thought it was a bit too tedious to find out when the user taps an item in the listview.

After reading your post levenum I had a quick look and it says that a WM_NOTIFY gets sent to the parent with a LVN_ITEMCHANGED for example. I had not used the LVN_**** because when I looked at them there was none that seem to deal with selections. I would guess that LVN_ITEMACTIVATE or LVN_ODSTATECHANGED would be usefull for this but then a second tap would not be picked up still leaving me wanting subclassing in many situations to get the users tap.
[Windows Mobile Development and Hacking General] mohgdeisat:
Ok, I have read what u wrote guys and my problem is almost solved, I used the OnNotify() method to handle messages sent from child controls like this:

BOOL CTest2Dlg::OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult)
{
// TODO: Add your specialized code here and/or call the base class
if(wParam ==5 )	//5 is control ID
{

NMHDR *ph =(NMHDR*)lParam;
if(ph->code==NM_CLICK)
MessageBox("Click");
else if(ph->code==HDN_ITEMCLICK)
MessageBox("Item Click");

else
{
CString str;
str.Format("%d",ph->code);
MessageBox(str);
}

}
return CDialog::OnNotify(wParam, lParam, pResult);
}

Now there still a very small prolem: what messages should I handle for 'Selected Item Changed' event ?? I know its easy but I couldnt find it :)

Regards
[Windows Mobile Development and Hacking General] levenum:
mohgdeisat: I am sorry, I made a mistake about WM_COMMAND.

OdeeanRDeathshead is right, I was thinking of a list box not list view.

To make up for this, here is some sample code from a win32 dialog app that uses list view control. I hope it will be of some help:

//this is from the dialog window function:
case WM_NOTIFY: //handle events:
nmhdr = (LPNMHDR)lParam;

switch (nmhdr->idFrom)
{
case IDC_LEDLIST: //list control ID.
return OnLEDListEvent(hwndDlg, (LPNMLISTVIEW)lParam);
break;
}
break;

BOOL OnLEDListEvent(HWND hwndDlg, LPNMLISTVIEW nmlv)
{
/////
// Handles list view control notification messages

switch (nmlv->hdr.code)
{
case LVN_ITEMCHANGED:
return OnLEDListItemChanged(hwndDlg, nmlv);
break;
}

return 0;
}

BOOL OnLEDListItemChanged(HWND hwndDlg, LPNMLISTVIEW nmlv)
{
if (ListView_GetSelectionMark(nmlv->hdr.hwndFrom) != nmlv->iItem) return 0;

/* do what you need here */
return 0;
}

Don't mind the fact that I used 3 different functions. This is part of a bigger program and I am trying to keep things well organized without resorting to classes.

As I understand it, LVN_ITEMCHANGE is received for different reasons so I try to handle only the one coming from selected item. LVN_ITEMACTIVATE is only sent when you double click the item so if you just want to catch selection change you need to use LVN_ITEMCHANGE.

Once again, sorry for confusing you before.
[Windows Mobile Development and Hacking General] mohgdeisat:
thanx pals, good job!!!

I think my problem is now solved with ur help :wink:

Mohammad
[Windows Mobile Development and Hacking General] mohgdeisat:
Ok guys, I said that my problem was solved, yet, another problem arises...

When the list view is in the report mode, how can I determine when a header button is clicked, and determine which one was clicked???????

thanx in advance