yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] Adit18:
hi all

Please don't shoot me for not searching for this because I have and there was only one result in the HTC Pico forum which was way above my level of understanding.

Basically what I'm looking for is a script that a user can click on within ES File Explorer that will basically do the following:

Copy a ZIP file from Dropbox folder (the Dropbox account will have already been manually added)

Paste the ZIP file into a local folder (/sdcard/Android/data/)

Delete an existing folder in the local folder called 'files'

Extract the zip file to the folder, this will place a new folder called 'files'

Now I need to be able to run the script from the Android device itself rather than using a remote PC to run ADB commands, hence the reason why I'm asking if ES Explorer can be used. Basically I'm doing this several times a day using the graphical interface of ES File Explorer and it does it all, but several manul steps are involved, hence I'm wondering if someone can help me write script.

If anyone is interested in helping me I'm willing to pay you directly / or contribute to your selected charity / worthy cause.

If this were to be done by ADB commands I guess they would look something like this:

--place this script in the dropbox folder containg the files.zip file. Execute the script

adb shell cat files.zip /sdcard/Android/data/

adb shell cd /sdcard/Android/data/

adb shell rmdir files

adb shell unzip files.zip

Hoping someone can help.

Thanks.
[General Questions and Answers] Darth:
Hi,

I will ask that your question be moved to your device section, here,

> Legacy & Low Activity Devices > HTC Pico (Explorer) > Pico (Explorer) Q&A, Help & Troubleshooting
[General Questions and Answers] Adit18:
Hi Darth

No problem at all, however isn't that forum related specifically to the HTC Pico?
[General Questions and Answers] Darth:
You didn't mention another device? ?
[General Questions and Answers] Adit18:
Any recent android device, but in particular to tablets. Definitely not the HTC Pico though.

Thanks.
[General Questions and Answers] Darth:
Then you need to be asking here,

> Android Development and Hacking > Android Q&A, Help & Troubleshooting

?
[General Questions and Answers] Darth:
Thank you. Thread closed.
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] steeflemmens:
Hi

I've installed CM10.2 (last update) (http://xdaforums.com/showthread.php?t=2499796) on my Archos 80G9. It also runs the SDE firmware from Archos (http://xdaforums.com/showthread.php?t=1653566). So far, so good, it runs quite nicely, all things concerned. Here's a screenshot to the system info: https://www.dropbox.com/s/0ri8n4jb6gyrfz7/Screenshot_2014-11-17-20-56-01.png?dl=0

Now I'm trying to install X-posed Framework, but this won't work. When I try, I get an error that tells me /system can't be mounted. (Screenshot: https://www.dropbox.com/s/ryaryqkie023sl4/Screenshot_2014-11-17-20-40-16.png?dl=0 )

When I take a look is ES3 if the folder is mounted, it looks like this: https://www.dropbox.com/s/4kwv0ja16qz52tq/Screenshot_2014-11-17-20-49-21.png?dl=0 . I can't tick the other boxes here, I get the message "sorry, operation failed" when I try.

I've already tried to use the "mount -o remount,rw /" command, to no avail...

I have no idea how I have to fix this problem and if it's even fixable.

Does anyone have any idea? Thanks in advance!
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] GuyKhmel:
Same here...

No solution for that yet.
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] Djirin:
Before you type the mount command did you type "su" first (without the quotes)?

Just opening up terminal gives you regular user permissions which will not let you run the mount command. You need to become root/superuser first and that's what su does.
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] steeflemmens:
Yes I did ... Terminal emulator gives a notification that It's been granted superuser permission, but it still doesn 't Work.
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] Bor-ka:
Can you send a screenshot of the "mount" comand and response?

Did the prompt change from $ to #? What was the output of "mount"?

If terminal doesn't work try with superuser adb (allow superuser not only from applications, but from adb). Connect to the device with "adb shell" and issue this command.
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] steeflemmens:
Hi, thanks for your response. Here are two screenshots: the first is of the mount command in Terminal Emulator, the second of the same via abd shell. No results.
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] Bor-ka:
Very strange, since filesystem seems to be remounted rw Ok.

In fact, I've installed xposed some two days ago on 101g9/cm10.2, so this should work.

Let's try to sort it out.

