Related
Possible Workaround
Cant see why it wouldnt work but havent tryed it myself. Let me know in the comments!
My mytouch 4G is rooted and i have the ability to get movies from the new market. Weird?
Can you view them or have you actually downloaded them and watched them?
because.... This.
Great! Now can someone make an app for that!?
Sent from my GT-I9000 using XDA Premium App
Kevin001111 said:
Can you view them or have you actually downloaded them and watched them?
because.... This.
Click to expand...
Click to collapse
I've seen that thread, I am not on Unity, I run Synergy. I haven't bought one yet, but since I can access it I believe it would work
jangst123 said:
Great! Now can someone make an app for that!?
Sent from my GT-I9000 using XDA Premium App
Click to expand...
Click to collapse
you can't type in the commands yourself?
Can someone tell me how to use the terminal on my PC, it won't work on my Android.
Jays2Kings said:
Can someone tell me how to use the terminal on my PC, it won't work on my Android.
Click to expand...
Click to collapse
to do it from your computer you need to have adb set up. there are hundreds of guides for that on xda.
what do you mean it "won't work" though? be more specific?
JDV28 said:
to do it from your computer you need to have adb set up. there are hundreds of guides for that on xda.
what do you mean it "won't work" though? be more specific?
Click to expand...
Click to collapse
The last step in the command line, the renaming "su" to "mu." I can't rename it because it's a read only file.
Jays2Kings said:
The last step in the command line, the renaming "su" to "mu." I can't rename it because it's a read only file.
Click to expand...
Click to collapse
is your phone rooted?
JDV28 said:
is your phone rooted?
Click to expand...
Click to collapse
That it is, if it wasn't I would be having problem with the video app in the first place.
Jays2Kings said:
That it is, if it wasn't I would be having problem with the video app in the first place.
Click to expand...
Click to collapse
make sure that you are typing in the 2nd command (one after "su" ) properly.
JDV28 said:
make sure that you are typing in the 2nd command (one after "su") properly.
Click to expand...
Click to collapse
I typed character for character correctly, still "failed on '/system/bin/su' - Read-only file system".
Didn't work for me sadly I still get the playback not supported. I'm on the T-Mobile G2x
Edit: Also tried unrooting via super one click and still got the same result after reboot.
well, it says potential. it doesn't say it will work. it's an idea.
Jays2Kings said:
I typed character for character correctly, still "failed on '/system/bin/su' - Read-only file system".
Click to expand...
Click to collapse
install root explorer and mount /system as r/w
then go through the guide besides the second step
JDV28 said:
install root explorer and mount /system as r/w
Click to expand...
Click to collapse
Does anyone have a link to the root explorer apk?
doodlebro said:
Does anyone have a link to the root explorer apk?
Click to expand...
Click to collapse
its a paid market app
JDV28 said:
install root explorer and mount /system as r/w
then go through the guide besides the second step
Click to expand...
Click to collapse
Already have it, but that's what that's what that option was for. Thank you.
EDIT: It's still force closing when I open the app (after I select my account).
Jays2Kings said:
Already have it, but that's what that's what that option was for. Thank you.
EDIT: It's still force closing when I open the app (after I select my account).
Click to expand...
Click to collapse
glad I helped!
go into settings, find the market, and clear its cache
Any information on this?
zeest said:
Any information on this?
Click to expand...
Click to collapse
Be more specific as to what you are trying to accomplish.
Help us help you.
bhundven said:
Be more specific as to what you are trying to accomplish.
Help us help you.
Click to expand...
Click to collapse
I am trying to find what part of a file is being read for an on/off tag, so I can modify it to bypass the bootloader. The file that is read is just a data file, full of 0's and 1's. As far as I can tell, the system reads the specific flag using an offset-length system, but the program that runs it is compiled and a few megabytes, plus I have no idea what I am doing with assembly.
zeest said:
I am trying to find what part of a file is being read for an on/off tag, so I can modify it to bypass the bootloader. The file that is read is just a data file, full of 0's and 1's. As far as I can tell, the system reads the specific flag using an offset-length system, but the program that runs it is compiled and a few megabytes, plus I have no idea what I am doing with assembly.
Click to expand...
Click to collapse
So lets take a step back and help describe the universe of this problem.
What kind of device do you have?
Which file are you talking about? Is it on a specific partition?
I have answers, well and if I don't I can at least help point you in the right direction, I just need more input.
bhundven said:
What kind of device do you have?
Click to expand...
Click to collapse
An LG Motion (ms770).
bhundven said:
Which file are you talking about? Is it on a specific partition?
Click to expand...
Click to collapse
The file is named "misc". I am not sure which partition it is on, probably the bootloader's (mmcblk0p5), since that is what uses it.
zeest said:
An LG Motion (ms770).
The file is named "misc". I am not sure which partition it is on, probably the bootloader's (mmcblk0p5), since that is what uses it.
Click to expand...
Click to collapse
I'm not a very good resource for qualcomm based devices, like the ms770.
zeest said:
I am trying to find what part of a file is being read for an on/off tag, so I can modify it to bypass the bootloader.
Click to expand...
Click to collapse
Do you have more information about how this works? Maybe a link to how it was done for another device?
zeest said:
The file that is read is just a data file, full of 0's and 1's.
Click to expand...
Click to collapse
There are ten types of people in the world; those that understand binary, and those that don't.
zeest said:
As far as I can tell, the system reads the specific flag using an offset-length system, but the program that runs it is compiled and a few megabytes, plus I have no idea what I am doing with assembly.
Click to expand...
Click to collapse
Do you have a process trace (ptrace) of this or something? I would like to know more about this.
Sorry about my slow responses... I'm not very good at multitasking
bhundven said:
Do you have more information about how this works? Maybe a link to how it was done for another device?
Click to expand...
Click to collapse
I had a link, a few months ago, that was notes from an assembly programmer to another team, for another similar device, but I don't have the link anymore, got lost when I upgraded to windows 7. From what I understand, the bootloader looks at the tag in the other file, if it is set to true, it does a signature check on the boot partition. If not, it boots with no security, aka unlocked.
bhundven said:
Do you have a process trace (ptrace) of this or something? I would like to know more about this.
Click to expand...
Click to collapse
Nope
bhundven said:
Sorry about my slow responses... I'm not very good at multitasking
Click to expand...
Click to collapse
NP, thanks for even helping.
zeest said:
I had a link, a few months ago, that was notes from an assembly programmer to another team, for another similar device, but I don't have the link anymore, got lost when I upgraded to windows 7. From what I understand, the bootloader looks at the tag in the other file, if it is set to true, it does a signature check on the boot partition. If not, it boots with no security, aka unlocked.
Nope
NP, thanks for even helping.
Click to expand...
Click to collapse
Well, update this if you get more info. You got my curiosity.
Ive factory reset several times now, I've reflashed the android l preview image several times, and flashed two 5.0 roms over it even, and i even tried a multiboot with cm11. My device can't take pictures, video, basically anything to do with the camera doesnt work. Pictures seem to take, but don't save. Video or any panorama crashes the camera, and the error logs show something about permission denied to the files they are trying to create. How can i fix this?
Did you copy all your data back to the phone via recovery?
Usually for L, you run
su
restorecon -FR /data/media/0
...which is mentioned in his sticky lots of times.
But If you copied all sdcard data back to your phone via recovery, there's a different approach
rootSU said:
Did you copy all your data back to the phone via recovery?
Usually for L, you run
su
restorecon -FR /data/media/0
...which is mentioned in his sticky lots of times.
But If you copied all sdcard data back to your phone via recovery, there's a different approach
Click to expand...
Click to collapse
I tried that one, it did nothing and camera still acted up. I've tried every app on the store. Nothing seems to be allowed to write to DCIM, even though I can create files with a normal file manager just fine.
rootSU said:
Did you copy all your data back to the phone via recovery?
Usually for L, you run
su
restorecon -FR /data/media/0
...which is mentioned in his sticky lots of times.
But If you copied all sdcard data back to your phone via recovery, there's a different approach
Click to expand...
Click to collapse
I just tried creating a file inside the camera folder inside DCIM and permission was denied. How could I fix that?
dreamwave said:
I tried that one, it did nothing and camera still acted up. I've tried every app on the store. Nothing seems to be allowed to write to DCIM, even though I can create files with a normal file manager just fine.
Click to expand...
Click to collapse
Using a root explorer, go to /data/media/0/Download and set all the permissions to read, write and execute.
Then hopefully you can download stuff.
Please check that. If that works, I'll let you know the next step
rootSU said:
Using a root explorer, go to /data/media/0/Download and set all the permissions to read, write and execute.
Then hopefully you can download stuff.
Please check that. If that works, I'll let you know the next step
Click to expand...
Click to collapse
I can already download stuff. Is it a common problem with L for this to happen? I've looked it up and found little to nothing.
rootSU said:
Using a root explorer, go to /data/media/0/Download and set all the permissions to read, write and execute.
Then hopefully you can download stuff.
Please check that. If that works, I'll let you know the next step
Click to expand...
Click to collapse
I realize I just went full retard thanks to looking in the camera for permission. I had earlier set permissions with chmod from recovery for the DCIM directory to 777, but not the Camera directory within. Thanks for helping, though!
dreamwave said:
I realize I just went full retard thanks to looking in the camera for permission. I had earlier set permissions with chmod from recovery for the DCIM directory to 777, but not the Camera directory within. Thanks for helping, though!
Click to expand...
Click to collapse
One problem I have consistently had however is that my launcher and default camera app are never remembered. How can I fix this?
dreamwave said:
I can already download stuff. Is it a common problem with L for this to happen? I've looked it up and found little to nothing.
Click to expand...
Click to collapse
No it's uncommon. I've only sewn it for people using recovery or adb to push and pull sdcard folders.
Download and flash this zip via recovery.
http://forum.xda-developers.com/attachment.php?attachmentid=2849968&d=1405300107
and it seems that for any kind of panorama or photosphere it still crashes
they crash with an event trace of java.lang.NullPointerException: attempt to invoke virtual method 'void java.io.FileWriter.close()' on a null object reference
at
com.google.android.apps.lightcycle.panoramamodule.stopcapture(panoramamodule.java:802
etc
etc
etc
Its permissions, we know that. Please flash the fix I posted before anything else.
rootSU said:
Its permissions, we know that. Please flash the fix I posted before anything else.
Click to expand...
Click to collapse
Ok, so pushing it to the sd with adb won't break even more permissions?
dreamwave said:
Ok, so pushing it to the sd with adb won't break even more permissions?
Click to expand...
Click to collapse
Why would you need to do that? You can download it direct to your phone.
rootSU said:
Why would you need to do that? You can download it direct to your phone.
Click to expand...
Click to collapse
ok, I flashed it and my phone is rebooting
dreamwave said:
ok, I flashed it and my phone is rebooting
Click to expand...
Click to collapse
Cross your fingers.
rootSU said:
Why would you need to do that? You can download it direct to your phone.
Click to expand...
Click to collapse
thanks so much, that fixed it completely!
dreamwave said:
thanks so much, that fixed it completely!
Click to expand...
Click to collapse
No problem.
The adb (or TWRP MTP) only seems to break permissions if you're pushing folders. Pishing individual files should be fine.
rootSU said:
Cross your fingers.
Click to expand...
Click to collapse
is this problem new to android l or has it been around a while? I'll also admit I do a lot of adb push/pull/commands and such, and for a lot of the time need to because I only have a wired connection with my computer at school, is there a way to avoid this problem in the future?
dreamwave said:
is this problem new to android l or has it been around a while? I'll also admit I do a lot of adb push/pull/commands and such, and for a lot of the time need to because I only have a wired connection with my computer at school, is there a way to avoid this problem in the future?
Click to expand...
Click to collapse
Its not related to L at all. Files should be fine to push. Its just folders I think that cause the issue.
While not so simple, but the result is. MTP too working.
Phone is OREO .
rambik33 said:
While not so simple, but the result is. MTP too working.
Phone is OREO .
Click to expand...
Click to collapse
Which TWRP are you using?
https://forum.xda-developers.com/p9/development/emui-8-decryption-guide-wipe-t3906245/post79018066
Which stock ROM (c01b540) do you have?
Are you following this guide from Honor:
https://forum.xda-developers.com/honor-8/development/twrp-honor-8-emui-8-t3886862
rambik33 said:
While not so simple, but the result is. MTP too working.
Phone is OREO .
Click to expand...
Click to collapse
Did you use probably this TWRP ?
https://forum.xda-developers.com/honor-8/development/twrp-honor-8-emui-8-t3886862
And did you format data, like described in this Thread?
Or to you have a new TWRP, which does support data encryption by default (like other TWRPs for some devices...) ?
If you have special knowledge how to manage access to internal storage on P9 - why not share it with the Users here on xda officially, instead to make a secret?
rambik33 said:
While not so simple, but the result is. MTP too working.
Phone is OREO .
Click to expand...
Click to collapse
Made it also for AL10c00b540:
https://forum.xda-developers.com/showpost.php?p=79597320&postcount=17
Hello,
Is there a way to make an android application something closer to a system application?
I need the app not to be restricted in terms of background/foreground running, notification limit, sleeping mode, or such things.
I have access to the device.
I don't know a lot of stuff about this so please feel free to ask for further clarification.
grrigore said:
Hello,
Is there a way to make an android application something closer to a system application?
I need the app not to be restricted in terms of background/foreground running, notification limit, sleeping mode, or such things.
I have access to the device.
I don't know a lot of stuff about this so please feel free to ask for further clarification.
Click to expand...
Click to collapse
If you are rooted, you can make it a system app. Please clarify if you have root privledge. Do you have ADB access?
So you want to to have max permissiom? What is your real goal? Like the root cause of why, as you may not need what you are asking for. Also, what’s the app?
Arealhooman said:
If you are rooted, you can make it a system app. Please clarify if you have root privledge. Do you have ADB access?
Click to expand...
Click to collapse
No. The device is not rooted.
Arealhooman said:
So you want to to have max permissiom? What is your real goal? Like the root cause of why, as you may not need what you are asking for. Also, what’s the app?
Click to expand...
Click to collapse
The app has some services that need to run non-stop and it needs to wake up the device every time there is a notification. I cannot tell you about the app as it is work-related, sorry.
grrigore said:
No. The device is not rooted.
The app has some services that need to run non-stop and it needs to wake up the device every time there is a notification. I cannot tell you about the app as it is work-related, sorry.
Click to expand...
Click to collapse
Ah, i have no idea how your device works, but this may help: https://dontkillmyapp.com/
Arealhooman said:
Ah, i have no idea how your device works, but this may help: https://dontkillmyapp.com/
Click to expand...
Click to collapse
I've tried some of that but the system would still put my app to sleep.
grrigore said:
I've tried some of that but the system would still put my app to sleep.
Click to expand...
Click to collapse
Can you use Adb? Did you find some switch on your device that says it will turn off optimization.
Arealhooman said:
Can you use Adb? Did you find some switch on your device that says it will turn off optimization.
Click to expand...
Click to collapse
Yes, I can use ADB. There is a setting I've just discovered and I'm going to try it, but I'm still interested in other ways.
Well… use the string
Arealhooman said:
Well… use the string
Click to expand...
Click to collapse
I will, but if you have some resources on this matter I'd like to get them.
The Adb soulition is to remove doze mode,w high is a bad idea unless your really really need it.
Arealhooman said:
The Adb soulition is to remove doze mode,w high is a bad idea unless your really really need it.
Click to expand...
Click to collapse
Why is that a bad idea? The app is supposed to work 100% of the time. I mean the device is basically just for that app.
grrigore said:
Why is that a bad idea? The app is supposed to work 100% of the time. I mean the device is basically just for that app.
Click to expand...
Click to collapse
Ah, you could try it, but it disables dose for everythin, so that battery life would take a tremendous hit. If the device is connected to a charging source all the time, it would not matter though.
Arealhooman said:
Ah, you could try it, but it disables dose for everythin, so that battery life would take a tremendous hit. If the device is connected to a charging source all the time, it would not matter though.
Click to expand...
Click to collapse
Yes it is. I know there are some tradeoffs but the 100% running time is the goal.
grrigore said:
Yes it is. I know there are some tradeoffs but the 100% running time is the goal.
Click to expand...
Click to collapse
if you’d ant, try it, but if you found a better way, use that. Do you want the Adb code?
Arealhooman said:
if you’d ant, try it, but if you found a better way, use that. Do you want the Adb code?
Click to expand...
Click to collapse
I could use some help. I don't have much experience with this. Tutorials would also help or any other resources.
Enable USB debugging, Downlaod platform tool, open powershell in platform tools folder, give pc access to device data, run “adb devices” To see if works. If that doesn’t work, try “./adb devices” or “.\ usb debugging “
Arealhooman said:
Enable USB debugging, Downlaod platform tool, open powershell in platform tools folder, give pc access to device data, run “adb devices” To see if works. If that doesn’t work, try “./adb devices” or “.\ usb debugging “
Click to expand...
Click to collapse
I was able to adb shell into it.
Does adb devices work?
Arealhooman said:
Does adb devices work?
Click to expand...
Click to collapse
Sorry I got no notification for this. Yes.
Run
Code:
adb shell dumpsys deviceidle unforce