Battery Status on computer - General Topics

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

Related

One Click Root & Recovery for the Epic 4G! v2.5.5 Now has ClockworkMod Redirector!

One Click Root & Recovery for the Epic 4G! v2.5.5 Now has ClockworkMod Redirector!
Here's a new one click root. 2.4.0 now flashes clockworkmod recovery for you. It's also a little less likely to fail, and is tested to work on Froyo.
It will also work correctly if you are on a pre-rooted kernel. It will install superuser, busybox, and clockworkmod.
http://firon.net/xda/one.click.root.exploitv2.5.5.zip
Here's 2.5.0 of the one click root, now with the clockwork redirector integrated.
I cleaned up noobnl's script a little bit and ensured that adbd would run as root when booted into recovery. Also made sure we symlinked every single applet that recovery's busybox provides.
Now the one click also avoids pushing playlogo unless it detects that you have the old joeykrim root installed, to avoid any potential issues with future froyo releases.
Linux and Mac users users chmod +x run.sh and run it
THANKS FIRON
Here's 2.2.7, that simplifies the root process thanks to the discoveries here: http://forum.xda-developers.com/showthread.php?t=800483
I also increased the timeout after running the root (fails less), moved more things to /system/xbin to reduce the risk of breaking things, and removes all the old files leftover from joeykrim's root (including his modified playlogo that runs at boot every time).
It also means your system will no longer be mounted as read-only every time you reboot and there's no more problems with jk-su overwriting your existing su binary.
1. you need samsung galaxy s drivers
32-bit drivers: http://firon.net/xda/Samsung_Mobile_Driver_V1.3.800_For_SPH-d700_Epic_4G.zip
64-bit drivers: http://firon.net/xda/usb_drivers_GalaxyS_x64.zip
2. push MENU, select Applications > Development, then enable USB debugging.
3. extract and run run.bat
4. enjoy!
v2.2.4 added busybox and the remount script and fixes sprint animation not showing
2.2.5 superuser.apk & su added!
v2.2.6 installs busybox to xbin
uninstaller http://firon.net/xda/one.click.stock.flasher.&.root.uninstaller-di18.zip
Any word on whether the OTA update (Hotspot/4G/AmazonMP3) breaks or makes this method not work?
lordcyrus said:
Any word on whether the OTA update (Hotspot/4G/AmazonMP3) breaks or makes this method not work?
Click to expand...
Click to collapse
no it doesn't break it
Gonna test this right now!
Sweet!!! Thanks!!! Going to do this after i get my epic after work.
Longest day ever!!!
OP. There is a really big step missing here. Guess what it is?
Hint: You need to have set the path in the command prompt for adb in order to work.
Fixter said:
Gonna test this right now!
Click to expand...
Click to collapse
You first Boriqua.
Fixter said:
OP. There is a really big step missing here. Guess what it is?
Hint: You need to have set the path in the command prompt for adb in order to work.
Click to expand...
Click to collapse
updated the post and dl link!
NOOB question, how do you know if your 32-bit, or 64-bit? Running Windows 7 basic on a net book.
Will this nand unlock?
vazquezcmp said:
NOOB question, how do you know if your 32-bit, or 64-bit? Running Windows 7 basic on a net book.
Click to expand...
Click to collapse
Odds are its 32 but heres how to check:
Click Start
Right Click Computer
Click Properties
Then look where it says System Type
32. Thanks man. I'm next.
Hmm.. Still not working.
Bring on the custom ROM's
Alright, well you needed to copy the folder to the Tools folder of the SDK.
I'm typically not brain dead but I'm lost
Working on Windows XP....
A) Installed the 32 bit drivers (strange that when I plug the phone into the USB cord the computer doesn't ever seem to acknowledge that I did so as it did with my BB?)
B) Tried to run the RUN and RUN 2 but I keep getting messages that no device is detected.
Obviously I'm missing something somewhere???????
jfenton57 said:
I'm typically not brain dead but I'm lost
Working on Windows XP....
A) Installed the 32 bit drivers (strange that when I plug the phone into the USB cord the computer doesn't ever seem to acknowledge that I did so as it did with my BB?)
B) Tried to run the RUN and RUN 2 but I keep getting messages that no device is detected.
Obviously I'm missing something somewhere???????
Click to expand...
Click to collapse
I'm not even seeing RUN2.
My phone went completely black. Not responding to anything.
I can see the device with adb devices and ran run.bat and then run2.bat and it rebooted the phone but I don't think I have root. How can I test it? I downloaded wireless tether and it doesn't broadcast.
GrandMstrBud said:
I can see the device with adb devices and ran run.bat and then run2.bat and it rebooted the phone but I don't think I have root. How can I test it? I downloaded wireless tether and it doesn't broadcast.
Click to expand...
Click to collapse
Download Titanium Backup.