1) What version of xposed do you try to install? I've used latest stable (2.6 IIRC).

2) Do you use "standard" installation mode in xposed settings (just under the popup window on your screenshot)?

3) Try to issue the following commands in shell after remounting "/" (terminal or adb - doesn't matter)

# touch /system/bin/mytest.tmp

# ls -la /system/bin/mytest.tmp

If the file is created Ok, then the filesystem is mounted read-write correctly.

You can delete this file afterwards with

# rm /system/bin/mytest.tmp

4) Did you grant permanent or one-time superuser permission for xposed? If one-time, try permanent: it can be so, that "cp" fails due to lack of superuser permission.
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] steeflemmens:
1) I had 2.7 Experimental, so I uninstalled it and installed 2.6 Stable instead.

2) I do indeed use the "classical" option for installing Xposed.

3) Tried it, gave the following result: the file is created in /System/bin, so I guess /sytem is mounted okay. (see screenshots)

4) I use SuperSU, XPosed had root acces (see screenshot)

Seems to me /system is mounted fine, but Xposed just doesn't know it...
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] Bor-ka:
Ok.

The problem is with xposed, obviously.

For me, it complained that it can not remount /system (obviously), but then installed Ok.

So, what I would do

1) Check the filesystem mounts. May be, for some reason, you have /system mount (quite improbably, but nonetheless). Try in the terminal

# mount

It will show a list of all active mounts with the following format

[what is mounted] [where mounted] [blah-blah and stuff]

For example, from anothe device

/dev/block/platform/hi_mci.1/by-name/system /system ext4 ro,relatime,user_xattr,acl,barrier=1,data=ordered 0 0

You can see that something is mounted at "/system" readonly ("ro" attribute)

2) Check if the /system/bin/app_process.orig already exists

# ls -la /system/bin/app_process.orig

3) Try to use logcat to obtain info. That is tricky

a) On the PC issue command "adb logcat > logcat.txt"

b) Start xposed installer, try to install, get an error

c) on PC press Ctrl-C
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] steeflemmens:
Alright, did all of it.

1) Don't fully understand what is listed here, but in the first screenshot is the list of mounts.

2) Checked it, doesn't seem to exist, see second screenshot.

3) Logcat is attached.
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] Bor-ka:
Ok, it appears that I got the problem. Need a little time to think how to solve this.

The problem is rather technical. In newer androids supersu has isolated filesystem mounts for different processes.

It means that if you remount filesystem rw in one process, it (read-write-ness) is not accessible to the other process.

I have a little older cm10.2 build (for low-memory devices), perhaps, this was enforced later.

http://su.chainfire.eu/#how-mount (3.5)
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] steeflemmens:
So you're saying there's a good chance that if I install version 22_12_2013-13_29_20 (which i was planning anyway), instead of the latest one, the problem could be fixed?
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] steeflemmens:
Hmm, I installed the previous version of CM10.2, the problem seems to be persisting...
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] steeflemmens:
I noticed something today. I can create and remove files in /system using the emulator. I can't however do this using ES3 file explorer, even though it has root access. I was trying to edit the build.prop file, but it wouldn't let me save my changes.

I then tried to copy a file to /system in es3, this didn't work. Creating a tmp file using emulator did work. Seems I do have rw access to /system, but not with all apps...
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] steeflemmens:
I noticed something today. I can create and remove files in /system using the emulator. I can't however do this using ES3 file explorer, even though it has root access. I was trying to edit the build.prop file, but it wouldn't let me save my changes.

I then tried to copy a file to /system in es3, this didn't work. Creating a tmp file using emulator did work (permission denied). Seems I do have rw access to /system, but not with all apps...
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] Bor-ka:
Well, it seems like what I've said, filesystem mount encapsulation.

I've noticed one thing - you are using the standalone supersu application. And for me superuser mode is integrated in the system settings near the developer options. May be this is the case, internal superuser is patched already.
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] steeflemmens:
Alright, I'll uninstall superSU for now, give it a go with the built-in superuser app. I'll let you know!
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] Bor-ka:
Supersu application, theoretically, could have replaced libsuperuser and other stuff integrated in the CM.

So, if just uninstalling does not work, perhaps it will make sense to reinstall CM itself.

