[ROM] Hancock 1.11 720p Recording ! Enter dev´s - Defy Android Development

Hi !
This is a chinese Rom, your best quality is that the ROM says that records at 720p. I've tried and there is an option to put the camera in widescreen, HDTV and more options, including one 720p, I'm just forcing closure.
ROM languages: Chinese, English.
It Froyo 2.2
Comes with root
I recommend it only to developers, to port the usefulness of recording 720p to other roms !!!!!!
Instructions for installation:
FIRST MAKE A NANDROID !!!
Wipe
First you have to install this rom base (3.4.2_145) (I think with the RSD lite): http://u.115.com/file/f0fd059557 #
or from here: http://forum.xda-developers.com/showthread.php?p=11588065#post11588065 thanks walter79
Now download this:
http://www.megaupload.com/?d=LD188ES9
extract all files to your tools SDK folder
Now connect the defy pc in developer mode.
and execute these commands:
adb push system.tar.gz /sdcard/system.tar.gz
adb push psneuter /data/local/tmp/psneuter
adb shell chmod 755 /data/local/tmp/psneuter
adb shell /data/local/tmp/psneuter
adb wait-for-device root
adb remount
adb shell stop
adb shell mount -oremount rootfs /
adb push busybox /sbin/busybox
adb shell chmod 04755 /sbin/busybox
adb shell busybox --install -s /sbin
adb shell "ls /sdcard/system.tar.gz && rm -r /system/* && tar -xzf /sdcard/system.tar.gz -C /system && /system/xbin/busybox --install -s /system/xbin"
SET /P ID=
adb push default.prop /system/
adb push boot.img /cache/
adb push recovery.img /cache/
adb shell "cat /cache/boot.img > /dev/block/mmcblk1p15"
adb shell "cat /cache/recovery.img > /dev/block/mmcblk1p16"
adb reboot
Click to expand...
Click to collapse
And Phone reboot automatically
and that's it !
TEST VIDEO RECORDING 720p
http://www.youtube.com/watch?v=l2qi_TJ8mkk

3.4.2_145 = Finnland deblur ROM http://forum.xda-developers.com/showthread.php?p=11588065#post11588065

20kb/s downspeed and it's an .exe - not very trustworthy :-| I'll try to extract it when it's finished downloading, which will only take, hmmm, a few decades?

@insestito Is there any 720p sample video from that rom ? (On youtube or on some similar sites ...)

Is . exe yes, extract it like a. rar concerned and follow the steps.
I`m downloading 3.4.2 rom...
My internet is veeeeeery slow... vv
when I can i post screenshots and a video in youtube.

As much as I want to find this real, the lack of concrete evidence, even in Chinese forums, doesn't seem to be a encouraging sign.

I can tell you for sure there's absolutely NOTHING special in this ROM, except for maybe a slightly hacked BlurCamera/CameraJordan.apk
And other usual 720p patches like libs, media_profiles.xml and build.prop are in place of course.
You can do 720p with 3rd party software if you phone is capable of that. If you can't, well, you can't. This ROM would only cause your
camcorder to exit or fc in that case.

insestito said:
Is . exe yes, extract it like a. rar concerned and follow the steps.
I`m downloading 3.4.2 rom...
My internet is veeeeeery slow... vv
when I can i post screenshots and a video in youtube.
Click to expand...
Click to collapse
Try to upload to megaupload/megavideo to see the original quality without conversion of youtube.

Have tried it before http://forum.xda-developers.com/showpost.php?p=11954017&postcount=24. 720p recording did work in my case.
Edit: I had attached a small chip recorded in 720p http://forum.xda-developers.com/attachment.php?attachmentid=535638&d=1299476443

What's the problem with 720p recording? Is the SDcard too slow?
the test video only has 22fps :/

Quza said:
What's the problem with 720p recording? Is the SDcard too slow?
the test video only has 22fps :/
Click to expand...
Click to collapse
Maybe CPU, can't overclock with that rom in my case. Sd card is pretty fast and shouldn't be the problem.

In my case don´t work 720p recording...
Force close....
vv

does this mean there are different hw versions of the defy out there? some which can handle 720p and others that can't?
Sent from my MB525 using Tapatalk

derbestimmer said:
does this mean there are different hw versions of the defy out there? some which can handle 720p and others that can't?
Sent from my MB525 using Tapatalk
Click to expand...
Click to collapse
Only 720p record....
I post only this for the developers port the 720p recording to other roms!

A moto Chinese official had mentioned that the later defy production indeed has different camera. The 720p recording seems to work only for defy with new camera.

sounds interesting. in german forums they recognized two different camera types. one with a green lens that does't make a loud clicking noise when focussing (obviously the old one) and the one with a red lens which makes a loud clicking noise when focussing (the new one). the picture quality seems to be different to. not clear which is better, but the red lens makes brighter pictures.
do you mean this difference?
Sent from my MB525 using Tapatalk

New link to download.
http://www.megaupload.com/?d=LD188ES9
Updated first post

derbestimmer said:
sounds interesting. in german forums they recognized two different camera types. one with a green lens that does't make a loud clicking noise when focussing (obviously the old one) and the one with a red lens which makes a loud clicking noise when focussing (the new one). the picture quality seems to be different to. not clear which is better, but the red lens makes brighter pictures.
do you mean this difference?
Sent from my MB525 using Tapatalk
Click to expand...
Click to collapse
I'm not sure. The moto official just mentioned that the later defys have different camera without giving details, when he was answering questions about the default camera application.

