[KERNEL] Modified Stock Kernel [init.d/bootanimation] - Galaxy S Plus I9001 Android Development

Hey Guys,
here is the stock kernel from XXKQ7 including init.d and custom bootanimation support.
Root and Busybox needed
HOW-TO
1. Download one of the following zips
2. Put the zip on your internal SDCard
3. Shut down your phone
4. Go into Recovery-Mode: First power off your Phone, then hold Power + VolumeUp. Release the two buttons 3 seconds after the samsung logo is shown.
5. "install zip from sdcard" -> "choose zip from internal sdcard" -> "stockkernel_init.d_bootanimation_KQ7"
6. Reboot your phone
Downloads
KQE Kernel
KQB Kernel
KQ7 Kernel
Further Instructions
1. Create /system/etc/init.d place some script in it or flash any other init.d script package
2. To change the bootanimation place your favorited sanim.zip in /system/media/
After that you can flash Thunderbolt or AdrenalineShot and use their advantages.
Please give some Feedback it is working correctly because im really new to this stuff. I have a GT-I9001 and at the moment everything seems to run as it should. I had no bootloops as it sometimes was the case with FeaMod or N00b.

what’s this kernel‘s CPU frequency ,OC?

Why you are concerned?
Sent from my GT-I9001 using XDA App

crybert said:
Why you are concerned?
Sent from my GT-I9001 using XDA App
Click to expand...
Click to collapse
sorry, some mistakes in front of my words

Nice, been looking all over for stock kernel..How its prforming? Im currently on latest feacore, with batt drain all the time. Can u post ur batt stats pic?Would love to have usable phone than some short lived super fast phone..

Nice man......thansk is ok on my phone.

can i use it on another phone???

safwanjin said:
can i use it on another phone???
Click to expand...
Click to collapse
u can't be serious , right ?

safwanjin said:
can i use it on another phone???
Click to expand...
Click to collapse
I'm soooo tempted to say yes... but dude, the answer really is NO WAY MAN (unless you want a device which can only be used for throwing in your neighbors windows)
For the ones that want to automate uploading boot.img, here's a batchfile (untested). Just use attached, drag your boot.img ontop of it and ready it is...
Code:
for %%i in (%1) do set onlyfilename=%%~nxi
adb push %1 /sdcard/%onlyfilename%
adb -d remount
adb -d shell dd if=/sdcard/boot.img of=/dev/block/mmcblk0p8
adb -d remount
echo all ok?
echo rebooting...press a key to continue...
pause >nul
adb -d reboot
pause

crybert said:
Hey Guys,
I cooked this Kernel with dsixda's Android Kitchen because I wanted a stock kernel with init.d. So here it is.
Root and Busybox needed.
How-To with TerminalEmulator
1. Download boot.img here
2. Place boot.img on your SD-Card
3. Download TerminalEmulator from Market: https://market.android.com/details?id=jackpal.androidterm
4. Run TerminalEmulator and type:
Code:
su
dd if=/sdcard/boot.img of=/dev/block/mmcblk0p8
reboot
How-To with adb
1. Download boot.img here
2. Place boot.img on your SD-Card
3. Connect your Phone to your PC with the USB-cable (USB-Debugging has to be enabled)
4. Download adb-tools on your PC and extract the files to C:/adb
5. Run cmd on your PC and type
Code:
cd c:/adb
adb shell
su
dd if=/sdcard/boot.img of=/dev/block/mmcblk0p8
reboot
After that you can flash Thunderbolt or AdrenalineShot and use their advantages.
Please give some Feedback it is working correctly because im really new to this stuff. I have a GT-I9001 and at the moment everything seems to run as it should. I had no bootloops as it sometimes was the case with FeaMod or N00b.
Click to expand...
Click to collapse
hmm I can install this over your ROM ?

chasemyass said:
hmm I can install this over your ROM ?
Click to expand...
Click to collapse
You should be able to install it over any rom. Although as you are asking this, I wonder why you'd need it

nikagl said:
You should be able to install it over any rom. Although as you are asking this, I wonder why you'd need it
Click to expand...
Click to collapse
well because I think it could be same kernel version or maybe better than mine if it`s not same

chasemyass said:
well because I think it could be same kernel version or maybe better than mine if it`s not same
Click to expand...
Click to collapse
it's only if you want to tinker with init.d stuff ... and trust me: you don't

nikagl said:
it's only if you want to tinker with init.d stuff ... and trust me: you don't
Click to expand...
Click to collapse
maybe...maybe not i will see

@Crybert:Y dont u integrate CF-ROOT ramdisk with ur kernel,it makes things a hell lot easier

Can be fixed in kernel skype issue with upside-down video from front camera?

prescott66 said:
Can be fixed in kernel skype issue with upside-down video from front camera?
Click to expand...
Click to collapse
just turn the phone around

nope!

what is 'vbus_wake_lock', 'msm_otg' and 'usb_bus_active'?
this 3 kernal are the huge cause of my wakelock.

