[mod]V20C|V20E<>Overscroll glow; Reboot option; and more[UPDATE] - LG Optimus 2x

Hey all!
EDIT:
overscrollglow_reboot.zip - V20C reboot item and oversroll glow.
overscroll_glow_v20e_by_trapacska.zip - V20E for NEW ROM!!! OverScroll Glow only! and! flashable with cwm.
oglow_and_reboot_v20e_by_trapacska.zip - overscroll glow and reboot, V20E, flash with CWM
after flashed via cwm, first startup may take longer.
reboot item only in progress...
and flash build.prop edits via cwm too.(with selectable opts)
And very important! Everything else is working without framework mod, lockscreen or smooth mod. If you only want stock lockscreen, you don't have to flash overscrollglow, just edit build.prop.
I just made mods for (currently) V20C gingerbread.
- Overscroll glow & reboot item in power prompt
- default AOSP lockscreen
- disable shutdown animation
- disable boot animation, power on or off sound
- some performance-boost
1. Overscroll Glow&Reboot Item(because both is in framework.jar)
if you push framework.jar only to /system/framework/, reboot item will not show in power prompt.
otherwise just push android.policy.jar and framework.jar to /system/framework/
1.1 Go to ClockWorkModRecovery
1.2 Mount /system in mounts and storages option.
1.3 in adb shell cmd, just "adb push framework.jar /system/framework/"
"adb push android.policy.jar /system/framework/"
1.4 "adb reboot"
-first boot will take longer
2. Default Aosp LockScreen
2.1 Go to ClockWorkModRecovery
2.2 Mount /system in mounts and storages option.
2.3 use "adb pull /system/build.prop"
2.4 edit build.prop file and change
Code:
user.feature.lock_andy=true to
user.feature.lock_andy=false
2.5 then save and "adb push build.prop /system/"
3. Disable ShutDown animation
3.1 Go to ClockWorkModRecovery
3.2 Mount /system in mounts and storages option.
3.3 use "adb pull /system/build.prop"
3.4 edit build.prop file and change
Code:
user.feature.lgpoweroff=true to
user.feature.lgpoweroff=false
3.5 then save and "adb push build.prop /system/"
4. Disable BootAnimation, power on or off sound.
-to disable bootanimation
4.1 Go to ClockWorkModRecovery
4.2 Mount /system in mounts and storages option.
4.3 use "adb shell rm /system/media/bootanimation.zip"
-to disable power on sound
4.4 use "adb shell rm /system/media/audio/poweron/PowerOn.mp3"
-to disable power off sound
4.5 use "adb shell rm /system/media/audio/poweroff/PowerOff.mp3"
5. Performance boost
5.1 Go to ClockWorkModRecovery
5.2 Mount /system in mounts and storages option.
5.3 use "adb pull /system/build.prop"
5.4 edit build.prop file and ADD lines to end
Code:
debug.sf.hw=1
windowsmgr.max_events_per_sec=60
5.5 and change
Code:
dalvik.vm.heapsize=48m to
dalvik.vm.heapsize=32m
5.6 then save and "adb push build.prop /system/"
windowsmgr.max_events_per_sec=60 -for faster and smoother scrolling(in lists or in launcher)
debug.sf.hw=1 -it shares with all of services and apps to use GPU instead of CPU for animating.
dalvik.vm.heapsize=32m -it's good enought for everything, and you will have some more free ram.
for developers, if you only want reboot item, just say and i will share my sources and i give you my source. and more if you want, i can tell you how to change reboot item icon. and don't forget to attach my name into your changelog
if you like my work please press Thanks.

Awesome job, I'm still sticking to CM7, but congrats anyway

trapacska said:
debug.sf.hw=1 -it shares with all of services and apps to use GPU instead of CPU for animating.
Click to expand...
Click to collapse
Nope, just disables all GL extensions, making alot of games not work.

with debug.sf.hw=1 flashplayer is smoother and muffin knight too...
no lag at all when playing (all game works for me) ^^ nice found thx

If this is the same flag used by VorkKernel time ago....it has been massively tested by community and then deprecated...as it had no real gain and only issues
Sent from my Optimus 2X using XDA App

kiljacken said:
Nope, just disables all GL extensions, making alot of games not work.
Click to expand...
Click to collapse
maybe for you, but i know all of sources in framework and libs, and I know that what does mean. just try debug.sf.hw=0 and you will se the difference everything will be flickery, from games to launcher.

trapacska said:
maybe for you, but i know all of sources in framework and libs, and I know that what does mean. just try debug.sf.hw=0 and you will se the difference everything will be flickery, from games to launcher.
Click to expand...
Click to collapse
Show me the source then. We've tested it with vorkKernel, and no real performance boost was experienced. Only placebo
EDIT: Hmm, actually does something. Not just a whole lot I think

kiljacken said:
Show me the source then. We've tested it with vorkKernel, and no real performance boost was experienced. Only placebo
EDIT: Hmm, actually does something. Not just a whole lot I think
Click to expand...
Click to collapse
Source for overscroll glow, and reboot. others are searched via google,and i tested. these are working. its 100%. if you think it is placebo, just dont use that placebo. everybody can decide to use it or not. thanks.

It's good. Thanks
Its possibble to place "reboot recovery" ?
Good job, i include in my rom
Sent from my LG-P990 using Tapatalk

Anyway to get flashable zip pls?

hey, sorry if this will be once again a noob question, but how exatcly do i get into adb shell ?
if i type "adb shell" in cmd when my phone is plugged in the PC (phone is in cwm recoevry, system mounted), but cmd sais its an unknown command.
do i need some drivers or how is it ?
thanks