it seems i have the later one. id very much like to try it out. but i don't wanna flash the hancock rom (still to satisfied with pays 3.3) is it possible to extract the files which are needed for 720p recording or is that what the devs should find out?
Sent from my MB525 using Tapatalk

Did 720p recording work for anyone?

Related

LED debugging in Hero (6-22-09)

WOW OK SO I FINALLY GOT LED's WORKING IN HERO!!!
This means they can be manipulated via Terminal but not the Android OS. That will be the next step.
*IMPORTANT 4:50pm CST*
-Correction, you should be copying/symlinking sensors.msm7k.so to sensors.trout.so and not sensors.hero.so to sensors.trout.so. Please see updated instructions below.
If you already copied sensors.hero.so to sensors.trout.so then do the following to fix it. Following the previous instructions could affect auto rotate
Code:
rm /system/lib/hw/sensors.trout.so
ln -s /system/lib/hw/sensors.msm7k /system/lib/hw/sensors.trout.so
*Update 4:44pm CST*
-Changed copy commands to symlink so we save space on /system. Thanks for the tip chunga
*Update 6:01pm CST*
-If you're getting an issue where auto-rotate is no longer working it's most likely you fudged on the symlinking sensors.msm7k.so over to sensors.trout.so.
*Update 9:37pm CST*
-Forgot to add that you need to have /system remounted as read/write. I have added the command below
*Update 8:00pm CST*
The following command does not persist across reboots, therefore it will need to be placed in /init.rc or in /system/init.rc if you have a modded rom that allows for it. Just so everyone is clear, you can NOT edit /init.rc directly. To do that you'll need to unpack boot.img, edit init.rc, then repack boot.img and fastboot flash it to your device. My advice is to download a modded ROM that gets released with this fix.
Code:
echo "1" > /sys/devices/platform/i2c-adapter/i2c-0/0-0062/blink
It was a pretty trick fix to figure out. Here is a revised post with the complete terminal commands. ROM devs you could place these chmod commands in /init.rc to get it working. Please give credit where credit is due if you use my fixes.
Code:
[B]TERMINAL COMMANDS[/B]
mount -o rw,remount /dev/block/mtdblock3 /system
ln -s /system/lib/hw/lights.msm7k.so /system/lib/hw/lights.trout.so
ln -s /system/lib/hw/copybit.msm7k.so /system/lib/hw/copybit.trout.so
ln -s /system/lib/hw/sensors.msm7k.so /system/lib/hw/sensors.trout.so
echo "1" > /sys/devices/platform/i2c-adapter/i2c-0/0-0062/blink
chmod 666 /sys/devices/platform/i2c-adapter/i2c-0/0-0062/leds/blue/brightness
chmod 666 /sys/devices/platform/i2c-adapter/i2c-0/0-0062/leds/red/brightness
chmod 666 /sys/devices/platform/i2c-adapter/i2c-0/0-0062/leds/green/brightness
What's left to fix?
1) Currently the system is only giving the LED's a brightness of 1 so the light that comes on is dim. We need to find where it's getting this default value and up it to 100.
Want to manually change the colors?
You can edit the "brightness" value under leds/[blue/red/green] . The acceptable values are from 0 - 100. If you mix them up you can make any color you want
Exampe to change colors manually:
Code:
echo "50" > /sys/devices/platform/i2c-adapter/i2c-0/0-0062/leds/blue/brightness
echo "50" > /sys/devices/platform/i2c-adapter/i2c-0/0-0062/leds/red/brightness
This would make a purplish color.
okay so does it change colors when its charging after its cut on.
I believe the hero has dual LEDs. It says something about it in logcat...Let me see if i can find it.
jaygajay said:
I believe the hero has dual LEDs. It says something about it in logcat...Let me see if i can find it.
Click to expand...
Click to collapse
Yes it does in fact have dual LED's. So the trick now that LED's work is to get it working just like it was in cupcake. I'll keep working at it you can be sure of that
wizern23 said:
okay so does it change colors when its charging after its cut on.
Click to expand...
Click to collapse
I haven't seen it change colors as my phone is fully charged so the green LED comes on. Since we don't have bluetooth I can't check for the blue LED working. Anyone have chompsms installed? I know you can pick which LED color you want. Anyone wanna test that it's all working?
Terminal codes?
Hello! Thanks for the great fix!! But is there anyway you can post the entire terminal emu code? Kinda new on the copying and replacing of files. Thanks so much !
Try missed call, you can easily sample the different colors
phungshum said:
Hello! Thanks for the great fix!! But is there anyway you can post the entire terminal emu code? Kinda new on the copying and replacing of files. Thanks so much !
Click to expand...
Click to collapse
I updated the main post so others can easily find it
phungshum said:
Hello! Thanks for the great fix!! But is there anyway you can post the entire terminal emu code? Kinda new on the copying and replacing of files. Thanks so much !
Click to expand...
Click to collapse
this is actually editing the init.rc script... what do i open that in to edit it? and after edit can i just remount my system as writable and change the file names in my sys/lib/hw folder to the explained file names?
Zarboz said:
this is actually editing the init.rc script... what do i open that in to edit it? and after edit can i just remount my system as writable and change the file names in my sys/lib/hw folder to the explained file names?
Click to expand...
Click to collapse
You can type those commands from the terminal. If ROM devs want to make it so installing their ROM automatically does this, they would do it in init.rc.
You and I can do this from the terminal. It should hold those changes across a reboot. Hmmmm, lemme reboot and make sure otherwise it would require unpacking/repacking the boot.img and making the changes to init.rc in there. You can not edit init.rc directly. You have to extract boot.img (you can get this from the ROM you installed). Do a search for unpacking/repacking boot.img
great news
Good job shafty.
tried it, works, restarted my phone by itself after the echo though. Little confuse about the chmod stuff so not gonna try that yet. Oh did it in adb too, thanks.
EDIT: seemed to break my 'g-sensor', so no auto-rotate.
this is going into 1.65 Thanks shafty023 for the work!
running jacman hero and his lights.msm7k.so is already renamed do i need to worry about this and after the chmod lines after the /brightness/ can i enter a modifier to change the ammount of light given out?
just to clarify the terminal commands,
using JACMAN 1.64, files are already renamed.
Zarboz said:
running jacman hero and his lights.msm7k.so is already renamed do i need to worry about this and after the chmod lines after the /brightness/ can i enter a modifier to change the ammount of light given out?
Click to expand...
Click to collapse
Ya that's because he got it from justanothercrowd who got it from me. I was sending him most of my fixes directly since I'm using his ROM. Only seemed fair.
So you can ignore the line pertaining to lights.msm7k.
Yes you can feel free to change the value in brightness to whatever you want. I actually think the max is somewhere around 256. You can mix brightness values and that will allow you to change the colors manually. But unfortunately when you plug an a/c adapter it turns on the green led at a brightness value of only 1
so for example at the endo f my chmod 666 .... /brightness/100 ?? or would it be /brightness100
cool! thanks for the fix!
did nothing for me? wonder what i did wrong

