[Q] Hacking Android phones using Ubuntu - Android Software/Hacking General [Developers Only]

Dear all,
I'm a newbie in the Android world and I'd like to know if it is possible to hack your Android devices using Ubuntu. All the guides I've found refer to using certain softwares (like Odin, SuperOneClick and so on) using Windows,
but as I don't have a Windows computer I'd prefer to manage hacking my phone
using Ubuntu.
In particular I'd like to understand:
0) How to perform a backup of my device ROM so that if anything goes ever
wrong I'm able to flash a working rom on my device;
1) how to root a device (I could manage in finding an update.zip and to root mine.. is this the general procedure or is there a Linux way to do this?)
2) what is needed to upgrade a device?
3) once I have collected all the required files for my device, how can I flash
the rom on it? What softwares like Odin do and how to replicate their behaviour using Linux/Ubuntu.
4) if anything goes wrong how can I restore the working rom (that I've backed up previously at point 0.
Thanks a lot in advance, I've tried searching a lot how to do this for my Galaxy GT-s5670 but I couldn't find anything useful.

Related

[Q] Is it necessary to root Android device to use QTADB?

[Hello All,
I am new to this forums and have questions regarding QTADB.
I have a Panasonic P51 phone with OS 4.2.1
I am using QTADB but not able to detect my phone when I open QTADB tool with my device connected to PC.
Questions:
1. Is it necessary to root the android phone in order to use QTADB tool?
2. How many features of QTADB I can use with unrooted and rooted android phone?
3. Does QTADB support my Phone yet?
4. How can I see/record real time video of apps running on my phone using QTADB? (e.g. as Reflection tool for iOS)
hope you guys answer all the questions specifically.
Thanks!!

[Q] Is it necessary to root Android device to use QTADB?

[Hello All,
I am new to this forums and have questions regarding QTADB.
I have a Panasonic P51 phone with OS 4.2.1
I am using QTADB but not able to detect my phone when I open QTADB tool with my device connected to PC.
Questions:
1. Is it necessary to root the android phone in order to use QTADB tool?
2. How many features of QTADB I can use with unrooted and rooted android phone?
3. Does QTADB support my Phone yet?
4. How can I see/record real time video of apps running on my phone using QTADB? (e.g. as Reflection tool for iOS)
hope you guys answer all the questions specifically.
Thanks!!

Rooting with Mac OSX? Heimdall?

Hi there,
I finally decided to root my Note Pro (P900), which is just 10 Days old (refurbished tho, so no warranty issues).
My Backstory (only read if you are bored
The main Reason for me is privacy. Coming from a Xiaomi Android Device with its excellent Permission Manager I was shocked at the Permissions some Apps require, that cannot be changed.
I did my research and tried a relatively unknown option named "Appguard". (Google actually removed it from the PlayStore after a short period of time, still available from their Website). This app was developed by a IT Professor at a german university with the help of his students. It allows to manage app permissions on the fly for installed apps and doesn't require root. However, this requires to reinstall the apps you want to monitor (no big deal) and it also allows apps to get PlayStore upgrades (great!). However as it functions without requiring root, there is no way to monitor system apps (including all the Samsung bloatware!).
I did further research and am now opting for the xPrivacy Plugin for the Xposed Framework.
This of course requires root to function. So here I am.
My device is a stock, unrooted P900 Wifi (32 GB) currently running 4.4.2 (KOT49H.P900XXUANI1). And, I'm on a Mac!
Bummer!
I understand that the current setup to gain easy root is using Odin on a windows machine (wich i dont have!)
I did some more research and found Heimdall. Its a multi platform tool that allows flashing Samsung devices.
Did anyone already try Heimdall and can maybe give me a hand on setting it up?
Does it even work with the P900?
Any other Methods rooting the P900 on Mac OSX?
Thanks a lot in advance!
For times when I need to use Odin I use windows in a VMWare virtual machine on my macbook. The VM image takes up precious SSD space on my rig though so when not in use I'll copy over the image to removable storage to free up space and then copy it back to the macbook when I need it.
Thank you for your reply.
Ive done some tinkering in the Meantime and it seems like at the moment there is no possibility for the P900 using Mac OSX.
There are actually two options (or one technique used by two programs). Both of them are open source, available for Windows, Linux and Mac and can be found on github.
One is Heimdall, which seems to work fine for older Samsung devices and actually uses a special kext to replace the samsung drivers on Mac OSX. It comes with a command line tool as well as a straight forward user interface.
The other one is JOdin3, a Java/Casual based program that can be used directly in the browser or downloaded and run as a java program. It also uses the Heimdall drivers, but offers a user Interface that looks and functions exactly like Odin, plus it inludes a "noob friendly" step by step process in the UI.
The problem is that the heimdall drivers are still having issues with newer samsung devices (including the note pro) preventing it to fetch the PIT file from the device.
As of now, April 23rd 2015 there is currently no way to root your device using Mac OSX
I'm currently downloading a virtual windows machine in virtualbox and will try to root that way.
I have no Windows license, but thanks to the Internet Explorer Team from Microsoft you can download already complete virtual Windows Enviroment for both OSX and Linux directly from the windows servers. For free!
Will report back once I rooted my device.
I successfully rooted my P900!
For those Mac Users out there interested:
I tried Virtualbox first, but it didn't work. I installed the exact same windows image (Win7 Enterprise) with VmWare Fusion and was able to detect my device using Odin with the latest official Samsung drivers.
I used Odin (v. 3.10.6) to flash TWRP Recovery (v. 2.8.6.0). You have to boot directly into recovery after flashing, otherwise the OS will revoke the custom recovery at the first boot.
I then used TWRP recovery to flash SuperSU (v. 2.46) from a USB Drive and made a full backup to the ext. SD card.
Currently downloading the Hyperdrive custom rom. Really looking forward to it.
Did you end up tripping KNOX?
Keep us posted on your progress.
KNOX will be tripped when you install a custom recovery via Odin.
So yes, my KN0X has been tripped.
I'm currently running the Hyper drive Rom with different kernels. Performance seems good and customization Options excellent. l have a problem with random shutdowns (not reboots), no matter what kernel l use.
Pretty sure It's related to the Rom setting/ Setup rather than root method. Some users of the Hyper drive Rom reported similar issues,' however l have to figure this out before university starts again on monday and i absolutely need the tablet for lecture.
If I dont find a solution for the shutdowns until sunday i might have to consider flashing stock + .Xposed

[Completed] guide me deep how to root Xolo Q600, back up, install rom and increase storage

I want to root my Xolo Q600 but I am very new to this.
Please guide me deep hoe to root, take nanroid back up, insatall rom and increase internal app storage.
Please be kind to help me.
Hello,
Welcome to XDA.
You'll have have to find all the details for what you want to do, that isn't the purpose of XDA Assist, our purpose is to point you in the right direction, its up to you to look where we send you for your answers, its up to you to understand what you find. You can post any questions about what you are wanting to do in the forum linked below. There is no specific forum for you device so you'll have to post questions and find your way based on replies from other members.
http://forum.xda-developers.com/android/help
The experts there may be able to help.
The Lava Iris 458Q and your xolo q600 are the same device, if you are viewing this site through mobile browser or browser on PC then look for the "search all forums" search box, type in xolo q600 or lava iris458q and then go through your search results looking for everything on XDA for those devices. You might find something.
Register an XDA account to post and reply in the forums.
Thanks for quick reply ... I found 3 post regarding xolo q600
but I fear that am I able to do it or not..
Also I am researching more and getting confused about some terms like firmware, xposed frames...
Also is it necessary to install SDK studio from google before start to root ur device...
What is difference between ADB, SDK, Universal Drivers...
Also I am unable to find how to increase internal app storage permanently...
thanks again
If I get success it rooting and installing custom Rom then i will definitely try rooting another devices and learning more and more about android.
Mangesh101 said:
Thanks for quick reply ... I found 3 post regarding xolo q600
but I fear that am I able to do it or not..
Also I am researching more and getting confused about some terms like firmware, xposed frames...
Also is it necessary to install SDK studio from google before start to root ur device...
What is difference between ADB, SDK, Universal Drivers...
Also I am unable to find how to increase internal app storage permanently...
thanks again
If I get success it rooting and installing custom Rom then i will definitely try rooting another devices and learning more and more about android.
Click to expand...
Click to collapse
1) firmware is the factory installed operating system.
2) Xposed is a custom mod that works on most rooted devices, it let's you customize whatever ROM you have on your device to add new features, this is not required to root your device, it is something you use after rooting. Cross that bridge when you get to it, don't focus on that right now until after you are rooted.
3)Generally SDK is not needed to root a device, SDK is required for building things in android such as ROMs and apps. You won't need to know that until you learn how to be a developer.
4)ADB stands for Android Debug Bridge, it is a program on PC that is used to connect device to PC so that PC can be used to manipulate the device depending on what you are doing, basically used to pull data from the device and to push data to the device. There are more complicated things that it does as well but it requires experience to understand what those things are and how they are used.
5)SDK stands for Software Development Kit, it is used to develop software of all kinds to be used on android, again, you only need to know that if you become a developer and takes a while to understand and master.
6) universal drivers are general drivers that are used in android operating systems, these work the same as on PC, they allow the device to use the various pieces of hardware on the device. Just like PC, the device can't use any of its hardware without the drivers.
You are really asking about things that you don't need to know until AFTER you get your device rooted.
You need to focus on discovering if you have locked bootloader first and how to unlock it if needed.
Then you need to focus on the root method for your device.
Then focus on getting custom recovery
Then focus on finding custom ROMs for your device.
Without those things and those things ONLY, all the questions you are asking are doing you no good. You are asking how to perform brain surgery which requires going to college and you haven't even graduated school yet. You are basically putting the cart in front of the horse instead of the horse in front of the cart, the cart can't pull the horse, the horse must pull the wagon.
Sent from my SCH-S968C using Tapatalk

modification pf stock/vanila android os

Dear all,
i am no developer. My knowledge of how android os even works is zero. I am but a simple android phone user. While using an android phone, I find myself wondering as to whether the stock/vanila android operating system can be modified such that it
1) has a termux-like terminal but with the capability of giving the user temporary root access something like in ubuntu
2) is possible to install it using a bootable flash disk instead of flashing only.
I hope that android developers can kindly let me know as to whether the above is possible or not.
With regards

Categories

Resources