xilw3r said:
hey, sorry if this will be once again a noob question, but how exatcly do i get into adb shell ?
if i type "adb shell" in cmd when my phone is plugged in the PC (phone is in cwm recoevry, system mounted), but cmd sais its an unknown command.
do i need some drivers or how is it ?
thanks
Click to expand...
Click to collapse
You need to install android SDK and if you are on windows LG drivers. Google will rapidly lead you to how to make it..
Topogigi ROM 1.3

Ok i am on 20e. I know the first post mentions the package is for 20c but I like living dangerously. Anyway, to save 20e testers the hassle, it doesn't work. So err..any chance we can get this working on 20e? I really want the aosp lockscreen. Thanks!

bullyfrog said:
Ok i am on 20e. I know the first post mentions the package is for 20c but I like living dangerously. Anyway, to save 20e testers the hassle, it doesn't work. So err..any chance we can get this working on 20e? I really want the aosp lockscreen. Thanks!
Click to expand...
Click to collapse
yes don't work =(

Ill try to create this stuff for v20e too

ok, but i plan to make these mods, if official GB will be released.

trapacska said:
ok, but i plan to make these mods, if official GB will be released.
Click to expand...
Click to collapse
Ok
I think that edited XML's from this rom can be used on the "final/official" GB rom

bullyfrog said:
Ok i am on 20e. I know the first post mentions the package is for 20c but I like living dangerously. Anyway, to save 20e testers the hassle, it doesn't work. So err..any chance we can get this working on 20e? I really want the aosp lockscreen. Thanks!
Click to expand...
Click to collapse
hey! to use stock lockscreen, just edit your build.prop
Code:
user.feature.lock_andy=true to
user.feature.lock_andy=false
my framework.jar and android.policy.jar ONLY for reboot item and overscroll glow.
everything else is working without framework mod.

trapacska said:
hey! to use stock lockscreen, just edit your build.prop
Code:
user.feature.lock_andy=true to
user.feature.lock_andy=false
Click to expand...
Click to collapse
Thanks! Done. Never knew the the aosp lockscreen was already present

So.. is anyone making it compatible with the 20e release, i realy liked the mod ;-)

Related

Blue Pull-Down Status Bar Mod [DK28]