How make run sound boot animation on CM6

Hello guys im trying for awhile to make a run some boot animation sound over the stock CM6 blue android that is comming as stock but i never get succes can somebody help me with this please
juancaperez2000 said:
Hello guys im trying for awhile to make a run some boot animation sound over the stock CM6 blue android that is comming as stock but i never get succes can somebody help me with this please
Click to expand...
Click to collapse
The solution is not for the faint of heart and will have to be reapplied with each nightly.
Add this to init.local.rc
Code:
###Bootsound - Safe to Delete: Start ###
service bootsound /system/bin/bootsound
user media
group audio
disabled
oneshot
on property:init.svc.bootanim=running # to correct timing
start bootsound
on property:dev.bootcomplete=1
stop bootsound
### Bootsound - Safe to Delete: End ###
Then make a new file called "bootsound" and push it to /system/bin
i.e. "adb push c:\path\to\bootsound /system/bin/bootsound"
Code:
#!/system/bin/sh
bprop=/system/build.prop
grepprop() { x=`grep "^$1=" $bprop | head -n 1`; echo $x | cut -d = -f 2; }
play=`grepprop "ro.config.play.bootsound"`
if [ "$play" = "1" ]; then
stagefright -a -o /data/local/android_audio.mp3
fi
exit 0
Issue the following commands:
Code:
adb remount
adb shell chmod 777 /system/bin/bootsound
adb shell chown root:shell /system/bin/bootsound
adb shell echo ro.config.play.bootsound=1 | cat >> /system/build.prop
Now put your startup sound, whatever MP3 it is, in /data/local with name android_audio.mp3 and it will be played at startup. You test it with an adb reboot. I flash nightlies on a regular basis so I stopped doing this as it's a PITA to constantly have to push changes each night. I like to flash + go.
'tuna
Wow...only question is would this work for for stable 6? And can I do it thru term emu
cubanjinx said:
Wow...only question is would this work for for stable 6? And can I do it thru term emu
Click to expand...
Click to collapse
As long as you have a way to edit the init file + create/edit the new bootsound file then yes it can be done via term emu. Should work with any/all versions of cm6. Obviously you'd omit the "adb shell" portion of the shell commands.
'tuna
spiicytuna said:
The solution is not for the faint of heart and will have to be reapplied with each nightly.
......
'tuna
Click to expand...
Click to collapse
Wow. One of the best answers I have ever seen around here.
spiicytuna said:
The solution is not for the faint of heart and will have to be reapplied with each nightly.
---------
Now put your startup sound, whatever MP3 it is, in /data/local with name android_audio.mp3 and it will be played at startup. You test it with an adb reboot. I flash nightlies on a regular basis so I stopped doing this as it's a PITA to constantly have to push changes each night. I like to flash + go.
'tuna
Click to expand...
Click to collapse
Wow. Not kidding with the "not for the faint of heart" part. I think I will live with no sound. Unless, I knew how the hell to use that code. Meh....
Will donate
Tuna or anyone else willing to walk me through this for a donation? Haha... I set up a whole mp3 for the boot to come to this road block. Also, for anyone reading, how can I change just the lock screen wallpaper on froyo. (Using plain black background right now and it makes the lockscreen a little too boring) Thanks.
has this been confirmed working on CM6 final? read some comments over at the cyanogenmod forum that this script was droid x phones, not the evo?
i'm going to give it a try tonight or tomorrow night, some questions
1)where is the init.local.rc file?
2)what kind of file should the bootsound file be? .txt file? no extension? ??
3) the code you put after saying to make the bootsound, does that mean that code is to be entered into adb or as the content of the bootsound file?
spiicytuna said:
The solution is not for the faint of heart and will have to be reapplied with each nightly.
'tuna
Click to expand...
Click to collapse
EDIT: tried it. edited the init.local.rc file using Notepad++. made the bootsound file using Notepad++ and in it put the code you have up there. no file extension. pushed it to the right directory, followed the adb commands. got an error in the last one (echo) saying it couldn't find the path (it's there though?).
put the android_audio.mp3 in /data/local....rebooted and no sound. no errors either, but no sound.
EDIT 2: thanks for your work spiciituna. apparently there was some mistake on my part. i ran a script that your code in it and now the boot sound works.
http://forum.cyanogenmod.com/topic/7433-bootanimations-audio/
I am still having no luck. :-( Can anyone enlighten me?
Sent from my PC36100 using XDA App
austinjay said:
I am still having no luck. :-( Can anyone enlighten me?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
I was finally about to get it to work.
Here is the post with the flashable zip
http://forum.xda-developers.com/showthread.php?t=844414
juancaperez2000 said:
Hello guys im trying for awhile to make a run some boot animation sound over the stock CM6 blue android that is comming as stock but i never get succes can somebody help me with this please
Click to expand...
Click to collapse
if it's FroYo, then the directory has been moved to /system/customize/resource/. You reboot to clockworkmod -> mount system (partitions menu) -> reboot recovery (advanced menu) -> open cmd prompt in windows, cd to sdk\tools\ and run: "adb remount" -> then have the .wav file in the tools folder and run "adb push ATT_bootup.wav /system/customize/resource/" if it's an AT&T phone. Verizon phones use VZW_bootup.wav I am pretty sure & I'm not sure about the other ones.

[MOD][HOW TO][Update: 05-Aug-2011] 2nd-init port for Milestone2

Credit for koush for Droid2 Bootstrap
Credit for edgardcastro for sharing lots of information about 2nd-boot on Milestone1
Credit for Skrilax_CZ for 2nd-init and sh hijack
If you just want to install 2nd-init on your phone you can skip the whole guide and flash update-2nd-init.zip into your phone. As usual I will not hold responsibility to any damages it may cause.
WARNING: Use this ONLY if you know exactly what you are doing. This guide will make major changes in the /system partition and may turn the phone inoperative. I won’t hold responsibility if you brick your phone or to any damages it may cause.
Pre-requisites: A computer with Android SDK and ADB drivers installed and working. It’s recommended to have RSD Lite 4.9 and the appropriate SBF image just in case anything goes wrong.
This guide was made using a Brazilian Motorola Milestone2 based on Brazil Retail SBF and a computer running Windows Vista 32-bits. I started it from the scratch by flashing my phone with RSD Lite 4.9 and performing a full data/cache wipe, just to make sure any changes were discarded.
Note: Commands that should be entered in command prompt will be listed as: “C:\> <command>”. Commands issued to ADB Shell will be listed as: “# <command>”.
1. Enable USB Debugging on your phone;
2. Get permanent root. I used the app z4root which can be found here on XDA;
3. Install Droid2 Bootstrap. It may be downloaded from Market to support the developer. More info here http://www.koushikdutta.com/2010/08/droid-x-recovery.html;
4. Open Droid2 Bootstrap and click “Bootstrap Recovery”;
5. Use bootstrap to reboot into Clockwork Recovery and backup your phone;
6. Reboot;
7. C:\> adb remount
8. # stop
9. # mkdir /system/etc/rootfs
10. # cp /*.rc /system/etc/rootfs
11. # mkdir /system/etc/init.d
12. # cp /system/bin/sh /system/bin/_sh
13. # cp /init_prep_keypad.sh /system/bin
14. C:\> adb push sh_hijack.sh /system/bin/
15. C:\> adb push 2nd-init /system/bin/
16. C:\> adb push sysinit /system/bin/
WARNING: at this point you should keep a terminal window (adb shell) opened before replacing the 'sh' binary. This is so because you wont be able to open a new abd shell window to run the chmod command.
17. C:\> adb push sh /system/bin/
18. # chmod 755 /system/bin/sh
19. # chmod 755 /system/bin/sh_hijack.sh
20. # chmod 755 /system/bin/2nd-init
21. # chmod 755 /system/bin/sysinit
22. # ln -s /system/bin/busybox /system/xbin/mount
23. # ln -s /system/bin/busybox /system/xbin/rmdir
24. # ln -s /system/bin/busybox /system/xbin/cp
25. # ln -s /system/bin/busybox /system/xbin/umount
26. # ln -s /system/bin/busybox /system/xbin/run-parts
27. # reboot
28. At this point you should be getting into Clockwork Recovery every time, no matter how many times you have rebooted or if you’ve taken the battery of or not. THIS IS NORMAL. It means that the 2nd-boot + sh hijack is working as it should. The boots into clock recovery are caused by a conflict between sh hijack and logwrapper hijack (used by Droid2 Bootstrap). Continue the guide to fix this issue.
29. In clock recovery menu go to: mounts and storage>mount /system;
30. Open ADB Shell again (it will be available in clockwork recovery as well);
31. # cp /system/bin/logwrapper.bin /system/bin/mylogwrapper
32. C:\> adb pull /system/etc/rootfs/
33. Open init.rc and init.mapphone_umts.rc into a text editor that preserves unix end-line format (e.g.: notepad++). Find all entries of “/system/bin/logwrapper” replacing for “/system/bin/mylogwrapper”.
34. In init.mapphone_umts.rc find entry for “exec /init_prep_keypad.sh” replacing for “exec /system/bin/init_prep_keypad.sh”. Add the following text to the end of this file to be able to run all scripts in /system/etc/init.d at boot time:
Code:
service bootscripts /system/bin/sysinit
class post-zygote_services
disabled
oneshot
35. Save and close.
36. C:\> adb push init.rc /system/etc/rootfs/
37. C:\> adb push init.mapphone_umts.rc /system/etc/rootfs/
38. # chmod 755 /system/etc/rootfs/init.rc
39. # chmod 755 /system/etc/rootfs/init.mapphone_umts.rc
40. Choose “Reboot system now” in clock recovery menu;
You’re all set! Now it is just a matter of changing the rc files in /system/etc/rootfs to customize your system boot.
If you want to log the system boot you may also copy the provided log-init.sh script into /system/etc/rootfs and uncomment the line “exec /log_init.sh” from my init.rc file. Doing so will create the /data/logcat.log file that may get huge in sometime.
2nd-init files and my modified *.rc files attached.
Have fun!
UPDATED to version 2.0.0 (froyo) this version exploits /system/bin/mount_ext3.sh instead of sh binary. It's a new method I developed in order of starting 2nd-init earlier but also keeping compatibility with Droid2bootstrapper (recovery takes place first). This might help me booting Leaked GB from 2nd-init, which wasn't possible on the previous version. Take note it's not ready yet to apply on GB.
I just missed the exec /system/bin/init_prep_keypad thanks!
What is this for?
Sent from my A953 using XDA App
inheme said:
What is this for?
Sent from my A953 using XDA App
Click to expand...
Click to collapse
A method to customize initialization scripts of android system. It's a major hack used be some Milestone1 custom ROM's. I've succeeded into porting this to MS2, and I think some modders here of XDA may be interested into adding this to custom ROM's. It may be added to the stock ROM (as I did) but it is not something that everyone is willing to try.
Word of advise: If you don't know what it is you don't need it
Ok thanks for the explanation
So it means that custom roms will be easier to create?
Sent from my A953 using XDA App
That's some major news for our little community.
Tell me if I'm wrong, but since init starts after the kernel is loaded, it's not useful at all for loading a custom kernel, true?
But having a custom init script is a step to CyanogenMod 6 port on Milestone 2, still true?
Anyways, great job, and great howto.
momus87 said:
That's some major news for our little community.
Tell me if I'm wrong, but since init starts after the kernel is loaded, it's not useful at all for loading a custom kernel, true?
Click to expand...
Click to collapse
To load a custom kernel we'll need that kexec hack that team freemymoto is working on.
But having a custom init script is a step to CyanogenMod 6 port on Milestone 2, still true?
Click to expand...
Click to collapse
Well, it's possible, but I believe the big issue here is the impossibility of running custom kernels. Even so, a skilled Modder may be able to overcome that and port CM6 to MS2 using Motorola's stock kernel. It has been done for the MS1.
Anyways, great job, and great howto.
Click to expand...
Click to collapse
You're welcome.
Thanks, r2beta0... this is going to help us out a lot!
r2beta0 said:
Well, it's possible, but I believe the big issue here is the impossibility of running custom kernels. Even so, a skilled Modder may be able to overcome that and port CM6 to MS2 using Motorola's stock kernel. It has been done for the MS1.
You're welcome.
Click to expand...
Click to collapse
Guess that would be me
nah just kidding. I've just happened to have some luck porting Froyo and Gingerbread to the bootloader-locked x10 mini pro. I've just ordered my milestone 2 and I will work on CM6. AWESOME JOB on the 2nd init man! Really, thanks!!
edit: just can't stop thanking you! You saved me a lot of work and porting CM will be easy as sh*t for me now! THANKS
Mikevhl said:
Guess that would be me
nah just kidding. I've just happened to have some luck porting Froyo and Gingerbread to the bootloader-locked x10 mini pro. I've just ordered my milestone 2 and I will work on CM6. AWESOME JOB on the 2nd init man! Really, thanks!!
edit: just can't stop thanking you! You saved me a lot of work and porting CM will be easy as sh*t for me now! THANKS
Click to expand...
Click to collapse
You're welcome! You can count on me to provide as much help as I can to free our MS2's from Motorola's hand. I would be very grateful if you could share your knowledge of porting CM to locked devices. I was trying to port MIUI and Shadow mod BR to MS2 but I got stuck when dealing with proprietary files.
Sent from my A953 using XDA App
@r2beta0
Could this port work on Motorola defy?
Sent from my MOTO Defy
demolition23 said:
@r2beta0
Could this port work on Motorola defy?
Sent from my MOTO Defy
Click to expand...
Click to collapse
It's very likely, since the 2 devices are very similar. Most of the files I attached are from Milestone1 and works perfectly on MS2. Though I recommend you to NOT replace your *.rc files with the attached ones since they could be not compatible. It would be better if you edit your own files. Also try it ONLY if you have a working version of ClockworkMod Recovery (or other custom recovery). You may adapt this guide for your device and post it here on XDA, just remember to mention my name on credits
Already posted and hoping someone to port this..
http://forum.xda-developers.com/showthread.php?t=1003449
demolition23 said:
Already posted and hoping someone to port this..
http://forum.xda-developers.com/showthread.php?t=1003449
Click to expand...
Click to collapse
BTW, why do you want to use 2nd-init? You know, this guide is more inclined for devs/mods who want (need) to include this feature on their ROM's. With this you can change the way things are loaded on linux system before android starts up. But to take advantage of that you should know a lot about how linux works and so on. Regular users should look for a ROM based on the features he needs. Most ROM's already have 2nd-init implemented, but it's not something users are aware of.
Possible issue I've come across:
When replacing sh, i can no longer re-open the shell for obvious reasons... potentially I need to already have a second terminal open with shell running in it already?
SBFing and trying again :3
smacky_wolf said:
Possible issue I've come across:
When replacing sh, i can no longer re-open the shell for obvious reasons... potentially I need to already have a second terminal open with shell running in it already?
SBFing and trying again :3
Click to expand...
Click to collapse
I had no such issue here. When executing the steps of this guide I kept two windows opened all the time. One command prompt to run adb push/pull and another window running adb shell.
Thanks to point that out! I will post a warning in the main post. You should have a adb shell window already running to be able to run chmod just after replacing sh.
But don't worry, you don't need to SBF. Just reboot into clockwork recovery, mount /system via menu, and open your adb shell. It uses a different shell so you can fix the problem in /system/bin.
Looks like Motorola Defy now has CyanogenMod 7 using 2nd-init script! Wish same were the case for MS2.
syl0n said:
Looks like Motorola Defy now has CyanogenMod 7 using 2nd-init script! Wish same were the case for MS2.
Click to expand...
Click to collapse
I'm on it, but development is slow
No necessary to use 2nd init.
Just install "droid 2 bootstrap" and Rom Manager will work perfectly.
keylight65 said:
No necessary to use 2nd init.
Just install "droid 2 bootstrap" and Rom Manager will work perfectly.
Click to expand...
Click to collapse
What are you talking about? This guide isn't related to ROM Manager.

UPDATE - experienced only please - perm temp root (til reboot) w/data speed increases

THanks to TEAMWIN!!!!!!!!!!!!!!
UPDATE to UPDATE- advanced users only that can understand my instructions please. I tried to make it newb friendly but this takes alot more time than I ever imagined ... (PROPS to ALL DEVS and POSTERS taking the time to share with us that which they spent hours testing!!!!)
so,
also download build.prop
place it in /data/bin
chown to root.root
chmod to 644
you only have to do this once, of course
Now reboot and run (updated and attached here at same time as the build.prop; so if you don't have the build.prop, you need to redownload daddy'stemproot.bat s it has been updated) daddy'stemproot.bat from wherever you downloaded it to.
http://dl.dropbox.com/u/7393616/build.prop
good luck!
UPDATE:
Just wanted to upload what I have been using since the original instructions are out of date.
have tested the following Windows script for 2 days without rebooting and retain full functionality on all root apps.
Instructions:
instead of doing copy/paste, once you have put fre3vo,su,busybox,and sqlite3 into /data/bin and set permisions/ownership, as per original instructions below,
if you have been using another script, just move everything to /data/bin and set permissions/ownership as per below;
and after every reboot, (or after doing the set-up for the first time users)
simply run this script:
(personally, after plugging my phone into my PC, and opening a command prompt, I always do "adb reboot"
then wait until the soft keys at bottom of screen light up (this means the phone is finishing all start up processes but for all extents and purposes the phone has booted) and then double click the file below. the command prompt will open and close itself, when closed, you are good to go until reboot)
Download and save this .bat to anywhere you want and run from anywhere you wish(mine is on my desktop for easy access):
LATEST VERSION Directly below:
http://dl.dropbox.com/u/7393616/daddy%27stemproot.bat
ORIGINAL Instructions:
Just wanted to give back so I will share how I have been getting functional su for on phone term apk and visible /data on root explorer and Superuser prompts for every root app (just because you allow at the prompt and Superuser allows an apk, doesn't mean it will alwasy work; if you open SetCpu more then once a boot it stops working. Bloatware Remover, though given root priveledges, doesn't work, I think becasue when trying to mount system, the apk uses the wrong partition in its script. etc.)
anyways
first get fre3vo, then the latest versions of su, busybox, sqlite3.
via shell from PC:
cd (directory where your 4 files are located)
push above files to /data/local/tmp (follow instructions in other threads)
get temp root via fre3vo
now with temp root do :
adb remount
adb shell mount -oremount,suid /dev/block/mmcblk0p23 /data
adb shell mkdir /data/bin
adb shell chown root.shell /data/bin
adb shell chmod 755 /data/bin
adb push (all 4 files, one at a time, to /data/bin)
adb shell chown root.shell /data/bin/su
adb shell chown root.shell /data/bin/busybox
adb shell chown root.shell /data/bin/sqlite3
adb shell chmod 6555 /data/bin/su
adb shell chmod 4555 /data/bin/busybox
adb shell chmod 755 /data/bin/sqlite3
adb shell chmod 755 /data/bin/fre3vo
now, set up is done, you don't have to do any of that again (unless you mesed up of course)
copy and paste the following lines into shell on PC and viola!
adb shell /data/bin/fre3vo
adb wait-for-device
adb remount
adb shell mount -o remount,suid /dev/block/mmcblk0p23 /data
adb shell ln -s /data/bin/su /system/xbin/su
adb shell ln -s /system/xbin/su /system/bin/su
adb shell ln -s /data/bin/busybox /system/xbin/busybox
adb shell ln -s /data/bin/sqlite /system/xbin/sqlite
adb shell mkdir /system/xbin/bb
adb shell /data/bin/busybox install /system/xbin/busybox /system/xbin/bb/
adb shell sync
So, everytime you reboot,
open a shell on your PC and copy and paste, and then you are free to live with root, until you reboot, and of course with limitations; but I personally can live with this until Fre3dom is complete.
Take your time boys(TEAMWIN) we love you!!!!
hope this helps somebody. I don't have much bandwith to check back to answer questions, but I am confident if any arise, that the community will step up as always. enjoy your root apps
Can somebody please explain to me what he means by latest version of su, busybox, and sqlite3? Apk or like files if anybody would be kind enough to post a zip file of all three?
xSunny said:
Can somebody please explain to me what he means by latest version of su, busybox, and sqlite3? Apk or like files if anybody would be kind enough to post a zip file of all three?
Click to expand...
Click to collapse
You can pull them files out of any rooted android phone.......
Why doesnt the OP just create a script and have it run with one click from the phone??
Thanks..
Sent from my HTC Sensation Z710e using XDA App
Mikey1022 said:
You can pull them files out of any rooted android phone.......
Why doesnt the OP just create a script and have it run with one click from the phone??
Click to expand...
Click to collapse
Commands to pull please?
xSunny said:
Commands to pull please?
Click to expand...
Click to collapse
Try the "Search" command here, if that fails hit Alt+f4.
KillaHurtz said:
Try the "Search" command here, if that fails hit Alt+f4.
Click to expand...
Click to collapse
How about you stop being a prick and answer the question if u dont want to answer then stop running your mouth like a little 2 years begging your mommie for ice cream.. Thank you.. Maybe you should hold the Alt+F4 button =] And dont come attacking me again please..
xSunny said:
How about you stop being a prick and answer the question if u dont want to answer then stop running your mouth like a little 2 years begging your mommie for ice cream.. Thank you.. Maybe you should hold the Alt+F4 button =] And dont come attacking me again please..
Click to expand...
Click to collapse
Wow your general lack of knowledge despite having a long list of devices is disturbing and sad. I guess referring you to the best, and most timely manner to find an answer is an attack ? LOL
xSunny said:
Commands to pull please?
Click to expand...
Click to collapse
adb pull /sdcard/yourfile /whereveryouwantit
or setup an FTP server on your phone (https://market.android.com/details?id=org.swiftp) and download what you're looking for through that.
xSunny said:
How about you stop being a prick and answer the question if u dont want to answer then stop running your mouth like a little 2 years begging your mommie for ice cream.. Thank you.. Maybe you should hold the Alt+F4 button =] And dont come attacking me again please..
Click to expand...
Click to collapse
KillaHurtz said:
Wow your general lack of knowledge despite having a long list of devices is disturbing and sad. I guess referring you to the best, and most timely manner to find an answer is an attack ? LOL
Click to expand...
Click to collapse
What is it with this forum??!??!?! I used to have a HD2 and the forum there was awesome! So many helpful and friendly people creating a productive and welcoming community! But here in the Sensation forum every second thread is full of people *****ing at each other and behaving like children! What the hell is wrong with you guys???
KillaHurtz said:
Wow your general lack of knowledge despite having a long list of devices is disturbing and sad. I guess referring you to the best, and most timely manner to find an answer is an attack ? LOL
Click to expand...
Click to collapse
Lmao.. Thats all im going to say to end this conversation anyways thanks for posting the commands to pull via adb
How do you push more than one file at a time?
adb push (all 4 files, one at a time, to /data/bin)
Click to expand...
Click to collapse
Thanks
Thanks Daddyroot ! the commands have really worked for me. Now I have a sensation with Temp root till I restart. All other scripts in the forum was not helping me.
Best solution I found so far. Not losing root till reboot anymore.
A++ would install again
Really glad to be able to give back to the community.
I wish I had more time when I posted this to check back and reply but I'm a single parent and time is short. After playing for a couple hours and finally seeing and being able to edit the /data folder, I knew it would be with it to make the time if I could help just one person to not waste the time figuring out what I could share. Nothing quite like the feeling you get on an unrooted phone when you first see the superuser prompt to allow or deny!!!
Thank you all who hit the thanks button!
And God bless TEAMWIN and (insert your favorite dev here)!!!
I will try to check back at least once a day...
Wisefire said:
How do you push more than one file at a time?
Click to expand...
Click to collapse
You don't... that's why he said "ONE, at a time"...

