Need help with a root app - Android Q&A, Help & Troubleshooting

Hi im making an android app and it needs root permission well i found this http://code.google.com/p/roottools/wiki/Usage#Running_root_commands
but i cant make it to work can someone open mind a little bit and show me how it works plis maybe an example cuz when i try to run everything goes fine the supersu shows up but when i accept the permission nothing happens with the commands that are supossed to run as root!

moved

Related

[Q] Cant run .sh scripts

As the title says I cant run any .sh scripts root or otherwise. Anytime I try to run one even with root it says permission denied. When I try to install debian with Lil' Debi it says the same thing. On Lil Debi's issues tracker on github people say they have the same problem but there was no solution. I also tried using superuser instead of supersu as reccomended by one of Lil Debi's devs. Can someone please help me figure this out?

Need help manually rerooting my phone using ADB to push files

Okay so I was told to come here because my phone doesn't have its' own forum yet (Not at all surprising..), so I'm just going to quote my post back on the other thread that told me to come here instead.
Mc Fow1er said:
Okay so I've had this phone for little over 10 months now and within that time I've managed to achieve root (unreliable but it works at the very least) in that time as well as learned a fair amount about Linux and android alike (Not a whole lot but I know some stuff) though I've now come to the point of I actually want to give my phone a proper root instead of this faulty solution I have currently. I (barely) managed to get my phone rooted using Kingoroot and I've played plenty with my phones' innards in that time, removed system apps, added my own selection to the system but some apps in my phone that use root don't work even with root permission granted which is why I'm wanting to replace Kingoroot with ChainFires' SuperSU binaries, could anybody help me with simple instructions for someone who doesn't actually know very much regarding how root and SU bins work inside of android? My phone's using 4.4.2 kitkat.
Just a few disclaimers first to get misconceptions out the way:
1. I do not have a custom recovery nor is one available for my phone (Samsung galaxy young 2 (SM-S130H) for those who want to know)
2. I'm currently unable to use the internet on my phone as I lack Wi-Fi to do so (router is dead) so I'm manually installing app packages through ADB, so if something needs an internet connection on my phone it's not going to work for me, for now..PC still has net access.
3. I have access to ADB shells' SU but not ADB root so I hope you don't need that from me.
4. This phone does not have a fastboot mode. (That I can find anyway..) Only a download mode from what I've found.
Can anybody help me out with telling me what I'll need to be doing in regards to getting this done?
Click to expand...
Click to collapse
So, can anyone here knowledge on the matter can assist me with this instead of me having to figure it out on my own?

[Q] cloudfone Q005G not properly rooted?

You can skip this. Unless you're truly concerned :victory:
Hi guys. I'm new here. I searched on the forums and in google about rooting Q005G and no correct results. Therewas this guy searching for rooting a geo 47i something and other models. The closest answer could be here: http ://www .infotechmaestro. com/2016/01/how-to-root-cloudfone-kitkat-android.html?m=1 (remove spaces. I cant post urls, i think) but still, i can't trust it yet.
I am looking for a correct way to root a Q005G cloudfone properly because i rooted with kingoroot on my pc and, yeah, I finished it and all. It was easy... too easy.. which was suspicious. Anyway, you might say "your device is not compatible with kingoroot", well, it says on their page their root is compatible with anything before 5.1 android, and mine was a 4.4.2 kitkat. Also, it said there it is compatible with cloudfone. So I went ahead. Anyway, after "rooting", I tried to download a root verification/checker app and a terminal emulator. First I tried using the checker, and it says root was not properly implemented or smth. Then I checked the terminal, tested it first, then typed "su". It doesnt even show anything after, but I noticed $ was before the "su".
I unrooted (dont think it was even rooted in the first place) it and deleted some apps that was supposed to be prepared fpr my grand rooting, like the titanium backup, es file explorer, adaway, etc.
Any way to fix this? Thanks for any help and salamat :good:
Also, there may be typos and all. I'm using my mobile. And I'm not too great at speaking english.

Is there anyway to just give root permission to any app thought adb without rooting ?

Hey developers, I respect your hard work you put in making things happen in Android. I used app called 'custom navbar' which require permission from adb to run.
I was wondering if there is anyway to give other root require apps permission through adb to make changes in system, so you don't have to root your phone to run them?
It might sound crazy but I think it would be awesome to have such option.
Please let me know.
Thank you ?

Help rooting a T-Mobile Revvl Plus - (Coolpad/Yulong)

I tried using kingo-root and kingroot, both on phone and on computer. I am not sure where to proceed from there, but i will say it got to around 90%. The reason I want to root is to disable the boot animation or startup sound(s), which is not usually disabled automatically when I have my phone on mute. I tried the sound disabler app, it seems to not be working (the startup sound still plays).
----------------------------------------------------------------------------------------------------
Well I also noticed you can do a command get ver all, but its going to require someone with that has better phone skills than of my own .. also try command while connected to computer "adb pull system" without the quotes it got to 82% for me before it wouldn't write no more still have the files for system if anyone needs them for rewriting or porting in the bootloader ... also by the way i dont know if this will help but i have got the some of these it may be helpful?.. its in the pic.
Root revvl plus coolpad
Hi do you root the revvl plus how can I do please help me thankful
TRY THIS
SmartPhoneDeveloper said:
I tried using kingo-root and kingroot, both on phone and on computer. I am not sure where to proceed from there, but i will say it got to around 90%. The reason I want to root is to disable the boot animation or startup sound(s), which is not usually disabled automatically when I have my phone on mute. I tried the sound disabler app, it seems to not be working (the startup sound still plays).
----------------------------------------------------------------------------------------------------
Well I also noticed you can do a command get ver all, but its going to require someone with that has better phone skills than of my own .. also try command while connected to computer "adb pull system" without the quotes it got to 82% for me before it wouldn't write no more still have the files for system if anyone needs them for rewriting or porting in the bootloader ... also by the way i dont know if this will help but i have got the some of these it may be helpful?.. its in the pic.
Click to expand...
Click to collapse
Hi there,
Well you can use various different methods of Rooting your Mobile, try using One-click Root or use any other rooting software
As far as I have gotten but better than nowhere...
There's a file in the etc folder in the system folder at your root. Use Termux to command "cd /system/etc/" Then command "ls". You can see a unique file called xtra_root_cert.pem in that folder. Command "apt install joe"... Then "joe xtra_root_cert.pem" You can get the certificate hash from the text displayed. That is as far as I have gotten. Lord knows what to do with it. It's some sort of password to unlock the root I think... Maybe not but highly likely. Any devs know what to do with it or how to use it?
WatchYerBak said:
There's a file in the etc folder in the system folder at your root. Use Termux to command "cd /system/etc/" Then command "ls". You can see a unique file called xtra_root_cert.pem in that folder. Command "apt install joe"... Then "joe xtra_root_cert.pem" You can get the certificate hash from the text displayed. That is as far as I have gotten. Lord knows what to do with it. It's some sort of password to unlock the root I think... Maybe not but highly likely. Any devs know what to do with it or how to use it?
Click to expand...
Click to collapse
That would be an SSL certificate.
Any news about rooting this ?
I saw a log in a forum, where MAGISK SU was running on the phone...

Categories

Resources