Splash Screen tool to create rgb565 images from any image - G1 Android Development

Hey guys, here's a .NET application that lets you convert any image into a proper 320x480xR5G6B5 image. Similar to the rgb2565 tool, but it handles all resizing, centering, and color conversion for you. It also let's you preview the image.
If you have Mono, this application should work in Linux/Mac as well.
Source code and binaries can be found here: http://www.koushikdutta.com/2008/12/quick-and-dirty-converter-tool-to.html

Awesome. The whole process is such a pain to do at the moment, hopefully this will simplify it a bit

Koush said:
Hey guys, here's a Windows tool that lets you convert any image into a proper 320x480xR5G6B5 image. Similar to Stericson's rgb565 tool, but it handles all resizing, centering, and color conversion for you. It also let's you preview the image.
Source code and binaries attached. I'm looking into compiling a fastboot tool for Windows.
Click to expand...
Click to collapse
Koush, let me know how the fastboot thing goes. I was actually able to get a fastboot.exe to compile using cygwin... but it just doesn't work . I never could get it to see the device. I didn't really look into it too much after that though.
Also, thanks for the RGB565 tool. That makes it a lot easier

Great going Koush! I really hope you get the fastboot working! I also tried and failed hooribly If you do get it working it would simplify the process alot!
Stericson

Stericson said:
Great going Koush! I really hope you get the fastboot working! I also tried and failed hooribly If you do get it working it would simplify the process alot!
Stericson
Click to expand...
Click to collapse
Yeah I'm actually primarily a Windows user. But luckily VMWare is pretty awesome, and I can do everything in there that I need to do, including flashing a real phone using fastboot!
More instructions here:
http://www.koushikdutta.com/2008/10/developing-and-debugging-android.html
You guys used Cygwin? When you say it didn't work, what do you mean? Crash or no effect? I was thinking about trying to just port it into Visual Studio rather than try to use Cygwin within the Android build environment. I don't think there are that many dependencies for that to really be a problem.

heck yeah koushie!
this will eventually make pushing the custom boot image so much easier for us windows users. nice...
(stericson, you still rock),
hbguy

Koush said:
You guys used Cygwin? When you say it didn't work, what do you mean? Crash or no effect? I was thinking about trying to just port it into Visual Studio rather than try to use Cygwin within the Android build environment. I don't think there are that many dependencies for that to really be a problem.
Click to expand...
Click to collapse
Yeah, the fastboot.exe just won't see the device. It runs, and if you don't provide arguments it will output the usage, but fastboot devices won't show the phone. I didn't try to debug the exe to troubleshoot exactly why it didn't work though. I may do that sometime this week, since I'll have a lot of free time .
If you want a copy of the (non-working) exe, just let me know.

JesusFreke said:
Yeah, the fastboot.exe just won't see the device. It runs, and if you don't provide arguments it will output the usage, but fastboot devices won't show the phone. I didn't try to debug the exe to troubleshoot exactly why it didn't work though. I may do that sometime this week, since I'll have a lot of free time .
If you want a copy of the (non-working) exe, just let me know.
Click to expand...
Click to collapse
Haven't had time to delve into this yet, but I think to do driver level stuff without a proper cert, you need to put your system into a test mode? Maybe similar to the Android x64 drivers that are unsigned?

See here: fastboot binary for windows

i can't seem to compile this tool on mac using mono.
i get an error that the type name space name windows does not exist in the name space system

Related

One Click Root - Sil3ntKi11 - All US Variants