P.S. I have mixed feelings with CM. On the one hand it is definitely more fluid, than 3.* or 4.* stock ROMs. On the other hand deep sleep works, well, strange, and the tablet sometimes freezes in the sleep or turns off by itself.

Yes, I have enabled deep sleep, but the battery drains definitely faster in the sleep. For me it is essential, since I mostly use it as a amazon kindle / google books / pdf reader terminal. And most of the time it just sleeps.
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] steeflemmens:
Eureka! I re-installed CM, issued the mount-command i used earlier and installed X-posed! I used the built-in superuser app, no such problems as before. I did have to issue the mount-command, but that isn't a problem :) Is it normal I have to re-issue the mount-command each time I want to access /system rw?

Thanks a million! I can't believe it was something this trivial :) But I'm so glad it's solved, thanks!

I don't use the deepsleep-option. I do use Greenify to ensure certain apps (like Youtube or Chrome) aren't active in the background. Boot manager to be sure only essential apps boot in the first place. This seems to save me some battery life. Airplane mode as well.

I got this tablet from my dad because it was so slow he couldn't work with it. Even after factory reset, it very quickly became sluggish again. With CM, it feels like it's a new tablet. So no doubts about CM for me :)

I do have another issue: My pc won't show the tablet in explorer. I can access it via ADB, but I can't access the storage via explorer... I suppose I best start a new topic for that...
[Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting] Bor-ka:
Glad the issue was solved. I wonder why the superuser application didn't work.. Deepsleep - it allowed the tablet to lose, say, 10-15% charge during a week sleep. Very handy if the tablet is used not often - really miss it.

Explorer connection - if I remeber correctly, you should go to settings -> storage (where the size of apps/pictures etc is shown). Then press the three dots in the upper right corner, select "usb computer connection" and select MTP.

P.S. I wonder also if CM12/Android 5.0 in the "development" section is worth a try...
[Verizon Galaxy Note 4 General] freddy0872:
So this is just a simple Poll Thread. Just wondering if we think the VZW Note 4 will ever see some kind of unlock!

Now a midst allot of the talk going around some say we may HAVE TO have an unlocked bootloader to even consider root.

So this Poll is going to be asking the following question? It is not more so about will we get Unlocked, or will we get root.

The question is:

Do you think we will see any type of unlocking/rooting method for the Verizon Samsung Galaxy Note 4 Retail?
[Verizon Galaxy Note 4 General] mmw68666:
I say no but with the note 4 you don't need it but TBU and Adway would be nice
[Verizon Galaxy Note 4 General] freddy0872:
Go ahead and put your vote in the top of the OP sir! Id like to see what everyone has to think about this topic!

Granted im very inclined to agree with you on your answer. I dont think its necessary. More or less a habit just to do it and were spoiled with the features! But yes some of the perks would definitely be nice!
[Verizon Galaxy Note 4 General] eskomo:
I say no. I think every Samsung phone from here on out will be locked down tight on Att and Verizon. Sprint will have root and that will be the only route for rooting in the near future.
[Verizon Galaxy Note 4 General] Enzopreme:
I HIGHLY disagree... this device will definitely see root. And although it performs great without it, things like write protection completely diminish the joy of having a capable device. We'll see root, maybe not an unlocked bootloader... but there's always safestrap....Samsung's devs are great, buy ours are better... hence the hiring of Steve.
[Verizon Galaxy Note 4 General] snowman9031:
For 1 just because it is hard to root makes it more tempting for someone to cracking the code and for 2 touchwiz sux it lags freezes and remove all that crap that Verizon and samsung put on our phones.
[Verizon Galaxy Note 4 General] xtrandrix:
I mean... the Note 3 was the same.. it had a Root. I'm sure something will pop up
[Verizon Galaxy Note 4 General] projectD:
prob have root but no unlock bootloader
[Verizon Galaxy Note 4 General] Chuckleb0ne:
Looking back at old devices and seeing where we are now. I think the chances of obtaining a root exploit for this device are like 1 in a million. So I'm going with no on both. But that doesn't take away any value of the phone itself, its still the biggest beast around currently. Its also priced the most among online marketplaces next to the iPhone 6.
[Verizon Galaxy Note 4 General] Rippley05:
Highly unlikely. If it does, it will be some new universal root that happens to work on the Verizon version, but nothing Verizon specific.
[Verizon Galaxy Note 4 General] Enzopreme:
Maybe if everyone keeps saying no, someone will look at this thread and be like, "can't? I can't? Lemme show these dudes why I am who I am." Lol
[Verizon Galaxy Note 4 General] sprintuser1977:
This is the only phone I have ever owned where my keeping it Is not based on root.