This is my first mod
Tell me how you like it and don't forget to thank if you like it
**REQUIRES ROOT** I am not responsible for any damage done to your device.
Never tried it in 2.1 or DI18, probably would work but not positive. If anyone tries it tell us how it works
-------------------------------
(You will need SDK & ADB)
Instructions:
1. Download the twframework-res.apk
2. Move the twframework-res.apk to the tools folder in the SDK (Usually in C:/Program Files/Android/sdk...or something in that range) [Where ever your SDK is]
*If adb is in platform tools, cut and paste the 3 adb files into tools*
3. In the tools folder, make sure no files are selected and hold shift and right click, then select open command window here.
4. Enter the following 6 commands in this order (ignore # signs or $ signs):
*Your device should ask to allow something SU permissions be sure to accept*
adb push twframework-res.apk sdcard/twframework-res.apk
adb shell
su
remount rw
cat sdcard/twframework-res.apk > system/framework/twframework-res.apk
reboot
Congratulations!!! Your phone should reboot and everything will look as it did in screenshot
I like the look. Might want to put it in a flashable .zip to get more users.
I been away from stock for so long I don't see what exactly the mod is
Sent From Da Hood.
mysteryemotionz said:
I been away from stock for so long I don't see what exactly the mod is
Sent From Da Hood.
Click to expand...
Click to collapse
I hear that lol. Hes got 3 mods in that pic, the short cut buttons on press, status bar background, and the bottom of the status bar
Sent from my SPH-D700 using Tapatalk
Sweet, its short and to the point, but if you click here you can customize it a little more. Some of the wording is similar to this OP as well.
I would love this on my phone but I'm still to new to flashing and roms and tweaking. It would go great with my current layout and color theme
What, I dont get any credit? Kidding. I wanna be in the credits though, I helped. >.> <.<

[MOD/GUIDE]This is HOW TO Remove HTC Lockscreen and Get Default Android one.

Hello Everyone,
This is Just a small and easy mod/guide for all those who want Default Android Lockscreen and like me hate the HTC slide down Lockscreen:
Usual Warning : I am not responsible if by doing the steps below ::
You brick your phone (Highly unlikely if you follow only given steps).
Your GF starts loving your phone and wants it.
Your GF gets pregnant. Its you who did it .. well hopefully
Let's not delete your lockscreen just keep it in case you want it back. yeah yeah i am all for safety just like my rom.
(Always be safe)
STEP BY STEP GUIDE​
Connect your phone and use ROM manager to reboot into recovery alternatively you can disconnect your phone reboot into recovery (vol down+power) and then connect your cable when you can see the green text.
Select partition menu or mount ** (dont remember the option its mount something something) depending on your recovery version and Mount system
Now i hope you know how to use adb. (Download and install android sdk)
Open command prompt (cd "path to android-sdk-windows/tools" without quotes) on my pc for example it is
Code:
cd C:\android-sdk-windows\tools
If you're on LINUX i am sure you know what to do.next all instructions are same:for Windows and Linux
Run following commands
Code:
adb remount
adb shell
cd /system/app
mv HtcLockScreen.apk HtcLockScreen.bak
exit
Now you will get a nice transparent default android lockscreen.
In case you want your stock HTC lockscreen back do this
Code:
adb remount
adb shell
cd /system/app
mv HtcLockScreen.bak HtcLockScreen.apk
exit
I have tried this with SUnAaBh ROM and it works flawlessly and ideally should work with every ROM including those not meant for HTC Wildfire.
The suggestion in the next post i.e post No.2 will cause your framework to change i.e your Theme and look of icons on notification bar, dropdown bar, battery icon etc SO to Preserve your framework just INSTALL THIS FILE..its same from attachment.
Hit Thanks if it helped.
This doesnt fix the Alarm clock bug that appears when removing the HTC lockscreen.
This does:
http://forum.xda-developers.com/showpost.php?p=10192875&postcount=2
Using it on Wildpuzzle 0.1 with no problems.
Will using this work:
- If you set a alarm ( for waking up or something ), does it work then?
- If you start Angry Birds, to make it working I must power off my screen, go to lockscreen and unlock it. And then I could play. Does this work too with this lockscreen?
Thanks in advance!
Marc. said:
- If you start Angry Birds, to make it working I must power off my screen, go to lockscreen and unlock it. And then I could play. Does this work too with this lockscreen?
Click to expand...
Click to collapse
I am using CM7 which uses the default Android Lockscreen, and, the Lock Unlock Procedure works for Angry Birds.
Alex_GP said:
This doesnt fix the Alarm clock bug that appears when removing the HTC lockscreen.
This does:
http://forum.xda-developers.com/showpost.php?p=10192875&postcount=2
Using it on Wildpuzzle 0.1 with no problems.
Click to expand...
Click to collapse
Oops did not know of the fix.. i was working on my own thanks a lot..u saved me some work..people can use this only..i hope HewGballs wont mind..
A great post - for those that need it and much better then using ADP app etc.
warriorvibhu said:
Oops did not know of the fix.. i was working on my own thanks a lot..u saved me some work..people can use this only..i hope HewGballs wont mind..
Click to expand...
Click to collapse
No problem.
adb wont start!! help pls.. it opens just for a split second with some texts flashing then gone!!
wildfire.daniel said:
adb wont start!! help pls.. it opens just for a split second with some texts flashing then gone!!
Click to expand...
Click to collapse
Please give some details..did you double click ADB.. you should not do that::
Give some details ::
YOUR OS ?
what exactly you did.. ?
Screenshot would be nice!
Too few posts inlcude a screenshot of what they're talking about!
I have an HTC, so have no idea what the "Default One" looks like!?
Is it possible to start making these threads a "little" more user friendly?
flipmode_11 said:
Screenshot would be nice!
Too few posts inlcude a screenshot of what they're talking about!
I have an HTC, so have no idea what the "Default One" looks like!?
Is it possible to start making these threads a "little" more user friendly?
Click to expand...
Click to collapse
Can you please be a very little more tech savvy i google and found this image in less than 5 seconds.. Start using google...please
http://t3.gstatic.com/images?q=tbn:ANd9GcTupH281Sv4BurvML-kupZWBHeG014DvtPTX-edhaGLIa_PEvciJg&t=1
The background is transparent.. it will show ur wallpaper as background..Which is black here.. ::
in cmd, i typed c:/path to sdk/tools and a folder showed up.. i double clicked adb.exe and it ran for a split second then gone... my os is windows xp sp2.. so i should not double click.. what should i do??
Sent from my HTC Wildfire using XDA App
and the "cd" before the c:/blabla/blabla does not work..
Sent from my HTC Wildfire using XDA App
I've tried this a minute ago! And it's really simple.
1. Download the android-sdk-windows folder and place it anywhere
2. start cmd.exe ( open it via start > cmd.exe )
2. Enter: cd: C:\whatever\whatever\android-sdk-windows\platform-tools
3. enter: adb.exe
4. then enter the things from the first page ( the adb commands )
5. unmount system ( ! ) on phone
6. reboot phone.
And you got it! I really don't ever used adb! So it's really simple with instructions. Maybe you could include my instructions?
can somebody show screenshot with default screen lock and htc? because i dont understand know about what are you talking. I had one screen lock since i bought mob with 2.1 android and know i have other one with 2.2. / 2.3 android. I nothing changed, nothing deleted and i like it.
wildfire.daniel said:
in cmd, i typed c:/path to sdk/tools and a folder showed up.. i double clicked adb.exe and it ran for a split second then gone... my os is windows xp sp2.. so i should not double click.. what should i do??
Sent from my HTC Wildfire using XDA App
Click to expand...
Click to collapse
Did i ask you to double click adb?
please follow instructions..if u are not sure..
IN CMD u must type following in the code box..
Start cmd
Code:
cd c:/path to sdk/tools
adb remount
adb shell
Rest all follow as in first post..
vilks said:
can somebody show screenshot with default screen lock and htc? because i dont understand know about what are you talking. I had one screen lock since i bought mob with 2.1 android and know i have other one with 2.2. / 2.3 android. I nothing changed, nothing deleted and i like it.
Click to expand...
Click to collapse
read post 11
warriorvibhu said:
Did i ask you to double click adb?
please follow instructions..if u are not sure..
IN CMD u must type following in the code box..
Start cmd
Code:
cd c:/path to sdk/tools
adb remount
adb shell
Rest all follow as in first post..
read post 11
Click to expand...
Click to collapse
http://t3.gstatic.com/images?q=tbn:ANd9GcTupH281Sv4BurvML-kupZWBHeG014DvtPTX-edhaGLIa_PEvciJg&t=1
ok. so u hate this screen lock or like? because i have the same and i like very much. i also added to screen lock two buttons: sms and phone. thats faster to to write sms or call.
You can also type in adb Shell umount /system to unmount from command line
warriorvibhu said:
Did i ask you to double click adb?
please follow instructions..if u are not sure..
IN CMD u must type following in the code box..
Start cmd
Code:
cd c:/path to sdk/tools
adb remount
adb shell
Rest all follow as in first post..
read post 11
Click to expand...
Click to collapse
Sent from my HTC Wildfire using XDA App
vilks said:
http://t3.gstatic.com/images?q=tbn:ANd9GcTupH281Sv4BurvML-kupZWBHeG014DvtPTX-edhaGLIa_PEvciJg&t=1
ok. so u hate this screen lock or like? because i have the same and i like very much. i also added to screen lock two buttons: sms and phone. thats faster to to write sms or call.
Click to expand...
Click to collapse
you are talking about widget locker this is no external app its just stock AOSP android lock screen..
warriorvibhu said:
Oops did not know of the fix.. i was working on my own thanks a lot..u saved me some work..people can use this only..i hope HewGballs wont mind..
Click to expand...
Click to collapse
How to apply these HewGballpatches ... ?? by flashing them right ?? i am using wildpuzzle v8 .... shd work 4 it ryt ...

[SCRIPT/MOD] Deodexed files for Bell (06/05/11)

If you are looking for how to get back to stock Bell, go HERE.​
Disclaimer: I have not tested this on anything but my phone. This is a development section of a hacking website. Make backups. Know what you are doing.​
Credits:
Brut.all for apktool
edgan for 2nd-init
designgears for aroot inspiration.
xda for being a source of info.
​
Requirements:
Windows 7 or Ubuntu 10.10+ (10.10 and 11.04 tested)
Java installed. (For applymods, it uses apktool)
Running Phone, not in recovery mode, etc.
Tips:
Don't factory reset please if something goes wrong, it just erases your personal settings, it doesn't write to the system partition. It also deletes your data partition, making it harder to get back to stock.
Early usb mode, turn your phone on while holding down the lower volume button, when it says fastboot, release and press volume down repeatedly until it says early usb enumeration, then press up volume. It takes 30 seconds or so before adb is ready.
​
Version 9:
Download it here.
What's new:
Added support for 2nd-int (WIP, tested on stock Bell only)
shsu updated to allow a super user to become a super user, acts like sh in that case.
fixed linux install_recovery.sh and uninstall_recovery.sh scripts to use shsu instead of remaining using su. Ditto with ApplyMods.sh
Boot animation now smaller, using jpegs instead of png files, no difference in appearance.
​
Version 8:
Download it here.
What's new:
Added full phone backup and full restore phone options to the menu. It will download a backup if there is none found.
root script more universal, tries psneuter first, then gingerbreak.
Early usb recovery updated, now uses a tmpfs for system, also mounts /sdcard and /sdcard-ext.
Deodexed French 2.1.1 files incorporated.
Misc fixes
​
Version 7:
What's new:
New Menu script for windows and linux in the top folder, double click Menu and enter options.
ApplyMods and other scripts updated to use /data/local/tmp/system, this means I can update system.tar.gz and add folders to be copied into system.
Early USB enumeration recovery option. (experimental but useful as is)
Fixed bugs in windows scripts. Can't get user input from bat file while in a parenthesis block apparently.
Bloat backed up to sdcard now
root and unroot scripts updated with more prompts for rebooting phone.
​
Version 6:
What's new:
Support for Telstra 1.4.2.
ApplyMods can create signed update.zips now, Create_update.bat updated. both using basic ready made scripts in main bin folder instead of creating them on the fly, CR LF issues.
Updated root and unroot scripts, more fool proofing, has to be Bell stock firmware (psneuter doesn't work on telstra).
Includes basic boot animation, and mod for Bell apn on telstra firmware. (Have to reset to default under access point names in settings.)
transparent status bar, yellow tinted white for text color, matches front buttons somewhat.
​
Version 5.1:
Features:
Works under Linux and Windows 7
Includes root and no ads scripts
Patch system for applying modifications.
What's new:
New scripts for doing mods, fixes issues with patch 9 images.
Updated root and unroot scripts, more fool proofing.
New RestoreSystemPartition script
Custom apktool for more [hopefully] bug free installations.
How to use:
Extract archive, keeping folder structure intact.
run a command prompt/terminal (There is a link to one in the windows folder)
run root.bat or root.sh from the linux or windows folders, depending on which one you are using.
Turn the phone off after that is done and turn it back on again.
The rest of the scripts shouldn't be run with psneuter affecting the phone.
run ApplyMods.bat (.sh) [OPTIONAL] This applies webtop hack and translucent status bar, translucent notification drop down, etc. Select update system.tar.gz.
run install_bell_deodex.bat or .sh
System image of stock Bell.
Mirror of above​
Cheers!
Very nice! Looks good!
Will try this when I get home
Sent from my Motorola Olympus
So what is the benefit of this? Will I be able to theme my device with some of the themes that are available? Or should I play it safe and wait for a bell. Sbf to leak before I try anything and brick my phone again lol thanks in advance
EDIT: i see that you have included soft_brick.bat is it the same as this one http://forum.xda-developers.com/showthread.php?t=982859 because that one did not work for me thanks again
Sent from my MB860 using XDA Premium App
cool, i'll try this tomorrow when i don't still have a ****load to do and only 5 hours to sleep
nice to see a Bell dev here!
Also I just wanted to say major props for the crazy awesome idea of doing over-the-air download and installation. Really smart and original.
Atrices, just so you know
NFHimself said:
Hi,
(What is the plural of Atrix?)
Click to expand...
Click to collapse
Can I run this on my mac? Sorry relatively new to adb
Sent from my Motorola Olympus
you could run it on a mac, just had to edit the script a bit.
Hi,
So what is the benefit of this? Will I be able to theme my device with some of the themes that are available? Or should I play it safe and wait for a bell. Sbf to leak before I try anything and brick my phone again lol thanks in advance
Click to expand...
Click to collapse
I wouldn't try theming with ATT files, I would take what was done to them and apply them myself to the deodexed files here. There may or may not be differences that are not obvious. I am never really sure if there is any benefit to this stuff, it's fun to do, about it.
EDIT: i see that you have included soft_brick.bat is it the same as this one http://forum.xda-developers.com/showthread.php?t=982859 because that one did not work for me thanks again
Click to expand...
Click to collapse
The soft_brick.bat script is specific to the folders I am using for transferring data to /system/app and /system/framework. It tries to get root via psneuter, mounts system read write, deletes dalvik-cache files, and tries to copy the files already on the phone to the right folders. It could be that just one file caused the phone to crash mid copy and copying it again will fix things. This avoids trying to do a usb data transfer of all the files which you don't have time to do otherwise. I was also thinking that install-recovery.sh would be a good place to do this, (and then clobber it later with the init.d hack) but I couldn't find setprop and I wasn't in need enough to select a file to use as a semaphore.
Can I run this on my mac? Sorry relatively new to adb
Click to expand...
Click to collapse
It would be easier to do it all from a sh script really, and that would likely be more compatible with a Mac.
Also I just wanted to say major props for the crazy awesome idea of doing over-the-air download and installation. Really smart and original.
Click to expand...
Click to collapse
Thanks!
Cheers!
maledyris said:
Atrices, just so you know
Click to expand...
Click to collapse
Thanks, a lot, really, 10 chars..
How do I recover from a softbrick from this? Thanks.
Before anything is done, all the files are extracted to /data/local/tmp/app and /data/local/tmp/framework. If you run into problems put the phone into fastboot/early usb enumeration mode (see here) and run soft_brick.bat (.sh for linux)
Quote:
A soft brick, in this case, is when you make a bad edit to your framework files and the phone won't fully boot and starts flashing a red LED at you.
There is one catch, you only get about 1-2min to do all of this before the phone reboots on its own. If that happens, do SuperOneClick steps again and continue where you left off. Better yet, build a script to do it all for you
Power off your device
Enter Fastboot:
Hold Volume down + power until you see Fastboot at the top left
Use volume down to scroll down to "Early USB Enumeration" (only shows one item at a time, if you pass it, keep going down, up selects)
Press Volume up to select​
This is the message I get when i run the batch file.
This is of course when invoking Early USB Enumeration.
Wait for the count down to finish ...
'TIMEOUT' is not recognized as an internal or external command,
operable program or batch file.
clearing Dalvik cache..
rm failed for /data/dalvik-cache/[email protected]*.dex, No such file or directory
rm failed for /data/dalvik-cache/[email protected]*.dex, No such file or director
y
rm failed for /data/dalvik-cache/[email protected]*.odex, No such file or directory
rm failed for /data/dalvik-cache/[email protected]*.odex, No such file or directo
ry
reinstalling apps
cp: cannot stat '/data/local/tmp/app/*': No such file or directory
reinstalling framework..
cp: cannot stat '/data/local/tmp/framework/*': No such file or directory
done.
The timeout message means you are running a version of windows without timeout, see adeo thread.
The lines for rm just mean there are no files to delete in the Dalvik-cache, which is normal, you should see that the second time around.
The cp lines are saying that there are no files in /data/local/tmp/app (/framework).
So, that's unusual, in order to get soft bricked using my script you would to have copied files from /data/local/tmp to /system, and if you are bricked would be unable to delete the files afterword.
sequence:
cd /system
cp /data/local/tmp/app/* app/
sync
reboot now
**brick**
So, how are the /data/local/tmp/app files being deleted?
No clue. I'm not sure what to do here? Is my phone permanently bricked? Any other way to recover from this? The one thing that could have gone wrong is I tried installing from my behind my works firewall. Maybe I could not download the proper files.
No, you are soft bricked, you only made a change (that I know of) in system files.
Were you rooted before you tried this?
If you copy the soft_brick.bat files and change the last line to be adb.exe shell ls -R /data/local/tmp, what do you get?
Basically, it sounds like to need to get the files copied over to data/local/tmp, how they are missing/inaccessible is odd. So, create a script to copy the files over bit by bit, might take a while but it should be able to be done.
EDIT:
Do this:
from command prompt:
adb.exe shell ./data/local/tmp/psneuter
wait a few seconds
type this:
adb shell ls -l -R /data/local/tmp
if psneuter fails, it isn't in /data/local/tmp, which is also odd.
I was rooted before this. So I should attempt all these commands while Early USB Enumeration right? That doesn't give me much time Lol.
OK, here's the output.
C:\bell_deodex>adb.exe shell ./data/local/tmp/psneuter
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
property service neutered.
killing adbd. (should restart in a second or two)
C:\bell_deodex>adb shell ls -l -R /data/local/tmp
/data/local/tmp:
-rwxr-xr-x root root 585731 2011-01-09 02:02 psneuter
-rw-r--r-- mot_tcmd mot_tcmd 4 2011-03-30 21:00 ap_tcmd.pid
C:\bell_deodex>^A
And sorry to be a pain. How would I create the script? What are the files that need to be copied? Are they included in your script?

[HOW TO] G.B on International Builds using 2ndinit (minor update 04/07/11)

Before anything............. This may Brick your phone, follow instructions and it wont
Big shoutouts to:
2nd-init------
skrilax_cz for writing this awesome trick!
edgan for getting it working on atrix with taskset
this hack:
eval for crazy loopback mount idea and all scripts
unknown for lots of helpful testing and debug
XLR88 for the system.img of GB 2.3.4
This is an example of the sort of thing that 2ndinit makes possible
but it is a quick hack and running with the wrong kernel - so still buggy
Bugs
1) The screen flips out when locked, so basically you swipe left and screen goes right.
2) No wifi
3) Camera dont work
4) Moto sign in not working
5) fingerprint
Working
1) Mobile data
2) network
3) Google sign in
4) Market
5) Calls
Will update when fixes are found and bugs are ironed out.
How to get GingerBread via 2ndinit on a locked bootloader for motorola atrix
Tools you need
Adb or Rootexplorer, 2ndinit.apk, terminal
Fastboot
Install 2ndinit.apk
Reboot
in terminal type
ls -a /sys/kernel/debug
Click to expand...
Click to collapse
should get output not
...
Click to expand...
Click to collapse
Download this ...........http://download839.mediafire.com/gv6kzdu34z3g/lcldnltaqj8xd9x/2ndGB.tgz
extract this to sdcard
Download this ...........http://hotfile.com/dl/122055970/0a6dfce/moto-fastboot.zip.html
Extract to sdcard
Delete everything in /preinstall
adb shell
su
cd /preinstall
rm -rf
Click to expand...
Click to collapse
copy 2nd-init, taskset, busybox to /preinstall
In ternimal
chmod 755 2nd-int
chmod 755 taskset
chmod 755 busybox
Click to expand...
Click to collapse
Rename hk. Img to system.img to and then copy to /preinstall folder
copy files from /ETC/rootfs/ to /system/etc/rootfs/ and set permissions
chmod 644 /system/etc/rootfs/*
Click to expand...
Click to collapse
copy this to /system/bin/ download and add gb directory to /data/ so it becomes /data/gb/
In terminal type
ls -a /sys/kernel/debug
Click to expand...
Click to collapse
you should get nothing at all
reboot.....
Backup your data this is a recommendation just in case
reboot again...........
when rebooting hold volume down then scroll down to EARLY USB ENUMERATION then volume up (do this everytime you want gingerbread)
wait.............
You should successfully boot into GingerBread... Congradulations
getting back to froyo
reboot
If all this fails, install 2ndinit.apk from here
Then repeat this tutorial...
Sorry about the crap video
WATCH HERE
If anyone can help to solve the flip of screen here is some clues that may help
1) screen is working prefectly until screen turns off, then it flips
Glad my work could be of use =)
And thanks for taking this off my hands while I'm away... hope you can fix the touch screen left-right input flip ... if anyone has any ideas, PM me, _unknown and stevendeb25. Here's to hoping all international users can enjoy 2.3.4 soon!
PS. haha thanks for quoting all my cursing in IRC about my /data failures
How my hack works
For international devs who want an idea of how I did it (before stevendeb25's tutorial & release) the following details my mount_ext3.sh:
Loopback hack only loads if you fastboot menu to early USB enum, so, run if ro.usb_mode==debug (plus helps us debug to adb early... why /system/etc/rootfs/default.prop we copy to / has ro.secure=0 & persist.service.adb.enable=1) In addition to default.prop we copy, extracted files from GB's ramdisk:, /init, /init.rc (modified, comment out mounting /system) and ueventd.rc from etc/rootfs, plus symlink /sbin/ueventd->/init.
Next, mknod and mount /preinstall rw, where we keep taskset, 2nd-init and busybox binaries, as well as system.img (CG60 from hktw 2.3.4 sbf.) It's probably already in /dev/block/ but this varied across froyo builds so mknod and mount rw to be safe. Good idea to use /preinstall/busybox from now on as /system mount dis/appears.
e2fsck -y the system.img and then losetup the loopback mount, umount -f -l /system, and mount -t ext3 <loopbackdevice> /system. For debug cat out /proc/mounts to a file in /preinstall or /data, actually I also append ">>/preinstall/debug 2>&1" to every command. Finally, now you can (taskset) 2nd-init your new system!
Unfortunately, seems necessary to fastboot -w or just rm -r /data/* between boots of froyo and GB. Annoying, but I couldn't easily get a GB-only /data mounted.
Now, can you fix the input flip left-right after lock screen? Clues are: it doesn't happen if this trick is tried on GB kernel (with Froyo ramdisk, system, and same 2nd-init trick.) Also, it persists after warm reboot, GB->GB. Pulling in /system/lib/hw from Froyo didn't help. Tho you'll want to bring back (and insmod) aev.ko, evfwd.ko, plus revert dhd.ko to Froyo version, as the first two are in-kernel on GB, and the latter seems to differ. I am fairly confident most bugs can be fixed by replacing (lock screen? nvrm_daemon?) pieces of GB userspace with Froyo versions in system.img. I just lost a bit of ambition after finding the fastboot oem unlock in the BL plus I will be away for a bit.
So, good luck to stevendeb25 and all you non-ATT Atrix hackers!
At least International users get some Gingerbread love! Good job guys!
i can't believe!!!
what a great new!!!
thanks guys!
the video seems to be really amazing!
wanna try it!!!!
that bootscreen looks awesome at first part in the video, is that stock?? oo
Excellent work brothers, you guys are really making us proud as well as you should be!
Very good job!
Now I can start dreaming about GB in my non-att atrix
You sexy, sexy man! Rawr!!
Great news
Sent from my MB860 using XDA Premium App
stratax said:
that bootscreen looks awesome at first part in the video, is that stock?? oo
Click to expand...
Click to collapse
Yeah stock orange uk bootscreen
Sent from my MB860 using XDA Premium App
Lol..
Awesome Steven, lookin' forward
bongd said:
You sexy, sexy man! Rawr!!
Click to expand...
Click to collapse
Stock Bell Atrix on Rogers with updated radio, Rooted, deodexed, Honeycomb theme, and frozen!
Released ............ enjoy guys, if dont want flip screen, dont lock the phone
This remember me when we try to put android on Windows Mobile Phones!haha
Anyway, nice work man, Let's play a lil
Wow, good work guys. I am sure this has been torture for international users. For the past couple of weeks, we in the states (or anyone on at&t) have been like kids on Christmas, while everyone else sits on the sidelines It's a good thing the 2nd init port got put to good use.
HolySorento said:
This remember me when we try to put android on Windows Mobile Phones!haha
Anyway, nice work man, Let's play a lil
Click to expand...
Click to collapse
Android has been ported to the Iphone, but as far as I know only to the older generations.
c'mon guys, are you trying that??
post your opinions!!
stevendeb25 said:
Released ............ enjoy guys, if dont want flip screen, dont lock the phone
Click to expand...
Click to collapse
Great work steve
Steven, is there no way for you to use drivers from the hktw build to fix wifi and camera?
Or do those require kernel level access or something?
Sent from my MB860 using XDA Premium App
stevendeb25 said:
Yeah stock orange uk bootscreen
Sent from my MB860 using XDA Premium App
Click to expand...
Click to collapse
Think anyone could post this? It looks much better than the ATT one.
tasty_boy said:
c'mon guys, are you trying that??
post your opinions!!
Click to expand...
Click to collapse
I'd love to try but without wifi and that flip issue I think I'll pass this version.
Sinful Animosity said:
Steven, is there no way for you to use drivers from the hktw build to fix wifi and camera?
Or do those require kernel level access or something?
Click to expand...
Click to collapse
Other way around... if you pull in dhd.ko from the latest Froyo build you flashed on your system, as well as aev.ko and evfwd.ko (and /system/etc/firmware or wifi/ ?) into loopback mounted /system you will have more chance of working wifi in HKTW2.3.4. (HINT HINT you could do this directly in the mount_ext3.sh script... copy useful 2.2 stuff to /preinstall, copy back into new /system after unmount,remount, even insmod if you have to...)
Remember, this trick produces a mismatch between /system version (GB,2.3.4) and kernel version in boot.img which is actually running. We can take care of ramdisk post-hoc before 2nd-init but older kernel and its API is still in place so pieces of HKTW userspace will have to be replaced/modded to fix bugs. This version of mount_ext3 is an early release for the hackers who want to tinker until it works... good luck! I will have only web and ssh access off and on for 10 days but can answer any questions by PM, on IRC or here..

[TOOL] Optimus Toolkit 6 in 1 v1.1.1 | P990-Linux|Root-Flash-Backup-Ap/KDZ Toolkit

Optimus Toolkit 6 in 1 v-1.1.1 - Linux
​
After a few month programming here you have this 6 in 1, we say that it is the counterpart in Linux of the "All in one", though it seems.
In you program have included 6 applications essential for the day-to-day management of Optimus, partitions with the new LG-ICS configuration or the former LG-GB.
Backup/restore of the whole system, and also of the SDs, both internal and external, and stores them in ZIP format.
The program includes:
Uncompress KDZ
Unpacking AP
Backup
Restore
Flash ROM (NVflash)
Rooted
Three languages, Spanish, English and German, I hope that it will soon translate into French, Italian and Portuguese
Click to expand...
Click to collapse
An example of use:
You have a ROM format KDZ and does not the Windows program rather than failing, because well, you copy the kdz within the kdz_folder folder, run the Optimus_Toolkit 6 in 1 and choose option 1- UnPack KDZ.
After a few seconds you have the AP and CP files to Flash with Smartflash. Oh, that doesn't want to boot windows?, no problem, use option 2.- UnPack AP, and then option 4.-Flash ROM for flashing by NVflash ROM KDZ just unpack.
But before Flash want do a backup of the system, as with the 3.- Backup/Restore option, this is in Optitool 2, backup/restore DATA, SYSTEM, etc.
Click to expand...
Click to collapse
The operation is very intuitive, just follow the instructions on screen.
The program does many things, and others will in the future.
I hope that you go reporting if you detect a fault.
Changelog
V-1.1.1
- Support for German language, thanks to Cupacabra - in this version you can change language from the main menu
V-1.1.0
- Support for any language. I have included a language file that you can go adding translations to other languages - error correction. -Added you fixing of current route to run on MAC (by drag0njoe) - the only language menu exits the first runs, the language selected is memorised.
V-1.0.2 R
- UnPack KDZ - now is can copy more than one KDZ within kdz_folder/, the program will create a menu with the KDZ that is inside the folder. - Added limits so that an opcionque can not be pressed does not exist. - Automatically adapts to options with one or two figures.
- Flash ROM - remodelling of the Flash ROM menu and correction of minor errors
V-1.0.2
- Menu flasher - Two new options, [5] Flash RECOVERs and [9] Flash KERNELs. - Alternative kernels copied them to kernel folder / and the recoverys to the recovery folder. - The program will detect the kernels and recoverys withi
V-1.0.1
- Correction on menu flashing, by drag0njoe
- Added flashing Kernel, by drag0njoe
V-1.0 stable
- Fixed bug when unpacking AP
- Fixed bug when unpacking KDZ
- Fixed bug in detection of ROM
- English version, corrected spelling errors.
- Revamped graphic look.
Click to expand...
Click to collapse
CREDITS
• [email protected] introduced the 'LGExtract.exe'. the encrypyted/compressed kdz can be extracted/decrypted to AP.bin/CP.fls by LGExtract.exe
• AP.bin extractor (win32/linux)
• xonar_ made BIN/FLS extractor
and release source
• (original Java version by xonar_)
• (win32 C port by navossoc)
• [TOOL] LGExtract 0.2.1 by navossoc
Click to expand...
Click to collapse
DOWNLOAD
Optimus_Toolkit_6-in-1_V-1.1.1.tar.gz - 25.64 MB
Nice bro,
It's good to have another alternative toolkit for linux users.
New version corrected, improved and stable
Thanks for your work and collection, as a regular linux user it's very useful for me.
I have some recommendations which are might be improve the linux users experience.
I suggest you to use some kind of compression which is takes care about the extended *nix attributes, like the executable bit. For example, the 7zip and the tar.gz will be perfect.
But if you feel better, that's no problem using the proprietary rar format, in this case I have to execute these commands:
Code:
chmod +x scripts/*.sh
chmod +x tools/7za
chmod +x tools/adb_linux
chmod +x tools/adb_mac
chmod +x tools/cabextract
chmod +x tools/extract
chmod +x tools/nvflash
Or, if you think you can implement such a thing like these into your menu.
Not a big problem, just an idea how to make your work more user friendly.
The other, which is also just a minor thing, in the tools/flash_en.sh I found that in the Opti nvflash command line there is a tools/fastboot.bin, which is not corrected to the fastbootICS.bin file, so the nvflash of course does not work with.
Lastly, please consider about integrate the recovery from pengus (CWM non-touch) and tonyp (CWM touch and TWRP soon), and to implement the kernel flashing only (ex. for the kernel testers). I attached my version of your flash_en.sh with Flash ROM option 8 (because I am successfully stucked on boot with a new kernel ).
Thank you for your work!
excellent useful tool!
drag0njoe said:
Thanks for your work and collection, as a regular linux user it's very useful for me.
I have some recommendations which are might be improve the linux users experience.
I suggest you to use some kind of compression which is takes care about the extended *nix attributes, like the executable bit. For example, the 7zip and the tar.gz will be perfect.
But if you feel better, that's no problem using the proprietary rar format, in this case I have to execute these commands:
Code:
chmod +x scripts/*.sh
chmod +x tools/7za
chmod +x tools/adb_linux
chmod +x tools/adb_mac
chmod +x tools/cabextract
chmod +x tools/extract
chmod +x tools/nvflash
Or, if you think you can implement such a thing like these into your menu.
Not a big problem, just an idea how to make your work more user friendly.
The other, which is also just a minor thing, in the tools/flash_en.sh I found that in the Opti nvflash command line there is a tools/fastboot.bin, which is not corrected to the fastbootICS.bin file, so the nvflash of course does not work with.
Lastly, please consider about integrate the recovery from pengus (CWM non-touch) and tonyp (CWM touch and TWRP soon), and to implement the kernel flashing only (ex. for the kernel testers). I attached my version of your flash_en.sh with Flash ROM option 8 (because I am successfully stucked on boot with a new kernel ).
Thank you for your work!
Click to expand...
Click to collapse
I will take into account the compression, I will use the native tar.gz.
On line 101 of your flash_en.sh it refers to tools/recovery_ics-20121230.img
That recovery is that?
I'm hoping to TWRP, is a recovery which I like very much, I tried to adapt it to ICS based on modifications made by Stefan in the CWM, but I only got a tremendous brick ), is that something different from CWM works
If you think of any suggestions, they will be well received.
Stefan Gündhör said:
excellent useful tool!
Click to expand...
Click to collapse
Blessed are the eyes that you read
Homero2 said:
I will take into account the compression, I will use the native tar.gz.
Click to expand...
Click to collapse
Thank you! Maybe the newer Linux users also like it.
Homero2 said:
On line 101 of your flash_en.sh it refers to tools/recovery_ics-20121230.img
That recovery is that?
Click to expand...
Click to collapse
Yes, this is the latest recovery from pengus77, I am using his ROM, so I think this one is better for me.
Homero2 said:
I'm hoping to TWRP, is a recovery which I like very much, I tried to adapt it to ICS based on modifications made by Stefan in the CWM, but I only got a tremendous brick ), is that something different from CWM works
If you think of any suggestions, they will be well received.
Click to expand...
Click to collapse
I tried it too, the result was useless, so I really understand you
Maybe sooner or later somebody has some time to make it for the ICS layout too.
Thank you again for your excellent work, it is really useful for me!
NEW V-1.0.2
- Menu flasher - Two new options, [5] Flash RECOVERs and [9] Flash KERNELs. - Alternative kernels copied them to kernel folder / and the recoverys to the recovery folder. - The program will detect the kernels and recoverys withi
Can't get it working.
Tried running it on a mac but it ends with an End of process after selecting a language:
Escoja una opción/Type an option: [1-2,X]2/Users/ruslanmirsalihov/Desktop/Toolkit_ICS-Root_Stock-v-1.0_by_Homero/root: line 18: tools/en.sh: No such file or directory
logout
On ubuntu it says it was unable to determine my phone.
Any help?
If the "unable to determine my phone" means that when you start the flashing process you get "Nvflash started" "USB device not found" in Ubuntu, I think the problem is that you using wrong cable, or you not plug the phone into the USB while both of the volume keys pressed. Please provide exact error message and the exact menu option you used in order to get your problem solved.
About the mac you need to start Terminal from Utilities and start the script from here.
Or, alternatively, I attached a fixed menu which is working with double-click, just download and replace it your menu file with the attached one (there is a new function which doing the same thing, cd'ing into the script directory, so I just made nearly nothing, but working in linux and mac, and should working in cygwin too.)
But note that, in mac you cannot use the flashing options because of AFAIK there is no nvflash for mac. But you can use the others, such as the rooting and the back up with ADB is working.
This function (fixpath). Should we put it in the script, or just on the menu?
New version 1.1.0, with support for multiple languages, the languages are included in a separate script file.
The program memorizes the selected language, and the language menu will not appear any more
New version, with new options and I think and hope that all errors are corrected.
THanks
At last playing with my android P990 without boot Windows thanks !!!
Does this work with the P880 (Optimus 4X) as well, or is it specific to the P990?
nevermind.......
Phew, search how to nvflash!!!
Sent from my LG-E610 using xda premium
SuperSkill said:
Phew, search how to nvflash!!!
Sent from my LG-E610 using xda premium
Click to expand...
Click to collapse
Newbie here trying to flash my o2x however I am not able to enter APX mode I guess. I've removed the battery and I hold down the volume up/down and plug into USB but nothing appears.. it just says no USB devices were found? Anyone else have this issue, not sure what I am missing here but pretty hard to do anything if device is not recognized. thanks.
archish said:
Newbie here trying to flash my o2x however I am not able to enter APX mode I guess. I've removed the battery and I hold down the volume up/down and plug into USB but nothing appears.. it just says no USB devices were found? Anyone else have this issue, not sure what I am missing here but pretty hard to do anything if device is not recognized. thanks.
Click to expand...
Click to collapse
Try the all in one tool kit by spyrosk
It has the menu for installing the drivers which you need
Install the apx drivers
Sent from my LG-P990 using xda premium

Categories

Resources