LinuxInstaller Compatibility-Patch - Defy Android Development

Because the App "Linux Installer" does not work very well on defy(missing /proc/config.gz and mkfs.ext*-binaries) I wrote a simple patch which adds these functionalities so LinuxInstaller will work without any problems.
This patches your android-system and NOT the LinuxInstaller-App.
After the patch has been installed every LinuxInstaller will work and you don't net to apply the patch again after updating!
The only important setting which you have to make in LinuxInstaller is to set the ext-version to 3(CM7) or 4(CM9 with ext4-support). ext2 is not supported by our kernel.
Description for Devs:
Code:
This does two things:
- replacing mke2fs-binary with another one which supports mkfs.ext2, mkfs.ext3 and mkfs.ext4
- installing ikconfig as kernel-module. this adds the node "/proc/config.gz" so the App can determine the phones configuration

Thank u!
will try...
Sent from my MB526 using xda premium

updated the zip with an addon.d-script this means that this mod will be kept even if you update your system. But since nobody downloaded the old zip in this short time it doesn't matter

I would like to try Linux on the defy but I've never done it before is there any chance you can add a guide in 1st post
Sent from my MB525 using XDA

Does BT5 work now?

NI55AN said:
I would like to try Linux on the defy but I've never done it before is there any chance you can add a guide in 1st post
Sent from my MB525 using XDA
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1585009
this might help new users.

Related

[Ubuntu on EMMC] Automatic Kernel Updater