Of course I want root, and yes I believe it will happen eventually.
[Verizon Galaxy Note 4 General] iballen93:
I really hope it will happen. I really have been grinding my teeth using the note 4 without root. I need my per app dpi settings, adaway, and more xposed modules. Honestly I would probably return it if I still could.
[Verizon Galaxy Note 4 General] jimd1050:
Ditto... love it so far!
[Verizon Galaxy Note 4 General] djsbad:
Hard to say, but I'm thinking no.
[Verizon Galaxy Note 4 General] rushless:
"No" right now and once L is released, helL no. Sorry, but that is what it seems to me.
[Verizon Galaxy Note 4 General] freddy0872:
Results as of right now

Well it seems like the dial is leaning more towards the side of most people thinking we will or most certainly get root.

vs.

Those who think more than likely not or most certainly not.

Ive got high hopes but like i stated im mighty happy with how the device is performing at this point in time. Of course the added benifit of removing junk would be great if anything that and xposed!

Im keeping my Root Alert set to high! LOL

Thanks for voting it up fellas! :good:
[Verizon Galaxy Note 4 General] fletch33:
i say 100% on KK and on L 75%

i have read a thread just like this on soooo many devices since the OG Droid and the only thing that has been successful since has been locking the bootloader. N4 just needs the right people with it in their hands and that will eventually happen.

L has already gained root access without a modified kernel which you can read about here.

personally i am not moving from the N3 until there is root and at minimum SafeStrap working. i have most of the N4 software features mixed with some L and some S5 stuff with a great theme and some amazing Xposed apps on my N3 that i am not willing to give up. customization from theme to software tweaks is something i highly value.
[Verizon Galaxy Note 4 General] Rootuser3.0:
No root mark my words
[Verizon Galaxy Note 4 General] Frequency000:
What about the KNOX flag? Does it not really matter? I pay 10$ a month for insurace so does the warranty matter that much?
[Verizon Galaxy Note 4 General] Serinety:
Has any (popular flagship) phone ever NOT gotten root? I can't think any on the Verizon side. I usually get the latest HTC or Samsung flagship device, and it always starts this way.. no root for a while.. then all the sudden it hits out of nowhere.
[Verizon Galaxy Note 4 General] Jimi Mack:
I agree with you but I am hoping "Out of nowhere" comes soon...
[Verizon Galaxy Note 4 General] Poloasis:
Things are changing drastically! Time are changing!
[Verizon Galaxy Note 4 General] MrAwesome75:
I agree. I have T Mobile, but I almost didn't care about rooting this time because this time the phone works so well, without doing anything extravagant. I don't have any experience with the Verizon Note 4, but I was able to get rid of almost all the boat I didn't want without rooting on my phone. I still hope it happens for Verizon though.
[Verizon Galaxy Note 4 General] oneandroidnut:
there are other 4.4.4 phones that still havent been rooted. and with samsung locking it down and knox im not sure i ever see it getting rooted
[Verizon Galaxy Note 4 General] MrAwesome75:
I don't think it has anything to do with Samsung. I have a TMo Note 4. And its rooted.
[Verizon Galaxy Note 4 General] jasonsc1:
Verizon Note 4