annoymous1234 said:
what is 'vbus_wake_lock', 'msm_otg' and 'usb_bus_active'?
this 3 kernal are the huge cause of my wakelock.
Click to expand...
Click to collapse
whoa,these are not kernels!

Related

how do you uninstall clockwork mod

can someone tell me how to uninstall clockworkmod
trapharder4844 said:
can someone tell me how to uninstall clockworkmod
Click to expand...
Click to collapse
The Clockwork Recovery?
yes the recovery i dnt like i want the regular recovery back
trapharder4844 said:
yes the recovery i dnt like i want the regular recovery back
Click to expand...
Click to collapse
Just reflash the regular recovery back
trapharder4844 said:
yes the recovery i dnt like i want the regular recovery back
Click to expand...
Click to collapse
Ok you can follow these instructions
http://forum.xda-developers.com/showthread.php?t=705026
OR the method I perfer:
put the new recovery you want on the sdcard and name it recovery.img
also put flash_image on the sd card..
here is a link to flash_image
http://cybermetricsystems.net/android/flash_image.zip
Here is the cool EVO recovery by Amon_RA <--for easyness be sure to rename it to recovery.img
recovery-RA-evo-v1.7.0.1.img
Code:
adb shell
cat /sdcard/flash_image > /data/flash_image
chmod 755 /data/flash_image
/data/flash_image recovery /sdcard/recovery.img
reboot recovery
rjmjr69 said:
Just reflash the regular recovery back
Click to expand...
Click to collapse
where is the regular recovery
trapharder4844 said:
where is the regular recovery
Click to expand...
Click to collapse
Use the one I posted. It was made for the EVO.
apristel said:
Ok you can follow these instructions
http://forum.xda-developers.com/showthread.php?t=705026
OR the method I perfer:
put the new recovery you want on the sdcard and name it recovery.img
also put flash_image on the sd card..
here is a link to flash_image
http://cybermetricsystems.net/android/flash_image.zip
Here is the cool EVO recovery by Amon_RA <--for easyness be sure to rename it to recovery.img
recovery-RA-evo-v1.7.0.1.img
Code:
adb shell
cat /sdcard/flash_image > /data/flash_image
chmod 755 /data/flash_image
/data/flash_image recovery /sdcard/recovery.img
reboot recovery
Click to expand...
Click to collapse
so i really need to do step two of toast root process over again
trapharder4844 said:
so i really need to do step two of toast root process over again
Click to expand...
Click to collapse
No just do the code in the box i provided. I never said to do that root part 2 over!
apristel said:
No just do the code in the box i provided. I never said to do that root part 2 over!
Click to expand...
Click to collapse
thanks i did it work like a charm
trapharder4844 said:
thanks i did it work like a charm
Click to expand...
Click to collapse
Thats what we are here for!
Glad to help.
How do you use the code in the box?
daddysal said:
How do you use the code in the box?
Click to expand...
Click to collapse
through your command prompt
daddysal said:
How do you use the code in the box?
Click to expand...
Click to collapse
You need the android SDK..
then you goto the tools folder within the download and use adb shell.
apristel said:
You need the android SDK..
then you goto the tools folder within the download and use adb shell.
Click to expand...
Click to collapse
Is android sdk in the market?
daddysal said:
Is android sdk in the market?
Click to expand...
Click to collapse
Android SDK is - if explained by simple means - a tool on the computer that gives it's user the ability to "customise" , "code" , "1337ise" his Android ( 1337 in videogaming usually refers to elite players ) and it is used in the making of All ROMs ( Operating system would give a close meaning ) that you see on the internet like the Cyanogen one , etc... If you are looking for Android SDK you will find it on
http://developer.android.com/sdk/index.html
Anyone happen to have an updated flash_image link?
ExcaliburXVII said:
Anyone happen to have an updated flash_image link?
Click to expand...
Click to collapse
Check amonRAs thread. Its there.
Sent from my PC36100 using XDA Premium App
Here
http://db.tt/tAQqfgQ
Not sure if you jave to rename it pc36img or if you need to use terminal. Its been a long time, I forget. Bit this is what you need. Try the pc36.img method thru hboot first cuz I thing this zip is for that.
Sent from my PC36100 using XDA Premium App
Does anyone have a new flash image?

[22/9] newSense DesireHD ROM(1.15) file for Desire phone, rooted|A2SD+|OJWake|OVPN

