needs help rooting virtualboxed android or download a pre-rooted image for a VM. - Other Tools & General Discussion

I got my hands on a virtualbox image of android 4.0.2 (I think, or something similar)
I managed to install on it Titanium backup which I want to use to import all my backed up data from my physical android.
but it won't work as long as the virtual android isn't rooted. I need to root the virtualbox android image the quickest way
OR - the best solution would be a link to a pre-cooked-rom that is in the format of a virtualbox image.
any assistance will gladly be appreciated.

Related

[Q] Hacking Android phones using Ubuntu

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.

[Q] Installing any linux distribution on htc desire s

Hello,
I have bought the htc desire s in december'11 and I assess that I hate android and all the available custom roms so I try to get some other distribution to work on my desire s.
IMPORTANT: Please don't tell me something about the sense or how nice a chroot works, I am asking for a native installation guide.
All I want is a clean base-system (ubuntu/debian/gentoo/angstrom/...) that will boot.
Does someone know a way (howto/wiki/manpage ) to get a proper distribution to work on this device?
My Workflow:
-> install distribution
-> get wlan access to work
-> boot device with autoconnect (wlan) and sshd (openssh or dropbear)
-> connect via ssh and get an graphical frontend like X-server to work.
best regards
invalid id
Why did you buy an Android phone when you hate Android?
Anyway, are you planning to use the phone to make calls?
If so, you can't use any standard Linux distributions.
If you do some googling you should be able to find a guide to install Ubuntu and run X on it.
I think there's an official version for dual core phones, but unfortunately that does not affect this phone.
Ubuntu doesn't run native, but through chroot.
There are no native installation guides.
If you can remake any distribution to have 4MB kernel and load everything from another partition - you can try to make a native installation yourself. Look at the mounts in loaded system, look at the kernel code and see how you need to compile one, and make it.
Otherwise - sell the phone and buy something else.

[Q] android x86 twrp/cwm

this may sound stupid but has anyone thought of making a recovery like twrp or cwm for pc? like for users running it directly off their pc (not in a virtual machine). couldnt we boot a recovery directly from grub and make it possible to flash zips to android x86. just for ease of access..
bump, i like it too
Good idea I like it
nice!
Wouldn't be bad, but I guess not needed. You could get the same result by installing a light weight distro and use it as a recovery.

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

How to automate APK installation when flash drive is inserted into android tablet

We have an android tablet in production (rk3288 running android 5.1). How do I install a new apk on a rooted tablet when a flash drive is inserted? We need to be able to send a flash drive to customers who need a fresh install. Any guidance or direction on how to go about this would be very appreciated.
The tablet only has access to the app and the developer settings. Hopefully if the app becomes unresponsive this will help!

Categories

Resources