Hey guys,
About two years ago when the Droid X came out, I came out with a one click root app for it that was pretty popular. Since I have the Galaxy S3 now and wanted to root me phone, I decided to make it ridiculously easy for people.
Credit goes to this thread: http://forum.xda-developers.com/showthread.php?t=1875914
I simply packaged it up into a Qt app. I will be releasing it on Linux tomorrow and if I can somehow get a Mac (or someone has one) that wants to compile the Qt app for Mac, we can have it working on all 3 main operating systems.
Here's the download: http://www.mediafire.com/?g4mfv432lzk2pj0
And some screenshots to go along with it: http://imgur.com/a/7Eq48
Enjoy!!! I will update with the Linux version tomorrow
- Sil3ntKi11
Very nice!
Sent from my SCH-I535 using xda premium
Shouldn't this be in the dev section?
jellydroid13 said:
Shouldn't this be in the dev section?
Click to expand...
Click to collapse
It could be but here is the problem i see...
all current root methods that work for ics will no longer work for jellybean. so when the jb ota drops this will be kind of null and void. not saying you couldnt odin back to a ics build then root and upgrade back to jellybeans, but thats alot of extra steps. the best method imo is to odin mr.robinson's pre rooted stock j1 update.
droidstyle said:
It could be but here is the problem i see...
all current root methods that work for ics will no longer work for jellybean. so when the jb ota drops this will be kind of null and void. not saying you couldnt odin back to a ics build then root and upgrade back to jellybeans, but thats alot of extra steps. the best method imo is to odin mr.robinson's pre rooted stock j1 update.
Click to expand...
Click to collapse
Yeah, I know that. But within a few days a new method will be up and I will update it! If someone finds it useful, then great! When the 4.1 root method (non-odin) is out, then I will put that up!
But yeah, most people after updating won't need this
Will this raise the flash counter?
I can compile the qt app on Mac if you get me the source.
Sent from my SCH-I535 using xda app-developers app
alquimista said:
I can compile the qt app on Mac if you get me the source.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
Here's the source attached. Also, if you could send me a link to a copy of adb for mac (just the executable) that would be awesome!
ahfu25 said:
Will this raise the flash counter?
Click to expand...
Click to collapse
To be completely honest I am not sure. I have no triangle on my phone. If it does, you can use:
http://forum.xda-developers.com/showthread.php?t=1494114
To reset your counter I believe. Does someone else want to weigh in on this?
sil3ntki11 said:
Here's the source attached. Also, if you could send me a link to a copy of adb for mac (just the executable) that would be awesome!
Click to expand...
Click to collapse
Here are the most useful binaries from the Android SDK for Mac. Included in tarball:
aapt
adb
aidl
dexdump
dx
I'll try and get the Mac qt build up later tonight.
Ta,
ALQI
I'm having problems compiling on my laptop.
I keep getting the error that my version of OS X isn't supported. I'm on 10.7.4, should I be on 10.6 or something?
Anyway, I have an app built, but the bundle doesn't look right. It doesn't contain any of the root tools, and the main executable is way too small.
I don't want to post it here, cause I doubt its functional.
It looks nice though!
alquimista said:
I'm having problems compiling on my laptop.
I keep getting the error that my version of OS X isn't supported. I'm on 10.7.4, should I be on 10.6 or something?
Anyway, I have an app built, but the bundle doesn't look right. It doesn't contain any of the root tools, and the main executable is way too small.
I don't want to post it here, cause I doubt its functional.
It looks nice though!
Click to expand...
Click to collapse
Hey! Thanks for trying! So I used Qt version 4.8.3, the open source SDK. You need three libraries to run the app, QtCore4, QtGui4, and QtWebKit4. They have to be in the same folder as the executable if Qt isn't in your Path. The root tools are in there, "debugfs", "debugfsinput" and "su" and "Superuser.apk". I didn't include the Mac adb tool, as I couldn't get it. That should be named adbmac and be put in the tools/ folder of where the executable lies.
I have changed the source to make this customizable for anyone's root methods, if you look here:
http://forum.xda-developers.com/showthread.php?t=2000988
Here is cleaner source attached, basically the same. So, in order to get this work:
Build the code
Find the folder it was built into (please use release, not debug)
In that folder, find the executable. This is the main folder
Copy the /root, /tools, /html, /device folders that are in the zip into the main directory where the executable is.
Copy your OSX's adb into /tools and rename it adbmac
Make sure Qt is in the PATH variable, if not you need
QtCore4, QtGui4, and QtWebKit4 in the same folder as the executable
For others to use it, they need those libraries in there, or else they will need to have Qt installed
You can statically link the libraries if you so desire but I didn't want to deal with that.
sil3ntki11 said:
Hey! Thanks for trying! So I used Qt version 4.8.3, the open source SDK. You need three libraries to run the app, QtCore4, QtGui4, and QtWebKit4. They have to be in the same folder as the executable if Qt isn't in your Path. The root tools are in there, "debugfs", "debugfsinput" and "su" and "Superuser.apk". I didn't include the Mac adb tool, as I couldn't get it. That should be named adbmac and be put in the tools/ folder of where the executable lies.
I have changed the source to make this customizable for anyone's root methods, if you look here:
http://forum.xda-developers.com/showthread.php?t=2000988
Here is cleaner source attached, basically the same. So, in order to get this work:
[/LIST]
Click to expand...
Click to collapse
Ah, that's my problem. I'm still on Qt 4.7 cause the QtADB tool requires the 4.7 libraries. I can update to 4.8 , but it will take a while cause Macs are dumber than Linux.
Question, can't we roll the libraries into the app itself? I know Avid MediaComposer 6 and up have Qt pretty much rolled into the app to run all of the GUI, they even use some python to run some of the GUI for them (its crap for code but its better than FCP X). I'll look into it while I'm waiting for Qt 4.8 to download and install.
I'll keep you updated.
Ta,
ALQI
tplawi then
alquimista said:
Ah, that's my problem. I'm still on Qt 4.7 cause the QtADB tool requires the 4.7 libraries. I can update to 4.8 , but it will take a while cause Macs are dumber than Linux.
Question, can't we roll the libraries into the app itself? I know Avid MediaComposer 6 and up have Qt pretty much rolled into the app to run all of the GUI, they even use some python to run some of the GUI for them (its crap for code but its better than FCP X). I'll look into it while I'm waiting for Qt 4.8 to download and install.
I'll keep you updated.
Ta,
ALQI
Click to expand...
Click to collapse
Hey! Thanks for the effort. So I actually got a VMWare image of Mac OSX Lion going on my machine and got it to compile. What you are referring to is called static linking and can definitely be done, I just have to compile from source with the -static argument. I'm trying to decide if I should not use WebKit for my GUI as that is the only library that is quite large. I'm going to compile it statically and see how big it is. I might put this up on a private GitHub repo if you want to help work on it.
My idea is that this can be used by anyone to make other root packages. If you noticed in the other thread I sent you, I basically have a very simple custom batch language for them to create for the root method and the rest is taken care by the program. This way it won't discourage people and we can have a one click root truly. Let me know if you want to help me improve it!