23/9/2010 12:00 I've been to the Chinese Mid-Autumn Festival. Who want flashable ROM zip file will be try:http://forum.xda-developers.com/showthread.php?t=742371 or http://forum.xda-developers.com/showthread.php?t=789830, thanks to NeoPhyTe.x360 and robocik!
fastboot video:http://www.youtube.com/watch?v=fipvwzuNyEE
download url:http://www.multiupload.com/AVHZ2WJ4M4
mirror url:http://vipme.com/ROM/desireHD/, thanks to zexbig.
This is NOT a flashable zip file.
It is a file collections for ROM Dev.
09-22 15:48 update patch:fix gps FC & vold issue & Youtube HD no video issue:http://www.megaupload.com/?d=7YJ6B7UR
flash it with ROM Manager or recovery menu.
Known issue:
1.camera can not work
2.Location,CarPanel FC sometimes.
Thanks all Dev from XDA! This file pack is based on DesireHD leaked RUU/Dump.
Requirement:
1.Desire Phone
2.custom recovery(AmonRA,ClockWork)
3.parted SDCARD with ext2/ext3, ext partition size not less than 512M.
4.radio version great than 32.42.00.32U_5.09.00.08
use it with follow step:
1.unzip the ownhere.DesireHD.zip
2.reboot your desire phone to recovery mode,for example:"adb-windows.exe reboot recovery"
3.wipe data,system,sd-ext
4.adb connect to phone, for example:"adb-windows.exe shell"
Code:
mkdir /sd-ext
mount /sd-ext
mount /system
mount /sdcard
5.push ownhere.desirehd.system.tgz,ownhere.desirehd.sd-ext.tgz,ownheredesire_v2.0_acekernel.zip to /sdcard
for example:
Code:
adb-windows.exe push ownhere.desirehd.system.tgz /sdcard/
6.adb connect to phone
Code:
cd /system
rm -r *
tar zxvf /sdcard/ownhere.desirehd.system.tgz
cd /sd-ext
rm -r *
tar zxvf /sdcard/ownhere.desirehd.sd-ext.tgz
sync
lost+found may be error, ignore it.
7.flash ownheredesire_v2.0_acekernel.zip with recovery menu.
8.reboot,the first boot time is long, about 5 mins.
you got it.
removed file:
Code:
Facebook
Twitter
teeter
Metal(skin)
Black(Skin)
Wood(Skin)
Flash
Maps
Quickoffice
all of these files can be found in Market or leaked RUU.
modified file:
Code:
Vending(Market)
/system/lib/hw/
/system/lib/egl/
build.prop
and some files i forgot...
all of these files can be restore from leaked RUU(But may be crash the system)
HOWTO extract file from DesireHD leak RUU 2.15:
run RUU_Ace_HTC_WWE_1.15.405.1_Radio_12.21.60.12_26.02.00.09_M_test_148662.exe in Windows box.Then some dialog appear(which include a 'next' button), look for your windows' temp dir, search the newest dir created by RUU, then copy rom.zip(about 277M) to another dir(or RUU will delete it automaticly).
send this rom.zip to Linux box,
in Linux box, unzip rom.zip, then
Code:
mkdir system
mount -o loop,ro system.img system
all files in system dir. you can simply copy files from it.
Ouch
I was hopeing for a flashable ROM ....
Well thx a lot man, now devs will be able to develop some great HD ROM
Would love to, Except I'm not Brave Enough
Excellent Work, Well Done!
KYI
first!
WELL DONE
edit: wasn't fast enough damn
sweet dude
Wow ! Thanks !!! :d
Thanks for sharing
ash1684 said:
Ouch
I was hopeing for a flashable ROM ....
Well thx a lot man, now devs will be able to develop some great HD ROM
Click to expand...
Click to collapse
It's because he is using the Sdcard as an extended System ftom what i know at least
can someone report if it works before i try
and ownhere take your place amoungst the xda legends
LOL rapidshare is already going 150 secs for a dl... they are getting overtaxed i advise everyone to use Megaupload... only 30 sec wait
Trying this now!
any one installed this ?
apologies for having doubted about you!!!GREATE job!
How is it working?
great now I need to learn adb but thanks now I can laugh at my cousin with cs hd
2
can anyone report on whats working and whats not?
NickChaplin said:
can anyone report on whats working and whats not?
Click to expand...
Click to collapse
according to the op everything works apart from camera app, neo said he will look into fixing it tho
AndroHero said:
according to the op everything works apart from camera app, neo said he will look into fixing it tho
Click to expand...
Click to collapse
am i correct in assuming that this rom doesnt have root access?
please make flashable zip
NickChaplin said:
am i correct in assuming that this rom doesnt have root access?
Click to expand...
Click to collapse
op said it rooted with apps2sd

FuguTweaks (tested)

