[Kernel] Crypt0kernel Project [21 OCT] - HTC EVO 3D

Hi Guys,
Finally i can show you guys my knowledge where i'm realy strong in. C programming
I started this project to gain a good and stable kernel thats is support many roms. I'll hope some other devs want to join me in on this project to create together one good kernel instead of many splintered releases of the kernel. (At the end we only need 1 kernel right?)
Main project goals:
2.3.5 compatible (Sound problem etc)
MIUI and AOSP/CyanogenMod compatible
Tweaked to the bone
two way call record (2WCR)
You name it
What i already done:
OC to 1.5ghz
Fixed codec problem for 2.3.5 Roms
Added SmartassV2 governor
Snapdragon optimisations
If you want to help me in this project give em a pm and i hook you up to the proejct page
http://code.google.com/p/crypt0kernel/ commiting the init code takes longer then i expected...
Flash method for S-On users:
Follow this how-to:http://forum.xda-developers.com/show...59&postcount=2
And use this to copy the libs:
1. unpack downloaded ZIP file (for example to d:/temp)
2. connect device with computer with Android SDK tools (adb, fastboot)
3. reboot to bootloader
adb reboot bootloader
4. flash new kernel
fastboot flash zimage d:/temp/zImage
5. restart device
fastboot reboot
6. push new wifi module
adb push *.ko /data/local/
adb shell
su
mount -o rw,remount /dev/block/mmcblk0p22 /system
busybox cp /data/local/*.ko /system/lib/modules/
Click to expand...
Click to collapse
Ps. Zip files are CWM zip files so can be flashed by ClockwordMod

Great man, looking forward to have 3.5 sense working on our devices..with sound
keep up the good work
Regards

excellent! always good to have a new kernel do you think 1080p 2D video recording can be solved in kernel level?

Flashing it !

Good news!
If possible, also add support 2WCR (2-way call records)

will this work with s-on? and will it effect the dual core

and yet, this kernel on Root stock firmware can be put?

Gamburger said:
and yet, this kernel on Root stock firmware can be put?
Click to expand...
Click to collapse
I dont see the problem why not. Try it and make sure you do a backup before flashing.

crypt0night said:
I dont see the problem why not. Try it and make sure you do a backup before flashing.
Click to expand...
Click to collapse
hey man
would you pleased post this link:http://forum.xda-developers.com/showpost.php?p=18416359&postcount=2
to the first post incase S-on user like me need the alternative way to flash?
and this link for wifi issue
from: http://forum.xda-developers.com/showthread.php?t=1311812
How to install
1. unpack downloaded ZIP file (for example to d:/temp)
2. connect device with computer with Android SDK tools (adb, fastboot)
3. reboot to bootloader
adb reboot bootloader
4. flash new kernel
fastboot flash zimage d:/temp/zImage
5. restart device
fastboot reboot
6. push new wifi module
adb push *.ko /data/local/
adb shell
su
mount -o rw,remount /dev/block/mmcblk0p22 /system
busybox cp /data/local/*.ko /system/lib/modules/

Should we trust quadrant score on these? It seems setcpu doesn't want to play nice with leedroids ROM or these new kernals haha
Sent from my HTC EVO 3D X515m using XDA App

DJGurth said:
Should we trust quadrant score on these? It seems setcpu doesn't want to play nice with leedroids ROM or these new kernals haha
Sent from my HTC EVO 3D X515m using XDA App
Click to expand...
Click to collapse
dun use setcpu as only mod 1st core as they said before. i didnt try it. use cpumaster or system tuner to oc

can't flash it:
assert failed:write_raw_image("/tmp/newboot.img", "boot")
error in /sdcard/Cript0kernel.zip
(Status 7)
Installation aborted
im using cript0 rom 1.2
hboot 1.49.0011 s-on

steveruthless said:
can't flash it:
assert failed:write_raw_image("/tmp/newboot.img", "boot")
error in /sdcard/Cript0kernel.zip
(Status 7)
Installation aborted
im using cript0 rom 1.2
hboot 1.49.0011 s-on
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1049102
or try android control to flash zimage
i m in 149.0013 s-on

crypt0night said:
I dont see the problem why not. Try it and make sure you do a backup before flashing.
Click to expand...
Click to collapse
Just earlier tried to put the Kernel UNITY V1 beta - did not, an error .... (Status 7)
Installation aborted. Even wi-fi stopped working. Well that did backup)
Сame back.

Gamburger said:
Just earlier tried to put the Kernel UNITY V1 beta - did not, an error .... (Status 7)
Installation aborted. Even wi-fi stopped working. Well that did backup)
Сame back.
Click to expand...
Click to collapse
same problem here..unable to flash using cwm when still s-on..will try different method.

Installed through CWM no problem for me, just waiting for Villain ROM to boot.
Looking forward to Smartass govenor2
Thanks for this Crypt0night, it is great to now see some movement from great devs now we have the source code.
keep it up buddy your work is much appreciated.
Edit:
Seems to be working well, Wifi Ok, governor set, Oc'ed to 1536 with CPU Master

Is it possible to implement a zero shutter lag code?
Would be really nice! :-D
And may be two versions with and without two way recording because i read that it can drain the battery bad sometimes..
Sent from my HTC EVO 3D X515m using Tapatalk

ilovemeow said:
http://forum.xda-developers.com/showthread.php?t=1049102
or try android control to flash zimage
i m in 149.0013 s-on
Click to expand...
Click to collapse
successfully flash using this but system tuner still show the highest oc is 1118 mhz

steveruthless said:
same problem here..unable to flash using cwm when still s-on..will try different method.
Click to expand...
Click to collapse
the fact of the matter is there is a root and s-off. Only rom - stock.

osrix said:
Installed through CWM no problem for me, just waiting for Villain ROM to boot.
Looking forward to Smartass govenor2
Thanks for this Crypt0night, it is great to now see some movement from great devs now we have the source code.
keep it up buddy your work is much appreciated.
Edit:
Seems to be working well, Wifi Ok, governor set, Oc'ed to 1536 with CPU Master
Click to expand...
Click to collapse
Are you s-on or s-off mate ?
I don't think anyone that is s-off is having issues with any of the new kernel's. It's just us with s-on using the htc unlock method that we can't OC. Installing via recovery works with no errors, but still no option to OC as default values only avail..
Cheers

Related

[Update 3] ROM:GRI40 (2.3.3) Stock + De-odexed + Rooted + Busybox + Insecure boot

Well, this started of as a very basic attempt to de-odex and root the Gingerbread GRI40 ROM... was pulled together in 10 to 15 mins... but I've refined it and cleaned out some kinks... so here are the specifics...
NOTE: The main idea behind this ROM is "stock". I do not intend to divert from this, and quite frankly, I don't have much time to. You are free to use this as a base to mod it to your liking.
1. Completely stock, based on the GRI40 (Android 2.3.3) system dump (thanks dsixda, Google)
2. De-odexed using the latest smali/baksmali 1.2.6 (thanks JF).
3. Rooted with SU app (thanks chainsdd).
4. Busybox 1.18.3 (thanks stericson) with symlinks.
5. Insecure boot with adb remount capabilities (you need to flash the separate GB-GRI40-Stock-Kernel-Insecure-signed.zip)
6. Signed update zips.
7. Updated market apps which are part of the dump (Twitter, Google Books, Google Goggles, Superuser, Facebook, AmazonMP3, GMail)
8. Market 2.3.3
9. Separate Minimal Build without Market Apps.
The updated Update2Fix 1 version now includes the insecure boot image by default... (i.e. ro.secure=0)... so now adb remount works.. and adb shell works as root/su.
The updated Update2Fix 1 version also fixes the issue with the Terminal app FC.
Update 3 now fixes the Google Service Framework FC and the Network Location issue... GPS & WiFi location now works great...
And as always, use this at your own risk...
FYI, the updated version can be flashed over the legacy versions without a wipe.
Instructions:
1. Flash HBoot 0.35.0017 (http://www.mediafire.com/?q3rcfc6l4r9no8d, link by dsixda)
Code:
fastboot flash hboot hboot.img
2. Flash Radio 5.08.00.04 (http://www.mediafire.com/?rgarixj28mbmhej, link by dsixda)
Code:
fastboot flash radio radio.img
3. Flash one of the ROM zips below using Amon RA or Clockwork recovery.
Toubleshooting:
If you have issues, please try the following steps...
1. Try rebooting
2. Try fix_permissions
3. Try cleaning dalvik-cache
4. Try cleaning data & .androidsecure
5. Try factory reset/wipe
6. If issues persist, post a logcat and I'll do my best to help you.
Download (Full):
http://goo.gl/uVmXv
Filename = NExUS1-GB-GRI40-StockRootedBusyboxInsecure-Full-Update3.zip
MD5Sum = 6f58e489415de8100501589b909c0b3f
Download (Minimal/No market apps version):
http://goo.gl/Zrqca
Filename = NExUS1-GB-GRI40-StockRootedBusyboxInsecure-Minimal-Update3.zip
MD5Sum = 71845eb9fbc6680fb2d5b94a240d6a85
NOTE: App2SD (Ext version) will not work on this ROM. I will create an updated boot image which will support this.
Thank you for your great work
You beat me to it I was having trouble deodexing it. Getting errors like crazy. Oh well nice work.
any chance for me to get changelog between 2.3.2 and 2.3.3 or smt like that
Geo411m said:
You beat me to it I was having trouble deodexing it. Getting errors like crazy. Oh well nice work.
Click to expand...
Click to collapse
Are you using the latest smali/baksmali 1.2.6?? JF updated it for gingerbread...
By chance can you post some MD5Sum's for the Rom. Just don't want to chance having a corrupted file. Thanks.
craigacgomez said:
Are you using the latest smali/baksmali 1.2.6?? JF updated it for gingerbread...
Click to expand...
Click to collapse
No I wasn't. Thanks.
Galloway said:
By chance can you post some MD5Sum's for the Rom. Just don't want to chance having a corrupted file. Thanks.
Click to expand...
Click to collapse
Done... see the original post
BTW... updated version coming soon...
Updated...
Changes:
1. Busybox 1.18.3 (thanks stericson) with symlinks.
2. Signed update zip.
3. Updated market apps which are part of the dump (Twitter, Google Books, Google Goggles, Superuser, Facebook, AmazonMP3)
4. Market 2.3.2
See the original post for links
Have fun!!!
Working pretty good man! This ROM is recommended. Thanks for your work!
Geo411m said:
You beat me to it I was having trouble deodexing it. Getting errors like crazy. Oh well nice work.
Click to expand...
Click to collapse
Thanks to both of you anyway! We all win.
First bug... the phone restarted!
I've somehow got myself back to S-OFF. How do I fix this?
electrostat said:
I've somehow got myself back to S-OFF. How do I fix this?
Click to expand...
Click to collapse
I meant S-ON. Sorry. How do I get it S-OFF? Font Changer is complaining about NAND unlock.
Update...
Created update zip for insecure boot image... (i.e. ro.secure=0)... so now adb remount works.. and adb shell works as root/su.
This can be used with any GRI40 ROM with the stock kernel... like dsixda's stock and stock de-odexed ROMs, Geo411m's stock deodexed OTA ROM...
See first post for links...
i had to skip the radio because that got an error and had to use a different hboot someone posted in another thread. i dont know whats wrong. and i did all your recommendations.
I can't update my HBOOT
I always get "Verification Failed" it says no signature on 8 files.....
What can I do?
kfir said:
I can't update my HBOOT
I always get "Verification Failed" it says no signature on 8 files.....
What can I do?
Click to expand...
Click to collapse
Try this...
http://android.clients.google.com/packages/ota/passion/d6096cac5e9f.signed-hboot-0.35.0017.zip
Flashing using stock recovery (rename to update.zip) or using Amon RA or Clockwork recovery with signature check off...
craigacgomez said:
Try this...
http://android.clients.google.com/packages/ota/passion/d6096cac5e9f.signed-hboot-0.35.0017.zip
Flashing using stock recovery (rename to update.zip) or using Amon RA or Clockwork recovery with signature check off...
Click to expand...
Click to collapse
Thanks for the quick response, and the gr8 job you did on the rom, it looks gr8 by the way.
How do I check signature off???
kfir said:
Thanks for the quick response, and the gr8 job you did on the rom, it looks gr8 by the way.
How do I check signature off???
Click to expand...
Click to collapse
There's an option to toggle it in the recovery.

Wifi wont turn on

i 've got an amaze 4g t-mobile recently.it works perfectly.but then,i updated to ICS through OTA...
Everything work fine except Wifi,i cant turn on wifi at all.It only show error when i try to turning on ...
I did search the whole forums,trying everthing i can do..unlock boot loader/rooted/s-off/flash 4EXT recovery/flash many cook rom (android revolution,fastrom,energy rom..),kernel(ruby-faux123 v007/v008/v015/v016..)
finally i reverted back to Stock GB with "PH85IMG_Ruby_TMOUS_1.43.531.3_Radio_1.08.550L.19DC_30.66.550L.08D_release_228638_signed".
but wifi still shows ''error'' at all,when i try to turning on hotspot ,the phone force to reset .
currently:
Stock GB:2.3.4
Sense:3.0
Kernel:2.3.35.13 build 144#1
Baseband:1.08.550L.19DC_30.66.550L.08D
Buildnumber:1.43.531.3
Bootloader unlocked and s-off.
Hoping there is anyone else can understand my bad english and help me .
Since you're s-off try updating back to ics via the most recent file in the stock ruu thread and see if it resolves it.
sent from a smooth place where my fingers trace across the screen to see your face and make you scream!
thanks sir
i try to flashing this kernel into my stock GB:Amaze-EKF-009b-sense.zip
hope it works
ronaldinho_07 said:
thanks sir
i try to flashing this kernel into my stock GB:Amaze-EKF-009b-sense.zip
hope it works
Click to expand...
Click to collapse
Kernel won't change much, but the wifi drivers being present in the kernel just might help, let me know your results.
Dark Nightmare said:
Kernel won't change much, but the wifi drivers being present in the kernel just might help, let me know your results.
Click to expand...
Click to collapse
as you have said,i just flashed the above kernel (Amaze-EKF-009b-sense.zip) into stock GB,but wifi error is still there
after that,i updated to ICS via RUU and flashed this kernel from here : http://forum.xda-developers.com/showthread.php?t=1362759 (at #5)
Nothing changes.
at the first time,i have flashed the Amaze ICS(v015) kernel via 4EXT touch recovery,flashed kernel successfully .
(http://forum.xda-developers.com/showthread.php?t=1359951)
but i think i go wrong somewhere,because the following instruction said:
CWM Flash Instructions: (NO LONGER SUPPORTING CWM METHOD DUE TO HTC's STUPID S-ON UNLOCK!!!)
1. Copy file to SDcard
2. Reboot to CWM recovery
3. Flash the Zip file (if you noticed an error, Flash the same file the 2nd time)
4. Reboot, Done!
i read carefully the second way
Easy Kernel Flasher Instructions:
1. download the above file (via phone directly or to a PC)
2. unzip to a folder then depends on PC or Linux
[ Windows ] open command prompt window and type Flash.bat
[ Linux ] open terminal window and type ./Flash.sh (make sure permission is set to 755 for the Flash.sh)
3. Let the script complete!
,downloaded the kernel,extracted into a folder on my pc.
but i dont see any "Flash.bat'' and dont know how to flash it.
but in the folder that i've just extracted.i found two file:
wl12xx.ko and wl12xx_sdio.ko
putting the whole folder modules into the this kernel (http://forum.xda-developers.com/showthread.php?t=1362759) and run flash.bat...
after flashing,both wifi and bluetooth broken
when i try to turning them on,they turn off instantly
//sorry sir for the bad english
Try to run my AIO tool, which can be found here: http://forum.xda-developers.com/showthread.php?t=1762936
If that doesn't work, more likely than not, it's a hardware issue, as my AIO tool will install a MOSTLY stock RUU with a stock kernel. If that doesn't work, I strongly doubt anything else would work either.
Make sure you follow the directions for the tool.
Keylogger_0 said:
Try to run my AIO tool, which can be found here: http://forum.xda-developers.com/showthread.php?t=1762936
If that doesn't work, more likely than not, it's a hardware issue, as my AIO tool will install a MOSTLY stock RUU with a stock kernel. If that doesn't work, I strongly doubt anything else would work either.
Make sure you follow the directions for the tool.
Click to expand...
Click to collapse
thanks sir,i'll try
btw,i try to flashing faux123-kernel via CWM recovery,but i's aborted
then,i force to flash faux123-kernel via 4EXT touch recovery and succeed
but i still cant turn on wifi,it just says error
can anyone give me an advise,pls
That memory block is probably damaged.
sent from a galaxy you'll never see.
do you think it's related to wifi hardware issues
ronaldinho_07 said:
do you think it's related to wifi hardware issues
Click to expand...
Click to collapse
It could be that as well, did you call tmo and tell em about it?
Dark Nightmare said:
It could be that as well, did you call tmo and tell em about it?
Click to expand...
Click to collapse
i cant do that because i live in vietnam sir
btw,when i was in a custom rom with fraux's kernel.it would just stay in dim grey and say "turning wifi on" and freeze there for a while,then saying "Error''
but,when i tried to copying "wlan12xx.ko,wlan12xx_sdio.ko" from Fraux kernel to Amaze stock kernel modules folder.Flashed it.
then,i turned it on and the wifi turned off itself instantly without saying error
there was wifi error same here :
http://forum.xda-developers.com/showthread.php?t=1796358
thanks for your helps sir :good:
ronaldinho_07 said:
i cant do that because i live in vietnam sir
btw,when i was in a custom rom with fraux's kernel.it would just stay in dim grey and say "turning wifi on" and freeze there for a while,then saying "Error''
but,when i tried to copying "wlan12xx.ko,wlan12xx_sdio.ko" from Fraux kernel to Amaze stock kernel modules folder.Flashed it.
then,i turned it on and the wifi turned off itself instantly without saying error
there was wifi error same here :
http://forum.xda-developers.com/showthread.php?t=1796358
thanks for your helps sir :good:
Click to expand...
Click to collapse
Did you try the fix permissions someone mentioned?
sent from a galaxy you'll never see.
Dark Nightmare said:
Did you try the fix permissions someone mentioned?
sent from a galaxy you'll never see.
Click to expand...
Click to collapse
yes.i did sir
now,i try to reverting to stock GB 2.3.4 again
i've call to a store near my house,they said that if amaze's wifi chip were as same as hd2's wifi chip,the cost would be about $35
ronaldinho_07 said:
yes.i did sir
now,i try to reverting to stock GB 2.3.4 again
i've call to a store near my house,they said that if amaze's wifi chip were as same as hd2's wifi chip,the cost would be about $35
Click to expand...
Click to collapse
Hmmm...doubt it's the same but ill Google the hardware to see if it's replaceable.
sent from a galaxy you'll never see.
Dark Nightmare said:
Did you try the fix permissions someone mentioned?
sent from a galaxy you'll never see.
Click to expand...
Click to collapse
Dark Nightmare said:
Hmmm...doubt it's the same but ill Google the hardware to see if it's replaceable.
sent from a galaxy you'll never see.
Click to expand...
Click to collapse
thanks so much
nice day sir,and i have to go to bed ,it's 3h40 AM in vietnam
//updated.
after flashing many times,problem solved
Necro'd.
Dark Nightmare said:
Hmmm...doubt it's the same but ill Google the hardware to see if it's replaceable.
Click to expand...
Click to collapse
Anyone have any info as to how or where to repair the wifi chip on the amaze? I'm having the same problem and am quite certain that is it hardware issue as the problem started after dropping the phone and without flashing or changing anything, fixing permissions and flashing stock RUU's, kernels, etc of no help. Hoping that something is possible, would be great if it was as simple as a loose ribbon cable...
Dark Nightmare said:
Did you try the fix permissions someone mentioned?
sent from a galaxy you'll never see.
Click to expand...
Click to collapse
Hello,
Here is my situation. I got S-off, SuperCID, unlocked on my HTC amaze unbranded version. Then got ICS stock RUU to run.
The wifi, bluetooth worked fine. However, I have to compile the kernel for this exact version (matched radio, baseband kernel, etc). I downloaded the source from HTCdev (the one with TI WLAN sources), and compiled it. Then I got the zImage repacked so that it can run on the device. Then I see that the wifi, bluetooth shows "error".
The kernel build "readme.txt" located me to the kernel object files such as wl12xx.ko. So I planned to push them in to the device with command "adb push wl12xx.ko /system/lib/modules" but failed. I got super user permission ("adb shell", "su") but still cannot get the kernel objects to the device with adb command. Is there a way to handle this?
My final objective is to get the compiled kernel (with no wifi, bluetooth error) running.
PS. Doesn't actually matter if it is GB or ICS.
Thank you in advance.
spencerjang said:
Hello,
Here is my situation. I got S-off, SuperCID, unlocked on my HTC amaze unbranded version. Then got ICS stock RUU to run.
The wifi, bluetooth worked fine. However, I have to compile the kernel for this exact version (matched radio, baseband kernel, etc). I downloaded the source from HTCdev (the one with TI WLAN sources), and compiled it. Then I got the zImage repacked so that it can run on the device. Then I see that the wifi, bluetooth shows "error".
The kernel build "readme.txt" located me to the kernel object files such as wl12xx.ko. So I planned to push them in to the device with command "adb push wl12xx.ko /system/lib/modules" but failed. I got super user permission ("adb shell", "su") but still cannot get the kernel objects to the device with adb command. Is there a way to handle this?
My final objective is to get the compiled kernel (with no wifi, bluetooth error) running.
PS. Doesn't actually matter if it is GB or ICS.
Thank you in advance.
Click to expand...
Click to collapse
It's easier if you swap the neccesary files with faux kernel zip and flash it from recovery or make your own flashable zip.. That way the modules and zimage get flashed without having to use adb
Sent from my HTC_Amaze_4G using XDA Premium 4 mobile app
ravike14 said:
It's easier if you swap the neccesary files with faux kernel zip and flash it from recovery or make your own flashable zip.. That way the modules and zimage get flashed without having to use adb
Sent from my HTC_Amaze_4G using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Oh, I downloaded faux's kernel I believe version 31 (from a dropbox someone linked). and failed to flash from sd card! Any suggestions?
spencerjang said:
Oh, I downloaded faux's kernel I believe version 31 (from a dropbox someone linked). and failed to flash from sd card! Any suggestions?
Click to expand...
Click to collapse
Why it failed? The error?
Sent from my HTC_Amaze_4G using XDA Premium 4 mobile app

S-ON Kernel Installer v0.57 9-27-12

Now that the new hboot doesn't allow S-ON devices to flash kernels I went ahead and adapted this for the LTE. It's something I started for the Evo 3D back in January, but when a new way to get S-OFF was found I sat it aside and had forgotten about it.
When used it tries to flash the kernel like normal and doesn't do anything special if able to, otherwise it will copy a script to the system partition and install the kernel when the ROM tries to boot up. All that's needed is for a few lines to be added to the updater-script and it can do the rest.
I'll update this with more information at a later time, but for now I just want to say thank you to everyone who has helped contribute ideas and tested. As always, any help with improving it is welcomed.
How To Use It
This is mainly for ROM and kernel devs to use before releasing, but it can easily be added to any that don't normally use it. For more detailed instructions see Page 3.
Download and add the "kernel" folder to your update zip
Edit your updater-script and use the following when you are ready to install the boot.img
Code:
ui_print("Installing Kernel, please wait...");
package_extract_file("boot.img", "/tmp/boot.img");
package_extract_dir("kernel", "/tmp/kernel");
set_perm_recursive(0, 2000, 0777, 0777, "/tmp/kernel");
run_program("/tmp/kernel/install_kernel.sh", "/tmp/boot.img", "/tmp/bootready.tmp");;
ifelse(file_getprop("/tmp/bootready.tmp","kernel.ready") != "READY",(
ifelse(file_getprop("/tmp/bootready.tmp","kernel.ready") == "STARTUP",
ui_print("Kernel Will Be Installed On Startup."),
ui_print("ERROR: Kernel Not Installed!")
)
));
Sign the zip and it can then be installed like normal from any device with a custom recovery
Changes
v0.57
flashboot.sh - Fixed the case statement that verifies the kernel flashed properly
flashboot.sh - Moved the call for DD to save the old kernel so that it always gets used
Downloads/Sources
Kernel Folder on DevHost (MD5: 27eB86aae3562e147d86b8dfe7a04786)
Google Code
Github - All files including the flashboot binary source
How Can I Test It With S-OFF?
If you comment out the dd command that writes the boot.img it will act like your device has S-ON.
Edit install_kernel.sh and change:
Code:
echo "-Trying to write the new boot.img and verify it's MD5"
$BBDD if=$BOOTPADDED of=$BLOCKBOOT; sync
rm -f $BOOTOLD
to:
Code:
echo "-Trying to write the new boot.img and verify it's MD5"
#$BBDD if=$BOOTPADDED of=$BLOCKBOOT; sync
rm -f $BOOTOLD
Where Are The Log Files?
In the recovery it uses: /tmp/recovery.log
On boot it uses: /data/local/bootinfo.txt
What Does This Need To Work?
A custom recovery
A valid kernel already installed with init scripts to start either /system/bin/app_process or /system/bin/netd
What Recoveries Does It work With?
Most of my testing has been done with TWRP, but it should work just as well with any other recovery
Why Did My Phone Reboot Back To The Recovery?
If it is unable to flash the kernel it will leave the old one in place and reboot back to the recovery. If you are able to, please pull the log file from /data/local/bootinfo.txt and send it to me so I can see what needs to be fixed.
What If I Get A Bootloop?
Either the kernel you flashed doesn't work with your ROM or there was an error and it's unable to reboot back to the recovery. If you hold volume down it should bring up the bootloader, from there use the volume and power buttons to select 'Recovery'.
Why Does My Phone Boot Straight To The Bootloader?
You either managed to wipe your boot partition (kernel) or sometimes this will happen when upgrading hboots. If you are S-ON you will need to flash a new boot image from fastboot.
Reserved for later use
Cute
Does this work for AOSP based kernels as well?
-Cupper- said:
Cute
Click to expand...
Click to collapse
Thanks Cupper
sivarticus85 said:
Does this work for AOSP based kernels as well?
Click to expand...
Click to collapse
Yup, it's all the same to it. The only thing it needs to work is for some sort of kernel to already be installed.
good stuff!!!!!!!
Good stuff man. Like always, xhausx contributing genius stuff for all. Thanks. :thumbup:
Sent from my EVO using xda premium
Awesome. Thanks.
via eVo.
implimenting in my next installer
Zarboz said:
implimenting in my next installer
Click to expand...
Click to collapse
Would be a nice setup, aroma choose the way to install, boot.img or anykernel flash
Then you can flash the modules either way...
Thanks for the script. It will definitely get used.
Zarboz said:
implimenting in my next installer
Click to expand...
Click to collapse
ca1ne said:
Would be a nice setup, aroma choose the way to install, boot.img or anykernel flash
Then you can flash the modules either way...
Thanks for the script. It will definitely get used.
Click to expand...
Click to collapse
Let me know if you need any help implementing it. I know the instructions aren't very detailed yet so I'll see about clarifying them some more here in a little bit.
Cool man
Sent from my EVO using xda premium
I don't mean to highjack anyone thread I was ready to do this since meanrom went with the evilz kernal. since I was s-on on the 1.15 boot. I was going to do this till I found a app on the market place called flash image gui which installed the kernal right on the phone.was simple and just plain easy no typeing anthing in just a click of a buttone.
cgrimm9 said:
I don't mean to highjack anyone thread I was ready to do this since meanrom went with the evilz kernal. since I was s-on on the 1.15 boot. I was going to do this till I found a app on the market place called flash image gui which installed the kernal right on the phone.was simple and just plain easy no typeing anthing in just a click of a buttone.
Click to expand...
Click to collapse
I used Flash Image GUI on my NS4G all of the time. The last 2 updates were to add this phone and the Nexus 7. It takes about 10 seconds to flash a kernel or recovery img. Its a JoeyKrim app...so you know its legit. It actually saved me last night when testing a N7 kernel overclocked over 1.99. . The kernel somehow made my N7 not boot to recovery no matter what I tried so I stuck a different kernel in that app, flashed it and once it booted I flashed the CWM 6.0.1.0 and I was completely fixed. Money well spent.
Edit..XhausX, I bought my first 2 HTCs ever about 2 weeks ago. They are both s on 1.13 but I need to either return on to full stock or use your rooted stock. I need to help my mother out. She's using a Samsung Moment! Ouch.... I am downloading that now. Is it a simple wipe and flash? If its more difficult, I will gladly shoot a donation your way if you can help me. I think I prefer her to be rooted stock so your odex version is the call...should have mentioned I know squat about the HTC methods. Regaw_Leinard got me where I am now
Sent from my EVO using Xparent SkyBlue Tapatalk 2
cgrimm9 said:
I don't mean to highjack anyone thread I was ready to do this since meanrom went with the evilz kernal. since I was s-on on the 1.15 boot. I was going to do this till I found a app on the market place called flash image gui which installed the kernal right on the phone.was simple and just plain easy no typeing anthing in just a click of a buttone.
Click to expand...
Click to collapse
Since the kernel is only writeable from the rom this does something similar, except it does it after you flash the rom and it's automatic.
You could look at it as the rom itself installs it's own kernel. That's one of the reasons why it may look so convoluted, but for a rom/kernel dev to actually implement it is easy once you know how it works.
JohnCorleone said:
I used Flash Image GUI on my NS4G all of the time. The last 2 updates were to add this phone and the Nexus 7. It takes about 10 seconds to flash a kernel or recovery img. Its a JoeyKrim app...so you know its legit. It actually saved me last night when testing a N7 kernel overclocked over 1.99. . The kernel somehow made my N7 not boot to recovery no matter what I tried so I stuck a different kernel in that app, flashed it and once it booted I flashed the CWM 6.0.1.0 and I was completely fixed. Money well spent.
Edit..XhausX, I bought my first 2 HTCs ever about 2 weeks ago. They are both s on 1.13 but I need to either return on to full stock or use your rooted stock. I need to help my mother out. She's using a Samsung Moment! Ouch.... I am downloading that now. Is it a simple wipe and flash? If its more difficult, I will gladly shoot a donation your way if you can help me. I think I prefer her to be rooted stock so your odex version is the call...should have mentioned I know squat about the HTC methods. Regaw_Leinard got me where I am now
Sent from my EVO using Xparent SkyBlue Tapatalk 2
Click to expand...
Click to collapse
If you no longer need it rooted personally I would get s-off first and then run the latest RUU to restore it to stock. That way you'll always be able to re-root anytime without hassle, but the device can still be completely stock and used normally.
Zarboz said:
implimenting in my next installer
Click to expand...
Click to collapse
+1 on that, where do i add this in the updater and what do we do with Blk21 just leave it or will it work around it.
Is it possible to get a mirror of the Dev-Host file? The 'drivers are currently being updated', and I wanted to try adding this to my stock 2.13.651.1 ROM so as to avoid the inevitable questions from noobs that are S-ON about why the ROM won't boot .
Evolutionmods said:
+1 on that, where do i add this in the updater and what do we do with Blk21 just leave it or will it work around it.
Click to expand...
Click to collapse
Usually it's best to run it last so everything else is already in place. It will also check the recovery for the mount point, so that line won't be needed with it.
For your paranoid android rom you could use something like this: http://pastebin.com/rGVDKK2u
I'm not able to test it atm though so you'll probably want to verify it's good first.
Captain_Throwback said:
Is it possible to get a mirror of the Dev-Host file? The 'drivers are currently being updated', and I wanted to try adding this to my stock 2.13.651.1 ROM so as to avoid the inevitable questions from noobs that are S-ON about why the ROM won't boot .
Click to expand...
Click to collapse
mirror: https://dl.dropbox.com/u/18734200/kernel-installer-v0.56.zip
xHausx said:
Usually it's best to run it last so everything else is already in place. It will also check the recovery for the mount point, so that line won't be needed with it.
For your paranoid android rom you could use something like this: http://pastebin.com/rGVDKK2u
I'm not able to test it atm though so you'll probably want to verify it's good first.
mirror: https://dl.dropbox.com/u/18734200/kernel-installer-v0.56.zip
Click to expand...
Click to collapse
And of course the Dropbox link is now dead too .

[ROM] Cyanogenmod 10.1 for P769 | OC and UV

Here is the first Cyanogenmod for P769. Big thanks to CLEMSYN (from tegra) for helping me develop this. Also to mikegabinsky for helping me with the camera.
Please do the following instructions before FLASHING
http://forum.xda-developers.com/showthread.php?t=2198114
Warning: The procedure is not easy.... You've been warned
##########################################################################
May 22, 2013
Latest compilation on May 19, 2003 from CM10.1 source. Kernel changes are the same. Here is the link
https://www.dropbox.com/s/d52icjavb1e9pvh/cm-10.1-20130519-UNOFFICIAL-p760.zip
##########################################################################
May 4, 2013
Here are the changes
1. Latest sync from cyanogen
2. Removed all NFC stuff in the kernel and in building the ROM
https://www.dropbox.com/s/vq8ry9hftdcxcd2/cm-10.1-20130504-UNOFFICIAL-p769.zip
##########################################################################
APRIL 15, 2013
Latest ROM which fixes low audio in CM 10.1 and includes memory swap and latest OC kernel with 500 GPU
https://www.dropbox.com/s/8gr9x8833c3iree/cm-10.1-20130415-UNOFFICIAL-p760.zip
##########################################################################
APRIL 14, 2013
Here is the latest ROM with latest OC kernel with 500GPU. This includes memory swap.
http://db.tt/Zx5BcKBD
############################################################################
APRIL 14, 2013
OK latest update... I got the kernel up to 1.4ghz (default at boot is 1 ghz) and the GPU to over 500mhz !!!! Here are the changes.
1. Wifi voltage decreased from 1.8 to 1.7mv
2. Default boot voltage will be at 1.0ghz then you have to use an app to OC to 1.2, 1.3 or 1.4.
3. GPU increased to over 500 mhz !!! Results in Taiji Benchmarks are up to 19.53 fps (it was at 15.73 fps at 384).
Default Voltages are as follows:
200mhz - 850mv
300mhz - 950mv
600mhz - 1140mv
800mhz - 1200mv
1000 - 1300mv
1200 - 1300mv
1300 - 1375mv
1400 - 1387 mv
Here is the link
http://db.tt/NNwVuqKY
####################################################################################3
April 13, 2013
Latest KERNEL with Super Undervolting. This is just a kernel with a boot image that can be flashed over the current ROM.
Here are the changes
200mhz - 850mv
300mhz - 950mv
600mhz - 1140mv
800mhz - 1200mv
1000 - 1300mv
1200 - 1300mv
Here is the link
https://www.dropbox.com/s/gq69h28a1mj33ar/P769SuperUCwithOC.zip
Just in case that don't work for you here is the original one
https://www.dropbox.com/s/24fy31ao9vg9s8g/OriginalCWMwithOC.zip
######################################################################################
This will basically turn the p769 to p760 with the appropriate mods to enable proper function of the p769.
######################################################################################
NEW BUILD WITH OVERCLOCK and UNDERVOLT
GPU Overclocked to 384 (from 300)
Added 1.2 ghz speed in kernel
1200 - 1375 mv
1000 - 1350 mv
800 - 1291 mv
600 - 1200 mv
300 - 950 mv
LINK
https://www.dropbox.com/s/b6fw2avj4m8zx8k/cm-10.1-20130404-UNOFFICIAL-p760GPUOCUVver2.zip
BUGS:
1. All CM 10.1 bugs for p760
LATEST LINK
https://www.dropbox.com/s/qirfmvbnhvj28dg/cm-10.1-20130402-UNOFFICIAL-p760.zip
Instructions:
1. Download ROM and put to SD card
2. Enter recovery and Wipe/Factory Reset
3. Install ROM
Just to let you know, without clemsyn's help, I would not be able to get this thing to boot and work, because of him we have a fully working CM 10.1 in our device You might want to drop by and say thanks to him or probably donate for his help.
Im already rooted with cwm on p769 10g. I was reading on the link you provided and it looks like i would have to start over again which would be a pain in the ass plus the link to the kdz is dead on that page so i dunno what should i do?
assassinanex said:
Im already rooted with cwm on p769 10g. I was reading on the link you provided and it looks like i would have to start over again which would be a pain in the ass plus the link to the kdz is dead on that page so i dunno what should i do?
Click to expand...
Click to collapse
Dropbox download link works.
pinoyto: Thank You for doing this work. I tried building for the P769 a few weeks ago and I could never get it to boot. Good Job!!!
Here is a patch for another device having axis issues. maybe it will help:
http://review.cyanogenmod.org/#/c/24149/2/arch/arm/mach-msm/board-tenderloin.c
Some build.prop tweaks for inverted acellerometer:
http://androtab.info/cyanogenmod/rockchip/
So just use the Recovery Installer for a locked bootloader to enter recovery
mike6696 said:
So just use the Recovery Installer for a locked bootloader to enter recovery
Click to expand...
Click to collapse
This rom will not work if you have locked bootloader.
Re: [ROM] Cyanogenmod 10.1 for P769
so the only bugs just axis issue? and the only way to unlock bootloader is upgrade to jb? can`t wait for fully workin cm10.1 . i never like skinned android.
Sent from my LG-P769 using Tapatalk 2
Lelus said:
This rom will not work if you have locked bootloader.
Click to expand...
Click to collapse
I know my bootloader is unlocked i was talking about to enter recovery but I got it. Now i cant enter recovery with the rom so cant i just use adb shell to install gapps
I'm stupid. This post was a sign of it but I deleted it so you wouldn't know.
rooting p769 10g
assassinanex said:
Im already rooted with cwm on p769 10g. I was reading on the link you provided and it looks like i would have to start over again which would be a pain in the ass plus the link to the kdz is dead on that page so i dunno what should i do?
Click to expand...
Click to collapse
hello friend please could you post me a link to root the p76910g . thank you.
Re: [ROM] Cyanogenmod 10.1 for P769
Is this rom a good daily driver? If it is I might attempt to go through the trouble of unlocking the bootloader
Enviado desde mi LG-P769 usando Tapatalk 2
Juanito216 said:
Is this rom a good daily driver? If it is I might attempt to go through the trouble of unlocking the bootloader
Enviado desde mi LG-P769 usando Tapatalk 2
Click to expand...
Click to collapse
To early to tell since it was just released today.
This reeks of an April Fools joke. If it is, it's not funny. Hope it's not....
SovereignKnight said:
This reeks of an April Fools joke. If it is, it's not funny. Hope it's not....
Click to expand...
Click to collapse
I just got finished installing it (took me awhile because I didn't have my bootloader unlocked and also couldn't figure out some things). It runs is all I can say because I haven't done anything with it yet. I'm right now looking for Google Apps then I will finish up my install. It still looks like mirrored screen is still an issue that get fixed once you lock and unlock your phone. Otherwise it's not an April Fools joke.
It seems I have lost CWM recovery mode. I tried installing it with the recovery app but when I reboot from the app I get a boot loop at the LG logo. I then shut down and boot up and am able to get back into CM10. I then try the Volume up+home key+power button method and it brings me to stock LG recovery. The app says that CWM is installed but it still seems LG recovery is the only thing there.
psychoace said:
I just got finished installing it (took me awhile because I didn't have my bootloader unlocked and also couldn't figure out some things). It runs is all I can say because I haven't done anything with it yet. I'm right now looking for Google Apps then I will finish up my install. It still looks like mirrored screen is still an issue that get fixed once you lock and unlock your phone. Otherwise it's not an April Fools joke.
It seems I have lost CWM recovery mode. I tried installing it with the recovery app but when I reboot from the app I get a boot loop at the LG logo. I then shut down and boot up and am able to get back into CM10. I then try the Volume up+home key+power button method and it brings me to stock LG recovery. The app says that CWM is installed but it still seems LG recovery is the only thing there.
Click to expand...
Click to collapse
Glad to hear its not a joke. I think ill wait till this has all the kinks worked out. Good news, none the less.
Uh with all the different phones variations this has become a little difficult to do unless you include some semi-thorough instructions on how to install each rom. Right now it looks like after I unlocked my bootloader I should of flashed and rooted the V20 Europe rom with an edited hex bin. I shouldn't have flashed to a v10g rom like I did because the .bin is not hex edited correctly for Jelly Bean. This is my assumption. Am I right or wrong?
Re: [ROM] Cyanogenmod 10.1 for P769
Awesome. I cant wait for a stable release.
Sent from my LG-P769 using xda premium
psychoace said:
I just got finished installing it (took me awhile because I didn't have my bootloader unlocked and also couldn't figure out some things). It runs is all I can say because I haven't done anything with it yet. I'm right now looking for Google Apps then I will finish up my install. It still looks like mirrored screen is still an issue that get fixed once you lock and unlock your phone. Otherwise it's not an April Fools joke.
It seems I have lost CWM recovery mode. I tried installing it with the recovery app but when I reboot from the app I get a boot loop at the LG logo. I then shut down and boot up and am able to get back into CM10. I then try the Volume up+home key+power button method and it brings me to stock LG recovery. The app says that CWM is installed but it still seems LG recovery is the only thing there.
Click to expand...
Click to collapse
Thanks for this, it seems like the mounting points of recovery for p760 and p769 is different so I will have to change the recovery mount points too. I flashed my recovery via fastboot but you can flash recovery via Terminal.
https://www.dropbox.com/s/i575nvqeysj0ev8/recovery.img
move your recovery.img to /sdcard
Open Terminal
Type su
type dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p4
Then turn off..
Then Volume down+home key + Power button.
Update:
Lelus just informed me that there might be an easier process of unlocking the bootloader by using u-boot. There is no way for us to test it since we are already unlocked so whoever hasn't unlocked and want to try it out, contact Lelus.
Re: [ROM] Cyanogenmod 10.1 for P769
Nevermind
Sent from my LG-P760 using xda app-developers app
pinoyto said:
Thanks for this, it seems like the mounting points of recovery for p760 and p769 is different so I will have to change the recovery mount points too. I flashed my recovery via fastboot but you can flash recovery via Terminal.
https://www.dropbox.com/s/i575nvqeysj0ev8/recovery.img
move your recovery.img to /sdcard
Open Terminal
Type su
type dd if=/sdcard/recovery.img of=/dev/block/mmcblk0p4
Then turn off..
Then Volume down+home key + Power button.
Update:
Lelus just informed me that there might be an easier process of unlocking the bootloader by using u-boot. There is no way for us to test it since we are already unlocked so whoever hasn't unlocked and want to try it out, contact Lelus.
Click to expand...
Click to collapse
Sweet, I almost thought I lost my phone there for a second. Well it would still be usable and I can push Google Apps with adb but I didn't know if I could tether flash ever again. Thanks, I am going to try this now.
psychoace said:
Sweet, I almost thought I lost my phone there for a second. Well it would still be usable and I can push Google Apps with adb but I didn't know if I could tether flash ever again. Thanks, I am going to try this now.
Click to expand...
Click to collapse
I think I know the issue... our sensors.omap4.so is looking for a different directory to enable sensor commands and unfortunately this folder is different from the p760... we will see how it goes... I'll try to move some directory around and fix permissions.

[Q] no os

hello i have recently rooted my htc evo 4g lte and flashed twrp 1.4.4.0 and then tryed to install a rom several roms actually so it goes thru and ses successful but when i reboot i get a black screen and nothing else i can turn it off and flash another rom same thing blank screen can somene pls help my phone is useless at this point (no OS) its essentially a paper weight . is their a way i can just make it to where its out of the box i dont really care about anything else. PLS HELP :crying:
Are you S-off? If not, you need to fastboot flash the kernel after flash ROM. Check the stickies.
Edit: or use flash image GUI to flash the kernel/boot.IMG.
Sent from my EVO using xda premium
While you read up on how to do that just restore the backup you made in twrp of your stock rom.
Sent from my PC36100 using xda app-developers app
Some roms will not work if you are S-On
This one will
Viper4G 3.1.4
http://forum.xda-developers.com/showthread.php?t=2124391
You may need the tool that is very easy to use
Venom IMG Flasher for Viper4G 3.1.x (includes /system rw module)
http://www.androidfilehost.com/?fid=9390288116658474895
This should have you up and running in 20 min
omg im helpless
scottspa74 said:
Are you S-off? If not, you need to fastboot flash the kernel after flash ROM. Check the stickies.
Edit: or use flash image GUI to flash the kernel/boot.IMG.
Sent from my EVO using xda premium
Click to expand...
Click to collapse
ok i dont know what s-off so its probably not that could so after i flash the rom twrp
i fastboot flash the boot.img
ok......
budeone said:
Some roms will not work if you are S-On
This one will
Viper4G 3.1.4
http://forum.xda-developers.com/showthread.php?t=2124391
You may need the tool that is very easy to use
Venom IMG Flasher for Viper4G 3.1.x (includes /system rw module)
http://www.androidfilehost.com/?fid=9390288116658474895
This should have you up and running in 20 min
Click to expand...
Click to collapse
this is the rom i have so after i flash the rom i flash the img i think somone said something about a kernal where would i get the kernal for the venom rom
battlefieldhazard said:
this is the rom i have so after i flash the rom i flash the img i think somone said something about a kernal where would i get the kernal for the venom rom
Click to expand...
Click to collapse
the 2nd link I post has everything you need
http://www.androidfilehost.com/?fid=9390288116658474895
After you download the file you need to unzip it somewhere.
Click on the VenomKernelFlasher.exe file
Click start flash
bingo
Img Flasher inquiry
budeone said:
Click on the VenomKernelFlasher.exe file
Click start flash
bingo
Click to expand...
Click to collapse
Okay so I'm running into a small issue and it really doesn't matter to me in the end but I would like to use the Viper boot img rather than the Sprint obviously. I originally flashed 3.1.4 using twrp and i can do everything i want to. However, since im in s-on mode I couldn't flash the boot img and when trying to use the img flasher, it recognizes my device, reboots to fastboot. Then my computer doesn't see the device anymore and the flasher times out and fails.
Is there a link to the latest HTC drivers im maybe missing or do i need to be in bootloader first and install a new driver? I tried going into bootloader where the tool says its rebooting to but same thing.
Again, not the biggest deal in the world but the sprint boot is just terrible.
Any input is appreciated and awesome job Team Venom, keep on being awesome!
Thanks!
Download HTC sync, install it, uninstall it afterwards to avoid future problems.
budeone said:
Download HTC sync, install it, uninstall it afterwards to avoid future problems.
Click to expand...
Click to collapse
Thanks,
I'll go ahead and give that a try tonight, just a little puzzled at what was happening and not seeing more on it, so i figured it was something i had wrong, hoping that is just it.
here is a driver only link you can try also
https://dl.dropboxusercontent.com/u/2676146/HTCDriver3.0.0.007.exe
budeone said:
here is a driver only link you can try also
Click to expand...
Click to collapse
Okay so I got it to install now, though quick question, doesn't this boot consist of a Viper boot img instead of the Sprint logo on boot?
I tried pointing to the boot.img in the img flasher and also in the Viper 3.1.4 folder... maybe i was just thinking of something else and it was for just a faster boot time.
In any case, thanks for your help.
cho danger said:
Okay so I got it to install now, though quick question, doesn't this boot consist of a Viper boot img instead of the Sprint logo on boot?
I tried pointing to the boot.img in the img flasher and also in the Viper 3.1.4 folder... maybe i was just thinking of something else and it was for just a faster boot time.
In any case, thanks for your help.
Click to expand...
Click to collapse
boot.img is the kernel. You are talking about a boot animation. 2 completely different things.
If you are using Viper rom
http://forum.xda-developers.com/showthread.php?t=2124391
They have a great theme section.
Advanced
•Fix permissions
•Zipalign apks
•Mount system rw/ro
•Disable logcat
•Wipe cache/dalvik
•Customize boot/down animation
•Customize boot sound
Click to expand...
Click to collapse

Categories

Resources