open rooting tools for QualComm 425 Android 7.0 on Linux host with android studio ? - Upgrading, Modifying and Unlocking

Good day -
I am looking for the best open-source method to root my new Android 7.0
AGM A8 (qualcomm 425 snapdragon chipset, 4x AARCH64 cores) when it arrives.
I am a programmer (not a mobile device expert) with latest Android Studio + NDK
installed with Android 24 & 25 platforms for aarch64, on a Linux x86_64 Workstation.
I do not run Windows, though perhaps WINE might be a possibility; I can run Java, of course .
I will not root my device until I can assemble the source code
/ scripts and build an unlocking tool that I can read and understand - I do not want to
put my entire device security in the hands of a closed-source application that I cannot
read or build - especially one that risks bricking the device.
Please, does anyone know of an open-source rooting tool that will work for my device that I can build
and run with Android Studio ( IntellIJ Idea + SDKs + NDK + LLDB ) - on Linux ?
I also have Qt5 Designer & latest Java tools & gcc-6.3 & glibc-2.25 & binutils-2.28 & many frameworks installed .
Any suggestions gratefully received .
I have found : https://github.com/android-rooting-tools/*.git
but it looks like these take some time to learn how to use & are potentially dangerous
and not likely to work for Android 7.0 .
Ideally, I'd like a tool I can read (in C, C++ , Java, or Python or PERL or shell scripts) , build on Android Studio, run under emulator for testing,
and then push to device and run on device . Is there any such out there ? If not, it may be a long road, but I will follow till I get there / find one / write one.
Thanks & Regards,
Jason

Related

GT-I9000 development limitations without Windows?