DOOverclock - Easier Way to OC Your Droid 2

Hi all.
Overclocking for your Rooted Droid 2 and Droid X on Linux/Mac and now Windows! Before continuing, consider this alternate method.
http://www.droid-life.com/2010/10/22/how-to-overclock-the-droid-x-or-droid-2/#more-17844
If you get a permission error through adb shell, use the Terminal Emulator app and enter SU, then run the script again.
Instruction for Mac:
1. Extract files. Doubleclick the dooverclock.zip file, and drag and drop the folder to your desktop.
2. Next, open terminal, and navigate to your folder. It'll be something like cd /desktop/dooverclock or cd /Desktop/dooverclock.
3. Now you need to change permissions to the dooverclock file. Enter:
chmod 0755 dooverclock.sh
4. Make sure you are in PC Mode. USB debugging should be enabled. Don't need icon showing.
5. Run dooverclock.sh by entering:
./dooverclock.sh
6. Follow directions of the UI.
Instruction for Linux:
1. Extract files. Doubleclick the dooverclock.zip file, and drag and drop the folder to your desktop.
2. Open the folder and right click the dooverclock.sh file. Go to permissions and go down toward the bottom of the window and check the allow file to be executed or something like that. Press ok.
3. Make sure you are in PC Mode. USB debugging should be enabled. Don't need icon showing.
4. Run dooverclock.sh by double clicking it, and choosing run in terminal.
5. Follow directions of the UI.
Instructions for Windows:
How-to Video: http://www.youtube.com/watch?v=0ieaiSxamDg
1. Extract folder from zip. Open the .zip and drag and drop the folder onto the desktop.
2. Make sure phone is in either Charge only or PC Mode with USB debugging enabled.
3. Open the folder and double-click dooverclock.bat, and follow the UI
4. Hope it succeed, check with SetCPU.
How to use the custom.sh
All you have to do is edit the custom.sh file, edit your settings, and save the file. From there, just open the scripts and choose to overclock using the custom.sh file.
Downloads for Droid 2 (Will not work for DX)
Download here (Linux): http://kimete.com/droid/dooverclock/dooverclock.zip
Download here (Mac): http://kimete.com/droid/dooverclock/dooverclockmac.zip
Download (Windows): http://kimete.com/droid/dooverclock/dooverclockwin.zip
Download for Droid X (Will not work for D2)
Download for DroidX (Linux) user (Untested): http://kimete.com/droid/dooverclock/dooverclockdx.zip
Download for Droid X (Mac) user (Untested): http://kimete.com/droid/dooverclock/dooverclockdxmac.zip
Download for DroidX Windows user (Untested): http://kimete.com/droid/dooverclock/dooverclockdxwin.zip
Changelog:
Version 1.0 - first version, messy code, just made it work
Version 1.0b - added support for Windows by Requiem
Version 1.1 and 1.1b - cleaned up interface and coding, made it more efficient running, added standalone adb file.
Version 1.2 - added ability to OC to user specs using custom.sh
References
Original procedure here: http://androidforums.com/droid-2-al...d-2-overclock-kernel-module-instructions.html
Original procedure and files by FreeWell for DX and D2. WalCs helped port stuff over to D2.
More formal information coming soon! Thank you to Requiem4D for tweaking my Windows code.
LICENSE Info: License?? Everyone is welcome to use any and/or all my code in anyway you see fit. I do ask that you do credit me if you use any portion. I also provide this code FREE of charge and I hope that everyone shares the love and does the same. I encourage you to use bits and pieces of my code if possible. There is no point in rewriting code from scratch if it has already be done! It is a WASTE OF TIME, and INEFFICIENT!! Enjoy all.
-Kevin
aka DarkOnion
Donation info: Like my script, donate to me, a poor college student. Struggling with finances and what not. A few dollars go a long way. $2.18 buys me 5 tacos from Del Taco. $1.50 gets me a small chili at Wendy's! Donate to me via Paypal at [email protected]. Please feel free to share this thread by sharing the link. Suggested donation: $0.25 to $1.
Gotta be First
Added Windows version! It ain't pretty, but it'll work. I hope...
Found something on the mac side. ADB fails to run with the version you included. Works if you copy the adb binary file from your android SDK folder. :]
EDIT: Playing around with this a bit...working great so far. Running @ 1.1GHz, pretty stable. Is there any way to add more slots? For example 300/500/700/900/1100?
When you say set with setCPU, are you referring to the market app of the same name?
I answered my own question. Running nicely at 400/700/900/1200 on Epic 2.7, this is great
getting ready to dl and try... question tho... do we need to do this after each reboot, or will this stick? (or is there a simple method from the phone since you already put the files on there?)
Thanks and keep up the good work... will donate on payday!
:O!! Will have to try after class today. Nice work!
currently you have to do it after every reboot, there is a way to make it semi permanent but you still have to execute the files on every boot
Sent from my DROID2
oshigeru said:
Found something on the mac side. ADB fails to run with the version you included. Works if you copy the adb binary file from your android SDK folder. :]
EDIT: Playing around with this a bit...working great so far. Running @ 1.1GHz, pretty stable. Is there any way to add more slots? For example 300/500/700/900/1100?
Click to expand...
Click to collapse
Oops. Duh! That's what happens when you work at code at 3 in the morning.
darkonion said:
Oops. Duh! That's what happens when you work at code at 3 in the morning.
Click to expand...
Click to collapse
S'all good. Might want to add in a script that makes setscaling.sh run on the phone at startup.
kwheel596 said:
currently you have to do it after every reboot, there is a way to make it semi permanent but you still have to execute the files on every boot
Sent from my DROID2
Click to expand...
Click to collapse
Hey darkonion, if you use this overclock method with setCPU, does the "set on boot" option from within setCPU actually work? Or does this truly have to be redone every time the phone phone is power-cycled?
bladearronwey said:
Hey darkonion, if you use this overclock method with setCPU, does the "set on boot" option from within setCPU actually work? Or does this truly have to be redone every time the phone phone is power-cycled?
Click to expand...
Click to collapse
Not sure. Sorry that I can't be much help.
Added Mac version!
Nice work Darkonion.
I am trying to make this into an Android App unless someone beat me to the punch
darkonion said:
Hi all.
Overclocking for your Rooted Droid 2 on Linux/Mac and now Windows! Instructions coming soon. General instruction for Linux/Mac:
1. Extract files.
2. Chmod dooverclock.sh
3. Make sure you are in PC Mode. USB debugging should be enabled. Don't need icon showing.
4. Run dooverclock.sh
5. Follow directions of the UI.
General Instructions for Windows:
1. Extract folder from zip.
2. Make sure phone is in either Charge only or PC Mode with USB debugging enabled.
3. Double-click dooverclock.bat, and follow the UI
4. Hope it succeed, check with SetCPU.
Download here (Linux): http://kimete.com/droid/dooverclock/dooverclock.zip
Download here (Mac): http://kimete.com/droid/dooverclock/dooverclockmac.zip
Download (Windows): http://kimete.com/droid/dooverclock/dooverclockwin.zip
Download for DroidX (Linux) user (Untested): http://kimete.com/droid/dooverclock/dooverclockdx.zip
Download for Droid X (Mac) user (Untested): http://kimete.com/droid/dooverclock/dooverclockdxmac.zip
Download for DroidX Windows user (Untested): http://kimete.com/droid/dooverclock/dooverclockdxwin.zip
Original procedure here: http://androidforums.com/droid-2-al...d-2-overclock-kernel-module-instructions.html
More formal information coming soon! Thank you to Requiem4D for tweaking my Windows code.
-Kevin
aka DarkOnion
Donation info: Like my script, donate to me, a poor college student. A few dollars go a long way. $2.18 buys me 5 tacos from Del Taco. $1.50 gets me a small chili at Wendy's!
Click to expand...
Click to collapse
MotoBoy said:
Nice work Darkonion.
I am trying to make this into an Android App unless someone beat me to the punch
Click to expand...
Click to collapse
http://androidforums.com/droid-2-al...kernel-module-instructions-2.html#post1771829
Redflea had a little how-to of sorts for a script... not exactly an app, but damn close....
Good job DarkOnion it works great the Dx board appreciates you shaved off 15minutes of work......donation
This may sound like a stupid question, but what is overclocking mean? What is the benefit of overclocking?
Thanks
Sent from my DROID2 using XDA App
Wikipedia said:
Overclocking is the process of running a computer component at a higher clock rate (more clock cycles per second) than it was designed for or was specified by the manufacturer, usually practiced by enthusiasts seeking an increase in the performance of their computers
Click to expand...
Click to collapse
The definition above is for computers, but applies to phones too. Basically we are taking the 1Ghz processor and changing it to things like 1.1Ghz, 1.25Ghz, and 1.3Ghz, etc..
kwheel596 said:
The definition above is for computers, but applies to phones too. Basically we are taking the 1Ghz processor and changing it to things like 1.1Ghz, 1.25Ghz, and 1.3Ghz, etc..
Click to expand...
Click to collapse
Thanks for the definition. What is the purpose for changing the phone's clock speed? Once I deleted the bloatware on my phone, it helped to make my phone load programs and such a lot faster.
Sent from my DROID2 using XDA App
New Windows script up. Cleaner. And should run a little more efficiently. Updated Linux and Mac version as well.
Updated windows version again!

