[Play Store] [ROOT] GTerminal - GCC Compiler - Android Apps and Games

{
"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"
}
https://mega.nz/#!CYUC2KzI!KnHmytu3EnTdxO16gWMC8YeiIRql2DSZYjqflwwcCC0[
/CENTER]
GIDR (named GIDE on the play store) is a ROOT application that installs a fully working GCC compiler on your phone. It works from the GUI as still from the Terminal. (Note that Jackpal Terminal is required to run this app.​
Features:
- GCC 5.2.0
- standalone install
- no delete on uninstall
- heavy install (250 mb on internal storage)
Known bugs / faults:
- UI sucks (yes it does )
- Takes very long time on extracting (up to 5 min on a s3 mini due to hardware restrictions)
Changelog:
1.1
- new design (sucks still)
- code improvements for faster extracting times (about 20 secs now)
1.0
- initial release
- added Material support
- created GitHub repo​
XDA:DevDB Information
GTerminal, App for all devices (see above for details)
Contributors
Thargorsson
Source Code: [url]https://github.com/PythonLimited/GTerminal[/URL]
Version Information
Status: Beta
Current Beta Version: 1.0
Created 2016-11-21
Last Updated 2016-11-21​

Reserved

Reserved #1

Is this still in the making bro? I am excited as hell for this. I have been searching for a month for an app like this. If u need any testers I would be more than happy to help

noob4598 said:
Is this still in the making bro? I am excited as hell for this. I have been searching for a month for an app like this. If u need any testers I would be more than happy to help
Click to expand...
Click to collapse
Jup i can send you test apps nearly daily. I'm actually implementing a new design along with full terminal support.

Thargorsson said:
Jup i can send you test apps nearly daily. I'm actually implementing a new design along with full terminal support.
Click to expand...
Click to collapse
Awesome bro that's sounds great. Send away. I will help any way I can. Bug reports, tests, you got it. My initial goal was to compile a kernel for my note 4 on the device itself but i havent been able to find a single guide or even a reference to someone doing it. A lot about compiling apps but none about compiling a kernel from source. I have a pc with manjaro and all the build tools but I can't carry that around with me all day and i know the note 4 has enough power to do it. If I knew enough and could build apps I would build one like a mobile android studio. Pick your source code, pick your toolchain, automatic detection of makefiles and such, built in make menuconfig, hit compile then boom....easy peasy.....here's your kernel sir. Haha. I know that would make things way too easy but what I don't get is with all the kernel developers, why nobody has made a kernel specific IDE..... just for compiling and modifying the android kernel......but anyway, damn got way off track there....shoot me the builds bro. And let me know what you need from me. Thanks

noob4598 said:
Awesome bro that's sounds great. Send away. I will help any way I can. Bug reports, tests, you got it. My initial goal was to compile a kernel for my note 4 on the device itself but i havent been able to find a single guide or even a reference to someone doing it. A lot about compiling apps but none about compiling a kernel from source. I have a pc with manjaro and all the build tools but I can't carry that around with me all day and i know the note 4 has enough power to do it. If I knew enough and could build apps I would build one like a mobile android studio. Pick your source code, pick your toolchain, automatic detection of makefiles and such, built in make menuconfig, hit compile then boom....easy peasy.....here's your kernel sir. Haha. I know that would make things way too easy but what I don't get is with all the kernel developers, why nobody has made a kernel specific IDE..... just for compiling and modifying the android kernel......but anyway, damn got way off track there....shoot me the builds bro. And let me know what you need from me. Thanks
Click to expand...
Click to collapse
Ok bro I'll send you the latest nightly build in about 1 hour. It has a new design (very simple but has error output). It downloads the GCC from my GitHub and then extracting it to /data/local/GCC. It creates links to /system/bin as well so you can test it out via terminal. It is a debug version so you can see logcat from it. One error I got (for now) is that it cannot unzip the GCC zip to /data in cause of permission errors but for somehow it copies. So that would be a starting point. And about your idea to create an IDE for Android and so on, GREAT that would be the goal for me. Cya later. Btw did you have Skype? Would be faster to talk to each other.

Thargorsson said:
Ok bro I'll send you the latest nightly build in about 1 hour. It has a new design (very simple but has error output). It downloads the GCC from my GitHub and then extracting it to /data/local/GCC. It creates links to /system/bin as well so you can test it out via terminal. It is a debug version so you can see logcat from it. One error I got (for now) is that it cannot unzip the GCC zip to /data in cause of permission errors but for somehow it copies. So that would be a starting point. And about your idea to create an IDE for Android and so on, GREAT that would be the goal for me. Cya later. Btw did you have Skype? Would be faster to talk to each other.
Click to expand...
Click to collapse
Thanks bro. Im excited as hell. No skype. I can probably get it. I do have telegram which I use and alot...mostly cuz it's so quick like sms. And quick is probably better because I would be grateful for your knowledge at times. I'm still learning...but only way for most to learn is by help from others with more skills and knowledge such as yourself. Do you build roms and kernels?

noob4598 said:
Thanks bro. Im excited as hell. No skype. I can probably get it. I do have telegram which I use and alot...mostly cuz it's so quick like sms. And quick is probably better because I would be grateful for your knowledge at times. I'm still learning...but only way for most to learn is by help from others with more skills and knowledge such as yourself. Do you build roms and kernels?
Click to expand...
Click to collapse
I'm actually teaching myself in.
Attached is the latest version.
Install it run it and then open up a terminal type in su and then you can run GCC / make etc.
Telegramm ist nice I'm gonna create a group.
Cya later

Edit c u tomorrow I have to sleep.

Awesome bro. Thanks.

What's this mean?

noob4598 said:
What's this mean?
Click to expand...
Click to collapse
That there was an error while unzipping :victory:
Ok if you are on Android 4.4 or above please go to settings->apps->GCC and ensure that storage permission is granted. Second did you allowed root access?
Third did you have BusyBox installed?
Fourth did you downloaded the file correctly? (Did the process has gone to 100%).
If you don't have root tell me then I will fix that.

I am on 6.0 MM and I have Systemmode Su 2.79. I made sure storage was granted and I keep my supersu set to always grant all. And busybox in xbin. Does it need to also be in sbin? Also wound mount namespace matter? I'm gonna attach screens

noob4598 said:
I am on 6.0 MM and I have Systemmode Su 2.79. I made sure storage was granted and I keep my supersu set to always grant all. And busybox in xbin. Does it need to also be in sbin? Also wound mount namespace matter? I'm gonna attach screens
Click to expand...
Click to collapse
Hmm check if there is a GCC compiler in /data/local/GCC then tell me.
It could be that it doesn't symlinks the files (that would explain the runtime error)

Oh yea I checked that first and it's there. Also .GCC hidden folder on sd. This is my path. Is there suppose to be a GCC/GCC subfolder

noob4598 said:
Oh yea I checked that first and it's there. Also .GCC hidden folder on sd. This is my path. Is there suppose to be a GCC/GCC subfolder
Click to expand...
Click to collapse
Ok then nice. Just go to bin and symlink those files to /system/bin
With those commands:
"ln -s /data/local/GCC/bin/arm-linux-androideabi-gcc /system/bin/gcc"
Replace the GCC with g++ or ar or ld.
Btw here is Telegramm Chat Link. Im Leonardo Meitz.
https://telegram.me/joinchat/COXZlz4B7y2wVqaqdQ6PbQ

Thargorsson said:
Ok then nice. Just go to bin and symlink those files to /system/bin
With those commands:
"ln -s /data/local/GCC/bin/arm-linux-androideabi-gcc /system/bin/gcc"
Replace the GCC with g++ or ar or ld.
Btw here is Telegramm Chat Link. Im Leonardo Meitz.
https://telegram.me/joinchat/COXZlz4B7y2wVqaqdQ6PbQ
Click to expand...
Click to collapse
No link bro to telegram.
https://telegram.me/joinchat/CkS7QUFTvf3Zse-PrnjpWw
I don't know how to add you other than this link.

noob4598 said:
No link bro to telegram.
https://telegram.me/joinchat/CkS7QUFTvf3Zse-PrnjpWw
I don't know how to add you other than this link.
Click to expand...
Click to collapse
Ok im in nro

I'm actually adding no root support. But there are some troubles with permissions in the /data folder so it will take about 1 additional day to work fully.
Attached latest test build. It extracts GCC now to /data/data/pythonlimited.gcc/GCC but the permission are still buggy so I can't execute GCC directly.
Will be fixed I promise.
Downloads
https://mega.nz/#!7A1RCKZb!4yBP6WuuuSmxY1v2ozXMwv5q0XXc0Q_zjKXkbtO1NbQ

Related

[DEV] Porting Photon kernel 2.6.32 here

. .
cardsharing said:
Hi all developers, i open this thread about porting kernel for photon here. Im working on it and here is interested stuf about bcm4329
Click to expand...
Click to collapse
good link, will follow it!
i'm sure we can find useful stuff on 2.6.32 and backport on 2.6.29.
differences between arch/arm/msm on both versions are quite big, thus im not sure how easy it is to upgrade photon kernel.
i found a way to get some terminal console and some debug outbut:
just install the HTC Sync for HTC Aria, it gives you the USB ADB driver: link here
Then, in a command window, execute following commands:
Code:
adb devices => tells you if your device is recognized
adb shell => launch a basic linux shell
type "dmesg" to have the debug message
"dmesg | /bin/more" to have the same but page by page (press space enter to go next page)
you can also install android applications:
adb install <name of file>
Click to expand...
Click to collapse
at first look, you can see the kernel is compiled with loaaads of debug output.
and we can already see a recurrent segfault that might be the cause of some of the issues we have.
Note: adb.exe enclosed in zip file of this message
Maybe it's a good idea to make a list of all issues we experience at this moment in the first post. That way, we can handle them one by one
This is my list now:
- Battery driver doesn't work.
- Maybe that has to do with the battery driver, but when I use my device with Android for about a half an hour (Angry Birds), the back side comes very warm...
- Data not working (WiFi and GPRS as well)
- Buttons need realignment
- Sometimes it happens that when I turn my device off just with the power button, the lights under the hardware keys keep going.
guys have you seen here?
http://forum.xda-developers.com/showpost.php?p=11390094&postcount=6
Kernel 2.6.32 with Android 2.3 on HTC Aria!
{
"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"
}
I'm trying to find where they got the kernel 2.6.32, in cyanogen repository the kernel stops at 2.6.29:
https://github.com/CyanogenMod/htc-kernel-liberty
-r0bin- said:
guys have you seen here?
http://forum.xda-developers.com/showpost.php?p=11390094&postcount=6
Kernel 2.6.32 with Android 2.3 on Aria!
Click to expand...
Click to collapse
And can we get Aria kernel working on Photon? Can you do this?
_Madmatt said:
And can we get Aria kernel working on Photon? Can you do this?
Click to expand...
Click to collapse
yes, cotulla used the kernel of liberty (which is HTC Aria)
actually I think I found the latest kernel \o/
https://github.com/attn1/htc-kernel-msm7227
done by attn1, main contributor of cyanogen for HTC Aria/Liberty
let's try this!!!
-r0bin- said:
yes, cotulla used the kernel of liberty (which is HTC Aria)
actually I think I found the latest kernel \o/
https://github.com/attn1/htc-kernel-msm7227
done by attn1, main contributor of cyanogen for HTC Aria/Liberty
let's try this!!!
Click to expand...
Click to collapse
Try? Shouldn't we do some modifications first?
_Madmatt said:
Try? Shouldn't we do some modifications first?
Click to expand...
Click to collapse
yes, we need to implement cotulla's patch
seems he duplicated the "liberty" files to "photon" in arch/arm/msm and did light modifications
we can do a diff vs the htc aria official source code to have it all
-r0bin- said:
yes, we need to implement cotulla's patch
seems he duplicated the "liberty" files to "photon" in arch/arm/msm and did light modifications
we can do a diff vs the htc aria official source code to have it all
Click to expand...
Click to collapse
Can you do that? I don't have enough Linux knowledge But I'm always ready to try kernels
-r0bin- said:
yes, we need to implement cotulla's patch
seems he duplicated the "liberty" files to "photon" in arch/arm/msm and did light modifications
we can do a diff vs the htc aria official source code to have it all
Click to expand...
Click to collapse
Attention!
i do not want to pick at cotulla, but in fact we want to use his changes for another port it is to say: his code is kind of mess
you can really see that he stopped working on it instantly..
Either someone cleans this up or you will really have to understand what he intended to do!
schlund said:
Attention!
i do not want to pick at cotulla, but in fact we want to use his changes for another port it is to say: his code is kind of mess
you can really see that he stopped working on it instantly..
Either someone cleans this up or you will really have to understand what he intended to do!
Click to expand...
Click to collapse
Well..I think the reason he stopped instantly is here
Cotulla dumped the project few hours after this post,some of you may call it coincidence,but i think Cotulla was reading what we were writting there.
helping someone who is swearing you work is....(i don't wanna use bad words)
if i were him i will do exactly the same!
we need to be thankful that he even released the working haret for us
. .
who can tell ...
hi I want to know about how to custom the haret image. and how to solve the connect problem. so does the battery. so just tell me the general steps.. I am willing to test the image. thanks all the developers.
cardsharing said:
Guys i will post tomorow here all modified 2.6.32 files, dont have time to upload in this time.
Click to expand...
Click to collapse
yeah we'll all be interested to have that.
cardsharing said:
P.S. tracaplaca my english is bad and im sorry for this, ok? PLEASE froget me and my post and please dont post here if your post is not about developming, PLEASE, OK? Cotulla have donatins from me ten minutes after his post abut working photon project and this was my big thanks to big Cotula. So please forget all old posts and please back to post, ok?
Click to expand...
Click to collapse
hey guys don't fight
schlund said:
Attention!
i do not want to pick at cotulla, but in fact we want to use his changes for another port it is to say: his code is kind of mess
you can really see that he stopped working on it instantly..
Either someone cleans this up or you will really have to understand what he intended to do!
Click to expand...
Click to collapse
agree with you.
i'm not sure every single modification is required (code looks like "modif here, compile and see if it works better"), but it's incredible chance to have a working source code and we all thanks cotulla for his work. this way we have a chance to have a clean code starting from the liberty/aria source code.
it seems he tried to investigate the wifi issue (many wifi files modified compare to liberty) but with no luck.
in the kernel configuration he released, he said we could get the kernel debug traces on the PC.
do you guys know how to get it? plugging usb cable when android is booting does not seems to help.
reason I'm asking is, it seems there are lot of debug informations available but so far i cannot access to them...
-r0bin- said:
agree with you.
i'm not sure every single modification is required (code looks like "modif here, compile and see if it works better"), but it's incredible chance to have a working source code and we all thanks cotulla for his work. this way we have a chance to have a clean code starting from the liberty/aria source code.
it seems he tried to investigate the wifi issue (many wifi files modified compare to liberty) but with no luck.
in the kernel configuration he released, he said we could get the kernel debug traces on the PC.
do you guys know how to get it? plugging usb cable when android is booting does not seems to help.
reason I'm asking is, it seems there are lot of debug informations available but so far i cannot access to them...
Click to expand...
Click to collapse
maybe is this
http://droidbar.net/2010/09/how-to-enable-usb-debugging-mode/
That option is enabled by default on the 2.2. image that have been posted.
I think you have to use adb tool as said here to see the output.
. .
thanks! yeah you see it takes time
can you compile the kernel and send the zImage as well?
. .

[GT-P6210 WIFI][WIP] CyanogenMod 9 (developer preview 2)

SO HERE WE GO MY GT-6210 FRIENDS.
I sold my tab because I got an iPad 2 for work and used the money to get a Galaxy Nexus I will probably keep building this ROM once the kernel is worked out and everything is working. Most likely Build AOKP
Just like the GT-6200 Developer Release this is a very basic preview build of CM9. That being said, if you choose to flash this build, YOU DO SO AT YOUR OWN RISK.
I am not a Dev or claim to be one, I just spent a lot of time the last few monthes learning how to build from AOSP and CM9, and figured I'd share my success with the community. I am not resposible for any one bricking their devices by not reading all the information that is all hear on XDA.
Please atleast read through this if you are a n00b: http://forum.xda-developers.com/showthread.php?t=1452716
And this if you are not Rooted yet: http://forum.xda-developers.com/showthread.php?t=1379532
ONCE AGAIN
FLASH AT YOUR OWN RISK
All credit and thanks goes out to:
-Google
-The whole Cyanogen team
-aorth (for getting this moving on out TABs)
-locerra (for his quick work on the p6210 device tree & framework tweaks)
-garyd9 (for all his work on the p6210 and this forum)
-Anyone else that made this possible THANK YOU
I will try to maintain this thread as much as I can, but I have a full time job, school, family and a life
I will at the least be folowing any changes in the source code or on github and post any builds I compile.
I WILL NOT BE:
-Responding to any questions that can be found by simply searching
-Spending a lot of time helping people to get this up and running
This is what I did to get it up and running:
-Put the ZIP file on the TABs internal sd partition (NOT THE SD CARD YOU PUT IN TO THE TAB)
-Reboot into Recovery
-Wipe data/factory reset
-Wipe cache partition
-wipe Dalvik Cache
-format /cache
-format /system
-format /data
-Install update-cm-9.0.0-RC0-p6210-UNOFFICIAL-signed.zip
-Reboot and enjoy!!! Not much is working though.
What's working:
Accelerometer
Hardware-accelerated launcher
Touch input
Vibration
Physical buttons (volume + power)
Audio
What's not working:
Bluetooth
Wifi
Camera
GPS
Hardware-accelerated video
Ambient light sensor(working for the most part in new build 2)
Here is the link: http://www.mediafire.com/?jrcehwgewyxi6kb
Any Mirrors for downloads are welcome, not sure how for the free mediafire account will go.
New Build with working Audio
Thanks to locerra!!!
DP2: http://goo.gl/6mXTQ
md5: 79bdbb1e44d8e4421221525c00947688
{
"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"
}
Reserved
Sent from my GT-P6210 using xda premium
Hey! This is awesome, i'm glad you were able to get this running. I was gonna try to get it running, but I ran outta space on my ubuntu partition lol.
I was wondering if we could get wifi working by porting this..
https://github.com/psyke83/AR6kSDK.3.1
fyi, locerra = ohanar
locerra said:
fyi, locerra = ohanar
Click to expand...
Click to collapse
Good to know lolz
Sent from my GT-P6210 using xda premium
Woooo yes bring it on! Great to see people chipping in and getting this off the ground! Really looking forward to seeing this finished.
Would be abysmally funny if they finish before Samsung gets their ICS out even though that circumstance is not likely to happen.
bdds13 said:
Hey! This is awesome, i'm glad you were able to get this running. I was gonna try to get it running, but I ran outta space on my ubuntu partition lol.
I was wondering if we could get wifi working by porting this..
https://github.com/psyke83/AR6kSDK.3.1
Click to expand...
Click to collapse
Not sure if I could get this worked into a build. Do you have more info on what and where this code comes from?
Sent from my GT-P6210 using xda premium
This is great and really inspiring. I really wish I knew where to begin to help out on moving this forward. Thanks for all the work guys
kmmxracer said:
Not sure if I could get this worked into a build. Do you have more info on what and where this code comes from?
Sent from my GT-P6210 using xda premium
Click to expand...
Click to collapse
Yeah, I got it from this old post here on the general forum.
http://forum.xda-developers.com/showpost.php?p=23262686&postcount=18
It's supposed to be from one of sony's e-book reader devices.
Good to see you up and running. Congrats! Now you guys get to work on wifi and I'll start working on telephony .
kmmxracer said:
Not sure if I could get this worked into a build. Do you have more info on what and where this code comes from?
Sent from my GT-P6210 using xda premium
Click to expand...
Click to collapse
i found something similar quite some time ago.
https://github.com/DerArtem/AR6kSDK.3.1
it's from derartem, he and nopy is working on ICS for Folio 100 too currently.
http://forum.xda-developers.com/showthread.php?t=1470823
it is the same thing with some modification from DerArtem.
Progress on wireless... sorta.
P6200/P6210 use an Atheros 6003 wireless chip (also for bluetooth?). The open-source atk6kl driver from compat-wireless supports this chip. I found some interesting information about building this module on the HP Touchpad forum over at RootzWiki. I can compile the module, but I just can't load it.
Here's how:
1. Compile kernel:
Code:
cd ~/src/git/kernel_samsung_c210
LOCALVERSION="" ARCH=arm CROSS_COMPILE="/home/aorth/src/android-ndk-r7b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-" make -j8 zImage
2. Compile compat-wireless
Code:
cd ~/src/compat-wireless-3.3-2-n
./scripts/driver-select ath6kl
ARCH=arm CROSS_COMPILE="/home/aorth/src/android-ndk-r7b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-" KLIB=~/src/git/kernel_samsung_c210 KLIB_BUILD=~/src/git/kernel_samsung_c210 make -j4
But attempting to insert the resulting modules spits out errors like:
Code:
# insmod compat.ko
insmod: can't insert 'compat.ko': invalid module format
# dmesg | tail -n3
<4>[ 365.244149] load_module: umod=4015c000, len=1311485, uargs=01a1f008
<3>[ 365.266659] compat: unknown relocation: 96
<6>[ 382.490328] BAT : soc(100), vcell(4152mV), curr(0mA), temp(26.7), chg(0), full(1), rechg(0), cable(1)
@ohanar... help!
Nice start!
aorth said:
P6200/P6210 use an Atheros 6003 wireless chip (also for bluetooth?). The open-source atk6kl driver from compat-wireless supports this chip. I found some interesting information about building this module on the HP Touchpad forum over at RootzWiki. I can compile the module, but I just can't load it.
Here's how:
1. Compile kernel:
Code:
cd ~/src/git/kernel_samsung_c210
LOCALVERSION="" ARCH=arm CROSS_COMPILE="/home/aorth/src/android-ndk-r7b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-" make -j8 zImage
2. Compile compat-wireless
Code:
cd ~/src/compat-wireless-3.3-2-n
./scripts/driver-select ath6kl
ARCH=arm CROSS_COMPILE="/home/aorth/src/android-ndk-r7b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-" KLIB=~/src/git/kernel_samsung_c210 KLIB_BUILD=~/src/git/kernel_samsung_c210 make -j4
But attempting to insert the resulting modules spits out errors like:
Code:
# insmod compat.ko
insmod: can't insert 'compat.ko': invalid module format
# dmesg | tail -n3
<4>[ 365.244149] load_module: umod=4015c000, len=1311485, uargs=01a1f008
<3>[ 365.266659] compat: unknown relocation: 96
<6>[ 382.490328] BAT : soc(100), vcell(4152mV), curr(0mA), temp(26.7), chg(0), full(1), rechg(0), cable(1)
@ohanar... help!
Click to expand...
Click to collapse
I need to learn to compile a kernel. Where did you get the kernel from and where did you get the toolchain/cross compiler from? Is it the one inside the cyanogen repo or codesourcery or what?
Sorry if the dumb questions, but I'm just getting started/interested in kernels
kmmxracer said:
I need to learn to compile a kernel. Where did you get the kernel from and where did you get the toolchain/cross compiler from? Is it the one inside the cyanogen repo or codesourcery or what?
Click to expand...
Click to collapse
The kernel we are currently using is the one at https://github.com/ohanar/kernel_samsung_c210, however, in the long run we should move over to https://github.com/teamhacksung/android_kernel_samsung_smdk4210, although this is currently broken for our devices (so we need to fix it ).
I am using the latest ndk toolchain that comes with in cm repo.
---------- Post added at 02:35 AM ---------- Previous post was at 02:33 AM ----------
aorth said:
@ohanar... help!
Click to expand...
Click to collapse
Haven't really looked into this too much. I'm more interested in getting the smdk4210 kernel working (and that already includes the atheros drivers).
Thanks, I just found some good reading on compiling kernels. I allways find what I need right after asking in a thread
I'll start with the teamhacksung git. Thanks!!!!
locerra said:
Haven't really looked into this too much. I'm more interested in getting the smdk4210 kernel working (and that already includes the atheros drivers).
Click to expand...
Click to collapse
Yeah, you're right. It's likely the same ath6kl driver, though, as compat-wireless is where the mainline kernel gets linux-wireless-next (and smdk4210 kernel is based on mainline, or at least will be soon... it might be based on origen board kernel right now, see OpenGalaxy).
btw, this module loading issue isn't strictly a wireless issue. I can't load j4fs or scsi_wait_scan either. I swear I loaded these once before, recently...
btw, this module loading issue isn't strictly a wireless issue. I can't load j4fs or scsi_wait_scan either. I swear I loaded these once before, recently...
Click to expand...
Click to collapse
Yeah, I'm having that issue too...
locerra said:
Yeah, I'm having that issue too...
Click to expand...
Click to collapse
Question... when you were still using kernels compiled with Samsung's LOCALVERSION string, did you ever get the ar6000.ko to load?

[DEV NEEDED FOR COMPLIING][SHELL]ZShaolin (zsh for Android)

MOD EDIT: Thread closed, please use this instead. Thanks!
Hello!
I actually am surprised that this isnt around here and/or noone has built/complied a .APK.
So here it is
ZShaolin (zsh shell for Android)
http://www.dyne.org/software/zshaolin/
ZShaolin unleashes the power of GNU/Linux on your Android phone or tablet by installing a small and powerful shell environment.
It comes with applications to edit images, audio and video using batch scripts one can write and upload. It does not require rooting, not even an Internet connection to work.
What you will find in ZShaolin:
•FFMpeg to convert, decode and encode audio and video files
•ImageMagick to convert and manipulate all image formats
•Sox to manipulate and convert audio files
•OggZ for the manipulation of DRM free audio/video (Ogg/Vorbis/Theora)
•LUA scripting language
•GNU Awk, Sed, Grep and the awesome Z-Shell
•… and even more small tools to make your life easier when using Android from terminal
Click to expand...
Click to collapse
And here is the part that Im surprised isnt here:
Development of ZShaolin started recently. It can grow with your support, that’s why we are selling it for a coin on the Android Market. Meanwhile, all the sourcecode of ZShaolin is free and opensource, also the toolchain used to build it is made available for download on our FTP, so if you really want this app without paying then you can grab it and build it yourself…
Click to expand...
Click to collapse
Source code: http://code.dyne.org/zshaolin
Toolchain: http://ftp.dyne.org/zshaolin
Could someone please comply this into a .APK so we can install it on phones?
Thank you!
hi there
I'm the ZShaolin developer.
Thanks for noticing the app, I've posted it on XDA before for feedback but since my user points on the forum are low my post was removed.
If someone else than me tries to build from source, I'm happy to facilitate answering specific questions and eventually fixing issues.
Please note that I'm actively developing ZShaolin and the latest version is on GitHub
https://github.com/dyne/ZShaolin
it contains improvements to the build system over the 0.4 version
I'm about to release it as 0.5 so feedback on it is very welcome.
ciao
jaromil.rojo said:
I'm the ZShaolin developer.
Thanks for noticing the app, I've posted it on XDA before for feedback but since my user points on the forum are low my post was removed.
If someone else than me tries to build from source, I'm happy to facilitate answering specific questions and eventually fixing issues.
Please note that I'm actively developing ZShaolin and the latest version is on Git code.dyne.org
get it with:
Code:
git clone git://code.dyne.org/zshaolin.git
it contains improvements to the build system over the 0.4 version
I'm about to release it as 0.5 so feedback on it is very welcome.
ciao
Click to expand...
Click to collapse
Hi there
You could make a build of the <0.4 version and release it only here (XDA). And then have people either buy the 0.5 version and/or comply it themselves.
jaromil.rojo said:
I'm the ZShaolin developer.
Thanks for noticing the app, I've posted it on XDA before for feedback but since my user points on the forum are low my post was removed.
If someone else than me tries to build from source, I'm happy to facilitate answering specific questions and eventually fixing issues.
Please note that I'm actively developing ZShaolin and the latest version is on Git code.dyne.org
get it with:
Code:
git clone git://code.dyne.org/zshaolin.git
it contains improvements to the build system over the 0.4 version
I'm about to release it as 0.5 so feedback on it is very welcome.
ciao
Click to expand...
Click to collapse
Well since noone wants to comply this, if you could help me comply a version for me, I would really appriciate it as I am very intrested in running zsh on my Android.
Thanks!
riahc3 said:
Well since noone wants to comply this, if you could help me comply a version for me, I would really appriciate it as I am very intrested in running zsh on my Android.
Thanks!
Click to expand...
Click to collapse
I bet it is very much easier to buy it from the Play store than set up whole build environment
ok then thanks are welcome
Hey there I'm happy to post a gratis compiled version on the XDA forum
but then please first give me some thanks if you like i
I have only 2 on thanks meter now and I'd love to be able to post on this awesome forum and discuss in the developer part which I always read with interest.
Thanks :angel:
There you go, free and light ZShaolin APK
Allright guys thanks for cheering me up here here you go with a light version of ZShaolin
files.dyne.org/zshaolin/.xda-dev
This is fresh from the latest 0.9 version, but stripped down from the biggest tools so its a very light shell
I've put some useful things like OpenSSH, Midnight Commander, Git and ncdu and of course ZSh now up to version 5
Most of the above is compiled completely static with my own toolchain and not the Google NDK one, the binaries are likely to be portable across a vast number of devices. I'm happy if anyone finds this useful or even just entertaining. Be welcome to compile it on your own (it's all free and open source stuff!) or buy the full version from the Android market. In the full ZShaolin version so far I've managed to put Vim (huge), Emacs, FFMpeg, ImageMagick, GnuPG, Rsync and many other programs in it.
BTW don't miss to start the curseofwar game :cyclops: that's phun
I'm getting a failed download every time
{
"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"
}
file integrity OK
hi bilgerryan,
> I'm getting a failed download every time
I have double checked the uploaded file integrity, it is all fine on my server.
This might be a problem of the downloader you are using, please note the download URL is over SSL with a valid certificate for the dyne.org domain.
To check file integrity, the SHA1 sum of the file ZShaolin_light_xda-dev.apk is: 7c1bf22cf57037cf4a0ea2c9d29cff423be26b1f
ciao
hi there, this might be a stupid queistion, but I am an Android noob, so...
if I install Zshaolin do I have to use the emulator provided or can I also use my old android terminal emulator? Because all I want to do is to get zsh on my android, ideally with the oh-my-zsh configuration I use on my Laptop.
I have seen several builds of bash for android but none of zsh. Is this it?
About ZShaolin binary portability
hi Teri,
teri.gilteo said:
if I install Zshaolin do I have to use the emulator provided or can I also use my old android terminal emulator? Because all I want to do is to get zsh on my android, ideally with the oh-my-zsh configuration I use on my Laptop.
I have seen several builds of bash for android but none of zsh. Is this it?
Click to expand...
Click to collapse
Yes and no. Almost all binaries included in ZShaolin are 100% static. This means they can be copied in other locations and be used from there, but many times they need auxiliary files and configurations found in paths that are set via environment variables. ZShaolin does all that configuration automatically, but if you copy them in a different application it might need tweaking.
Also if your device is rooted you can access binaries from an application into another with sudo, but if its not rooted then all applications run in their own space and cannot access each other. You would then need to copy the zsh binary and assets through the sdcard into jackpal's terminal emulator for instance, and again make sure the environment is set accordingly.
So the answer is mostly yes: provided that another terminal application has sane term definitions and an environment set, you can run ZSh also inside this other application and not just ZShaolin.
In fact many programs in ZShaolin can be useful to app developers needing such functionalities in their applications
ciao
...continuing on that thought, I think it is a good idea to have some kind of standard for distributing and plugging into static binary environments on Android. JackPal is the one that has been around for longer than everyone in this. I'd be curious to read his opinion. We can use an ext4 formatted sdcard and then permissions can be preserved and systems can be booted from sdcard.

[APP] ZShaolin light XDA-DEV release

This is the new thread dedicated to ZShaolin light xda-dev releases
{
"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"
}
More information on ZShaolin: http://zshaolin.org
APK download: files.dyne.org/zshaolin/.xda-dev
works without root - only for ARM based devices
ZShaolin light xda-dev is an unrooted shell of full static binaries of software as: OpenSSH, Midnight Commander, Git and ncdu and of course ZSh now up to version 5.
Most of the above is compiled completely static with my own toolchain (also available in the download zone, not the Google NDK), the binaries are likely to be portable across a vast number of devices.
I'm happy if anyone finds this useful or even just entertaining.
Buy the full edition to support development, donations welcome on dyne.org
This light xda-dev version will receive no updates and misses binaries for ImageMagick, FFmpeg, Vim fully featured, Emacs, RSync and more ASCII games, all tools found in the paid version.
However, ZShaolin is free open source, all sources are provided on files.dyne.org/zshaolin and github.com/dyne/ZShaolin
Be welcome to hack it and compile your own version.
Kudos to SpartacusREX for the java installer and terminal originally by JackPal.
p.s. don't miss to start the curseofwar game :cyclops: that's quite some ASCII phun
Interesting. Perhaps I will give it a go
Nice work! I just ssh'd into my main computer from my Nexus 5
Awww man I wanted to be the one to release something like this. Just too busy to get everything polished and perfected.
I was going to release it for free too. Don't see a point in charging for compiling and bundling apps.
I already released what I had for ffmpeg in another thread earlier this year.
It uses dynamic libs too, much better for memory usage.
http://forum.xda-developers.com/showthread.php?t=1016463
It would be a dream if this included sshfs as well to mount a remote server directory to my Android. The only app available for that has not been updated in a year and does not work on anything >ICS.
Can you help with that?
After installing the ZShaolin system, how do i uninstall it? Do i just uninstall the app and it will delete the ZShaolin system off my device leaving no traces?
SUDroid said:
After installing the ZShaolin system, how do i uninstall it? Do i just uninstall the app and it will delete the ZShaolin system off my device leaving no traces?
Click to expand...
Click to collapse
Yes. All the files are installed to the app's storage (/data/data/org.dyne.zshaolin) which is removed when you uninstall it.
It says:
ctrix: ERROR your terminal is too small (min 80x24)
Looks great in my tablet (Onda v972) the terminal slide is awesome!, despite its a little bit laggy between transitions. Thanks :good:
Working over here (S4 Tmobile).
hi,
just purchased the paid version from the google play,
any hint abt starting sshd from command line on the device ?
same for lighthttpd please ?
also is it possible to get some imageMagick sample script ?
thank you
Squandering Space?
I did a recursive descent directory listing of the /data directory via a python script I wrote.
It showed 57212 entries under /data/data/org.dyne.zshaolin
It appears that zshaolin duplicated my entire /mnt/sdcard recursively
Can anyone explain why this would ever be necessary?
quasiperfect said:
I did a recursive descent directory listing of the /data directory via a python script I wrote.
It showed 57212 entries under /data/data/org.dyne.zshaolin
It appears that zshaolin duplicated my entire /mnt/sdcard recursively
Can anyone explain why this would ever be necessary?
Click to expand...
Click to collapse
Does your script check for soft links? Just a thought...
Sent from my XT1034 using Tapatalk
quasiperfect said:
It appears that zshaolin duplicated my entire /mnt/sdcard recursively
Can anyone explain why this would ever be necessary?
Click to expand...
Click to collapse
It's just a symbolic link.
Not Squandered
aaopt said:
Does your script check for soft links? Just a thought...
Sent from my XT1034 using Tapatalk
Click to expand...
Click to collapse
It checks now. I don't descend linked directories anymore. My perl scripts
have done that for a long time. But python is still new to me.
The number of entries reported under /data went from 288999 to 78835
It makes a lot more sense to me now. Thanks.
---------- Post added at 04:49 PM ---------- Previous post was at 04:36 PM ----------
dawabz94 said:
hi,
just purchased the paid version from the google play,
any hint abt starting sshd from command line on the device ?
same for lighthttpd please ?
also is it possible to get some imageMagick sample script ?
thank you
Click to expand...
Click to collapse
I'd kinda like to do that myself. Starting sshd any way at all would be nice. That would give me access through putty to the real linux tools. That would be a serious weapon.
Hey this is an absolutely fantastic app. Any scripting shell gurus will feel right at home running this is temu with pckeyboard on Andy or over telnet or ssh. It makes android feel very powerful and the author has done some very noteworthy awktastic scripting of zsh modules. I attached a mini version of this app ( 350k ) without the installation package inside. This saves you 50mb after you've already installed the system and replace the data/app apk with this.
Also forgot to mention, this can totally replace mksh in /system/bin and become your system shell. There's enough ksh similarity for all the general scripting, e.g. the print builtin.
New 0.9.1 release is out
ZShaolin 0.9.1 out on 9 September 2014
More info about ZShaolin on its website https://www.dyne.org/software/zshaolin
Main new feature is the possibility to connect to ZShaolin via ☞ SSHD from another computer. Just run the helper "z-ssh" in the terminal and follow the simple instructions.
Curl is now present and working along with some more scripting fixes.
Also try "ncdu" useful to explore the directories by size occupation.
Cheers to all GitHub stargazers! https://github.com/dyne/ZShaolin/stargazers
p.s.
Sorry no update yet for the XDA-light version, 0.9.1 is just to compile on your own (docs are lacking behind, I know...) or buy from the goog evil empire
ZShaolin 1.0 just released with Tmux
According to the poll on this forum Tmux is the most acclaimed feature for ZShaolin and so it is now there! Also the annoying surface fling is removed to make it more comfortable to scroll the console history.
This new release 1.0 is coming up on the G market and I'll make an update to the free XDA-light version in the coming weeks.
ciao!
Hi there! I downloaded your apk and installed it on an Android Mediaplayer (Tizzbird N1) because I want to use ImageMagick to downscale screenshots that I generate in an automation bashscript before posting it to a webserver.
But somehow I can't find a 'convert' binary in the my directory /data/data/org.dyne.zshaolin/files/system/bin/
UPDATE: Ahh. never mind. found in your first post that you only include ImageMagick in the paid version.

[Tool/Utility] JoelDroid Lollipop Batch Deodexer V 2.5 [Updated 18 Apr 2015]

{
"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"
}
Hey Guys,
Ever since the tutorial for Lollipop deodexing was posted on XDA portal, I was working on a batch deodex tool.
And finally it is complete.
Update...
I'm bit stuck with my personal life hence I do not have the time to manage this project , anyone who likes to take it over can do so.
The code is open source.
Pull requests are welcome...
Update 2
I will be updating this project whenever I have time, in the meantime if anyone wants to join this project feel free to PM me and I can add you to the project. Code will remain open source
Lollipop Batch Deodex Source Code
Also featured on XDA Portal
Features
Checks if the prerequisites are installed.
Displays the count of Odexed Apps. Priv-Apps and Framework Apps before DeOdexing
DeOdexes System Apps, Priv-Apps and Framework Apps in Batch Mode
Automatically Zipaligns deodexed files
Click to expand...
Click to collapse
Credits
Just wanted you guys to know that the credit for finding out this method goes for the poster of this article HERE (it is in Korean btw, I think it is Korean do correct me if I'm wrong).
The credit for translating and posting on XDA goes to @Tech N You
Thanks to @Golvfor all the help in fixing oat conversion issues
Thanks to @_riddle for his amazing oat2dex tool
Click to expand...
Click to collapse
Pre-Requsites
Windows PC with .NET Framework 4.5
Java 7, with Path Variable Set up
Click to expand...
Click to collapse
Usage
Make sure Java is installed and Java Path Variable is set in your PC
Due to the nature of Java tools, run the app from a path where there is no spaces, like D:\JBD
Unzip the Odexed rom zip, to say D:\MyRom (for example)
So within the folder D:\MyRom there will be subfolder "system" and within system folder, app, priv-app and framework folders must be present, you should select "system"
Now run the app, after Java check, it will prompt you to select a folder where Odex files are found, you should select D:\MyRom
If your rom is Odexed and your selection was correct (refer the folder structure image above step), the app will show you how many files will be DeOdexed, now follow the on screen instructions.
Sit back and relax and wait till the app finishes DeOdexing your rom.
Download
Changelog
Version 2.5
Works with both Java 7 and 8
Ignorelist option removed (causes lots of permission issues)
Version 2.5 Beta
Lots of code optimization
Much Better Java detection, also checks which version of Java
Better cleanup
64 bit rom support, no need to rename files, detects automatically
Added ignore list as some apps cause issues with deodexing
Latest oat2dex v7
Version 2.4
Lots of code optimization
Better Java detection
Deodexed files are automatically zipaligned
Version 2.3
Small validation bug fixes
Optimized code
Version 2.2
Deodexing Boot Oat Files, now this is a complete deodex solution
Much faster and optimized deodex process
Code optimizations and bug fixes
Version 2.1
Better working directory cleanup on exit
Added logging, logs should appear in your desktop
Version 2.0
Fixed Critical bug, now rom boots and all deodexed files work
Full windows app, for user convenience
Multi-threading
Version 1.1
Added Deodexing Framework apps support
Lots of Bug fixes
Added Easy folder selection by user
Better Deodex status reporting
Better Java check method
Version 1.0
Initial Release
Additional Info
reserved
joeldroid said:
Reserved
Click to expand...
Click to collapse
Awesome work
You deserve to be on portal! :good: :laugh:
Thanks mate it was your article in the portal that grabbed my attention
Merry Christmas
joeldroid said:
Thanks mate it was your article in the portal that grabbed my attention
Merry Christmas
Click to expand...
Click to collapse
Haha thanx but you're the real one that made this batch deodex thing possible! :good: Congrats :good:
Merry Christmas to you too dude! :good:
Any chance of more detailed guide for not so clever ppl like me. I unziped my rom to a folder named deodex on my C drive, then set the config to C:\deodex\system. But when i run the deodex tool its says no apps found. Where have i gone wrong.
Thanks
@joeldroid, Awesome work!! Everything is really simple so far, but I'm running into a "baksmali failed" message when I have everything placed from what I understand. Think you could help me out a little? Backsmali Failed Image
Hey @joeldroid, you saved me the job of having to deodex everything manually, mate. Will see if this really works. Thanks in advance, and merry Christmas for you too!
Waiting for framework deodexing support!
raynan said:
@joeldroid, Awesome work!! Everything is really simple so far, but I'm running into a "baksmali failed" message when I have everything placed from what I understand. Think you could help me out a little? Backsmali Failed Image
Click to expand...
Click to collapse
Hey raynan,
I was getting this as well, in some Samsung apps like Samsung IME, Samsung DriveMode etc, this I believe is something to do with the structure of the app and Samsung is using an incompatible structure, where baksmali fails to decompile. But I will try looking into this further.
steha said:
Any chance of more detailed guide for not so clever ppl like me. I unziped my rom to a folder named deodex on my C drive, then set the config to C:\deodex\system. But when i run the deodex tool its says no apps found. Where have i gone wrong.
Thanks
Click to expand...
Click to collapse
sure thing,
I will add a better usage guide today. Yesterday after a long few days I was sleepy and tired. I will add a more detailed one for everyone.
joeldroid said:
Hey raynan,
I was getting this as well, in some Samsung apps like Samsung IME, Samsung DriveMode etc, this I believe is something to do with the structure of the app and Samsung is using an incompatible structure, where baksmali fails to decompile. But I will try looking into this further.
Click to expand...
Click to collapse
Ah, good to know I'm not crazy thanks. No rush from me, enjoy your holiday
joeldroid said:
Hey Guys,
Ever since the tutorial for Lollipop deodexing was posted on XDA portal, I was working on a batch deodex tool.
And finally it is complete.
This is what it currently does...
Deodexes System Apps and Priv-Apps
I'm currently working on deodexing framework apps too.
I will release an updated version with framework deodex support hopefully within a week (hey its Christmas you know )...
Just wanted you guys to know that the credit for finding out this method goes for the poster of this article HERE (it is in Korean btw, I think it is Korean do correct me if I'm wrong).
Usage:
Download
Click to expand...
Click to collapse
Finally you're on portal
Tech N You said:
Finally you're on portal
Click to expand...
Click to collapse
yeah I'm so happy.
Framework deodexing complete. Posting an updated version today
joeldroid said:
yeah I'm so happy.
Framework deodexing complete. Posting an updated version today
Click to expand...
Click to collapse
Looking forward to it
can you plz explain in another way what to do after extracting zip file?
where to place files?
steha said:
Any chance of more detailed guide for not so clever ppl like me. I unziped my rom to a folder named deodex on my C drive, then set the config to C:\deodex\system. But when i run the deodex tool its says no apps found. Where have i gone wrong.
Thanks
Click to expand...
Click to collapse
I have added a much detailed user guide. have a look and let me know if something is not clear.
Cheers
startracker said:
can you plz explain in another way what to do after extracting zip file?
where to place files?
Click to expand...
Click to collapse
Please see the updated user guide, thanks
Error
Rom:cm12
Sent from my GT-I9500 using Tapatalk
@joeldroid
Awesome work! keep it up,

Categories

Resources