Related
This thread is about my soon to come app called RootSuite.
What does this app do:
* It allows you to modify and optimize your phone/ROM without having to learn
how to use adb, shell scripts and programs.
Just choose whatever app you want to optimize, remove or
what extensions you want on your phone.
Just click your setup together... on your phone.
* It allows ROM developers to make a preset of scripts (clicked together or written
in RootSuite's own, easy scripting language) and let users choose whatever
modification they want.
ROM developers could package different themes into their ROMs and let people choose whatever theme they want.
How does this work:
Since every phone and ROM is different, giving users shell scripts to modify their
ROMs in just one way may work for some people but not for others.
Odexing for example requires a variable called $BOOTCLASSPATH
to define which framework files have to be loaded and optimized.
But the framework files are different for most ROMs you can find, wether it be Sense or non-Sense ROMs.
RootSuite just takes the scripts you made, takes the right $BOOTCLASSPATH,
converts the script to a runnable shell script and runs it.
That way it allows you to optimize your phone with a script made for your phone.
Another example: If you want to move an app from one directory to another,
you could have some small problems because when installing the apps,
Android renames the .apk file stored on the phone and adds an "-1.apk", "-2.apk" etc.
to its file name. So it's hard to use one script with a hardcoded path.
RootSuite finds the right directory + file name according to the package name it
was given in the script and allows you to use and modify the specified app however you want.
If you have questions about the app or have got some ideas for functions I should add, just post it in this thread.
And also, if you want to help me, please show some love and donate.
As I'm just an 18 year old student (and I'm writing this app in my spare time)
a donation would be a nice present. The donate button is in my signature.
Thumbs up from me
Why not use DSIXDA: http://forum.xda-developers.com/showthread.php?t=633246
and APK Manager: http://forum.xda-developers.com/showthread.php?t=695701 ?
No more forks are needed, only do better the existing solutions.
RootSuite is something very different.
My app basically allows modifications directly on the phone.
Why have to use a PC for some small changes a phone could handle itself too?
It also allows ROM devs to make some kind of settings app for closed source ROMs.
It really is something thousands of "noobs" could make use of too.
Think about it.
Yes please. Bring this on :d
great work..I wonder it...good job
Hi.. the idea is really great.... What is the status? Still this project is on?
Murali01 said:
Hi.. the idea is really great.... What is the status? Still this project is on?
Click to expand...
Click to collapse
It's as dead as dead can be.
beidl said:
It's as dead as dead can be.
Click to expand...
Click to collapse
Do you want me to close the thread?
Stay safe and stay healthy!
Regards
Oswald Boelcke
Oswald Boelcke said:
Do you want me to close the thread?
Stay safe and stay healthy!
Regards
Oswald Boelcke
Click to expand...
Click to collapse
We could turn this into a GIF signature appreciation thread, yours is good.
... Yeah, closing sounds reasonable.
beidl said:
We could turn this into a GIF signature appreciation thread, yours is good.
... Yeah, closing sounds reasonable.
Click to expand...
Click to collapse
THREAD CLOSED on behalf of OP!
Hello guys
I was thinking to create a simple build.prop editor. someone can help me where should I start. it's a simple project so I want to work myself to get some experience in android app development. As I know I have to provide root permission in android manifest. Xml but how the activity can read build.prop file
Thank you
Sent from my GT-I9100 using Tapatalk 2
Deleted
Root commands need to be executed the command line way.
You can get the content of a file using
Code:
cat <filepath>
For executing these commands I recommend using the RootTools library.
First of all get basic Linux command line knowledge.
nikwen said:
Root commands need to be executed the command line way.
You can get the content of a file using
Code:
cat <filepath>
For executing these commands I recommend using the RootTools library.
First of all get basic Linux command line knowledge.
Click to expand...
Click to collapse
So it means I should use Ubuntu
Sent from my GT-I9100 using Tapatalk 2
saif kazi said:
So it means I should use Ubuntu
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
No, it does not mean that.
If you want to do anything which needs SU permission, you need to do it without the Android API. You run a command on the built-in command line on your phone from your app. Now in Java you are able to read the output of the command and parse it to get the required information.
There is no other way of doing it because Android was not designed to be rooted.
saif kazi said:
Hello guys
I was thinking to create a simple build.prop editor. someone can help me where should I start. it's a simple project so I want to work myself to get some experience in android app development. As I know I have to provide root permission in android manifest. Xml but how the activity can read build.prop file
Thank you
Sent from my GT-I9100 using Tapatalk 2
Click to expand...
Click to collapse
I used this repo as a base for mine, see if it can be any use to you and try altering it as much as you can so you can see what your able todo
https://github.com/nathanpc/Build.prop-Editor
Nx Biotic said:
I used this repo as a base for mine, see if it can be any use to you and try altering it as much as you can so you can see what your able todo
https://github.com/nathanpc/Build.prop-Editor
Click to expand...
Click to collapse
Looks like he has already forked it.
https://github.com/saifkazi/Build.prop-Editor
If you want to release your version, have a look at the original license: https://github.com/nathanpc/Build.prop-Editor/blob/master/LICENSE
Nx Biotic said:
I used this repo as a base for mine, see if it can be any use to you and try altering it as much as you can so you can see what your able todo
https://github.com/nathanpc/Build.prop-Editor
Click to expand...
Click to collapse
Haha, I was about to suggest my project when I saw the Google Alerts email, but looks like you already did.
Thanks very much!
nathanpc said:
Haha, I was about to suggest my project when I saw the Google Alerts email, but looks like you already did.
Thanks very much!
Click to expand...
Click to collapse
No problem man!
Hi devs,
Cool sound effect library for Android at LittleEndian.com - SpectrumWorx SDK.
Check it out.
DanijelX said:
Hi devs,
Cool sound effect library for Android at LittleEndian.com - SpectrumWorx SDK.
Check it out.
Click to expand...
Click to collapse
Hmmm .... Cool ! .. Thanks for sharing ... :good:
niranjan94 said:
Hmmm .... Cool ! .. Thanks for sharing ... :good:
Click to expand...
Click to collapse
No problem, thanks.
Please feel free to try the demo version, there is a working Eclipse project available in the zip package.
Also, use our GUI tool to first create your sound effects, then transfer the sounds easily to your app.
:good:
DanijelX said:
No problem, thanks.
Please feel free to try the demo version, there is a working Eclipse project available in the zip package.
Also, use our GUI tool to first create your sound effects, then transfer the sounds easily to your app.
:good:
Click to expand...
Click to collapse
Demo version is based on the NativeActivity. I need to integrate with the Activity. When i run with the activity then there is a method setAppContext(JAVAVM:: jvm, jobject :: Activity) shows an exception VM aborting. How to resolve this issue.
Hi,
We can confirm there is a bug in current version. We will provide a fix for this in the next version 2.5, which we plan to release in April 2015. We hope you can wait?
Regards.
Firstly, I'm not an android developer, just someone who wanted to have this feature and decided to do it myself with the help of information on XDA and google. So my thanks goes to XDA for having this wonderful forum where users can share information to benefit the entire community. I thought there would be many like me who would want to have this feature on stock ROM and decided to share this.
Secondly as this is my first post I was not sure where to post it and therefore if this does not qualify for posting here the moderator may move this to the appropriate forum.
This patch is for i9295 on stock CNE5 deodexed ROM
FEATURES
-----------------
- Active Display
- Quick pin unlock (for pin and password)
- Double tap to sleep on lockscreen
- Wakelock for Secmms removed
KNOWN ISSUES
-------------------------
Lockscreen settings for when pin selected, Quick pin unlock and Double tap to sleep for some reason default to unchecked. It is ok when password is selected though but nevertheless works fine just select it if you want it to work before exit. I am not able to figure out the issue and would love some help here
CREDITS
-------------
0xD34D for his thread http://forum.xda-developers.com/showpost.php?p=45736797&postcount=2 on how to port activedisplay
loserskater for his thread http://forum.xda-developers.com/showthread.php?t=2279039 on how to enable quick pin unlock
Spegiliuis and Mythi for the various CM11 based ROM's with the above features from where I was able to port these
BDFreak for advanced APK tool which made decompiling and recompiling apk's from various roms simultaneously easy.
XDA and Google for helping me out in figuring and handling smali code and understanding how to debug and fix issues faced during porting.
Anyone else who I might have missed can let me know so that I can add them here
Screenshots for settings attached
-------------------------------------------------
REQUIREMENTS
--------------------------
Deodexed ROM
working CWM Recovery
UPDATE INSTRUCTIONS
-------------------------------------
- Download zip file ActiveDisplay_140711_0114.zip`
- Take a nandroid backup
- Flash zip using ClockworkMod recovery
- Wipe cache
- Wipe dalvik cache
- Reboot
- Enjoy!
In case any issues faced restore nandroid backup select advanced option and restore system only.
DISCLAIMER
--------------------
I am not responsible for bricked devices, locked phones. Please do some research if you have any concerns about features included in this Patch before flashing it! YOU are choosing to make these modifications.
DOWNLOAD LINK
---------------------------
ActiveDisplay https://drive.google.com/file/d/0ByY8uLVuRKD2cGt6STMtNXBmcU0
Revert to Stock https://drive.google.com/file/d/0ByY8uLVuRKD2VC1QM2VmUlFCZG8
Awesome job brother ... well done ... keep it up , i think that spegiluis needs a mention too.
sorry couldnt test this since m not thinking of tw now
mythi said:
Awesome job brother ... well done ... keep it up , i think that spegiluis needs a mention too.
sorry couldnt test this since m not thinking of tw now
Click to expand...
Click to collapse
Thanks Bro, I have edited the credits to include spegilius as well
Is there a way to make this working on Odex Rons?
Thanks and nice job!
vennon! said:
Is there a way to make this working on Odex Rons?
Thanks and nice job!
Click to expand...
Click to collapse
I can look inside, and may be add to my pack, if OP agree.
d8389 said:
I can look inside, and may be add to my pack, if OP agree.
Click to expand...
Click to collapse
No issues, you may go ahead with proper credits
vennon! said:
Is there a way to make this working on Odex Rons?
Thanks and nice job!
Click to expand...
Click to collapse
I have updated the zip at the below link which should work as I odexed my entire rom and pulled it out from there. Please try it out and confirm if working so that I can update it in the OP
https://drive.google.com/file/d/0ByY8uLVuRKD2NzZmcDJZRUNWc1E
JASONRR said:
I have updated the zip at the below link which should work as I odexed my entire rom and pulled it out from there. Please try it out and confirm if working so that I can update it in the OP
https://drive.google.com/file/d/0ByY8uLVuRKD2NzZmcDJZRUNWc1E
Click to expand...
Click to collapse
Didn't work, stoped on samsung logo and doesn't nothing more...
vennon! said:
Didn't work, stoped on samsung logo and doesn't nothing more...
Click to expand...
Click to collapse
Can you confirm your device if it is i9295 and you are on CNE5
JASONRR said:
Can you confirm your device if it is i9295 and you are on CNE5
Click to expand...
Click to collapse
Yes, it's! Look the attachment...
vennon! said:
Yes, it's! Look the attachment...
Click to expand...
Click to collapse
I have sent you a PM with the link to the revised files. Can you try and confirm if it is working
Anyone has tried the deodexed patch?
ROM MOD converted into full ROM with S5 style and apps posted in development section
http://forum.xda-developers.com/galaxy-s4-active/development/rom-super-wizcyan-s5-style-t2874424
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Project abandoned, please do not submit pull requests.
Disclaimer: The wordings in the thread are meant to be noob-friendly and for newer developers that have just dipped their feet into Android platform development. Hence, they won't be accurate in many places for the 'geek'. Also, we had started distributing shallow cloned sources with a depth of '1' instead of non-repo sources (as they are more or less of the same size). So this should not be a problem for the ROM developers in our opinion as they can be fetched by syncing.
Hello!
We, Android Developers, have many problems. One such of them is "SLOW INTERNET" or even "LOW BANDWIDTH".
Due to these problems, we are unable to sync the BIG chunk of Android source codes from the respective repositories.
Hence, most of the new and learning developers just fail at the first step: Downloading The Source Code!
So, here I present you with a thread, which contains links to download "HIGHLY COMPRESSED", untouched (unmodified) and full Android source codes of many different ROMs!
The links to the highly compressed source codes you will find here are not uploaded by me alone. There are many other people that have contributed.
Some of them are: @DigiGoon @MSF Jarvis and @regalstreak (me)
So, Let's begin!
First things first.
You should know what a repo is.
I quote XDA:
What is Repo?
Repo is a repository management tool built on top of Git.
It’s first purpose is to downloads files from multiple git repositories into your local working directory (aka the source tree). That means that you won’t have to manually download or fetch the latest changes from about 300+ projects (depending on if you are downloading AOSP, CM or AOKP for example), repo will do it for you.
The second purpose of repo is to made it easy to submit your code contributions for review to a Gerrit server.
Click to expand...
Click to collapse
When you download a source code with repo, you get a folder named .repo in your working directory. It contains all the compressed .git format files that need to be in the source code.
After the source has been downloaded, the repo tool decompresses the files from the ".repo" folder and you get the source code in the working directory itself!
This project will give you a highly compressed shallow cloned and full tarball of the sources (for those who can't download it via repo or have limited speeds on github/aosp servers). More information is given in the FAQ section. It is must-read. Without it, you won't understand how to use these.
Note: You cannot go from CM12 source to CM12.1 or going CM12 to CM13 as these are different branches on the CyanogenMod repo. No way doing that. You will have to manually download the new source.
So, We are done with the information!
Now, The interesting part. The sources!
Note: All links on this thread are tap friendly! They open in new tabs
I have divided this into several sections for ease of reading and getting the sources. They are:
Links Of All Source Currently Uploaded
How To Request For A Source
FAQ
Announcements and General Stuff
Reserved 2
As you know that we have been using the Skadoosh script recently, which is made by me (@regalstreak), @MSF Jarvis and @DigiGoon, all our sources are being uploaded to one common folder on AndroidFileHost.
This is an automated process in which you submit a Pull Request on the Skadoosh's git and the required source will be available to you soon after it.
More information regarding the process is on Post 3 by @MSF Jarvis
The link to the folder where all the sources are uploaded is Here.
The old upload afh folder can be found Here
If you have any other issues regarding the sources, please mention us here. We will be happy to help you. Please read the FAQ before doing stuff.
Originally, we have had a "Ask on the thread, we'll try" approach to how things work. This is changing now.
While this worked good enough for those asking for the sources, the people who did the actual work were overburdened. Frankly, the process was pretty sketchy. I personally faced the burden part when there were about 6 or 7 ROMs to do! I actually forgot about one guy who made the request earliest, which kinda sucked.
Going forward, this won't happen now. We have a script up on @regalstreak's Github. Updates to it are synced to my server and executed.
The process for requesting sources is now something like this :
Go to the Github repo and edit the compress.bash script
Start a Pull Request
Wait for it to be merged
Wait for even more time to let it upload and one of us to send the confirmation here.
Do whatever the heck you want with those sources!
NOTE: The compress.bash looks like this in a classic example of how to do it WRONG.
Code:
name=AOSP
manifest=[url]https://android.googlesource.com/platform/manifest[/url] -b android-4.0.1_r1
branch=android-6.0.1_r55
./skadoo.sh $name $manifest $branch
This was after This PR was merged and is being shown as the perfect way to mess it up. You are ALREADY passing the branch parameter separately, so adding '-b android-4.0.1_r1' looks like a shining example of blind copy paste. Don't do that. Change the name, manifest and branch with some general application of the faculty of common sense.
Interested users are also suggested to read this strongly worded post.
FAQ
Q1> How should I extract the source?
Ans:
First you will have to join the archive parts into one big archive. Download all the parts. Then put all parts in one folder. Verify md5sum by
Code:
md5sum -c *.md5sum
Then do
Code:
cat *.tar.* > yourbigarchivename.tar.xz
Just quote me if you don't understand this. I'll help you out.
If your archive is in .tar.xz format, do this:
Open Terminal
Now cd to the drive where you have downloaded the sources
Extract it
Code:
tar -xvJf (file name here).tar.xz
If your archive is in .tar.gz format, so do this:
Open Terminal
Now cd to the drive where you have downloaded the sources
Extract it
Code:
tar -xvzf (file name here).tar.gz
Now you have extracted the source.
Q2> I am not able to extract the source. What should I do?
Ans: You cannot extract source with GUI on the Archive Extractor. So, try the method I mentioned.
Q3> Is the size of all files 2GB? I saw the size 2GB on AndroidFileHost!
Ans: The mentioned size on AFH is incorrect. AndroidFileHost has some problems while showing file sizes for files above 2GB. You need to click on Download once to view the correct size!
Q4> How do you compress them? I mean, I need the command so that I can help you out!
Ans: Our script is open source. You can view it here: https://github.com/regalstreak/skadoosh
Q5> What are shallow and full sources?
Ans: Shallow sources are the ones that just have the latest or the HEAD commits in each subproject. You can read more about it from here. Full are the ones that have all the bits from the starting of the subprojects and hence the archives have a large file size.
Q6> How do I use these sources?
Ans: First, you will have to extract them as mentioned above. You should get a .repo folder. In the same folder itself (not inside .repo but the folder that contains .repo), you will have to update the local work tree. You can update it by using
Code:
repo sync -c -f --force-sync --no-clone-bundle --no-tags -j8
This command will help you to use minimum data/internet as it does not download extra tags or clone bundles.
If you do not want to use data at all, you can use this:
Code:
repo sync -c -f --force-sync --no-clone-bundle --no-tags -j8 --local-only
This will not fetch anything from the internet. Happy compiling!
Please press the "Thanks Button" if we helped you and quote us if you have a problem!
Announcements and General Stuff
Automation also has been made opensource now. You can view the source of the automation stuff at https://github.com/regalstreak/skadhook.git
All status of the sources is here: https://github.com/regalstreak/skadoosh/pulls?q=is:pr+is:closed
Reserved
Reserved for stuff.
Lovely
Thanks mate..... :laugh:
What if it's in tar.xz @regalstreak, most people including @DigiGoon use it for its extreme compression.
Sent from a Cool Phone stuck with crappy KingUser
Replies.. Replies only!
FireLord said:
Thanks mate..... :laugh:
Click to expand...
Click to collapse
No problemo bruh!
MSF Jarvis said:
What if it's in tar.xz @regalstreak, most people including @DigiGoon use it for its extreme compression.
Sent from a Cool Phone stuck with crappy KingUser
Click to expand...
Click to collapse
I have mentioned the steps in the FAQ! Please see it
Wow amazing work!
AsadP2013 said:
Wow amazing work!
Click to expand...
Click to collapse
Thanks!
Hope it helps!
MSF Jarvis said:
What if it's in tar.xz @regalstreak, most people including @DigiGoon use it for its extreme compression.
Sent from a Cool Phone stuck with crappy KingUser
Click to expand...
Click to collapse
Use tar -xJf file_name.tar.xz to extract *tar.xz....:good:
---------- Post added at 11:48 PM ---------- Previous post was at 11:44 PM ----------
regalstreak said:
FAQ
Q1> How should I extract the source?
Ans: If your archive is in .7z format, do this:
Open Terminal
Download 7zip if not done before (sudo apt-get install p7zip-full)
Now cd to the drive where you have downloaded the sources
7z x (file name here).7z
If your archive is in .tar.gz format, do this:
Open Terminal
Now cd to the drive where you have downloaded the sources
tar -xvzf (file name here).tar.gz
Now you have extracted the source.
Q2> I am not able to extract the source. What should I do?
Ans: You cannot extract source with GUI on the Archive Extractor. So, try the method I mentioned.
Q3> Is the size of all files 2GB? I saw the size 2GB on Androidfilehost!
Ans: The mentioned size on the thread is correct. AndroidFileHost has some problems while showing file sizes for files above 2GB.
Please press the "Thanks Button" if I helped you and quote me if you have a problem!
Click to expand...
Click to collapse
Hey, first of all....A BIG Thanks to you guys, you guys are awesome and keeping the spirit of xda to help your friends......
A request, Add the method to extract *.tar.xz as "tar -xJf file_name.tar.xz"
sumit yadav said:
Use tar -xJf file_name.tar.xz to extract *tar.xz....:good:
---------- Post added at 11:48 PM ---------- Previous post was at 11:44 PM ----------
Hey, first of all....A BIG Thanks to you guys, you guys are awesome and keeping the spirit of xda to help your friends......
A request, Add the method to extract *.tar.xz as "tar -xJf file_name.tar.xz"
Click to expand...
Click to collapse
Im glad that this index is helping youll alot! Yea sure.. Ill add that now!
Wow thanks man I'm really eager to get started but my internet speed had always let me down. But thanks to you guys I can finally start to build my own ROM. Thanks again guys much appreciated.
adil089 said:
Wow thanks man I'm really eager to get started but my internet speed had always let me down. But thanks to you guys I can finally start to build my own ROM. Thanks again guys much appreciated.
Click to expand...
Click to collapse
Me faced the same problems! But now i have managed to get a better isp [emoji14] happy this helped you!
(One req: Please spread this thread so people may know that highly compressed sources exist and they can even start with a bad internet connection!) [emoji1]
regalstreak said:
Me faced the same problems! But now i have managed to get a better isp [emoji14] happy this helped you!
(One req: Please spread this thread so people may know that highly compressed sources exist and they can even start with a bad internet connection!) [emoji1]
Click to expand...
Click to collapse
I will definitely spread this thread because I know a few people who may need it. It's the least that I can do. Thanks.
@Perseus should this thread be moved to Misc android development? So more people can see it? Or is it fine here...
The thread will be updated from nov6th.. Got exams [emoji14] Please hold on!
regalstreak said:
The thread will be updated from nov6th.. Got exams [emoji14] Please hold on!
Click to expand...
Click to collapse
Thanks man. Good look on your exams.
Thank you very much!
I always wanted to build a ROM but 18GB downloads always stopped me to do so. This is amazing!
However it could have been a little better if the archives were broken into parts so that they could be downloaded on two or more systems and on FAT32 SDcards (4GB max file limit).
Well done!