[Q] Android Kitchen "gcc not installed" error

Okay this is REALLY freakin' irritating!!
I have been itching to cook up my own ROM in the kitchen...BUT I CAN'T EVEN USE IT!
I have tried installing it, multiple times (deleting everything each time to start fresh), and follow all instructions to the "T", and every single time I open Cygwin (after putting in the kitchen and renaming it) and "cd kitchen" enter "./menu", it always comes up saying "Error: The application 'gcc' is not installed - the kitchen will not function properly without it. Ensure you did not miss a step during installation! Refer to the Android Kitchen FAQ...", etc. (I could swear it installed devel > gcc when I installed Cygwin. Even used the Install all option and stuff...)
Checked out the FAQ and everything, but I still can't find it! Everything I try just doesn't work! Can someone please help?? (thank you)
R: [Q] Android Kitchen "gcc not installed" error
Thats weird.....u on ubuntu? As far a s i remember i never had to install gcc it was already there....but i could be wrong.
Uninstall gcc. Go get it from official repo, retry. If it doesn't work this is more of a question for ubuntu forums theyll get anything working on a pc.
Sent from my GT-I9300 using xda app-developers app
Haha, actually I'm using Windows XP Professional. (Though I do have it dual-booted with Zorin OS...)
Yeah and uh...I'm not sure how you would directly uninstall gcc either...
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
R: [Q] Android Kitchen "gcc not installed" error
Wait.....what? Isnt zorin based off ubuntu? Why dont u install android kitchen stuff there?
Sent from my GT-I9300 using xda app-developers app
killbubble said:
Wait.....what? Isnt zorin based off ubuntu? Why dont u install android kitchen stuff there?
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Well, yes. It is.... I just figured it would be a lot more convenient to do everything on Windows instead.
There are times when it seems like things that were designed for Ubuntu don't really seem to work on the zorin distro. In this case, it probably will. I'm not really sure why I can't effectively connect to my phone though when in Zorin...maybe because there is a Kies for linux? I dunno...
I suppose I could try to install it though.
But anyways, more to the point! If cygwin/android kitchen was designed to also work in Windows XP/Vista/7, then why am I getting this error, and how do I fix it?
R: [Q] Android Kitchen "gcc not installed" error
Thats why i use kubuntu. Though i can't answer your question, i do know ubuntu and windows hate each other, getting that stuff to work is gonna probab be a pain.
If zorin has got problems try emulating a small os (so u dont waste too much time) based off linux (lucid puppy linux) and see if that works.
I wouldve thought people would also be modding android stuff directly on windows rather than emulating ubuntu stuff...after all android is open source.
Sent from my GT-I9300 using xda app-developers app
killbubble said:
Thats why i use kubuntu. Though i can't answer your question, i do know ubuntu and windows hate each other, getting that stuff to work is gonna probab be a pain.
If zorin has got problems try emulating a small os (so u dont waste too much time) based off linux (lucid puppy linux) and see if that works.
I wouldve thought people would also be modding android stuff directly on windows rather than emulating ubuntu stuff...after all android is open source.
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Okay. Thanks for your suggestions. I may try and either do it on zorin, or repartition with kubuntu or something.
Too bad I can't do it in Windows...
Yeah, it's dumb that we still can't directly modify Android from Windows and have to use Linux. Well, actually, not as much "dumb" as inconvenient. Linux is free, yet it's different. I think we should be able to do it anywhere due to Android being open source.
Oh well... I don't understand why no-one else is having this problem. They have the guides for it on here (beginner's guides to making ROMs and stuff like that), and it seems as though nobody else has had this problem...or nobody even uses Windows. orz
Hopefully someone else will attempt to answer my question. thanks though. <
R: [Q] Android Kitchen "gcc not installed" error
well many developers are also pc fanatics and experiment new oses and grow to like open soyrce/free ones more than windows. many java devs use linux oses. Thats how devs roll. I use c and i like windows so i do it all in windows, but i know the editor/debugging programs are better on ubuntu than those available for windows....still....windows is...too much to shut down at times...
Sent from my GT-I9300 using xda app-developers app
killbubble said:
well many developers are also pc fanatics and experiment new oses and grow to like open soyrce/free ones more than windows. many java devs use linux oses. Thats how devs roll. I use c and i like windows so i do it all in windows, but i know the editor/debugging programs are better on ubuntu than those available for windows....still....windows is...too much to shut down at times...
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
You're probably right. I'm sure I'll be able to get used to it eventually, when I become a full developer. For now though, it's the learning curve. XD
Haha, yeah. That's good though. Windows is definitely enjoyable. (though I can't say much for W8. Ugh.)
So uh, I guess the Android Kitchen definitely works here in Zorin. Went to the menu without any problems. Funny still how it doesn't work in Windows....
You know, I'd probably have just skipped the whole kitchen thing and gone straight to development from source...but I'm not running on a x64 system, and therefore can't work on ICS and JB. :c
Soon though...very soon I will have all the parts to build my new computer, and not have to use this low-power laptop. >m>
Ascyndaeon said:
Okay this is REALLY freakin' irritating!!
I have been itching to cook up my own ROM in the kitchen...BUT I CAN'T EVEN USE IT!
I have tried installing it, multiple times (deleting everything each time to start fresh), and follow all instructions to the "T", and every single time I open Cygwin (after putting in the kitchen and renaming it) and "cd kitchen" enter "./menu", it always comes up saying "Error: The application 'gcc' is not installed - the kitchen will not function properly without it. Ensure you did not miss a step during installation! Refer to the Android Kitchen FAQ...", etc. (I could swear it installed devel > gcc when I installed Cygwin. Even used the Install all option and stuff...)
Checked out the FAQ and everything, but I still can't find it! Everything I try just doesn't work! Can someone please help?? (thank you)
Click to expand...
Click to collapse
My ERROR like ur ERROR.!
What should I do????
moj.enjoy said:
My ERROR like ur ERROR.!
What should I do????
Click to expand...
Click to collapse
Well, if I could go back in time 3 years I would be able to try and help you...I just tried it on Windows 10 here and everything works.
So, follow the instructions as far as even the cygwin_install.txt they provided. You should make sure you install /just/ the gcc-core and gcc-g++ when it tells you to tick the gcc (do not get the "cygwin gcc", idk if that did it, but just get the normal gcc). Follow all the others as well; far as I could tell the linux-util wasn't actually in utils (core instead I think?) but was already ticked, so don't worry about it unless it isn't.
After everything is done, make sure java is good to go and all, and cd to the kitchen location (just put the files in a new file, C:/kitchen/) and change directory to that. Then do the ./menu and it should work....
Also don't bump super old posts, not good. c: Either way I hope this helps. Real simple.
I really have no use for the kitchen anymore, since my GS3 gets CM nightlies (up to marshmallow? Wat!) and I have a Nexus 5X anyway so it's all gucci. But either way...yeah. It works to my knowledge.
Cheers~
(admin close thread nao? or can I do that...)
Ascyndaeon said:
Well, if I could go back in time 3 years I would be able to try and help you...I just tried it on Windows 10 here and everything works.
So, follow the instructions as far as even the cygwin_install.txt they provided. You should make sure you install /just/ the gcc-core and gcc-g++ when it tells you to tick the gcc (do not get the "cygwin gcc", idk if that did it, but just get the normal gcc). Follow all the others as well; far as I could tell the linux-util wasn't actually in utils (core instead I think?) but was already ticked, so don't worry about it unless it isn't.
After everything is done, make sure java is good to go and all, and cd to the kitchen location (just put the files in a new file, C:/kitchen/) and change directory to that. Then do the ./menu and it should work....
Also don't bump super old posts, not good. c: Either way I hope this helps. Real simple.
I really have no use for the kitchen anymore, since my GS3 gets CM nightlies (up to marshmallow? Wat!) and I have a Nexus 5X anyway so it's all gucci. But either way...yeah. It works to my knowledge.
Cheers~
(admin close thread nao? or can I do that...)
Click to expand...
Click to collapse
before ur comment
I found my answer with try and try..!!:laugh:
just setup cygwin again and saearch(gcc) and enable to install.
next ,another error and ...
THX for ur comment.
by the way how to create custom recovery for galaxy?
I'm glad to hear it's working for you! Hope you have great fun with it like I did. ^-^
And for the custom recovery...I say it's not really worth it unless you're really serious and can code. Not sure myself how one would make such a thing that has that access, you probably should ask somebody who's actually made them. Otherwise I strongly recommend either Team Win Recovery Project or ClockworkMod. (I use ClockworkMod, but most say twrp is better)
^-^