PC broke so no odin now what?

My PC crashed on me and its so old I dont think I want to repair it. I have a powermac G4 so I cant even download heimdall because its only for intel based Macs. Ive quickly learned the ins and outs of flashing. I couldnt tell you the last time I bricked my cappy but now that I dont really have an option to recover I dont really want to take any chances. Is there a third option incase **** happens? I really dont want to get a new computer because my G4 is fast enough for the websurfing I do.
Phone a friend?
Sent from my Captivate
curti.nogg said:
Phone a friend?
Sent from my Captivate
Click to expand...
Click to collapse
+100000000
10chars.
Smallsmx3 said:
My PC crashed on me and its so old I dont think I want to repair it. I have a powermac G4 so I cant even download heimdall because its only for intel based Macs. Ive quickly learned the ins and outs of flashing. I couldnt tell you the last time I bricked my cappy but now that I dont really have an option to recover I dont really want to take any chances. Is there a third option incase **** happens? I really dont want to get a new computer because my G4 is fast enough for the websurfing I do.
Click to expand...
Click to collapse
I don't have access to a PPC Mac so I haven't had a chance to test this. However I did attempt to develop Heimdall with support for PPC Macs.
You'll have to download the source package and make the following modifications:
In OutboundPacket.h after line 22:
#define OUTBOUNDPACKET_H
Click to expand...
Click to collapse
Add the line:
#define PPC
Click to expand...
Click to collapse
In InboundPacket.h after line 22:
#define INBOUNDPACKET_H
Click to expand...
Click to collapse
Add the same line:
#define PPC
Click to expand...
Click to collapse
Then follow the instructions to compile (don't forget you need the libusb-1.0 SDK) and run Heimdall as usual you should hopefully be able to get Heimdall running on your G4.
Wow thanks! Unfortunately I have no experienc in programming but ill see what I can do
Sent from my SAMSUNG-SGH-I897 using XDA App
Well I can add the lines to both files but have no idea how to compile everything. I know you left instructions but it looks like jibberish to me....lol
Smallsmx3 said:
Well I can add the lines to both files but have no idea how to compile everything. I know you left instructions but it looks like jibberish to me....lol
Click to expand...
Click to collapse
Yeah. If you have no experience whatsoever compiling software then this might be a bit of a stretch.
First you need to install all the build tools. Whilst all of XCode technically isn't necessary, it's easiest if you just install the whole of XCode using the installer. XCode is probably included on your original OS X disk but if not you can download it for free from Apple's website.
Once you've installed XCode you need to install libusb 1.0.8 (http://www.libusb.org/). Then you need to get the Heimdall intel binaries and follow the instructions to install them. The intel binaries obviously won't work but it also makes some other changes which are required.
Then you need to use terminal to navigate (i.e cd) to the directory where you extracted the Heimdall source code. Once there you need to type:
config
make
sudo make install
Click to expand...
Click to collapse
If it complains on the first step, then type the following and retry:
sudo chmod 755 config
Click to expand...
Click to collapse
If you need more help it would be good if you could post in the Galaxy S Heimdall thread so other users can easily find and benefit from the answers I give.
Couldnt he setup a virtualbox with windows XP on it... and then Odin will start working again?
avgjoegeek said:
Couldnt he setup a virtualbox with windows XP on it... and then Odin will start working again?
Click to expand...
Click to collapse
Assuming Smallsmx3 doesn't mind running a virtual machine, then that is indeed a very good point It might work out to be simpler in this particular circumstance.
I have tried to run virtualbox and im positive its for only intel macs. Guest pc is my only option but I think I would have to buy the software and Im not 100% sure that I could even get odin working through guest pc. I really appreciate the help.

[GUIDE] [VIDEO] Various Guides Including Root and ROM reviews

Sticky Worthy?
How To Guides in Video Form:
How To One Click Unlock Bootloader http://www.youtube.com/watch?v=sSVD5b9nAcI&list=UU1J4DKcJXENzC-FkyMU6dow&index=15&feature=plcp
How To Manually Unlock Bootloader http://www.youtube.com/watch?v=sSVD5b9nAcI&list=UU1J4DKcJXENzC-FkyMU6dow&index=15&feature=plcp
One Click DebugFS method: http://www.youtube.com/watch?v=EpuiKIl7lpI&feature=share&list=UU1J4DKcJXENzC-FkyMU6dow
Video Root Guide: http://youtu.be/cuiJYKV2GGU
^^This is just a Visual aid for the method provided by Invisiblek outlined here http://forum.xda-developers.com/showthread.php?t=1756885
How to Update Your Baseband/Modem to latest OTA : http://www.youtube.com/watch?v=K2dQ2kv9kYs&feature=share&list=UU1J4DKcJXENzC-FkyMU6dow
How To Nandroid backup in Cwm Recovery: https://www.youtube.com/watch?v=4zWSK7cO3xg&feature=youtube_gdata_player
How To Unbrick, Unroot, Factory Restore Galaxy S III http://youtu.be/p0T4FO_NZ8Y
How To Easily Backup Apps and Data to Flashable.zip http://youtu.be/OPPoKlu_4qw
How To Install CM9 or CM10: http://youtu.be/f68NgGgrwAQ
How To Back up and Restore IMEI: http://www.youtube.com/watch?v=dl6Ms3oVEDo&feature=share&list=UU1J4DKcJXENzC-FkyMU6dow
How To Use Your SGS3 as a Netflix Remote: http://www.youtube.com/watch?v=JICq0P1Ywg4&feature=share&list=UU1J4DKcJXENzC-FkyMU6dow
Rom Reviews and Install Guides:
JellyWiz Touchwiz Jelly Bean 4.1.1 Rom Review and Install: http://www.youtube.com/watch?v=twDBZg4wkBk&feature=share&list=UU1J4DKcJXENzC-FkyMU6dow
Liquid v2 RC3 Rom Review and Install http://www.youtube.com/watch?v=ieuy5Bx76-Q&feature=share&list=UU1J4DKcJXENzC-FkyMU6dow
AOKP 4.1.1 Rom Review and Install: http://www.youtube.com/watch?v=kjULad8XS-4&feature=share&list=UU1J4DKcJXENzC-FkyMU6dow
MIUI v4.1 Jelly Bean Review and Install for Unlocked Bootloaderhttp://www.youtube.com/watch?v=azkToBXLjig&list=UU1J4DKcJXENzC-FkyMU6dow&index=2&feature=plcp
Cyanogen Mod 10 Jelly Bean for Unlocked Bootloader http://www.youtube.com/watch?v=7nW0SRKxUQk&list=UU1J4DKcJXENzC-FkyMU6dow&index=14&feature=plcp
Clean Rom Full Review and Install For Unlocked Bootloader http://www.youtube.com/watch?v=0PtIKXddfNI&list=UU1J4DKcJXENzC-FkyMU6dow&index=7&feature=plcp
Bean's Custom Stock Rom Review and Install For Unlocked Bootloader http://www.youtube.com/watch?v=napoMpZKCDA&list=UU1J4DKcJXENzC-FkyMU6dow&index=13&feature=plcp
First ROM Stock Stripped by Invisiblek: for Locked Bootloader https://www.youtube.com/watch?v=9Oek_24wEXI&feature=youtube_gdata_player
Cyanogen Mod 10 Rom Review: for Locked Bootloader http://youtu.be/2efLx_iTBDk
AOKP Android Open Kang Project Milestone 6 Review and Install for Locked Bootloader http://youtu.be/ATiFaCssKHs
Synergy Rom (Battery life and Stability) Review and Install for Locked Bootloader http://youtu.be/bj7w2nu_sKk
fix your link. you forgot the opening [ preceding the closing youtube tag.
Could you please do a back-to-stock video as well?
Thanks for doing this. First Samsung phone so it's quite new to me. Appreciate the video, it'll definitely help
Sent from my PC36100 using Tapatalk 2
Always wish these were made for each phone, the devs put so much work into making roms and root methods, but usually skimp on the instructions for those of us who aren't as experienced. Thanks for this
I will try to update this thread with any other videos I make, or I might make a separate thread. Glad its helped though.
Sent from my Galaxy Nexus using xda app-developers app
Thanks for the video. I'll be going through this as quickly as I can get home from work tomorrow!!
Great video, but in your description, to install the SDK using the Java links, I installed the JDK but the SDK install still thinks it's missing, and won't go any further, making me Cancel out. No idea what to do now...no SDK = no ADB commands :-(
minmongoblin said:
Great video, but in your description, to install the SDK using the Java links, I installed the JDK but the SDK install still thinks it's missing, and won't go any further, making me Cancel out. No idea what to do now...no SDK = no ADB commands :-(
Click to expand...
Click to collapse
Alos agree great video and helped me do root in no time at all! However, like you I am unable to get the adb part of the video working. I followed your other video and written instructions to the "t", and I only got as far as..
"adb is not recognized as an internal or external command"
I got the Java JDK to install fine as well as the SDK with all the required installs you said were needed for it to work. I left out all others as I'm not really too familiar with adb is it is. I changed the path, and named folders and files exactly as you did in your video. However I could never get the cmd to show adb devices.
I know the original post stated that we should know how to use it before we try this, but after trying to do research on this for the past 4 hours last night.. I concluded I have no idea what I am doing wrong/nor how to do it properly apparently.
If anyone would be able to possibly give me some assistance that would be great .
Lemonhead8890 said:
Alos agree great video and helped me do root in no time at all! However, like you I am unable to get the adb part of the video working. I followed your other video and written instructions to the "t", and I only got as far as..
"adb is not recognized as an internal or external command"
I got the Java JDK to install fine as well as the SDK with all the required installs you said were needed for it to work. I left out all others as I'm not really too familiar with adb is it is. I changed the path, and named folders and files exactly as you did in your video. However I could never get the cmd to show adb devices.
I know the original post stated that we should know how to use it before we try this, but after trying to do research on this for the past 4 hours last night.. I concluded I have no idea what I am doing wrong/nor how to do it properly apparently.
If anyone would be able to possibly give me some assistance that would be great .
Click to expand...
Click to collapse
Is your usb debugging enabled on your phohne?
When you cd <path to platform-tools>, then type: adb.exe
Does a long list of commands scroll across the screen?
Having the same problem. I see the long list of commands. But when I type "adb devices" nothing is listed.
trginter said:
Having the same problem. I see the long list of commands. But when I type "adb devices" nothing is listed.
Click to expand...
Click to collapse
I haven't tried it myself yet, but it sounds like you don't have the drivers properly installed.
Sent from my Ally (Cant wait to get rid of this POS and replace it with my S3 tomorrow!)
NightxFall said:
I haven't tried it myself yet, but it sounds like you don't have the drivers properly installed.
Sent from my Ally (Cant wait to get rid of this POS and replace it with my S3 tomorrow!)
Click to expand...
Click to collapse
That would be my guess. Put it in USB Debug mode, and plug the phone in, I think it auto-installs the ADB drivers.
Hmm, the phone is in USB Debugging Mode and plugged in, nothing downloaded.
trginter said:
Hmm, the phone is in USB Debugging Mode and plugged in, nothing downloaded.
Click to expand...
Click to collapse
What is the exact output when you type adb devices?
Good to know root is avail
Will try this tomorrow after work
s197 said:
Is your usb debugging enabled on your phohne?
When you cd <path to platform-tools>, then type: adb.exe
Does a long list of commands scroll across the screen?
Click to expand...
Click to collapse
For those having problems with this, look up "how to add a path to the windows command line“. You should not have to CD to a directory to make a command work .
Sent from my SCH-I535
s197 said:
Is your usb debugging enabled on your phohne?
When you cd <path to platform-tools>, then type: adb.exe
Does a long list of commands scroll across the screen?
Click to expand...
Click to collapse
Yes, usb debugging was on when I tried to do this. I usually always just leave it on honestly.
I guess I should have been more clear about where I was at, but yes i did the
cd platform-tools .. enter.. then adb.exe.. and thats when I got the 'adb' is not an internal or external command. I dont know where I messed up along the way... . I feel pretty confident I did everything correctly.
However there was one difference i did notice. On the path stated in the guide it says system32 something then you list the path to platform tools and whatnot.... but mine had something /windowspowershell/ or something like that.
I went back to the start and deleted my drivers and reinstalled them but deleted the jdk and sdk for the time being.. Maybe ill try again soon if I can figure it out better.
I believe this will help a lot of you. Thanks goes to Adrynalyne....
http://forum.xda-developers.com/showthread.php?t=879701
Lemonhead8890 said:
Yes, usb debugging was on when I tried to do this. I usually always just leave it on honestly.
I guess I should have been more clear about where I was at, but yes i did the
cd platform-tools .. enter.. then adb.exe.. and thats when I got the 'adb' is not an internal or external command. I dont know where I messed up along the way... . I feel pretty confident I did everything correctly.
However there was one difference i did notice. On the path stated in the guide it says system32 something then you list the path to platform tools and whatnot.... but mine had something /windowspowershell/ or something like that.
I went back to the start and deleted my drivers and reinstalled them but deleted the jdk and sdk for the time being.. Maybe ill try again soon if I can figure it out better.
Click to expand...
Click to collapse
It sounds like you're not moving to the right directory. Check to see where your adb file is, on the new SDK it's in platform-tools but if you downloaded ADB from a long time ago, it's in another folder (I think tools, but it's been a while).
What I would do is navigate to your adb file from "my computer". At the top, under address, it will show you the path you need to type. For instance, for me, I open my computer, C: drive, Android folder, then platform-tools. So my path would be:
Code:
cd C:\Android\platform-tools
Everyone's path is different depending on where you put your files.

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:.

Categories

Resources