[Q] Andriod rooting query - General Questions and Answers

Hi there,
I am a newbie in Android development. I was wondering if there is any generic way to temporarily root any android devices? Or does rooting depends upon manufacturer\Android version? I was able to root(via zergRush exploit) a Samsung handset which runs on Android 2.2, however it failed on other devices running on different version of Android. I am working on Windows 7 32 bit machine.
Please suggest.

I yout have compatible phone, you can use Farmaroot, it's one click apk, no need to use computer or cable.
see http://forum.xda-developers.com/showthread.php?t=2130276

According to the links given, it seems that the exploits(rooting) are processor\manufacturer dependent. I am into forensics, so installation of apk on the devices is not an option. Is there any published list of exploits for various Android devices? Please suggest.

You can root any device because you can upload and execute a blob but it's only possible to do this in /data/local/tmp folder. You can upload the exploit and make it executable and then let it crack android. Then you can upload su and install it permanently. Most likely the system is read-only so need elevated privilege.

Related

android rooting without a pc ?

hi, is it conceivably possible to root a fone with something like connect-bot. since it's local command-line shell has access to the directory tree above /mnt/sdcard , couldnt someone download the files needed for the root to the fone via the web browser and copy them to the correct locations with something like connect bot ?
i am new to android so i am wondering if there is a hole in my theory ?
thanks,
Depends on the phone really. Some need to flash files you normally can't while OS is still up. Some, perhaps?
There are root deployment applications which can be ran on some phones
Sent from my Verizon Supersonic using XDA App
thanks, i wonder if there is a roster of files that need to be updated/ replaced for rooting a 'samsung galaxy s2 epic 4g touch by sprint' (i hate that name).
the reason why i ask is because since android has a perfectly capable linux command-line and file browser then there is no need for windows. (i managed to install heimdall on fedora but i have a suspicion that the apb just runs the commands as if it was run directly on the fone).
Most of the phones need to connect into PC usb port... unfortunatelly
The way of rooting depends on which android version you are using. Some exploits allow applications to get root privilege; others, like psneuter(2.1) or zergRush(2.3.3) work restarting the ADBd with root privileges by making it believe it's running on a test(rooted) phone.
On the first case, I remember an application called "Universal Androot", which I used to root my first Android phone, SE Xperia X10 mini, when using Android 1.6. That app exploited some security error on the system, and gained root itself, so I rooted my phone without need of a computer. Also, for 2.3 API Level 9, I think GingerBreak has an android app which does the same.
For the second type(the most common), it's necessary to use a computer, as the only way to get the root privilege once exploited is via the ADB console "adb shell". The other processes will remain running with their original privileges.
^ thx for the explanation. kinda' like you cant upgrade the kernal of a running system.
hmm that would be nice if someone sort this out..
Like Z4?
HTC Thunderbolt running MIUI
sort of, but more related to android security: exploits like psneuter & zergRush attack ADBd to make it run as root. other exploits, like gingerbreak, give root privileges to the application which run the exploit(somehow equivalent to running "su" on the terminal)
Sent from my MK16i using XDA App

[Q] How to get Non-Root access on emulators ?

I am working on an awesome thread posted here http://forum.xda-developers.com/showthread.php?t=1886460
I have a query but can't ask at this thread as I am new to this forum so still not permitted.
The above mentioned link shows a method on "how to get root access to devices with a loophole present in Android".
I am working on Virtual Devices(Genymotion Emulators-Android 4.3) . The problem is that emulators, by default gives root access to us.
I noticed this thing when I executed 'adb shell' and I got root access. After small research, its true that emulators provide root access.
Can anyone please help me to get normal access to emulators ?
I want a shell as we get when we are working with adb and USB connected physical devices.
Any help will be highly appreciated.
Config*
Ubuntu 13.10, 32-bit.
Ecllipse 4.2 with ADT bundle.
Genymotion Emulators.

[Q] Samsung Galaxy Pocket GTS-5300 - android - win file transfer