Porting CWM how to Extract stock Recovery image?

Hello Xda, i own a ZTE midnight and just a few hours ago rooted it and would like to help port CWM to my device, i was looking at this https://www.facebook.com/ClockworkMod/posts/480999728601013 and wanted to start from there but i dont know how to extract the stock recovery, any help? like i said its already rooted and i think that All ZTE devices have unlocked bootloaders so this is possible. yes i have googled it please dont bark at me.
Hi trozzul,
I too want to port it to cwm but am also not able to extract my stock recovery.
Have you tried flashify? There is an option for backup boot.img and recovery.img . I tried it but doesn't seems to work.
It does create a 0 byte file named recovery.img . Maybe it isn't working on my phone.You try it on yours.
Thankx
Yuvraj
Sent from my iris 406Q using XDA Free mobile app
coder32 said:
Hi trozzul,
I too want to port it to cwm but am also not able to extract my stock recovery.
Have you tried flashify? There is an option for backup boot.img and recovery.img . I tried it but doesn't seems to work.
It does create a 0 byte file named recovery.img . Maybe it isn't working on my phone.You try it on yours.
Thankx
Yuvraj
Sent from my iris 406Q using XDA Free mobile app
Click to expand...
Click to collapse
i sorta found out myself with playing around in a terminal emulator. would you happen to know what partition your phone is? BML or MTD? i dont know what todo if your device is BML but if you think its MTD you can try in the terminal emulator app (from play market) type in
Code:
cat /proc/mtd
enter this in and you will see around 20 MTD files. find the MTD file with "Recovery" at the end, type this in for instance (DO NOT use this code, its what my device showed the Recovery MTD for.)
Code:
dd if=/dev/mtd/mtd12 of=/sdcard/recovery.img
and it will push your recovery to your SD card (in .img format), Pretty much say your recovery was MTD9 just put in that code but replace mtd12 with MTD9 mine was about 5MB i didn't know they were that small.
Trozzul said:
Hello Xda, i own a ZTE midnight and just a few hours ago rooted it and would like to help port CWM to my device, i was looking at this https://www.facebook.com/ClockworkMod/posts/480999728601013 and wanted to start from there but i dont know how to extract the stock recovery, any help? like i said its already rooted and i think that All ZTE devices have unlocked bootloaders so this is possible. yes i have googled it please dont bark at me.
Click to expand...
Click to collapse
To extract your stock recovery what you can do is the following to determine which partition is the recovery partition. From terminal emulator or adb shell, go to the /cache/recovery directory and look for a file called log or last_log if you cd into the /cache/recovery directory you can read the log file with the cat command: cat last_log. In the log file you will see a list of the partitions on your device. One of these will be your recovery partition, remember which partition block is your recovery partition and then run the command:
Code:
cat /dev/block/yourrecoveryblock > /mnt/sdcard/recovery.img
Let me know if you still have questions.
I had already tried it .it's BML :/
Congrates to you
Sent from my iris 406Q using XDA Free mobile app
shimp208 said:
To extract your stock recovery what you can do is the following to determine which partition is the recovery partition. From terminal emulator or adb shell, go to the /cache/recovery directory and look for a file called log or last_log if you cd into the /cache/recovery directory you can read the log file with the cat command: cat last_log. In the log file you will see a list of the partitions on your device. One of these will be your recovery partition, remember which partition block is your recovery partition and then run the command:
Code:
cat /dev/block/yourrecoveryblock > /mnt/sdcard/recovery.img
Let me know if you still have questions.
Click to expand...
Click to collapse
thanks for the info! i got the Recovery.img but would you happen to know if this site is not in use anymore? http://builder.clockworkmod.com/ i get 404s after i have uploaded it and i try to see mine in the que.
Trozzul said:
thanks for the info! i got the Recovery.img but would you happen to know if this site is not in use anymore? http://builder.clockworkmod.com/ i get 404s after i have uploaded it and i try to see mine in the que.
Click to expand...
Click to collapse
Clockworkmod recovery builder website has been hit and miss recently. Overall I would strongly recommend taking a look at this guide here that will teach you the basics of porting Clockworkmod Recovery to a new device, you will also learn a lot more doing it this way, as well as it being easier to fix any issues.
shimp208 said:
Clockworkmod recovery builder website has been hit and miss recently. Overall I would strongly recommend taking a look at this guide here that will teach you the basics of porting Clockworkmod Recovery to a new device, you will also learn a lot more doing it this way, as well as it being easier to fix any issues.
Click to expand...
Click to collapse
i have to use Ubuntu? could i not use the command prompt since the codes looks like you can use them there. Could i format one of my old computers and setup Ubuntu there?
Trozzul said:
i have to use Ubuntu? could i not use the command prompt since the codes looks like you can use them there. Could i format one of my old computers and setup Ubuntu there?
Click to expand...
Click to collapse
You have to use Linux or OSX but Ubuntu is highly recommended. You can't use command prompt as the Windows architecture isn't designed to build and cross compile for the architecture Android is based on. Yes, you could format your old computer and install Ubuntu on that and proceed from there.
Sent from my SCH-I535 using XDA Premium 4 mobile app
shimp208 said:
You have to use Linux or OSX but Ubuntu is highly recommended. You can't use command prompt as the Windows architecture isn't designed to build and cross compile for the architecture Android is based on. Yes, you could format your old computer and install Ubuntu on that and proceed from there.
Sent from my SCH-I535 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Cool, i will try my best to figure out how to get Ubuntu on this old thing, from looking it up looks like a simple process. could you recommend a good way to learn some basic commands like that guide asks for? i am using codecademy right now for some basic java and html stuff i know you need to know some of that stuff. its a single core 512mb of ram old XP computer, i dont know the system requirements for Ubuntu.
Trozzul said:
Cool, i will try my best to figure out how to get Ubuntu on this old thing, from looking it up looks like a simple process. could you recommend a good way to learn some basic commands like that guide asks for? i am using codecademy right now for some basic java and html stuff i know you need to know some of that stuff. its a single core 512mb of ram old XP computer, i dont know the system requirements for Ubuntu.
Click to expand...
Click to collapse
Your machine meets the minimum specs for Ubuntu (Barley) you could also check out Xbuntu or Lubuntu as well, make sure you use a 64-bit version as Android building requires that. Keep in mind with those specs you should be able to build it will just take a while to compile. For learning the basics of the Linux command line, this is a great guide just ignore the parts about Windows Power Shell (Or don't ignore them and learn twice as much!). The system requirements for Ubuntu can be found here as well for your reference. Android building does't really deal with HTML, it does deal with Java but as always the more you know the better because it just makes it easier to learn from there.
shimp208 said:
Your machine meets the minimum specs for Ubuntu (Barley) you could also check out Xbuntu or Lubuntu as well, make sure you use a 64-bit version as Android building requires that. Keep in mind with those specs you should be able to build it will just take a while to compile. For learning the basics of the Linux command line, this is a great guide just ignore the parts about Windows Power Shell (Or don't ignore them and learn twice as much!). The system requirements for Ubuntu can be found here as well for your reference. Android building does't really deal with HTML, it does deal with Java but as always the more you know the better because it just makes it easier to learn from there.
Click to expand...
Click to collapse
im pretty sure that computer i have is 32bit, so im screwed?
Trozzul said:
im pretty sure that computer i have is 32bit, so im screwed?
Click to expand...
Click to collapse
Is the operating system installed 32-bit or is the the CPU itself in your computer a 32-bit processor because if it's just a 32 -bit operating system you can still install the 64-bit version. But if it's a 32-bit processor then I'm afraid your out of luck. What you can do however is setup Ubuntu in a virtual machine on your main computer using Virtualbox.
shimp208 said:
Is the operating system installed 32-bit or is the the CPU itself in your computer a 32-bit processor because if it's just a 32 -bit operating system you can still install the 64-bit version. But if it's a 32-bit processor then I'm afraid your out of luck. What you can do however is setup Ubuntu in a virtual machine on your main computer using Virtualbox.
Click to expand...
Click to collapse
i was aware of the virtual machine ( still dont know how to do it lol) and i sorta didnt want to use it on my main computer i feel like to me it would be easier to just start linux on another computer. uh how would i tell if the processor on it is 32bit?
Trozzul said:
i was aware of the virtual machine ( still dont know how to do it lol) and i sorta didnt want to use it on my main computer i feel like to me it would be easier to just start linux on another computer. uh how would i tell if the processor on it is 32bit?
Click to expand...
Click to collapse
With Virtualbox you can setup Windows and Linux side-by-side and the good thing is if you mess something up in Virtualbox you regular windows installation is unaffected, I would highly recommend checking out this video walk though guide on how to install Ubuntu 14.04 LTS in Virtualbox. You can find out if you have a 32-bit processor or 64-bit processor by going to Accessories -> System Tools -> System Information (Or just search for System Information), then look at the System Type entry if it says x64-based PC you have a 64-bit processor if it says x86-based PC you have a 32-bit processor.
shimp208 said:
With Virtualbox you can setup Windows and Linux side-by-side and the good thing is if you mess something up in Virtualbox you regular windows installation is unaffected, I would highly recommend checking out this video walk though guide on how to install Ubuntu 14.04 LTS in Virtualbox. You can find out if you have a 32-bit processor or 64-bit processor by going to Accessories -> System Tools -> System Information (Or just search for System Information), then look at the System Type entry if it says x64-based PC you have a 64-bit processor if it says x86-based PC you have a 32-bit processor.
Click to expand...
Click to collapse
ill try to post back soon, i will try out virtualbox but im going to try to still get ubuntu on another computer i own, the other one ended up being x86 based. im sure the new one is 64-bit but it needs some work on it. thanks for the help so far!
Trozzul said:
ill try to post back soon, i will try out virtualbox but im going to try to still get ubuntu on another computer i own, the other one ended up being x86 based. im sure the new one is 64-bit but it needs some work on it. thanks for the help so far!
Click to expand...
Click to collapse
No problem buddy happy to help out, let me know how it goes!
shimp208 said:
No problem buddy happy to help out, let me know how it goes!
Click to expand...
Click to collapse
alright installed Ubuntu on one of my many computers, gonna try to build a setup a build environment, i have 75 gigs free on my hard drive, i heard the android source needs 100GB? could i put another hard drive in my computer thats 80gigs and would work?
Trozzul said:
alright installed Ubuntu on one of my many computers, gonna try to build a setup a build environment, i have 75 gigs free on my hard drive, i heard the android source needs 100GB? could i put another hard drive in my computer thats 80gigs and would work?
Click to expand...
Click to collapse
My apologizes for getting back to you so late @Trozzul I just finished with my finals the other day and didn't get home till much latter then anticipated hence the delay. While you could put in another 80 GB hard drive I would recommend picking up at least a 250 GB Hard Drive (They can be found online for about $30-$40), as that way you can be sure you won't run out of room and can have your main build environment all on one drive. But you can try it with the setup you have now and you can probably get away with it. As always let me know of any questions you have happy to help :highfive:.

Windows RT 8.0 Recovery Environment Jailbreak

This is a version of the 8.0 jailbreak that will run in the recovery environment. This is meant more for developers than end-users.
It does not force a two minute wait at the start, but that is still required.
As always, it was developed for a Surface RT. Vivo tabs, etc..., your mileage may vary. I developed it targeting the Windows RT 8.0 image that MS uploaded after the 8.1 upgrade issues. I don't know if this varies from the stock image, I don't have it anymore.
I'm also curious as to if it'll run on a Surface 2 in the recovery environment. If anyone can test, I'd be grateful.
The trick to getting cdb and whatnot to run was plugging in valid certificate catalogs for cdb (and some other tools).
It also doesn't work with the side volume keys, though it does work with the volume keys on my Type 2 keyboard.
I think you need to add an batch file to download the symbol. The preloaded one may not work on some other tablets.
LolitaPlus said:
I think you need to add an batch file to download the symbol. The preloaded one may not work on some other tablets.
Click to expand...
Click to collapse
There is no Internet in recovery mode. If you can send me aystem32\ntkrnlmp.exe and system32\ci.dll for your recovery I can add them.
netham45 said:
There is no Internet in recovery mode. If you can send me aystem32\ntkrnlmp.exe and system32\ci.dll for your recovery I can add them.
Click to expand...
Click to collapse
However you can run it under normal Windows RT environment, don't you? I know there is no internet so I said it should be in another file.
LolitaPlus said:
However you can run it under normal Windows RT environment, don't you? I know there is no internet so I said it should be in another file.
Click to expand...
Click to collapse
You can't get at the recovery files easily from a full system either.
netham45 said:
It also doesn't work with the side volume keys, though it does work with the volume keys on my Type 2 keyboard.
Click to expand...
Click to collapse
So, seriously, that was my mistake. I only try to use side volume key. And I delete all my work for recovery jailbreak yesterday. Want to cry now. :crying:
Thank for your work, again.
netham45 said:
There is no Internet in recovery mode. If you can send me aystem32\ntkrnlmp.exe and system32\ci.dll for your recovery I can add them.
Click to expand...
Click to collapse
Is there anyway I can done it myself?
LolitaPlus said:
However you can run it under normal Windows RT environment, don't you? I know there is no internet so I said it should be in another file.
Click to expand...
Click to collapse
I get what you're saying, misread your other post. I don't have my device in a bootable state right now, but once I get it fixed up I'll make a .bat you can run to dump the PDBs for the other kernels.
hisoft said:
So, seriously, that was my mistake. I only try to use side volume key. And I delete all my work for recovery jailbreak yesterday. Want to cry now. :crying:
Click to expand...
Click to collapse
That really stinks. Sorry for your loss.
Assuming we have a way to run unsigned code, does anyone have a way to perform raw reads of a block device? I don't think there's any way to do it with managed code, and my development skills only extend a little into that. I figure there should be a way to compile C++ for ARM though. It might help you recover some of what you lost.
Also, it might help us get deleted files off system partitions. A few of us got lucky in getting Vivotab RTs that didn't have signing files deleted. If we could boot from a USB stick and undelete them, then just about everyone could have them...
nice work and a useful way to boot an RT8.1 system into an 8.0RT RE + jailbreak system
I had to get the correct symbols for my Sept 2012 kernel
You have to unlock the os drive if system has a Live account and it is Bitlockered
I usually skip that and run a batch file
manage-bde -unlock c: -recoverypassword xxxxxx-...
WindowsRE RT8.0
doesn't have a full windows environment or full win32 api (obviously) and no network (so far)
but can run many unsigned RT desktop apps
eg
putty
Strangely it can't run RT8.1 standard OS utilities -- must be some version number etc in the header it doesn't like
I might look into a way to dual boot it from HD (rather than booting from a USB) in due course
This is awsome! Been waiting for some update on something about RT jailbreaking even though it's in a RE environment.

Battery Status on computer

IGNORE THIS, NEWER VERSION(S) ARE HERE: http://forum.xda-developers.com/android/development/phone-s-battery-status-computer-screen-t3070549
I have made a program to display the percentage of your phone on your computer. Requirements:
Computer that can run bash
USB-to-phone cable
ADB enabled on phone
Has been tested on the following:
LG P716 Jelly bean stock- One Works the other doesn't
LG P716 KitKat - Works
LG P500 with CM11 and rooted- Works
Samsung S3 stock - Doesn't work
Your help is greatly appreciated to porting it to Windows/Mac and adding new devices.
wilk.gr76 said:
I have made a program to display the percentage of your phone on your computer. Requirements:
Computer that can run bash
USB-to-phone cable
ADB enabled on phone
Has been tested on the following:
LG P716 Jelly bean stock- One Works the other doesn't
LG P716 KitKat - Works
LG P500 with CM11 and rooted- Works
Samsung S3 stock - Doesn't work
Your help is greatly appreciated to porting it to Windows/Mac and adding new devices.
Click to expand...
Click to collapse
Don't get me wrong but do you really have a use for it or is it just about improving your development skills ?
LS.xD said:
Don't get me wrong but do you really have a use for it or is it just about improving your development skills ?
Click to expand...
Click to collapse
I do. If I plug my phone in, and then turn on the display to see how far it has charged, the battery percentage is DROPPING! So, I created this. If you want faster charging than your USB port, use ADB over WiFi. But this did help me hone my skills.
wilk.gr76 said:
I do. If I plug my phone in, and then turn on the display to see how far it has charged, the battery percentage is DROPPING! So, I created this. If you want faster charging than your USB port, use ADB over WiFi. But this did help me hone my skills.
Click to expand...
Click to collapse
Pretty cool for that specific purpose I just downloaded the zip and was just about starting my laptop to test it BUT the archive is damaged and i can't extract it May you please check the archive's integrity and upload it again?!
Sure!
LS.xD said:
Pretty cool for that specific purpose I just downloaded the zip and was just about starting my laptop to test it BUT the archive is damaged and i can't extract it May you please check the archive's integrity and upload it again?!
Click to expand...
Click to collapse
Did that! Just make sure you can run bash. Your computer'll need linux or mac os x (not sure about mac)
If it helps, please press thanks.
wilk.gr76 said:
Did that! Just make sure you can run bash. Your computer'll need linux or mac os x (not sure about mac)
Click to expand...
Click to collapse
BASH?! Never heard about it...
Manjaro Linux should be fine for it
LS.xD said:
Pretty cool for that specific purpose I just downloaded the zip and was just about starting my laptop to test it BUT the archive is damaged and i can't extract it May you please check the archive's integrity and upload it again?!
Click to expand...
Click to collapse
It is nice to get feedback so quicly! I expected to have no replies by Sunday, yet I get one in the first 5 mins! "Vielen Dank!" (I saw the german flag by your name...)
LS.xD said:
BASH?! Never heard about it...
Manjaro Linux should be fine for it
Click to expand...
Click to collapse
Open the terminal, and its most likely your using bash. Bourne-Again SHell.
Just wondering, what is the orange "OP" rectangle next to "Junior Member", to the left of my post?
wilk.gr76 said:
Open the terminal, and its most likely your using bash. Bourne-Again SHell.
Just wondering, what is the orange "OP" rectangle next to "Junior Member", to the left of my post?
Click to expand...
Click to collapse
OP = overpowered or may be "Original Poster"
Is it possible that your tool only runs on 32Bit systems? I use 64Bit OS with multilib and no chance to make it fly / run or whatever you like
LS.xD said:
OP = overpowered or may be "Original Poster"
Is it possible that your tool only runs on 32Bit systems? I use 64Bit OS with multilib and no chance to make it fly / run or whatever you like
Click to expand...
Click to collapse
Yes it is built for 32bit systems but you should be able to run it on 64 bit as well. You need to unzip everything of course and make adb and dialog (in the same folder as the script) executable. The command is chmod +x adb && chmod +x dialog
To change it to 64-bit, you'll need to replace the adb and dialog files with the 64-bit versions.
You might need ia32-libs or somthing like that.
Also, OP I think it overpowering. You shall port it to Windows. You shall thank me. LOL, don't have to do it.
wilk.gr76 said:
Yes it is built for 32bit systems but you should be able to run it on 64 bit as well. You need to unzip everything of course and make adb and dialog (in the same folder as the script) executable. The command is chmod +x adb && chmod +x dialog
To change it to 64-bit, you'll need to replace the adb and dialog files with the 64-bit versions.
You might need ia32-libs or somthing like that.
Also, OP I think it overpowering. You shall port it to Windows. You shall thank me. LOL, don't have to do it.
Click to expand...
Click to collapse
Im familiar with chmod Commandline version works well (see signature for phone's setups) while the guy version causes a never ending error output:
libgtk-3.so.0 shared libraries can't be found . All files are present in my Linux so I really have no clue, why i can't open it.
LS.xD said:
Im familiar with chmod Commandline version works well (see signature for phone's setups) while the guy version causes a never ending error output:
libgtk-3.so.0 shared libraries can't be found . All files are present in my Linux so I really have no clue, why i can't open it.
Click to expand...
Click to collapse
Are you using GNOME? You might need to install libgtk. But, like the readme file says, this is bit is still alpha (it's more beta than beta.. If that makes sense).
But if it helped, please press the " Thanks" button
wilk.gr76 said:
Are you using GNOME? You might need to install libgtk. But, like the readme file says, this is bit is still alpha (it's more beta than beta.. If that makes sense).
But if it helped, please press the " Thanks" button
Click to expand...
Click to collapse
Its really weird as the libs "missing" are all installed. I use KDE.
LS.xD said:
Its really weird as the libs "missing" are all installed. I use KDE.
Click to expand...
Click to collapse
It's pretty strange that it used "can't" instead of "cannot". Maybe try using gnome. I dunno, it works on mine.
I'm moving this to a DevDB now.
Has been moved to http://forum.xda-developers.com/and...ter-screen-t3070549/post59841376#post59841376

Categories

Resources