a request for root pantech flex

ROOT HAS BEEN OBTAINED!! thanks to a great effort from Donovan01 help from Bin4ry! and help from davepmr and just a little help from me we have successfully rooted the PANTCH FLEX using a modfied Bin4ry script created by Donovan01
here is the link to the tutorial! on how to root your flex custom recovery and roms are on the way hang on to your seats guys!
http://forum.xda-developers.com/showthread.php?t=2008888
use binary method of rooting google it
Thank you
lokenok said:
use binary method of rooting google it
Click to expand...
Click to collapse
Thanks allot good thing i got insurance on this thing will attempt and keep you updated also can you link me to a good tutorial on how to make and port custom roms
lokenok said:
use binary method of rooting google it
Click to expand...
Click to collapse
I cannot find a guide :/
atadres said:
I cannot find a guide :/
Click to expand...
Click to collapse
Update I tried a binary temp root with z4 root and no luck the device reboots and gets stuck at the art screen and requires a battery pull
+1. Awesome specs and design. Would be even more awesome if rooted. Please!!
ivansana said:
+1. Awesome specs and design. Would be even more awesome if rooted. Please!!
Click to expand...
Click to collapse
I traded my Samsung galaxy s3 for this and the element tablet and I don't regret it
I moved up from a Samsung Infuse and yes, compared to the other devices I tried out - Galaxy III and HTC OneX - I am quite impressed with the Flex. The hardware is excellent; we just need root and perhaps a custom kernel and rom to play with.
stuartmc said:
I moved up from a Samsung Infuse and yes, compared to the other devices I tried out - Galaxy III and HTC OneX - I am quite impressed with the Flex. The hardware is excellent; we just need root and perhaps a custom kernel and rom to play with.
Click to expand...
Click to collapse
I, can make roms. And ports on this i. Just can't root
Any progress so far on this I ordered my Flex last night and should have it in a few days. Hoping to root it right out of the box if possible.
donavan01 said:
Any progress so far on this I ordered my Flex last night and should have it in a few days. Hoping to root it right out of the box if possible.
Click to expand...
Click to collapse
no unfourtunatly ive recived no reply from the guys over at the burst forums there is however a guy over at the forums at android forums who says hell take a crack at it
OK GUYS SO I got this from a pm with DAVEPMR all credit is due to him I was not able to get past the adb shell command as my 64 bit windows 8 did not recognize my device and there are no drivers for our device for PC but if anyone here wants to try we have an untested GUIDE
Not sure we can help much, rooting kind of requires a phone to test on.
you will need su and Superuser http://www.4shared.com/file/77Hm6isK/su_online.html Superuser.apk is at http://www.4shared.com/android/o6FouNYk/Superuser.html
but you might try
adb shell
rm -r /data/local/tmp
ln -s /data/ /data/local/tmp
exit
adb reboot
adb shell
echo 'ro.kernel.qemu=1' > /data/local.prop
exit
adb reboot
adb shell mount -o remount,rw /system
adb push su /system/xbin/su
adb shell
chown 0.0 /system/xbin/su
chmod 06755 /system/xbin/su
rm /data/local.prop
exit
adb reboot
adb install Superuser.apk
atadres said:
OK GUYS SO I got this from a pm with DAVEPMR all credit is due to him I was not able to get past the adb shell command as my 64 bit windows 8 did not recognize my device and there are no drivers for our device for PC but if anyone here wants to try we have an untested GUIDE
Not sure we can help much, rooting kind of requires a phone to test on.
you will need su and Superuser http://www.4shared.com/file/77Hm6isK/su_online.html Superuser.apk is at http://www.4shared.com/android/o6FouNYk/Superuser.html
but you might try
adb shell
rm -r /data/local/tmp
ln -s /data/ /data/local/tmp
exit
adb reboot
adb shell
echo 'ro.kernel.qemu=1' > /data/local.prop
exit
adb reboot
adb shell mount -o remount,rw /system
adb push su /system/xbin/su
adb shell
chown 0.0 /system/xbin/su
chmod 06755 /system/xbin/su
rm /data/local.prop
exit
adb reboot
adb install Superuser.apk
Click to expand...
Click to collapse
I have windows 7 64bit and ubuntu on the laptop so I should be able to get one of the other to show he pantech some love. Still waiting on UPS to bring me my new toy, should have it tuesday.... can't wait to try.
Has anyone tried SuperOneClick on this yet??
TekGadgt said:
Has anyone tried SuperOneClick on this yet??
Click to expand...
Click to collapse
That was going to be the first thing I tried.... still waiting on UPS ... its like being a little kid and not being allowed to open the presents under the tree
donavan01 said:
That was going to be the first thing I tried.... still waiting on UPS ... its like being a little kid and not being allowed to open the presents under the tree
Click to expand...
Click to collapse
ive tried z4 not super one click heres the issue with super 1 click it was designed to root gingerbread just like z4 root none of those one clicks have been tested on a device with ICS on it thats the issue when it comes to that ! and yes patiently waiting heres an edit ive tried adb shell on the flex on a windows 7 32 bit! and still no luck i cannot get the dang thing to recognize our devices i tried downloading and installing pantechs only drivers for the burst and still no luck! im at a loss when it comes to this how can we get our device to be recognzied by adb shell?
Maybe we need to start bugging Pantech for drivers... I don't think the drivers for the Burst would work anyways. The Flex uses a Qualcomm MSM8960 and the Burst uses the Snapdragon S3 APQ8060. I know they're both Arm7 processors but my guess is that the rest of the hardware in the phones is different too.
---------- Post added at 11:12 AM ---------- Previous post was at 10:53 AM ----------
Just requested drivers from Pantech lets see if that does any good.
donavan01 said:
Maybe we need to start bugging Pantech for drivers... I don't think the drivers for the Burst would work anyways. The Flex uses a Qualcomm MSM8960 and the Burst uses the Snapdragon S3 APQ8060. I know they're both Arm7 processors but my guess is that the rest of the hardware in the phones is different too.
---------- Post added at 11:12 AM ---------- Previous post was at 10:53 AM ----------
Just requested drivers from Pantech lets see if that does any good.
Click to expand...
Click to collapse
i. the process of creating driver permissions for adb using a Linux box guess it's a race between me and pantech Haha
atadres said:
i. the process of creating driver permissions for adb using a Linux box guess it's a race between me and pantech Haha
Click to expand...
Click to collapse
OK GUYS BREAKTHROUGH thanks to Bin4ry root once we are able to get drivers for our device we will be able to root using this method hopefully as it is tested on 4.0.4 !! now its just a matter of getting drivers
http://forum.xda-developers.com/showthread.php?t=1886460
atadres said:
i. the process of creating driver permissions for adb using a Linux box guess it's a race between me and pantech Haha
Click to expand...
Click to collapse
Well if I was a betting man I would put my money on you... OEM's tend not to like to do things they dont have to.

Categories

Resources