Getting smoother UI and faster App loading for all Froyo devices
http://forum.xda-developers.com/showthread.php?t=981125
please report back here!
Small tutorial:
download FuguTweaks update.zip package from original thread
extract the two files in system/bin/ of the archive to your sdcard
copy paste them to /system/bin/ using RootExplorer or push them trough adb
reboot
ADB installation method (thanx Dark Lestat):
Code:
adb shell "su"
adb shell "mount -o remount,rw /dev/block/stl9 /system"
adb push app_process /system/bin/
adb push system_server /system/bin/
adb shell "chmod 755 /system/bin/app_process"
adb shell "chmod 755 /system/bin/system_server"
adb shell "reboot"
Known Problems:
Reported to bootloop when custom bootanimation is used.
Custom Bootanimations working!! problem was with installation through adb!
Rekooo said:
Since I can't post in developement section, I'll message this to you, I installed fugutweaks, it works like a charm on Kyrillos rom V2.3. Device got improvement in responsivity. It's very fast!
Click to expand...
Click to collapse
Saka911 said:
Hi, I am on 2.3. I installed the fugu tweak using root explorer. No problem of boot loop. The phone does become more responsive. I know this because as soon as I reboot the phone all apps load very fast. But there is also a drawback for me. The actual scrolling in launcher pro menu and even. In opera scrolling has become jerky if u know what I mean. And no I don't have any lagfix installed. Btw if fadefx wants he can use my reply as quote in his thread. Regards.
Click to expand...
Click to collapse
Ten chars...
FadeFx said:
someone willing to test this on our G3:
http://forum.xda-developers.com/showthread.php?t=981125
should make the UI more smooth.... pease report back here!
Click to expand...
Click to collapse
Am sorry .... But where do i hav to paste this ?
/system/bin/
FadeFx said:
/system/bin/
Click to expand...
Click to collapse
Thank you ... Will do it rite away
AM sorry again ... But do i hav to paste teh entire META-INF and system folder
or teh contents inside teh folder ?
i forgot to remove the custom bootanimation and now the phone doesnt boot. QtADB doesnt allow me to delete the bootanim because the contents are read-only. please tell what must i write in the adb command prompt to make the partition read-writeable?
EDIT:
The Dark Lestat said:
adb shell
su
mount -o remount,rw /dev/block/stl9 /system
Sent from my Lestatious v1.2.1 Galaxy 3 FROYO
Click to expand...
Click to collapse
UPDATE: @FadeFx.
adb pushing --> bootloop! (tried 2 times, with/without bootanimation)
root explorer --> works fine (tried with/without bootanimation)
FadeFx said:
Getting smoother UI and faster App loading for all Froyo devices
http://forum.xda-developers.com/showthread.php?t=981125
please report back here!
Small tutorial:
download FuguTweaks update.zip package from original thread
extract the two files in system/bin/ of the archive to your sdcard
copy paste them to /system/bin/ using RootExplorer or push them trough adb
reboot
Known Problems:
Reported to bootloop when custom bootanimation is used.
Custom Bootanimations working!! problem was with adb!
Click to expand...
Click to collapse
Problem with ADB???? how can we use the fone without adb?
P/S: just take a look post above it turn out that using root explorer => OK
Adb is working, just installing fugutweaks through adb causes bootloops
Tried it, the phone feels indeed more snappy. I use vanilla JPF with lagfix.
debaj said:
Tried it, the phone feels indeed more snappy. I use vanilla JPF with lagfix.
Click to expand...
Click to collapse
what kind of lagfix that work @ clean JPF, lagfix - lagfixv2 or apollọ801 lagfix (more space for install apps) ?
one question. should i reboot? or poweroff the phone and then power it on?!
I think this makes no difference in that case...
tested on original JPF.
a little bit faster. thx
what i should do with meta-inf folder?
pokosik said:
what i should do with meta-inf folder?
Click to expand...
Click to collapse
nothing. it's used when you update using recovery mode (update.zip) . currently recovery for our phones doesnt do that (except eclair recovery i think). i might be mistaking you know
kenblat said:
what kind of lagfix that work @ clean JPF, lagfix - lagfixv2 or apollọ801 lagfix (more space for install apps) ?
Click to expand...
Click to collapse
Don't know about clean JPF, I use lagfix v2 on vanilla.
I think this should work with any lagfix.
FadeFx said:
/system/bin/
Click to expand...
Click to collapse
I pasted both the files to /system/bin but it didn't ask for an overwrite.. Did I do something wrong.. My phone boots up normally though !
Thanx ..
Sent from my GT-I5800 using XDA App

[Q] ClockworkModRecovery (Only wants to wipe data) [SOLVED - Read / Scroll Down]