hi all, i know this is a developers' community but it's also a unique source of information on related matters so inevitably here i am (an end user)
system:
pc: windows 7 x64 pro os
phone: samsung gts-5300 (galaxy pocket), android os (gingerbread xxlj4), ('rooted' following these instructions)
question:
is there a way to be able to manipulate files in the phone through usb cable with a windows program (like a file manager)?
or at least can it be done using console commands?
note that by 'files' i mean android os files too
the issues:
'rooting' that phone does not actually grant root access to the system files but merely grants access to the su app and a glimpse of the system files
so yes we say it's 'rooted' but you can't actually pull any system file to a windows folder for example bcz you don't have the permissions required
i have installed numerous applications, on the pc and the phone, android sdk, android commander, qtadb, droid explorer, adb insecure, rom manager so i suppose that if someone gives me a set of steps i could hopefully quickly reply the problem that comes up on each step (obviously i don't think there is a quick solution to this, i know im an optimist...)
as far as i can understand, adb insecure should be the solution to this problem for similar devices where 'rooting' is not actually rooting, but im having the already mentioned and i suppose resolved issue of it causing the usb debugging mode to go off, and the problem is noone in the related thread actually mentions how that problem is overcome
thnx for your time

How To Root Any Android Device Without A PC !include high end as Z3 & Galxy s6[Guide]

How To Root Any Android Device Without A PC !include high end as Z3 & Galxy s6[Guide]
How to Root Any Android Device Without A PC / Computer.
Hello Everyone.today I'm gonna show you How to Root Any Android Device Without A PC.
Welcome to “How to Root” guide.
Do you want to root your android device but couldn’t do so as you couldn’t understand the confusing process of rooting using your pc.
Now You can.
Root Your Android Device Without a PC / Computer.
This guide will let you root high end devices like Samsung Galaxy S6, Sony Z3 and as well as low end like Asus Zenfone,Zte,Micromax and Motorolla.
For those new to the world of rooting, root access is often used to install custom recoveries, which then can be used to flash custom ROMs, kernels, and other device modifications. Root access also enables users to install the powerful and versatile Xposed Framework, which itself acts as a gateway to easy, non-destructive device modification.
But after rooting be sure to install a SuperUser app which allows root to only devices which you recognize and save you from harmfull apps.
SuperUser – KingUser (To Unroot And Root)
One such usefull superuser app is KingUser by KingxTeam.It is the best alternative to SuperSu..and that too with android L material Design.
Root your device using:
#KingRoot
KingRoot is an amazing tool for “lazy people” who just want to get root access but don’t want to flash any third party Recovery into their lovely device. It is one of the most famous root tool in China and now we release English version here for everyone, totally free and without AD.
#FRAMAROOT – Root almost all devices.
Now you can root your android device without PC, just use framaroot. This app including several exploits named as the heroes of the book “The Lord of the Rings” Gandalf, Boromir, Pippin, Legolas, Sam, Frodo, Aragorn and Gimli. You can install Superuser and su binary on phone or tablet from android version 2.x to 4.x.
#TOWELROOT – If nothing works ..This will.
Created by Recognized Developer geohot, Towelroot is another root exploit app that is compatible with a large range of devices. The root exploit itself is built around Linux kernel CVE-2014-3153 discovered by hacker Pinkie Pie, and it involves an issue in the Futex subsystem that in turn allows for privilege escalation.So to sum it up..It ROOTS your device
#iRoot
iRoot has the advanced android root engine and secure android root technique make the success rate more than 90%.
Now more than 150,000 devices from Android OS 2.2 to 4.4 are supported by iRoot. This number is still growing.
#Z4Root
Another app for rooting your device without a computer…supports many number of devices.
You will be master of your android phone with just one click to root or unroot your android phone!
##How to Install And Root ? (For all Apps)
Download the apks and install.
Open.
Do any one from below.
Kingroot – Click root..Done. :silly:
Framaroot – Choose Supersu and any character below…Done. :cyclops:
Towelroot- Click Make it rain…Done.
iRoot – Click Root.
Z4Root – Select any type of root.
Done, Enjoy your rooted device. :laugh:
I'm Sorry i can't share with you download link because i'm new here.so kindly download which app you need using Google/Xda.you can find easily this app around the internet.
Z4Root doesn't work with Android versions beyond Eclair.
I could do anything with my Z5 even I've donwnloaded these file already
thank you

[Completed] HELP !! To Root a Tab..

Hi,
First of all Device specs :
Device : Quantum QPulse 100s (Not chinese, its middle eastern company)
Processor : Intel Celeron N2805 1.46GHz
RAM : 2GB
OS : Windows 8.1 Pro, Android 4.2.2 (Dual Boot)
So as the title says, i need to root my android, here goes my story...
I tried so many methods to root but was unsuccessful
Here are the points to first notice :
1. Android is a custom built android but build id matches with nexus phone ( idk why )
2.There is NO BOOTLOADER.
More on that :- The tab itself is a mini PC, and i found out it has BIOS, and in the BIOS I found 2 options,
a) EFI BOOT
b) Windows management blah something we are not interested right now.
I found out that android has an EFI boot and we can go to the EFI SHELL but i found no use of that.
3. You CANNOT connect it to a PC using a USB cable.
Ask why ? Because the tab itself is a host system and in no way can you connect a host to another host. Except maybe networking.
Now for the INTERESTING Things WE can USE :
I found a way to mount all the android partitions on the windows os and I can write to those partitions.
Now i did place supersu.apk, su, busybox to the folders they need to be, but in android terminal app it says su permission denied.
Probably some permission problems. I have tried giving chmod in terminal app and moving those files to system/bin later. But didnt work
Also no root apps, such as Kingroot, Towelroot etc are working.
Beware again - You CANNOT use USB using methods.
I need root so i can install gapps, and also because i like root.
So, I need The XDA help
Hi there,
Thanks for writing to us at XDA Assist.
There is no forum specifically for your device but you may want to ask your question with all relevant details in the general Android Q&A, Help & Troubleshooting forum.
Since your device is relatively uncommon, please be patient and give the experts plenty of time to respond.
Good luck
waiting...
3 day bump.. awaiting any useful reply..
I dont want anyone to go deep into the device but it would be useful to tell me how to root a android, whose partition is accessible from another OS ( windows 8.1 )
Please wait for answers in the Q&A forum.
Try using the generic tools like Framaroot, Kingroot, and so on...
Thread closed / New thread created

Categories

Resources