This script, when called, will download lilstevie's kernel source, build the default configuration, and flash it.
Thanks to lilstevie for the whole Ubuntu on emmc.
Let me know how it works
UPDATES:
12.4.2011
-Updated to ver. 4
-Added update checking feature...
11.30.2011
-Update to ver. 1.0.1
-Fixed Grammatical Error
-Added git dependency in apt-get line.
11.28.2011
-Initial release
link:
austinconn(dot)us(dot)to/repository/kernelupdater.sh
(Reason I have to post link like this is because I haven't posted enough. Will change when able...)
atc3030
Thanks, makes life a little easier.
Actually, i have some commands which come in really handy when you use ubuntu on a tab.
sudo apt-get remove appmenu-gtk indicator-appmenu overlay-scrollbar liboverlay-scrollbar-0.1-0
This will remove the global menus and that annoying scrollbar so you have to use your mouse/trackpad less often.
*edit: Hard reboot right after the install-part.
*edit2 git was missing on my ubuntu-install. I'd suggest you to add it to your apt-get line.
looked at the script, nice
Although not that i think you care but you might:
echo "If all was done correctly, your kernel shoudl be upto date"
Click to expand...
Click to collapse
should
up to *two words*
Gonna update the script. what else do you guys want to see in it??? let me know what else would be useful and ill see about adding them
atc3030 said:
Gonna update the script. what else do you guys want to see in it??? let me know what else would be useful and ill see about adding them
Click to expand...
Click to collapse
Great work! It would be good if it could build the CIFS, TUN and NFS modules
mitchelln said:
Great work! It would be good if it could build the CIFS, TUN and NFS modules
Click to expand...
Click to collapse
If you can get me like a guide or something to do that, i would love to. im working on something else right now, but should be able to do that really quick. next update will have an update feature to automatically check for updates.
i know this is a noob question (i think you wil get more off them since the one-click installer for windows)
- how to correctly use this script
- will this affect the working off my dualboot configuration (for one click installer)
very excited for this. is there a guide for this script or can we just execute?
download the script, right click on the file and mark it as an executable under properties.
open a terminal, ch to the folder you´ve downloaded the script and run
$sudo ./kernelupdater.sh
I would love to get Linux Mint (any flavor, but considering our hardware, prob LMDE or LXDE is most realistic, although IDK if any debian flav is compiled for ARM?) built into a flashable image. Ubuntu is wasted on a machine with limited RAM and a non-standard file system.
I am not a developer, but I certainly would help as much as possible any person who would like to get moving and use our hardware to its fullest extent!
Like I said, any interested parties, please PM me.
Sent from my Transformer TF101 using xda premium
atc3030 said:
This script, when called, will download lilstevie's kernel source, build the default configuration, and flash it.
Thanks to lilstevie for the whole Ubuntu on emmc.
Let me know how it works
UPDATES:
12.4.2011
-Updated to ver. 4
-Added update checking feature...
link:
austinconn(dot)us(dot)to/repository/kernelupdater.sh
(Reason I have to post link like this is because I haven't posted enough. Will change when able...)
atc3030
Click to expand...
Click to collapse
This link yields not (even without the "(dot)" and all I can find on his site is html and a couple android APKs and zips. Can someone please repost the most recent kernel update/build script? Muchos Gracias
If anyone has this script lying around. Please pm me. I must have lost it in a data transfer
Sent from my DROID2 GLOBAL using Tapatalk
Here is a link to the file. I take no credit for the work, just reuploading it since the original version has been missing for a while now.
http://dl.dropbox.com/u/6990784/kernelupdater.sh

[CWM][SCRIPTS][TWEAKS] ThunderBolt! v2.3.2 - 12/31/11 [Governor Tweaks Again!]

pikachu01 said:
News
Updated ThunderBolt! to v2.3.2 with governor tweaks and bugfixes.
Introduction
ThunderBolt! is a script package by me, pikachu01 that combines a few notable tweaks shamelessly modified to the max as well as hacks and scripts that I came up on my own(and added tonnes of things over the months of development and testing). Without further delay, please read the rest of the OP
Features
Zach's modified system_tweak (I/O Sched, Readahead, VM, TCP, 3G, BFS/CFS tweaks)
Zach's modified screenstate_scaling script - VM Scaling
Darky's Zipalign script that actually works (modified it a bit to get it actually working. It was broken as is before this.)
Patched libsqlite that disables the need to fsync. Extremely fast database writes.
app_process from Fugutweaks and system_server from Honeycomb 3.2
Quasi-charged! - Only using Supercharger's script but with ThunderBolt!'s own LMK/ADJ/OOM. Supercharger Update9 RC3.2.
zipalign binary
sqlite3 binary
remount script - Included in /sdcard/bolt_scripts/
sqlite_optimize script - Included in /sdcard/bolt_scripts/
Benefits
Better performance, better battery life through Linux kernel tweaks catered for Android OS and flash memory.
Better battery life and performance through usage of screenstate_scaling whereby it switches governors/thresholds/VM depending on your screen state.
Better performance and battery life for database writes as fsync is not utilized anymore.
Better network throughput from TCP tweaks and 3G tweaks
Less RAM usage through zipalign. I found that market apps like Viber and PlantsVsZombies aren't zipaligned. Oh and Swype too. Surprised? Me too.
Reduced /dbdata, /data, /sdcard usage of *.db files and faster database access through defragmentization of sqlite db files (a lot of apps use Database to store data like Swype dictionaries, Game saves etc)
Faster disk access through remount script (noatime, disable barrier etc)
Less lags through Quasi-charger, with mutltasking (e.g. NFS shift + Opera mobile with 5 tabs fully opened and no lags)
Requirements
Android Gingerbread 2.3.x
At least 2MB free on /system (Delete unused ringtones or useless apps like Aldiko/Allshare etc).
Root
Kernel that supports init.d
Ext4 lagfix if you want to use the remount script
Downloads and changelogs are in the:
Original ThunderBolt! thread
Any support for Galaxy S SLC must be placed here rather than the original thread.
A few Galaxy SLC owners kindly asked me to post here so that the goodness of ThunderBolt! is shared to the masses.
Note: Some addons are device specific (labelled with i9000 for example). You can try using it, but it is not guaranteed to work. Something like 3G for i9000 should ring some bells as i9000 supports a lower speed compared to Galaxy SL.
Click to expand...
Click to collapse
Here is the EXACT Qutoe from pikachu01. Some Tweaks for our phone!
I saw it posted everywhere and not here!
Credits to Him!
Shamelessly copied xD
Just FLASH THESE!
http://forum.xda-developers.com/attachment.php?attachmentid=836362&d=1325312674
Add-ons are not for our phone. They are device-specific
MAKE A NANDROID BACKUP BEFORE FLASHING.
This looks useful... But the original thread is very long and confusing, and it has many many files..didn't see the specific file for i9003. Can you please post link to the exact file with simplified instructions.
Thanks
Sent from my GT-I9003 using Tapatalk
that's not for i9003!
only for i9001 .i9000.i9100
it will work on i9003 also
mustali said:
This looks useful... But the original thread is very long and confusing, and it has many many files..didn't see the specific file for i9003. Can you please post link to the exact file with simplified instructions.
Thanks
Sent from my GT-I9003 using Tapatalk
Click to expand...
Click to collapse
+1
For noobs like me, i dont understand how to use the script but want to use it. Maybe a simple instruction and single link to download the script is helpful.
Thanks in advanced for those who willing to help and sharing information.
kkrraazzyy said:
it will work on i9003 also
Click to expand...
Click to collapse
as-is and already tested and confirmed working? or needs to be modified to work on our phone?
after spending some times reading the original thread...
the first post I still can understand how it works.
There are many files attached in the first post, those with "restore" is to revert back to original if you already tweaks it. But none of them is for i9003.
the files "ThunderBolt-CWM v2.3.2.zip" is the main files for thunderbolt tweaks. Flashing instructions already included in the first post.
So, the second post...stuck at half way reading...confuse and confuse...
basically doesn't understand what will each script doing...
Why post a thread like this thats has been copied from the original op.you can just post the link..this could lead the adventurerous mind of sl user as per script is diffrent depending on the phone..copy pasting is a not good manner as the op did a hard job on making it..
Sent from my GT-I9003 using Tapatalk
Rohan has given all cedits to original developer so no problem in posting thread. I just want to ask that which files we should use or we have to modify as per our phone??? Also what is meaning of addon??? Rohan I think u should describe OP just a little bit.
Please send us the links(only) which we are going to download... i might get the wrong one and ruin my phone....
Wahaha123 said:
Please send us the links(only) which we are going to download... i might get the wrong one and ruin my phone....
Click to expand...
Click to collapse
Just FLASH THESE!
http://forum.xda-developers.com/attachment.php?attachmentid=836362&d=1325312674
Add-ons are not for our phone. They are device-specific
some tweaks ARE device specific
example-mount partitions
sakindia123 said:
some tweaks ARE device specific
example-mount partitions
Click to expand...
Click to collapse
Dude,
Flashed the above zip on
-> I9000 - Worked fine
-> HTC Desire HD - Worked Fine
-> HTC Evo Shift - Worked Fine
-> Galaxy S2 - Worked Fine
-> Galaxy Note - Fine.
-> iPhone 4S - Yeaah! I joked
Whats the reason to flash it?
Sent from my GT-I9003 using XDA App
HeathenMan said:
Whats the reason to flash it?
Sent from my GT-I9003 using XDA App
Click to expand...
Click to collapse
Please READ the link in the OP (The Quote)!!
Can you link the page btw the script version of the original post so we can update if new versions are released?
Sent from my GT-I9003 using XDA App
HeathenMan said:
Can you link the page btw the script version of the original post so we can update if new versions are released?
Sent from my GT-I9003 using XDA App
Click to expand...
Click to collapse
Uhhh? I have done it looong back? :/
anyone tried?
Does it has any conflict with UC kernel?
KPQ, UC-Kernel v7 non-oc - i dont notice any change? But its successfully flashed
Edit: since flashing my sd speed increase value is changing to 265 instead of 2048
Sent from my GT-I9003 using XDA App
Flashed ,Sd card read speeds have reduced but write speed increased.

[QA][4.1.1] CyanogenMod 10 for Galaxy 3

Here we can talk about CM10/JB
Here you can post Questions/Bugs about CyanogenMod 10 for Galaxy 3 developed by Marcellusbe
Only Rule - Do not ask for ETA. We all are excited about this port, yet please be patient.
Will try to keep it updated frequently.
Please stop posting your Question in the DEV thread to keep it clean.
Working
- SDcard
- openfimg
- Wifi
- Vibrator
- Sensors
- GSM (need to disable pin code)
- Screenshot
- Sound
- Internet connection
- Deepsleep kernel panic
- Bluetooth (big thanks to pmanian!)
- DSPManager
- UMS
- Mobile data
- backported xt_qtaguid and xt_quota2 for data usage stats (Data usage) - I feel thats a little buggy. Please confirm
Non Working
- Camera
- Video codecs
- Battery statistics
- Location services
- GPS
- USB Tethering
- Ring Tone looping (i.e The incoming call will play the ring tone only once)
Downloads
Minimal JB Google apps - 26-July-2012 (Google Now not included) - Thanks to butler1233
App2SD
Google Now
Google Now
Its a kind of work around to get your google search bar with "Google Now cards", but without voice.
Install Titanium Back up, remove the existing search application. :angel:
Install the new Google Now attached here (thanks to ilievski.ace) Just copy this to your sdcard and open it :fingers-crossed:
Open the application, just give next,next ....
When it ask for you to signin click "No, may be later" something like that...
Now you will be able to get the Google Now cards, results without voice , but Im not sure what and how its happening ... :highfive:
You have to type the commands in the search bar but who wants to type them here instead of in the app
Working
Remind me in *** minutes - Set the alarm in *** mins
Weather in *** - Gives the weather card
math calculations - Gives answer
How old is *** - Give age with image
Send text to (number) message ****
Not Working
Note to self - Not Working - Able to sense the action, but fc in the end.
Call ***
Send text to (contact name like mummy) message ***
Send email to
Will update this post if i get more info on how to get Offline Voice Keyboard.
I believe Google Now depends on some libs and other stuff apart from the apk, will try to find out and update here
The main prob may/will be the system free space, GoogleNow, Offline voice Keyboard these stuffs requires a load of space
Anandababu153 said:
Reserved again
Click to expand...
Click to collapse
good one ....
Will Kelly bean run smooth on our phone is it possible , or do we definitely need 3.4 kernel for jb to run smoothly on our phone
Sent from my GT-I5800 using xda app-developers app
sudersanmurthy said:
Will Kelly bean run smooth on our phone is it possible , or do we definitely need 3.4 kernel for jb to run smoothly on our phone
Sent from my GT-I5800 using xda app-developers app
Click to expand...
Click to collapse
Jb is running pretty smoothly. Of course, kernel 3.4 would Be beter.
sudersanmurthy said:
Will Kelly bean run smooth on our phone is it possible , or do we definitely need 3.4 kernel for jb to run smoothly on our phone
Sent from my GT-I5800 using xda app-developers app
Click to expand...
Click to collapse
Hillbeast is working hard to port 3.4 kernel to our device, as he stated 3.4 is no where near to use.
Marce is right now porting it using CM7 kernel. We can get a smooth JB, but not the smoothest, take it with a pinch of salt there.
Can I know who are the devs helping marcel with jelly bean
Sent from my GT-I5800 using xda app-developers app
sudersanmurthy said:
Can I know who are the devs helping marcel with jelly bean
Sent from my GT-I5800 using xda app-developers app
Click to expand...
Click to collapse
I hope, once marcel able to provide a "Flash-able build" he would add the credit list and Dev-list.
When devs use ths samsung kernel for developing, they have to change the ROM source code extencively to work with the kernel. Also many features like data usage manager and bluetooth strongly rely on kernel, and needs more than just kernel or ROM modification to make it work.
For bluetooth, samsung had very different ROM and KERNEL working together and was engeneered by the devs as they had all the code and knew the system.
On other hand, our devs don't have access to the whole source, and can't make the perfect ROM.
once the kernel 3.x Project is finished, the standard drivers in android will be more usefull.
I guess marcel is quite busy these dayz... imho the working list is good enough for the rom to be released to the public.. but after all its marce's project and he is more experienced. Anywayz, does any one know what is planned to be fixed before the first release. Cause the working list is now the same as ics (except mobile data) so being on ics now is not worth as we have better.
nishant_713 said:
I guess marcel is quite busy these dayz... imho the working list is good enough for the rom to be released to the public.. but after all its marce's project and he is more experienced. Anywayz, does any one know what is planned to be fixed before the first release. Cause the working list is now the same as ics (except mobile data) so being on ics now is not worth as we have better.
Click to expand...
Click to collapse
I too wonder the same I think he should have created the thread after completing build 1 , because I cannot control the excitement , well I think just thinking that he will release after fixing mobile data because it is very important let's hope right only he knows when he is going to release it
Sent from my GT-I5800 using xda app-developers app
What is UMS?
Sent from my GT-I5800 using xda app-developers app
SamG3apollo said:
What is UMS?
Sent from my GT-I5800 using xda app-developers app
Click to expand...
Click to collapse
You can check this link for UMS http://forum.xda-developers.com/showthread.php?t=1389375
Thanks
Sent from my GT-I5800 using xda app-developers app
SamG3apollo said:
Thanks
Sent from my GT-I5800 using xda app-developers app
Click to expand...
Click to collapse
You should click thanks button instead of posting thanks in words that is how it works that encourages members to help others , i am just saying i am not asking youto click the thanks button :angel::fingers-crossed:
Since now moblie data is on working list
Anybody try compiling this?
Wow.. mobile data works... great work.. im finding marc post to thank him
Hi
I am worried about camera. It has been the pain in the a$$ since cyanogenmod ports. Even now its not completely working on CM7 and 9

[APP][2.3+] AircrackGUI 1.2 / for bcm4329 and bcm4330 chipsets

[Update]
v1.2.1
-Added packets per second option to aireplay-ng
v1.2
-Added support for new method through bcmon.apk
v1.0.4:
-Put back support for GB2.3.3+
v1.0.3:
-Now it works on android 4.x+
v1.0.2:
-Fixed some bugs
-Uploaded "Logcat" version to debug debian output
Hi to all,
I'd like to present you my app, an aircrack-ng gui for the android phones which support monitor mode, i.e. bcm4329 and bcm4330 based ones.
It relies on the work made by the guys here: http://bcmon.blogspot.com/
thread on xda: http://forum.xda-developers.com/showthread.php?t=1892535
*** Download ***
You can download the apk from the attachment in this post. If you plan to use the new method, you don't need the debian image, and use bcmon.apk to enable monitor mode (download here). For the old method, with compiled module, you need the debian image here:
http://bitshare.com/?f=9qu56f6g
Mirror:
http://ge.tt/9GoRy9e
*** Installation ***
PREREQUISITES:
This program needs a rooted phone, with superuser/supersu, and busybox installed.
INSTRUCTIONS:
-New method (with bcmon.apk)
1. Install bcmon.apk from here http://code.google.com/p/bcmon/downloads/list
2. Enable monitor mode through the app
3. Load aircrackgui app and use it (switch to new method if necessary through settings menu)
-Old method (with pre-compiled module):
1. Extract the content of sdcard.rar to your sd card root, it will be /sdcard/aircrackgui
2. Compile your patched module and copy together with firmware in "module" subfolder (/sdcard/aircrackgui/module)
Put ONLY one module/firmware.
Here is a guide on how to compile the kernel + module (you have to replace the module sources with those from bcmon).
-You can always switch to both methods through settings menu-
Currently these chipsets are supported:
**BCM4329**
Mobile phones: Nexus One, Evo 4G, Desire, Desire Z, Wildfire S
Files needed: fw_bcm4329.bcmon.bin, bcm4329.ko
**BCM4330** (No packet injection)
Mobile phones: Galaxy S II
Files needed: bcm4330_sta.bcmon.bin, dhd.ko
Original work, firmwares, and some bundles here:
http://bcmon.blogspot.com/
3. Install AircrackGUI.apk
*** How to use ***
1. Start the application and click "Enable Monitor Mode" to load the patched drivers.
Once the controls are unlocked, scan for Networks (you can change the time to scan in seconds).
Select the desired Network, and start capturing on the second tab.
2. If you are attacking a WPA/WPA2 network, you can deauthenticate (broadcast/clients) to get the Handshake. Once you get it, you can stop capturing and start cracking, even though it's very slow on
phone, and would be better to do this from a pc. In the application folder is included a wordlist.txt
file that you can replace with your own.
The application picks the last captured file for cracking, so you can start cracking later, until you
don't capture again, however all the files are kept in "capture" subfolder.
3. If you are attacking a WEP network, you can start Fake Authentication on the first tab. You have to
start capturing first, because Fake Auth needs the channel to be fixed.
If the network uses Shared Key Authentication, you have to Deauth a client first to get the XOR file.
Once you get it (you can check the capture tab), restart Fake Auth, and it will use the file automatically.
Then you can start ARP Replaying on the third tab, to increase the IVS Capturing rate.
Finally you can crack the wep key using the same tab.
There is nothing in sdcard.rar
Sent from my HTC Desire using xda premium
blenaerts said:
There is nothing in sdcard.rar
Sent from my HTC Desire using xda premium
Click to expand...
Click to collapse
I checked the file, it's ok. Maybe you didn't complete the download correctly..
Ehi. Welcome to XDA, Deviato!
You finally moved to Android development!
Edit: I'll try the app as soon as I put my hands back into my old HTC Desire.
P.S. I know you since 12 years from other "boards".
nice one!!!
glad to hear cool programs like aircrack is going on phones.
it will support Xperia 2012 phones??
Hope it gets to all phones. Not working.
Sent from my SGH-T989 using xda app-developers app
will this work on galaxy nexus?
Could you give me a mirror link ?
I can't download it the file is broken and I must wait before I can download it again.
Ok, I'll say once for all:
this is only a GUI to aircrack-ng, it needs monitor mode drivers
So, don't ask support for your specific device, go check yourselves if your chipset is capable, from terminal:
Code:
getprop|grep chipset
or, while wifi is active,
Code:
lsmod
Currently only BCM4329 and BCM4330 (partial) are supported, to compile the driver follow the link on the first post, I've not developed the drivers.
About step 2, is there a way to compile the driver for cm10.1? Bcmon project provides pack for sgs2 cm9, but I prefer 10.1.
I hope I can find a way to dual boot ICS and jb to use this app fully. :good:
Sent from my GT-I9100 using xda app-developers app
julle131 said:
About step 2, is there a way to compile the driver for cm10.1? Bcmon project provides pack for sgs2 cm9, but I prefer 10.1.
I hope I can find a way to dual boot ICS and jb to use this app fully. :good:
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
You can use an older version of Dorimanx or Siyah. I believe 7.xx versions of Dorimanx can dual boot ICS and JB, but for 4.2.2 you'll have to use an older nightly (before new Mali drivers). If you ever decide to go on with this please report back :good:
For App Dev : Also Galaxy S I9000 have bcm4329.
Any hope for eventual support for Sph-L710 (sgs3)?
hospos said:
Any hope for eventual support for Sph-L710 (sgs3)?
Click to expand...
Click to collapse
That is depending if someone ports the driver for it. So, there is a slim chance.
Sent from my GT-I9100 using xda app-developers app
Great i waited 3 min to get the download link when waited i finally downloaded it, my downloaded file is named as sdcard.htm
posted by the Q Master, woepidooo
---------- Post added at 09:08 PM ---------- Previous post was at 09:07 PM ----------
Why no sg3 -.-'
posted by the Q Master, woepidooo
Dumb question: tried to rename to .rar?
coolnessQ said:
Great i waited 3 min to get the download link when waited i finally downloaded it, my downloaded file is named as sdcard.htm
posted by the Q Master, woepidooo
---------- Post added at 09:08 PM ---------- Previous post was at 09:07 PM ----------
Why no sg3 -.-'
posted by the Q Master, woepidooo
Click to expand...
Click to collapse
deviato said:
Dumb question: tried to rename to .rar?
Click to expand...
Click to collapse
No work
posted by the Q Master, woepidooo
I think there's some problem with android browser, you shoud download from a pc.
coolnessQ said:
No work
posted by the Q Master, woepidooo
Click to expand...
Click to collapse
coolnessQ said:
No work
posted by the Q Master, woepidooo
Click to expand...
Click to collapse
The file size is 88.2mb sir
Sent from my GT-I8150 using Xparent Skyblue Tapatalk 2
I just put a mirror link on the first post..

[APP][2.3+][ROOT][SUPERUSER] AnJaRoot - Android Java Root | 100% compatible with Xposed

[APP][2.3+][ROOT][SUPERUSER] AnJaRoot - Android Java Root | 100% compatible with Xposed
AnJaRoot stands for Android Java Root, and it's just that - a replacement for the previous generation of supersuer access on Android. The days of calling su to execute scripts in a limited environment are over, developers are now able to perform previously restricted actions directly from Java!
While I've tested AnJaRoot multiple times for the last weeks on emulators and real devices (4.3 and 2.3.7) I still consider it to be in beta phase. Please install it only if you are able to recover your device from possible bootloops.
AnJaRoot 1.1.0 is now 100% compatible to the Xposed Framework!
To get the latest version of AnJaRoot, go to the downloads tab or from the project homepage located at http://www.anjaroot.net/.
Installation
The prefered installation method is via sideloading/installing from sdcard the AnJaRoot Installer update.zip. The installer will automatch your device arch (armeabi, mips and x86 are supported right now). If the installer reports an error, you can find the installation logs on /cache. Please upload them to this thread or fill a bugreport so I can fix the problem.
AnJaRoot is also able to install itself via recovery. I've tested on the CWM recovery images, but it should work everywhere as no special tools are used except a shell in.
Uninstall/Failure Recovery
AnJaRoot is still new, you might need to uninstall it or recover from bootloops. To uninstall AnJaRoot use the provided uninstall update.zip, it will clean AnJaRoot from your device and should also recover you from bootloops.
Current Status
Please also note that AnJaRoot is currently not that interesting for endusers as no app out there has support for it. I will support developers with getting their apps running with AnJaRoot. Once you have adopted your app I will also list them here.
Adding support to your app
In order to use AnJaRoot in your app you have to utilize the provided AnJaRoot Library. Everything which should be needed for you is documented via JavaDoc comments (Online Version). Fir a reference implementation refer to the source of AnJaRoot Tester.
Developers
The project homepage lists some resources on how to integrate your AnJaRoot into your app. Please don't use this thread for questions regarding the Library, use this thread instead. It also shows how to get started hacking.
ROM Developers
AnJaRoot is currently not as easy as I want it to be integrateable. It's lacking a proper build system for ROMs and multiple changes have to be performed to change the package names (just for example). I will add support for it in the feature. Meanwhile you may just preinstall the lastest (signed by me) APK.
Key features:
Supports Android >=2.3 (Gingerbread, API level 9) on arm, x86 and mips
Developers have a nice and robust library to utilize AnJaRoot to unlock the full potential of their ideas.
Need to run native code as root? AnJaRoot can grant root also to subprocesses without the use of su!
Simple to install: Install via app or directly flash/sideload the update.zip (which is useable on all supported systems) from http://www.anjaroot.net/
Developers don't need to write hard to debug Shellscripts in order to issue commands as root, it was never easier to make use of superuser permissions.
Simple management UX for users
It's fully open source - AnJaRoot itself is GPLv3 licensed while the Library is published under the Apache License.
Future features:
Android 4.x multi user support
Full replacement for the previous SuperUser tools
Major UX overhaul (more options and a real design)
Support for custom ROM integration
Compatibility with the XPosed Framework
Disclaimer
While I've developed it and made sure that your device doesn't get damaged, I can't guarantee that nothing bad will happen. It's your responsability about what you do to your device. Please be carefull!
XDA:DevDB Information
AnJaRoot, a App for the No Device
Contributors
Luminger
Version Information
Status: Stable
Current Beta Version: 1.1.0
Beta Release Date: 2013-11-02
Created 2013-10-19
Last Updated 2013-11-05
Reserved
Apps which uitilize AnJaRoot
AnJaRoot Tester
Reserved
Changelog
1.1.1
AnJaRoot now supports a 'system installation' (directly from Android without support from a recovery system).
1.1.0
AnJaRoot is now 100% Xposed compatible!
AnJaRoot 1.1.0 and AnJaRoot Library are compatible with the old releases. But you have to reinstall via update.zip if you have AnJaRoot 1.0.0 installed on your device.
v1.0.0
initial release
This is soooo interesting!
This sure looks insteresting!! Can you share some piccs?? ^^
Sent from my GT-I9505 using app: XDA Premium and rom: CgoastINC Rom v14
coolnessQ said:
This sure looks insteresting!! Can you share some piccs?? ^^
Sent from my GT-I9505 using app: XDA Premium and rom: CgoastINC Rom v14
Click to expand...
Click to collapse
I've attached some picks to the devdb entry of AnJaRoot, it should be accessable from the tabbar above the thread. There isn't that much to see, most of the work was done under the hood, the UI is still WIP but it's functional
Luminger said:
I've attached some picks to the devdb entry of AnJaRoot, it should be accessable from the tabbar above the thread. There isn't that much to see, most of the work was done under the hood, the UI is still WIP but it's functional
Click to expand...
Click to collapse
Hope the xposed thing will be fixed
Sent from my GT-I9505 using app: XDA Premium and rom: CgoastINC Rom v14
coolnessQ said:
Hope the xposed thing will be fixed
Sent from my GT-I9505 using app: XDA Premium and rom: CgoastINC Rom v14
Click to expand...
Click to collapse
I'm currently working on a patch for Xposed. As we both mess with the app_process binary (xposed replaces it with its own version, I replace it with a wrapper script) this is a little bit tricky. Basically both xposed and AnJaRoot need to be aware of each other.
Luminger said:
I'm currently working on a patch for Xposed. As we both mess with the app_process binary (xposed replaces it with its own version, I replace it with a wrapper script) this is a little bit tricky. Basically both xposed and AnJaRoot need to be aware of each other.
Click to expand...
Click to collapse
Great cannot wait for it! ^^
Sent from my GT-I9505 using app: XDA Premium and rom: CgoastINC Rom v14
Luminger said:
I'm currently working on a patch for Xposed. As we both mess with the app_process binary (xposed replaces it with its own version, I replace it with a wrapper script) this is a little bit tricky. Basically both xposed and AnJaRoot need to be aware of each other.
Click to expand...
Click to collapse
Do you talk with Xposed dev? Maybe you can find one solution to rule all.
Or maybe check if Xposed is installed and then copy right app_process (xposed's app_process + your changes)
if its not installed then stock app_process + your changes
pyler said:
Do you talk with Xposed dev? Maybe you can find one solution to rule all.
Or maybe check if Xposed is installed and then copy right app_process (xposed's app_process + your changes)
if its not installed then stock app_process + your changes
Click to expand...
Click to collapse
I'm currently trying to patch Xposed the way it knows about AnJaRoot (and vise versa). Turns out to be just like you said, but there are still some problems I have to overcome (besides getting my patches accepted). Things are getting also a little complicated when a user has installed one, installes the other and removes again one randomly. It has to work well, otherwise the user will have boot problems (and nobody wants that )
How is progress?
Sent from my GT-I9505 using app: XDA Premium and rom: CgoastINC Rom v14
coolnessQ said:
How is progress?
Sent from my GT-I9505 using app: XDA Premium and rom: CgoastINC Rom v14
Click to expand...
Click to collapse
I've started developing it last evening, a proof of concept is half way done. It will require some more days of work to finish the PoC, rebuild it in production quality and testing. By the weekend I may have a Xposed compatible version ready. The library API will not change, only AnJaRoot itself will receive an update to 1.1.0, changes will not be noticable by AnJaRoot Library consumers.
Great will stay tuned for the update !!
Sent from my GT-I9505 using app: XDA Premium and rom: CgoastINC Rom v14
Just wanted to give a short status update: I've prepared a PoC over the last week/this weekend which does work on armeabi/mips/x86 and uses ptrace to do the AnJaRoot job on (at least) Android 2.3.3, Android 4.1.2 (this was a little bit more interesting as expected...) and Android 4.2.2.
I'm now wrapping it all up into a new AnJaRoot and AnJaRoot Library release. The new 1.1.0 version of AnJaRoot will work with the AnJaRoot Library 1.0.0, also the old Library will work with the new AnJaRoot 1.1.0 app.
So stay tuned, it will come out within the next days after I've developed the missing bits and pieces, tested it again and wrap it all up into the 1.1.0 release
Edit: If anyone is interested, development of the ptrace stuff lives in the feature/ptrace-impl branches on github.
Great cannot wait!
Works with xposed or still needs some fixes for it?
Sent from my GT-I9505 using app: XDA Premium and rom: CgoastINC Rom v14
Not supported for lenovo A1000
Sent from my IdeaTabA1000-G using XDA Premium 4 mobile app
coolnessQ said:
Great cannot wait!
Works with xposed or still needs some fixes for it?
Sent from my GT-I9505 using app: XDA Premium and rom: CgoastINC Rom v14
Click to expand...
Click to collapse
The new release will work with Xposed, it doesn't interfer with it at all - that was the whole purpose of the rewrite
vaiz said:
Not supported for lenovo A1000
Sent from my IdeaTabA1000-G using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Could you explain what is not supported/not working on the Lenovo A1000? I would like to address your issues, but I can't do anything about it without at least some informations.
Luminger said:
The new release will work with Xposed, it doesn't interfer with it at all - that was the whole purpose of the rewrite
Click to expand...
Click to collapse
Thats great news!! ^^

Categories

Resources