Im sitting at Apple Bees looking on my Kingo Rooted Note 3 for a way to Root my Note 4 I'm picking up from Verizon in about 30 min. QUESTION??? isn't it already Possible to Root the Note 4 but Knox will Trip??? If so can someone point me in that direction bc I could careless about Tripping Knox. I will easily lose my Note 4 & file a Claim on the Insurance if it Flops out on me. I cannot & will not live without AdAway or Xposed. No way! Thanks Jason
[Verizon Galaxy Note 4 General] Artcrime:
I have a rooted note 4 a "G", xposed doesnt work properly if at all at this point.
[Verizon Galaxy Note 4 General] freddy0872:
In the issue: The third party that VZW goes thru is not concerned about KNOX i dont believe. But I would smash the phone up as to the best of your ability any way! HAHA
[Verizon Galaxy Note 4 General] Frequency000:
Well the deductible is like 130$ for a new note if you "lose" yours and I don't think you can update to lollipop If you trip Knox. I'm just going off what I've been reading. I recently switched to android from ios. Much much better
[Verizon Galaxy Note 4 General] shawnten:
I'm not really thinking root will ever happen so now I am trying to get excited for lollipop. Its gotta be coming soon
[Verizon Galaxy Note 4 General] DrSeussFreak:
no, there is no way to root at the current moment, not even with a knox trip.
[Verizon Galaxy Note 4 General] pjrmax403:
Ups is bringing DE friday. Damn Thanksgiving.
[Verizon Galaxy Note 4 General] mlin:
I think it'll get rooted, probably by some root method that will work for all Android phones post July 2014 since towelroot handles most/all phones before that time. Who knows, maybe Geohot's next iteration of towelroot will work on our phones. If not him, perhaps kingo or one of the other mass root programs.
[Verizon Galaxy Note 4 General] deltaden:
That's one big problem with society these days, too much cheating and dishonesty!
[Verizon Galaxy Note 4 General] yamaha_wins:
Cheating and dishonest because we choose to root OUR phones? Crazy..
[Verizon Galaxy Note 4 General] deltaden:
I mean cheating and dishonesty by making a false claim and lying to the insurance company.

Go ahead and root your phone, like I have done many times, but if you have to lie when you broke it, that's another thing.

Just my thoughts.

Have a nice weekend.

---------- Post added at 09:28 AM ---------- Previous post was at 09:12 AM ----------

Getting back to business, I do think we will have the root we want, but it will take a few months. There are very bright and knowledgeable techs on both sides of the road. I agree, it's our phone and we should be able to do what other carriers allow.

If it was not for the huge Verizon network availability, I would get another provider.
[Verizon Galaxy Note 4 General] Damasterjj:
wow still no root? I might get something else before holiday sales is over
[Verizon Galaxy Note 4 General] Rippley05:
If root is that important, then you should. We aren't likely to get it on the Verizon N4
[Verizon Galaxy Note 4 General] IncendiaNex:
Absoluetly!

Although service providers may keep up in the pursuit of "unrootable" devices I just don't see them ever making one 100% "unrootable". Its just a matter of time before the phone is rooted and the bootloader is unlocked. Although its a great phone by itself there are many aspects of android I like having personalized. #FREEN4
[Verizon Galaxy Note 4 General] Redapple63:
This attitude is one if the reasons the phone is getting locked down. Too many people booger up their phones because they don't know enough about the subject (rooting and mods) and use warranty or insurance to pay for their mistake.
[Verizon Galaxy Note 4 General] freddy0872:
Well that is in fact 100% correct. but for some people who actually know what they are doing when they edit a said file or flash something they should A) know what it is and what it does B) accept any consequence that you may cause to your phone. Ive been rooting phones and tablets for..... i dont know now. Since the Droid 2 basically. Never once have i had to turn it in for warranty. Take care of your device and know what you are doing to it if you are able to and decide to run custom software on it.

But yes to sum it all up your perfectly correct. Some people cant handle their root!
[Verizon Galaxy Note 4 General] myredfast:
Well, if they invested as much time into making root possible but making it easily detectable and securing that method of detection, as they do locking the phone down completely it would be a win win now wouldn't it. Give people an option to void warranty..... I think a majority of ppl here will choose wisely and live with the consequences
[Verizon Galaxy Note 4 General] Redapple63:
Agreed...give us the choice...
[Verizon Galaxy Note 4 General] Afro Samurai:
Just lurking to see what's happening and I hope you're right. The latest firmware update for the Note 3 has almost everyone jumping ship. Was thinking about a 4 but root is important to me.
[Verizon Galaxy Note 4 General] rushless:
Barring some minor technical miracle, dev devices will probably be the only root option for Lollipop devices. The golden age of rooting seems to be close to an end.
[Verizon Galaxy Note 4 General] ronaldheld:
That is awful. I was thinking that if there is no N5 dev edition, that i would have to go to another manufacturer whose phone could be rooted.