Hello
I've been trying to figure out (by googling a *lot*) what the limitations are for non-Windows developers with the GT-I9000. Samsung's SDK is Windows only, but maybe it's not the end of the road?
Some concrete questions:
* Do you need Windows to get an adb session?
* Do you need Windows to root the device?
* Do you need Windows to cross compile native code?
* Does the stock Android SDK from Google work?
* What do you actually loose without Samsung's SDK? E.g. the BONDI API's?
I really want to buy this shiny monster, but I also *never* again want to suffer Windows, and especially not for development.
Best regards / Klas
AFAIK there is no "Samsung SDK"
check this http://developer.android.com/sdk/index.html
the sdk is available for windows, osx & linux
hope this helps
My mistake, it's called "Bada SDK". And at least for the GT-I9000 it's for Windows only. Apparently the Bada Linux platform includes support for some novelty API's such as BONDI (to access e.g. device file system from web apps) and these have no support in the regular Android SDK.
I can live without these device specific API's, I just don't want to have to use the Bada SDK to do anything *else*.
Google's SDK is eclipse based and is available for windows, linux and osx like stated above. I'm running it in 64 bit ubuntu (lucid lynx) and have little problems doing so.
Sent from my GT-I9000 using XDA App
How about just running Windows in VirtualBox for the neccessary parts.
Darkstriker said:
How about just running Windows in VirtualBox for the neccessary parts.
Click to expand...
Click to collapse
I had much problems with trying this under mac os x.
VMware and VirtualBox dont show the i9000 as USB-Device...
My experiences with connecting USB devices to virtualized environments are also poor. Not that it matters much: I am curious what development capabilities you *loose* if you can't/won't use Windows -- not how to run the Bada SDK in a virtualized environment. No one seems to be overly concerned about this (a good sign so I'll go ahead and order the phone.
Klasa said:
My mistake, it's called "Bada SDK". And at least for the GT-I9000 it's for Windows only. Apparently the Bada Linux platform includes support for some novelty API's such as BONDI (to access e.g. device file system from web apps) and these have no support in the regular Android SDK.
I can live without these device specific API's, I just don't want to have to use the Bada SDK to do anything *else*.
Click to expand...
Click to collapse
You don't need the Bada SDK at all, because Bada is a different platform used on other Samsung phones like the Samsung Wave S8500. It's not Android or related to Android, other than both (potentially, in Bada's case) being based on Linux.
the galaxy is running android os from google - the wave is running the bada os from samsung.
as such i think the OP has confused the above fact and thinks the galaxy is running bada hence referring to a "samsung sdk". galaxy s GT-I9000 runs google android, for which google has released a multi platform SDK
The poster may need to be aware that the descriptor for usb detection is broken for it currently, and has been for a little while. It's not really plug and go.
You'll need to follow the usual instructions to setup your android dev, then possibly compile a adb with support for the galaxy s. I hope I can be proven wrong for that though.
Superroach said:
The poster may need to be aware that the descriptor for usb detection is broken for it currently, and has been for a little while. It's not really plug and go.
You'll need to follow the usual instructions to setup your android dev, then possibly compile a adb with support for the galaxy s. I hope I can be proven wrong for that though.
Click to expand...
Click to collapse
Compile abd, why? The old sdk does not see galaxy S but the latest one does. And if you have problems on linux with adb not seeing your phone try running adb with root user.
Thank you guys.
I havn't checked again, but I was under the impression that Bada is the underpinning of Android on I9000.
The only thing left to understand about the vendor's platforms underneath Android is why Google didn't set it all up with Debian packages. A common repo could keep vendor specific variants of components neatly isolated; Isolated and distributable without the fuss of trying to figure out what is compatible with what. I just want to run something like
Code:
apt-get install android-gti9000-dev android-sdk --rootdir=$MY_CHOICE
on my workstation and have the SDK, device sources, other host tools, and IDE plugins installed to some working directory of my choice. That would be great

[Q] Guide for developing

Hi, is anywhere guide for developing.. i want dev too but i dont know how
What you want to develop? Kernel? System? Both?
on which host (Win/Linux/Mac)?
i want to dev too
i want do dev both kernel and system on windows ... so any advices? and thank you in advance
(EX/OR)
i want to develop both but maybe ony system. because when i wil dev kernel, i will can brake my phone
and im on win exactly win7. but on Notebook i have linux.. so its Win or Lin
And im think it will be better with guide.. Later can be more developers and it is better because updates release frequently
It is possible to put together a build using windows, but for serious development work you will need a Linux system for compiling, building from an already developed base only requires a good text editor, ( not notepad), and 7zip really.
so i need only good text editor? and source data.. its all?
and what sam knowledge of C/+/++/# Java.. nothing?
C for kernel
java for system
linux for both
Develop on windows is quite painful and on mac there are some problem with libs.
The only good system for fast develop is linux. Use a virtual system and setup a simple virtual machine with linux.
Then follow the fresh froyo thread to compile the first time (a lot of time).
Hi Michga,
have you development knowledge in any environment?
Are you for the first time approaching software developing?
Obviously you need programming language knowledge if you want to develop software (every kind of software: applications, utilities, system tools, kernel and so on)
moreafter, if you mind developing operating system's module (kernel, drivers and so on) you need deep understanding of general operating systems mechanisms in addition to specific knowledge about the OS you are developing for.
If this is your first step in software developing, I can suggest you try little application first, then step to system programming...
As a software is made up of simple text, as Zenity said, what you need is AT LEAST a good text editor and this is correct if you plan to write or modify simple pieces of software but if you mind to develop something more, a software developing environment maybe a better choice.
More, have a look at http://developer.android.com/sdk/index.html where you can find the SDK toolkit for Android.
Sorry not being more helpful: I'm a software developer but don't develop for Android yet... (Time... Time... Time... )
See you
thanks for answers.. i think it is all i need..thanks

[Q] Archos 5 Android Tablet Gen 7 ROM Development

I am new to posting in forums but I'm eager to learn. I have limited experience with ubuntu and linux in general. I am a college student but I have good knowledge of computers and know some language including HTML, Visual basic, SQL, C, etc...
I have a Archos 5 Android 7502 160GB version and I am looking for information on how I would be able to get help developing a ROM update for the Archos. I HAVE DONE MY RESEARCH. I've been looking this up since I got the device in December.
I know many drivers need to be adapted to the ROM for the archos to be able to run it. I wanted to know what Application I should use and if I can only do it using ADB bridge. (I know little about how the bridge works)
I have the Developer Edition Firmware from openAOS installed on the Archos. This installs a bootloader that can be edited with menu.lst on the device default folder. I also have 3 ROMs I can boot to: 1. Android 1.6 (Default OS) 2. Froyo 2.2 (In Development) 3. Angstrom Linux (comes with developer driver)
It is my understanding that the source code is available for the Archos Gen 7 Tablets on the Archos website. (Can't link due to being a new user)
Also gingerbread has its source code released. (Can't find link, yet...)
I was wondering what steps would be involved in adapting the drivers for the ROM for the Archos Gen 7 Tablet?
Also how much time would be needed to finish the project?
jimboobrien said:
I am new to posting in forums but I'm eager to learn. I have limited experience with ubuntu and linux in general. I am a college student but I have good knowledge of computers and know some language including HTML, Visual basic, SQL, C, etc...
I have a Archos 5 Android 7502 160GB version and I am looking for information on how I would be able to get help developing a ROM update for the Archos. I HAVE DONE MY RESEARCH. I've been looking this up since I got the device in December.
I know many drivers need to be adapted to the ROM for the archos to be able to run it. I wanted to know what Application I should use and if I can only do it using ADB bridge. (I know little about how the bridge works)
I have the Developer Edition Firmware from openAOS installed on the Archos. This installs a bootloader that can be edited with menu.lst on the device default folder. I also have 3 ROMs I can boot to: 1. Android 1.6 (Default OS) 2. Froyo 2.2 (In Development) 3. Angstrom Linux (comes with developer driver)
It is my understanding that the source code is available for the Archos Gen 7 Tablets on the Archos website. (Can't link due to being a new user)
Also gingerbread has its source code released. (Can't find link, yet...)
I was wondering what steps would be involved in adapting the drivers for the ROM for the Archos Gen 7 Tablet?
Also how much time would be needed to finish the project?
Click to expand...
Click to collapse
Well I'm only going to tell u this it will be a hastle... and considering the archos 5 being one of the oldest tablets out there and the developers out there still not having froyo completley developed yet... I would guess that the project would be a VERY long project to work on. But I do incurage you to make a rom for the archos 5... Oh one question is it the archos 5 you have or the archos 5 internet tablet...

Porting Kali linux / Kali Nethunter for P600 / P601 - We Need everyone's Help -

Hi there all ... as the Title says this thread is all about porting Kali Linux / Kali Net hunter ( esp Nethunter ) ... so , does anyone have any resource / any place to get some info , needed files from there ? ... also people , if you know someone which may be helpful , just let me know and I'll invite them so help us .... First , lets get some info about it :
The Kali Linux NetHunter project is the first Open Source Android penetration testing platform for Nexus devices, created as a joint effort between the Kali community member “BinkyBear” and Offensive Security. NetHunter supports Wireless 802.11 frame injection, one-click MANA Evil Access Point setups, HID keyboard (Teensy like attacks), as well as BadUSB MITM attacks – and is built upon the sturdy shoulders of the Kali Linux distribution and toolsets. Whether you have a Nexus 5, Nexus 7, or Nexus 10, we’ve got you covered. Our freely downloadable images come with easy to follow installation and setup instructions to get you up and running in no time at all.
Click to expand...
Click to collapse
as written here
also there is a guid for porting this to our device ... as said here
We need :
1- a Patched Kernel ( maybe @xluco can help us best because I'm just a noob about kernels )
2- a Device Built rootfs file ( I can but need help I can't do it myself ... anyone intrested in helping ? )
3 - a Tester Team ( I can help )
So All , please help give this device a KAli Linux and a Nethunter to make it uniqe and useful ... Thanks in Advance
With Best Wishes
Hitman1376​
Sounds awesome would we be able to dual boot? I will be willing to beta test if we can dual boot. I'm fairly experienced with linux so that should help. Also will the interface be optimized for touch at all? Also any particular reason for Kali over Ubuntu touch?
Sent from my SM-P600 using XDA Free mobile app
salam hamvatan
i bought my p601 more than 1 year ago and my main purpose was installing linux and specific kali linux which could be installed on note 10.1 2012 easily i lost my hope but i can help this project how much i can

SS USB 3.0 cross compile driver for Android - ax88179_178a Ugreen 20265

Hi everyone. I'm a Computer Engineer student. This is my fist post; I've taken a general look to the forum to place this thread at the best place, but please correct me if I posted it wrong.
Objective:
I want to cross compile the linux driver of the following device for an android system:
UGREEN USB 3.0 Combo—USB 3.0 Giga Ethernet + 3 ports USB 3.0 Hub
It's drivers can be found here under the item 20265.
It's ready for compiling for Linux, as you can find. You have a header file, an object file and a Makefile... file
ax88179_178a.h, ax88179_178a.c
It is distributed "under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version." So we can play around with it.
Target machine:
HP SlateBook 14 p000nb
With an Android 4.4.2: a KitKat.
More specifically with a kernel 3.4.66-ga643ae6, and with a compilation number 4.4.2-17r25.1-11-11
Steps followed:
Tools used:
I've read much documentation in the last 3 weeks, and I'm still unable to understand what the Kernel needs to use the driver.
I'm using 93.5 GB to host this tools.
I've established a build environment and downloaded the nearest kernel from the official git repository, as described here:
source.android.com
Specifically, this branch:
KVT49L android-4.4.2_r2 KitKat Nexus 7 (deb Verizon)
Independently, I've downloaded and set up an android SDK, and an android NDK, with an Android-Studio.
Sources of the investigation:
As it's said in the Android Compatibility Definition Document, Android devices must have an ethernet connection accesible as: java.net.socket and java.net.UrlConnection
None of the Accesories examples is used for Net connectivity.
None of the storage directives seem's to refer to an adapter, or a bridge, but to the storage itself.
HAL (Hardware Abstraction Layer) structures are used to bridge android to it's linux kernel's drivers.
Camera must use a HAL.
Sensors have a specific HAL called STUBE.
adb shell seem to be a way to cross-compile the driver for my specific android.
Android.net classes seems to be one of my targets.
What I understand it must be done:
To cross-compile to this specific kernel (from which I don't have the source... just the most approximetely official one), the .c and .h driver.
To write a HAL interface to connect the driver as an specific ethernet module.
Here is a short explanation of the android architecture.
I'll be posting all my advances here, but I'm stock right now since
I don't know where to find an ethernet hal stube example
I still don't know where should be my .c and .h files in the android source code to compile it together with the official downloaded source.
Please help me to understand how to manage to cross compile my driver.
Note: As suggested at other forums (also this one), if deleted libwvdrmengine.so from my /system/vendor/lib/mediadrm/ folder to solve it's insomnia problem...

Categories

Resources