Ok, so i have a fresh new stock of 21e flashed onto my phone. Rooted with no errors, and I have Clockwork ROM Manager installed.
If I use the app to boot into recovery my phone just automatically Wipes all data then loads back up as if a fresh install was done, so I thought I would check the problem out myself (Power and vol.down), and the only options I have in the Clockwork Boot Menu are as follows:
Android system recovery <3e>
Confirm wipe of all user data?
THIS CAN NOT BE UNDONE.
No
No
No
No
No
No
No
Yes -- delete all user data
No
No
No
Click to expand...
Click to collapse
If I go back one page the only options I have are as follows:
Android system recovery <3e>
Android system recovery utility
reboot system now
wipe data/factory reset
wipe cache partition
wipe cache partition and package recovery
wipe nv dynamic partition
Click to expand...
Click to collapse
I can not go back any further, they are my only options in boot recovery of which I find extremely odd. (Until this is sorted I can not install a new ROM/Kernel and fix my network)
Any help would be much appreciated.
Kind Regards.
Loopy Frog said:
Ok, so i have a fresh new stock of 21e flashed onto my phone. Rooted with no errors, and I have Clockwork ROM Manager installed.
If I use the app to boot into recovery my phone just automatically Wipes all data then loads back up as if a fresh install was done, so I thought I would check the problem out myself, and the only options I have in the Clockwork Boot Menu are as follows:
If I go back one page the only options I have are as follows:
I can not go back any further, they are my only options in boot recovery of which I find extremely odd. (Until this is sorted I can not install a new ROM/Kernel and fix my network)
Any help would be much appreciated.
Kind Regards.
Click to expand...
Click to collapse
That's not ClockworkMod.
That's the stock Android recovery.
ah lol (embarrassing)
Thanks though... ok so it seems that my problem is that the copious amount of things that I try to install clockwork boot, it just wont happen. Any ideas?
Regards
Loopy Frog said:
ah lol (embarrassing)
Thanks though... ok so it seems that my problem is that the copious amount of things that I try to install clockwork boot, it just wont happen. Any ideas?
I am just about to see if I can do something with the LGDP2 V36 UMTS.
Regards
Click to expand...
Click to collapse
You can flash ClockworkMod Recovery with this.
[GUIDES/TOOLS]Making Developing/Flashing/Returning to Stock Easier
The Dark Lestat said:
1. Recovery Manager
This is a flashing tool that will let you install:
Stock Recovery
ClockworkMod Recovery
Touch ClockworkMod Recovery
Requirement:
You'll need to have the LG Thrill / Optimus 3D
You'll need to be rooted.
Superuser and SU have to be updated to the latest app and binary
Update Superuser in the market
Open Superuser app and go to the options
Scroll to the bottom and click "Su binary"
DOWNLOAD LINK: Recovery Manager - 18 MB
How To Use:
Extract the files with WinRar or 7zip
Launch "Recovery Manager.bat"
Make sure your phone is in "USB Debugging Mode" and is plugged in
Choose your option
Wait for the screen to refresh
Boot into recovery to verify it was flashed successfully
Click to expand...
Click to collapse
No Luck :-(
Did your guide word for word, all went successfully.
However.... I can use root applications on the device etc...
Though it appears I can no longer get the clockwork boot anymore?
Loopy Frog said:
No Luck :-(
Did your guide word for word, all went successfully.
However.... I can use root applications on the device etc...
Though it appears I can no longer get the clockwork boot anymore?
Click to expand...
Click to collapse
Try: 3d+volume down+power button
hold til 3 sec after seeing the logo.
Loopy Frog said:
No Luck :-(
Did your guide word for word, all went successfully.
However.... I can use root applications on the device etc...
Though it appears I can no longer get the clockwork boot anymore?
Click to expand...
Click to collapse
You can also use the ROM Manager app to boot into recovery.
p-vlad said:
Try: 3d+volume down+power button
hold til 3 sec after seeing the logo.
Click to expand...
Click to collapse
Nope doesn't work. >_<
The Dark Lestat said:
You can also use the ROM Manager app to boot into recovery.
Click to expand...
Click to collapse
Yeah that's what I was using when it used to work, however now when I do it, It just "deletes all user data". Obviously because it is not having any response from the Clockwork recovery boot, and goes straight into:
Android system recovery <3e>
Confirm wipe of all user data?
THIS CAN NOT BE UNDONE.
No
No
No
No
No
No
No
Yes -- delete all user data
No
No
No
Click to expand...
Click to collapse
I just don't understand why My boot wont change from android to the clockwork boot. >_<
Is it being flashed properly?
Try doing the flashing manually. Download the recovery image from www.clockworkmod.com/rommanager (choose touch for P920, nothing else), then open adb in cmd and type the following commands with phone plugged in:
adb push <image name>.img /data/local/tmp
adb shell su -c "dd if=/data/local/tmp/<image name>.img of=/dev/block/mmcblk0p6 bs=4096"
adb shell "rm /data/local/tmp/<image name>.img"
Replace <image name> with the filename of the img. If everything checks out, you should be able to boot into CWM. If you get errors, post them here
(I took the commands from The Dark Lestat's batch file, props go to him. I was too lazy to search for it Don't judge me, it's 12.30am here)
pandaball said:
Try doing the flashing manually. Download the recovery image from www.clockworkmod.com/rommanager (choose touch for P920, nothing else), then open adb in cmd and type the following commands with phone plugged in:
adb push <image name>.img /data/local/tmp
adb shell su -c "dd if=/data/local/tmp/<image name>.img of=/dev/block/mmcblk0p6 bs=4096"
adb shell "rm /data/local/tmp/<image name>.img"
Replace <image name> with the filename of the img. If everything checks out, you should be able to boot into CWM. If you get errors, post them here
Click to expand...
Click to collapse
Thanks Panda, I'll give it ago later when I have time, and let ya know how I go.
Loopy Frog said:
Thanks Panda, I'll give it ago later when I have time, and let ya know how I go.
Click to expand...
Click to collapse
Also, I'll update the scripts with a newer version, so that it's simplified.
Holy Sh*t .. .
dont use Rom Manager to boot into recovery.. there where so many bad reports about that app.. if you want to boot into recovery.. do this.. .
install Terminal Emulator..
type in ..
su (enter)
reboot recovery (enter)
your phone will boot into what recovery you have .. .
hope that helps!
JastaPein said:
Holy Sh*t .. .
dont use Rom Manager to boot into recovery.. there where so many bad reports about that app.. if you want to boot into recovery.. do this.. .
install Terminal Emulator..
type in ..
su (enter)
reboot recovery (enter)
your phone will boot into what recovery you have .. .
hope that helps!
Click to expand...
Click to collapse
It's not using ROM Manager to BOOT into recovery.
It's using ROM Manager to install ClockworkMod that was the issue.
Very weird indeed. I also have flashed yhe 21E rom from LG. Next I rooted the phone and installed CWM touch. I have no problems with it.
JastaPein said:
Holy Sh*t .. .
dont use Rom Manager to boot into recovery.. there where so many bad reports about that app.. if you want to boot into recovery.. do this.. .
install Terminal Emulator..
type in ..
su (enter)
reboot recovery (enter)
your phone will boot into what recovery you have .. .
hope that helps!
Click to expand...
Click to collapse
Thanks, either/or this doesn't matter at this stage, I need to able to boot into recover for this or even clockwork to do it anyway. I'll keep this in mind nonetheless.
pandaball said:
Is it being flashed properly?
Try doing the flashing manually. Download the recovery image from www.clockworkmod.com/rommanager (choose touch for P920, nothing else), then open adb in cmd and type the following commands with phone plugged in:
adb push <image name>.img /data/local/tmp
adb shell su -c "dd if=/data/local/tmp/<image name>.img of=/dev/block/mmcblk0p6 bs=4096"
adb shell "rm /data/local/tmp/<image name>.img"
Replace <image name> with the filename of the img. If everything checks out, you should be able to boot into CWM. If you get errors, post them here
(I took the commands from The Dark Lestat's batch file, props go to him. I was too lazy to search for it Don't judge me, it's 12.30am here)
Click to expand...
Click to collapse
All went well, expect for the last string, see below;
I renamed "recovery-clockwork-touch-5.8.1.5-p920" - "x"
C:\Users\Astro\ADB>adb push x.img /data/local/tmp
3204 KB/s (5995063 bytes in 1.827s)
C:\Users\Astro\ADB>adb shell su -c "dd if=/data/local/tmp/x.img of=/dev/block/mmcblk0p6 bs=4096"
1463+1 records in
1463+1 records out
5995063 bytes transferred in 0.992 secs (6043410 bytes/sec)
C:\Users\Astro\ADB>adb shell "rm/data/local/tmp/x.img"
rm failed for /data/local/tmp/x.img, No such file or directory
Click to expand...
Click to collapse
Loopy Frog said:
All went well, expect for the last string, see below;
I renamed "recovery-clockwork-touch-5.8.1.5-p920" - "x"
Click to expand...
Click to collapse
I'm about to upload a newer version of it. Let me know if it works.
Alright.
Here's the new Recovery Manager with updated scripts. It should be a lot cleaner now.
Recovery Manager
The Dark Lestat said:
Alright.
Here's the new Recovery Manager with updated scripts. It should be a lot cleaner now.
Recovery Manager
Click to expand...
Click to collapse
You my friend, are truly amazing!! what ever your alterations were; it worked!
Thank you.
Loopy Frog said:
You my friend, are truly amazing!! what ever your alterations were; it worked!
Thank you.
Click to expand...
Click to collapse
I think it's because my scripts were thrown together in the previous one.
Anyways, it's cleaned up.
Glad it worked!

[TOOL] DEXO – universal odex tool | HOW-TO move lib to /system/lib without reflash

DISCLAIMER: I am not the author of this tool!
All credits goes to tommytomatoe and you can press thanks in this thread because there is no dedicated thread for DEXO @xda (at least I found none)​
theking_13 said:
thiagomme said:
Why does it give better battery life? Thank you.
Click to expand...
Click to collapse
Because it splits the .apk (app package) into two parts, the .apk and a .odex file. Usually, for the phone to use an app, it has to decompile the .apk and get the parts it needs to run the app. With the odex files, which stands for "Optimized Dex" the startup time is much faster since the phone doesn't have to perform any optimizing at startup/runtime, and because of that, it also uses less CPU power, and thus makes it faster, smoother, and battery life is increased.
Click to expand...
Click to collapse
OK. So what is this tool?
This tool doesn’t deal with partially odexed ROMs. This tool is for odexing a ROM that is completely DEODEX.
The benefits? Faster boot, smaller imprint on /data/ partition, overall faster feeling
The myths? I can’t theme ODEX! WRONG! You can theme odex just fine! Just use baksmali and smali.
Click to expand...
Click to collapse
Requirements:Of the author:
adb
Linux, Mac OS X, Windows
Android device with busybox
Four minutes of your day
Added by me:
You have finally settled on a ROM that you want to use for some time without an intention to modify it further
You will need about 100 MB free space on system (my free space decreased from 160 MB to 96 MB after the completion of the process) To free some you can delete some apps from /system/app or move them to /data/app with a root file explorer (do not forget to set the correct permissions afterwards) or even better: to move your /system/lib folder to the lib partition without reflashing the ROM (see below for details)
Tested on Fallout 5.0 and Virtuous Infinity 1.35 with my Tweaked3 8.6 kernel. If you are using this it is at your own will and risk
NOT WORKING on CoolDroid and Sabsa Prime 6.5, probably because they have mixed framework from different Sense versions! Do not do on other similar ROMs only on ones with an original (even modded) framework!
Procedure:Go here and read carefully. It is basically some adb commands.
Out of respect to the author I will not mirror his link nor the instructions​----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------How to free about 120 MB space on /system by moving the lib folder to its dedicated partition without reflashing the ROM
This is only for ICS Sense ROMs. AOSP ROMs have enough free space to run the script without issues. I am not sure about the GB Sense ROMs, but if I remember correct they have enough free space on /system too. (if I am wrong please PM me to add GB Sense boot.img)
Requirements:
Bootloader with /system/lib support: 2.xx or 7.xx
150 MB free space on your SDcard
adb drivers installed (link in my signature)
4EXT Recovery (or any other recovery that has a menu entry for mounting /system/lib partition)
good attention while copy/paste the commands from here. One typo will lead to a bootloop
Download Tweaked3: XI_lib_bootimg.zip
md5sum: 1bc1d645b8212cdb2e4e949c6b7b3312
Download Patched: 3089_lib_bootimg.zip
md5sum: f1ae0228eb4057b4e4c4934a1e8a0515​The zips contain boot images of my Tweaked3 and Patched kernels with /system/lib support (I am not advertising them but this are the files I have ready, you can use a Stock kernel as well). There are 4 of them:
Sense4_lib_boot.img - for ALL Sense 4 ROMs (except VIrtuous Infinity)
Sense36_exp_lib_boot.img - for custom Sense 3.6 ROMs with experimental WiFi driver (Experimental kernel)
Sense36_lib_boot.img - for custom Sense 3.6 ROMs with stock WiFi driver (Stable kernel)
Virtuous_lib_boot.img - the name speaks for itself
Extract the archive in the folder where your fastboot executable is. This is not a flashable zip!​orDownload 2: b2b_lib_bootimg.zip
md5sum: 4bb4d44506eae5f247b69f9c5663e3a8​The zip contains boot images of my B2B kernel with /system/lib support (I am not advertising it but this are the files I have ready, you can use a Stock kernel as well). There are 2 of them:
Sense4_lib_boot.img - for ALL Sense 4 ROMs (except VIrtuous Infinity)
Sense36_lib_boot.img - for custom Sense 3.6 ROMs
Extract the archive in the folder where your fastboot executable is. This is not a flashable zip!​NOTE: your ROM has to be on the same version of the kernel before the procedure, otherwise your WiFi will stop working. Or you will need to download the zip from the kernel thread and copy the modules to /system/lib/modules manually giving them right permissions (644 or -rw-r--r--)​Procedure:# Connect the device to PC, open Command Prompt (cmd) and browse to the folder where are your adb and fastboot executables are (example: cd C:\android-tools)
# Reboot to Recovery (4EXT recommended)
Code:
adb reboot recovery
# Make a Nandroid backup
# Mount manually /system and /sdcard from the "mounts | storage" menu of the Recovery
# Copy the content of /system/lib to the SDcard
Code:
adb shell
mkdir /sdcard/system
cp -r /system/lib /sdcard/system
# Clean /system/lib
Code:
rm -r /system/lib
# Recreate empty /system/lib and set permissions
Code:
mkdir /system/lib
chmod 755 /system/lib
# Unmount manually /system from the "mounts | storage" menu of the Recovery
# Mount manually /system_lib from the "mounts | storage" menu of the Recovery
# Copy the lib contents to /system/lib
Code:
cp -r /sdcard/system/lib/* /system_lib
# Set permissions to /system/lib
Code:
cd /system_lib
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
[I]# Creating symlinks [COLOR=Red]Only for Virtuous Infinity![/COLOR][/I]
ln -s libhtc_ril.so librilswitch.so
cd hw
ln -s copybit.msm8660.so copybit.msm7x30.so
ln -s gralloc.msm8660.so gralloc.msm7x30.so
ln -s lights.msm8660.so lights.msm7x30.so
# Remove the SDcard /system/lib folder
Code:
rm -r /sdcard/system
exit
# Unmount manually /system_lib and /sdcard from the "mounts | storage" menu of the Recovery
# Reboot to bootloader
Code:
adb reboot bootloader
# Flash the boot.img and reboot
Code:
fastboot erase boot
fastboot flash boot XXX_lib_boot.img
fastboot reboot
Now you can use the tool above without concerns about free space
Enjoy!
amidabuddha, thanks for sharing. Have you tried this?
old.splatterhand said:
amidabuddha, thanks for sharing. Have you tried this?
Click to expand...
Click to collapse
Yes of course. Read the Requirements part
Sent from my HTC Desire S
Ok, i need help, cause i don't do this things often:
Fifth step, run it!
Click to expand...
Click to collapse
What and how?
old.splatterhand said:
Ok, i need help, cause i don't do this things often:
What and how?
Click to expand...
Click to collapse
Read further in the instructions, Theres a complete usage example with all the commands
Sent from my Desire S using xda app-developers app
Gonna try it today on CM10.
Tapatalked from Desire S running Andromadus
teadrinker said:
Read further in the instructions, Theres a complete usage example with all the commands
Click to expand...
Click to collapse
Sorry, my fault! I thought this come after the 5 steps.
if a rom is zipaligned, doesn't this mean that there's no need being odexed - kind of same thing? (same performance, battery life...)
i've read that, but i'm no expert...
toxic-hero said:
if a rom is zipaligned, doesn't this mean that there's no need being odexed - kind of same thing? (same performance, battery life...)
Click to expand...
Click to collapse
Zipaligning is about better RAM utilization. Odexing is about reducing the Dalvik VM which in theory should reduce CPU use and make the system run smoothly. You can watch the video, it is made by one of the Elite Recognized Developers of XDA so this guy probably knows what he is talking about. Moreover ALL Stock ROMs are odexed and I am sure that the companies developers are not just too lame to use it for nothing
tried the above...pasted something wrong and now phone stuck on htc screen and can't get into recovery
mackhenri said:
tried the above...pasted something wrong and now phone stuck on htc screen and can't get into recovery
Click to expand...
Click to collapse
Have you provided enough free space on your system partition? Try with a factory reset.
And once again:
If you are using this it is at your own will and risk
Click to expand...
Click to collapse
i think it was due to less space but still will try it once again after making space
Was a hard task to get enough space free.
Let's see how it works now.
old.splatterhand said:
Was a hard task to get enough space free.
Let's see how it works now.
Click to expand...
Click to collapse
Yes this may be an issue with the bigger ROMs. The easiest way is to move some app that you use rarely to /data/apps
The other way is to use the lib partition but this needs ramdisk modification and a hboot that supports it. It is not hard I may add a small how-to if more users want to use this tool
Sent from my HTC Desire S
amidabuddha said:
Yes this may be an issue with the bigger ROMs. The easiest way is to move some app that you use rarely to /data/apps
The other way is to use the lib partition but this needs ramdisk modification and a hboot that supports it. It is not hard I may add a small how-to if more users want to use this tool
Sent from my HTC Desire S
Click to expand...
Click to collapse
Get it on buddy.....I am ready to try whatever u make as you seem to give life to my phone once again and all the devs here and I am become a flashaholic...
Sent from my HTC Desire S using xda premium
amidabuddha said:
The other way is to use the lib partition but this needs ramdisk modification and a hboot that supports it. It is not hard I may add a small how-to if more users want to use this tool
Click to expand...
Click to collapse
This would b great, I did it once for Fallout with one of your kernel ramdisks, but it was not so trivial and a pain in the a** doing this all by hand. Though it worked perfectly, I don't remember every step I did, and mayb I didn't do it the elegant way, as I'm not very experienced.
As far as I remember the complicated part was unpacking kernel+ramdisk, modifing ramdisk, repacking everything and signing it. But this has to be done only once (by one idividual) for every kernel (+ramdisk). The rest ist more or less flashing and copying from /system to /system/lib partition (can be done in recovery easily). The latter mayb realised with one single script installer for every kernel (and rom) I guess. But here I also lack the experince with script installers, elsewise I would have shared the info.
I did it on Windows with bootimg-tools via Cygwin (unpacking, repacking), with SignApk on cmd (signing), in recovery (flashing, copying). For flashing I guess fastboot is more elegant (reflashed whole rom with mod boot.img). For the rest I didn't found something more convinient, but maybe soemone can enlighten me.
HOW-TO move your /system/lib folder to the dedicated partition added to the first post. Tested and verified working. Just copy the commands carefully
Enjoy!
Thx, the new guide worked like a charm for me on Fallout v5.0.0 with your kernel v8.5. I think it is more or less what I did, when it worked for me before. Also the odexing stuff worked well. What I am just wondering about, as this is odexing Rosie, will this affect the Fallout Tweaks for Rosie? And I tended to use Titanium Backup to merge updated system apps (like Facebook) into rom (essentially moving to system I guess), are there any drawbacks doing it with odexed apps?
kwisatz79 said:
Thx, the new guide worked like a charm for me on Fallout v5.0.0 with your kernel v8.5. I think it is more or less what I did, when it worked for me before. Also the odexing stuff worked well. What I am just wondering about, as this is odexing Rosie, will this affect the Fallout Tweaks for Rosie? And I tended to use Titanium Backup to merge updated system apps (like Facebook) into rom (essentially moving to system I guess), are there any drawbacks doing it with odexed apps?
Click to expand...
Click to collapse
All apps will work the same way after odexing. I can confirm all Rosie tweaks in Fallout working.
As per the Titanium stuff I have no idea try it and let us know
Sent from my HTC Desire S
when I am trying to copy /sdcard/system/lib to /system_lib it is showing not enough space....
Also in 4extrecovery - two system_lib are showing...
Any ideas?
BTW I am on Fallout 5.0...

Categories

Resources