[KERNEL] (XXJVT) Tegrak Kernel Build 29 for GT-I9000 - Galaxy S I9000 Android Development

This is another way to do lagfix based on XXJVP, XXJVO kernel.
You can simply change file system(RFS <-> EXT4) by clicking app's menu.
Supports I9000, M110S, M130K, M130L, M180S, M180L, YP-GB1 (Korea Galaxy S II, Galaxy S, Galaxy Tab, Galaxy Player models)
tegrak lagfix application has been downloaded over 200,000.
"andrewti" helped me to make this kernel for I9000. Thanks.
TEGRAK KERNEL META-Guide
made by Cypher_X and marcedli
http://forum.xda-developers.com/showpost.php?p=15095234&postcount=1321
This guide helps you to understand how to use this kernel.
Thank you for great work!
TEGRAK KERNEL META-Guide Index
1. Tegrak Lagfix Guide
2. Tegrak Recovery Guide
3. Tegrak Overclock Guide
4. Error messages & Trouble Shooting (items will be added.)
Finally, TEGRAK kernel is included in Doc & Stefunel RomKitchen!!
Thanks very much, tricky103 and beta testers.
You can download TEGRAK kernel from RomKitchen Generator.
http://romkitchen.org/
UPDATE in build 29 2011-10-28 KST
fixed bugs when do rooting and un-rooting
minor bug fixes
UPDATE in build 27 2011-10-24 KST
changing su and Superuser app is available.
just put latest su and Superuser.apk into the /sdcard/tegrak/rooting folder.
(file names must be matched. case-sensitive.)
UPDATE in build 26 2011-07-03 KST
based on XXJVT kernel
fixed enabling & disabling rooting problems.
fixed a restoring bug.
UPDATE in build 25 2011-07-03 KST
based on XXJVQ and XXJVR kernel (leaked 2.3.4 kernel)
fixed custom boot animation problem.
UPDATE in build 24 2011-06-20 KST
based on XXJVP kernel (leaked 2.3.4 kernel)
adb shell enabled on Tegrak recovery mode
fixed "getprop" method problem at updater-script. it works now.
UPDATE in build 23 2011-06-03 KST
based on XXJVO kernel
based on XXJVP kernel (leaked 2.3.4 kernel)
fixed "reboot download mode" in Tegrak recovery
fixed "reboot recovery" in Tegrak recovery
adb shell with root permission enabled on 3e recovery
fixed invalid key codes in Tegrak recovery mode (at update1)
UPDATE in build 22 2011-06-02 KST
based on XXJVO
supports Gingerbread!
supports Voodoo sound v8
fixed a problem that WIFI can't turn on.
custom boot animation (put bootanimation.zip to /system/media/sanim.zip)
uninstalls "Superuser Elite" when you run "Disable rooting"
UPDATE in build 19 2011-04-01 KST
based on XWJS5
supports Voodoo sound v7
UPDATE in build 18 2011-03-30 KST
based on XWJS5
supports Voodoo sound v6
checks system partition size automatically for multiple devices (no meaning to users)
UPDATE in build 17 2011-02-23 KST
based on XWJS5
supports applying zip package (update.zip) beta.
-You can select zip files in /sdcard/tegrak/update folder.
-e.g /sdcard/tegrak/update/NeonGT-2.5.zip
UPDATE in build 16 update1 2011-02-12 KST
based on XWJS5
changed TEGRAK recovery mode waiting time 5 secs to 3 secs.
supports linux shell script in TEGRAK recovery menu - UPDATE. See details below.
fixed permission problem at TEGRAK recovery - UPDATE menu.
removed kernel scheduler tweak in hardcore's
UPDATE in build 15
based on XWJS5 (added)
based on XWJS3
supports Voodoo sound v4 (no FM RADIO settings)
fixed problem from "Enable Rooting" (crashed when old su data exists)
UPDATE in build 14
based on XWJS3
supports Voodoo sound v3 (no FM RADIO settings)
included hardcore's tweaks. very thanks to hardcore
support custom bootanimation. (bootanimation.zip in /system/media or /data/local)
UPDATE in build 13 update1
Fixed invalid model number in kernel. (It was M130K :-<)
rebuilt based on lastest kernel of XWJS3!
supports Voodoo sound v2 (no FM RADIO settings)
(Recording Preset may not work properly. Plz feedback about it.)
TEGRAK Kernel Features
Easy to use
Fastest tegrak onenand mode without any tweaks or OC
Custom recovery mode + Powerful backup & restoring
Simple rooting without reboot
Tegrak Kernel booting on M110S
Tegrak Kernel booting on GalaxyTab M180S
http://www.youtube.com/watch?v=J_-jRo1IWtA
Tegrak Kernel: How to root?
DOWNLOAD
Tegrak-Kernel-Build-29-for-I9000-XXJVT.tar
Tegrak-Kernel-Build-27-for-I9000-XXJVT.tar
Tegrak-Kernel-Build-26-for-I9000-XXJVT.tar
Tegrak-Kernel-Build-26-for-I9000-XXJVS.tar
Tegrak-Kernel-Build-26-for-I9000-XXJVR.tar
Tegrak-Kernel-Build-25-for-I9000-XXJVR.tar
Thanks to
supercurio
I am very glad to work with his artwork. Thanks thanks thanks.
twitter.com/supercurio
Korean I9000 tester
andrewti(UK), Ciel(UK), esdur(FR)
## How to Install ##
1. If the downloaded file is zipped, unzip it. You can find a tar file.
2. Flash tegrak-kernel .tar file by using Odin PDA. You must install latest stock firm before.
3. Install "tegrak lagfix" application from Android Market.
then you can see boot screen below.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
## Application Menus ##
1. Enable tegrak onenand mode
Fastest lagfix mode.
Swaps /data partition(mmcblk0p2) and /system partition(stl9), so onenand partition will be used for /data.
ext4 = /system, /data, /dbdata, /cache
Many Korean people love this mode.
Needs free spaces on /sdcard (internal sdcard) as much as used space on /system + /data + /dbdata.
If this mode is applied, available space of /data will be 270MB.
This video shows how it works. It's easy to apply. (update soon)
2. Enable tegrak lagifx (all)
ext4 = /system, /data, /dbdata, /cache (like Voodoo)
Need free spaces on /sdcard (internal sdcard) as much as using spaces /system + /data + /dbdata.
3. Enable tegrak lagfix
ext4 = /data, /dbdata
Need free spaces on /sdcard (internal sdcard) as much as using spaces /data + /dbdata.
4. Enable cache lagfix
ext4 = /cache
5. Enable system lagfix
ext4 = /system
Need free spaces on /sdcard (internal sdcard) as much as using spaces /system.
6. Disable tegrak lagfix (all)
It formats all partions to RFS.
rfs = /system, /data, /dbdata, /cache
7. Disable tegrak lagfix
It formats /data, /dbdata to RFS.
rfs = /data, /dbdata
8. Disable cache lagfix
/cache to RFS
rfs = /cache
9. Enable rooting
Rooting takes 0.5 second.
need any explanation?
10. Disable rooting
in 0.5 second.
## tegrak recovery mode ##
You can enter tegrak recovery mode by clicking HOME button on boot time.
1. UPDATE from internal sdcard
/sdcard/tegrak/update/00 ~ 05
Runs shell script in /sdcard/tegrak/update/00~05 (added in build 16)
Script file name must be "update.sh"
Sample code
/sdcard/tegrak/update/00/update.sh
Code:
#!/system/bin/sh
chown root.root /system/xbin/busybox
echo "line1"
echo "line2"
echo "line3"
exit 0
2. UPDATE from external sdcard
/sdcard/external_sd/tegrak/update/00~05
Runs shell script in /sdcard/external_sd/tegrak/update/00~05 (added in build 16)
3. RESTORE /data, /dbdata
You can restore whole your apps and data from /sdcard/tegrak/backup/data.bak and dbdata.bak.
These backup files are automatically made by kernel when doing lagfix or undoing lagfix.
4. BAKCUP /data, /dbdata
Makes backups of /data and /dbdata. These can be restored by "RESTORE".
5. RESTORE /system
6. BACKUP /system
7. REBOOT: stock recovery mode
8. REBOOT: download mode
9. wipe cache
10. wipe dalvik-cache
11. wipe init.d
TEGRAK status diagram on each mode
Stock device status
status of no lagfixed device.
TEGRAK lagfix (all) status
all RFS partitions changed to ext4.
TEGRAK OneNAND mode status
swapped system area and program data memory.
TEGRAK 2x mode status
CANCELED! (eats too much cpu resource!)
testing on my device.
It's not ready to release. Doc's beta team will get beta first. No plan about release date.
my personal result (not reliable)
Benchmark
OneNAND mode > 2x mode >= lagfix > stock
Battery consumption
2x mode > OneNAND mode, lagfix >= stock
Softness improvements
2x mode > OneNAND mode > lagifx > stock
Boot speed improvements
2x mode = OneNAND mode > lagfix > stock
Program data memory space
lagfix(1.8G) = stock(1.8G) > 2x mode(600MB) > OneNAND mode(300MB)
## Additional ##
Kernel includes some utils in /tegrak/bin mkfs.ext4, e2fsck, tune2fs, busybox(1.13.1), su
Executes all files in /system/etc/init.d on boot.
If yor are a lagfix master, there is no need to ask because this is very simple.
R u looking for a fresh lagfix? TRY IT!
Contact me on private message or twitter (@tegrak)

with bootanimation is that in the video ????

That's not bootanimation.
That screen is boot text that shows your system status.

I saw that you have Tegrak lagfix and another donation. What is the different between the 2?
Also, your kernel is limited to only xxjpy, I'm on my region firmware, which is dxjpe (2.2).
Current 2 main kernel available here (speedmod and voodoo) has made it downward compatible. Besides, these 2 kernels have other optimisation build in.
Nevertheless, I believe it is good that you have extended this to the i9000 users.
Thanks.
Sent from my GT-I9000 using XDA App

well done m8
alsoi nice bootanime
this kernal is only flashible on offical JPY or
on custom JPY rom

Hi g00ndu. I tested this on only Xxjpy. If you wanna try tegrak kernel, tell me where i get your official kernel.
Sent from my SHW-M110S using XDA App

It's okay, I will try.
Sent from my GT-I9000 using XDA App

Welcome on XDA tegrak !

Hi, Tegrak,
I tested it on a DXJPE (2.2 Froyo) and it works. So if anyone wants to try, there is minimal risk of getting it bricked.
My opinion of this kernel:
Basically, a lot of similarities between this kernel, Voodoo and Speedmod. there are some differences. Voodoo and Speedmod lagfix options are under the recovery menu. Tegrak's lagfix options are shifted to the apk instead. The recovery menu (activated during the booting up), will give the option of update either from internal or external sd. However, it is not clear the options of 00 ~ 05 means. As I personally did not use this lagfix (I'm already on Speedmod), perhaps the options are meant to be used only when you activated the tegrak lagfix.
One major difference I see is the onenand data partition. However, I doubt very much many people would want that, especially when the data memory is limited to about ~ 270mb. I'm not sure if one can still increase it a little more by using pit513 (about ~ 30mb more). Users with tons of apps will not want this.
Activating recovery menu via either during the bootup or through the tegrak lagfix app will bring you to the standard 3e recovery. I have encountered the following errors about mounting. (See below screenshot)
Again, perhaps if one enable the tegrak lagfix through the app, there will not be such errors above. (I believe 3e recovery is looking for rfs format, but since my partitions are all in ext4, hence those problems). Hope that this can be ironed out or clarified.
With the current 2 kernels with soundfix and micfix, I'm not sure if tegrak had included those in his kernel as well. Overall, if tegrak continues to tweak and improve his kernel, I'm sure we can see another alternative.
P/S: Now I know the difference between the donation and the free app tegrak lagfix app in the market.
Good effort.
The boot animation, in case people ask, is the standard boot animation we have for the i9000 sgs.

Thanks for testing I like your detailed opinion.
g00ndu said:
One major difference I see is the onenand data partition. However, I doubt very much many people would want that, especially when the data memory is limited to about ~ 270mb. I'm not sure if one can still increase it a little more by using pit513 (about ~ 30mb more). Users with tons of apps will not want this.
Click to expand...
Click to collapse
Yeah, I know, but onenand is faster than movinand. Faaaaster!
I'm trying to find a solution to use more disk spaces and make more faster.
With the current 2 kernels with soundfix and micfix, I'm not sure if tegrak had included those in his kernel as well. Overall, if tegrak continues to tweak and improve his kernel, I'm sure we can see another alternative.
Click to expand...
Click to collapse
Yes, I am working on it , very hard
P/S: Now I know the difference between the donation and the free app tegrak lagfix app in the market.
Click to expand...
Click to collapse
ONLY ADFREE..
Did you see highest-rated on appbrain.com? You can find my app's rank in there (first page)
Have a nice day!

i hope you don't mind, I just made CWM version for your kernel. File attached below, have been tested and working. I hope someone finds it useful
anyway, is this kernel version correct? it's pretty cool and easier to recognize if you can make your own kernel version
my 2cent

Max RAM memory: 339MB
Quadrant:
1st 1622
2nd 1707
Onenand mode enabled
system ext4
data, dbdata ext4
cache ext4

Please tell us how its working. Does it feel faster than Speedmod or Voodoo?
I don't mind the reduced space, we can always use app2sd in a 2.2 rom for less used apps.
Sent from my GT-I9000 using Tapatalk

AlexandreT said:
Please tell us how its working. Does it feel faster than Speedmod or Voodoo?
I don't mind the reduced space, we can always use app2sd in a 2.2 rom for less used apps.
Sent from my GT-I9000 using Tapatalk
Click to expand...
Click to collapse
Hi AlexandreT. You installed voodoo before? This is almost same about installation.
Download my attatchment kernel file first, http://forum.xda-developers.com/attachment.php?attachmentid=494234&stc=1&d=1295465286
Turn off your phone.
Turn on Download Mode.
Flash kernel file by using Odin.
Boot
Go to Android Market, find "tegrak lagfix" and install it.
Open "tegrak lagfix" application then you can do lagfix by app menus.
Also rooting is possible in it.

pcboyy said:
i hope you don't mind, I just made CWM version for your kernel. File attached below, have been tested and working. I hope someone finds it useful.
Click to expand...
Click to collapse
Yeah, that's OK. Don't mind
anyway, is this kernel version correct? it's pretty cool and easier to recognize if you can make your own kernel version
Click to expand...
Click to collapse
My model is SHW-M110S that displays only version number except build info, so i don't have to chage that.

Hi tegrak
i have installed you kernel and lagfix..
For now all work very fine..really thanks..
I cant see your custom boot, i have a normal boot of samsung.. do you know why?
How can fix it and have your custom animation?
Thanks

tegrak said:
That screen is boot text that shows your system status.
Click to expand...
Click to collapse
I think the guy asks for boot animation after boot text, where droid astronaut appears

Please post a result of mount or busybox mount command with activated lagfix.

rafalense said:
I think the guy asks for boot animation after boot text, where droid astronaut appears
Click to expand...
Click to collapse
Ahha it is. Thanks to help me to understand
Sent from my SHW-M110S using XDA App

Bo$s said:
Please post a result of mount or busybox mount command with activated lagfix.
Click to expand...
Click to collapse
Hello bots see mount status below. Tegrak onenand mode
$ export PATH=/data/local/bin:$PATH
$mount
rootfs / rootfs rw,relatime 0 0
tmpfs /dev tmpfs rw,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
/dev/block/stl6 /mnt/.lfs j4fs rw,relatime 0 0
/dev/block/mmcblk0p2 /system ext4 rw,noatime,barrier=1,data=writeback 0 0
/dev/block/stl9 /data ext4 rw,nosuid,nodev,noatime,barrier=1,data=writeback,noauto_da_alloc 0 0
/dev/block/stl10 /dbdata ext4 rw,nosuid,nodev,noatime,barrier=1,data=writeback,noauto_da_alloc 0 0
/dev/block/stl11 /cache ext4 rw,nosuid,nodev,noatime,barrier=1,data=writeback,noauto_da_alloc 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/stl3 /efs rfs rw,nosuid,nodev,relatime,vfat,llw,check=no,gid/uid/rwx,iocharset=cp437 0 0
tmpfs /skttmp tmpfs rw,relatime,size=2048k 0 0
/dev/block/vold/179:1 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,noatime,nodiratime,uid=1000,gid=1015,fmask=0002,dmask=0002,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
$
Sent from my SHW-M110S using XDA App

Related

[ROM] 11/Jan 3.1 - MoDaCo Custom ROM (now with online kitchen)

Note: Version 3.2 Beta now available - click for more details!
I'm pleased to present my MoDaCo Custom Hero ROM! No 'wipe' is required for anyone coming from MCR 1.2 onwards, or the stock 2.73.x updates.
You can now create a customised ROM containing only the parts you required - click here to read more about the MoDaCo Custom Custom ROM online kitchen!
MCR now includes a MoDaCo Custom Kernel modified by Teknologist, TCK, for additional features.
MCR now optionally includes Wavesecure in ROM, allowing you to lock / locate / wipe your device remotely in the event of loss and be notified if the SIM is changed. The application cannot be uninstalled by a thief and we we have actively worked with Wavesecure to ensure that your settings will survive a hard reset!
This ROM is based on the 2.73.x release series (currently 2.73.405.66 together with my own optimisations) for the best possible performance! The ROM is now available in 2 core versions, with and without Chinese input, with optional add on packs that can be applied to either ROM.
Included in the 'core' version
- Built with my new MCR build process which reduces size and boost speed of the ROM
- Includes Teknologist's Custom Kernel 1.91 featuring additional filesystem support (EXT4, NFS, CramFS, SquashFS 4.0), CompCache modules and config, DroidWall support and much more! See here for details.
- Rooted with 'adb remount' permission and superuser APK
- A2SD included (fully automatic - thanks cyanogen!) - create a EXT2, EXT3 or EXT4 partition as your second partition to use. dalvik-cache remains on device.
- Added Jbed Java
- Added Google Voice Search and required speech library
- Added Dropbear SSH server running by default, check 'About' screen for password (port 2222). You can now remove this by running /system/bin/removedropbear.sh
- Added Notes app from Dragon ROM
- Added Spare Parts (run it and switch the 2 animation types to 'fast' for an even better experience!)
- Added android-wifi-tether 1.60 pre3 (props to the developer, this is a great app!)
- Added WiFi Status indicator, with kind permission of Andrew Schwimmer
- Added busybox 1.15.3 with Droid Explorer support
- Added Titanium Backup
- Added all 4 available HTC widgets
- Added nano 2.09 - text editor for use in shell mode
- Added parted and sqlite tools
- Added terminfo and settings to boot.img to allow nano etc. use
- Added files required for Debian linux including loxley's updated bootdeb script
- Added huge APN list
- Moved Quickoffice to data partition to allow easy uninstall
- Deleted 'Learn More' application
- ROM now includes touch focus in Camera app
- ROM now supports shortcuts using BetterCut (and therefore I assume anycut!) in Rosie
- Silenced boot sound (it's still there and can be reactivated with a file edit)
- You can now check your MoDaCo Custom ROM (MCR) version from the about menu
Included in main 'enhanced' add on pack
- Added Business Card Scanner
- Added 'Plurk' client (currently unavailable)
- Added WAP browser
Other optional add on packs (apply as normal update zips)
- 'WaveSecure' add on pack (puts Wavesecure in ROM - it is no longer in core)
- 'Boot Sounds' add on pack (restores boot sounds)
- 'Hebrew Fonts' add on pack (installs hebrew fonts)
Recommended applications (available from the market)
- More Locale for setting non english Locales
Downloads
This ROM is also available customised to your exact requirements in the MoDaCo Custom Custom ROM online kitchen - check it out!
11/Jan 3.1 - MoDaCo Custom ROM for GSM Hero - Android @ MoDaCo
ENSURE YOU DO A NANDROID BACKUP SO YOU CAN 'ROLL BACK' IF REQUIRED!
A 'wipe' is MANDATORY when installing this ROM if you are coming from pre MCR 1.2 or a stock 1.x ROM, and you MUST do this BEFORE applying the update zip (as the update zip puts files on the data partition)! I also recommend you install the latest radio from my 'update zips' topic if you have not done so.
Please note that first boot may take a little while, especially if you have a lot of apps on your A2SD partition. Be patient! If you want a real clean start or you have issues with your existing A2SD installed apps when you boot, you need to wipe your EXT3 partition on SD too by executing 'adb shell rm -r /system/sd/app', 'adb shell rm -r /system/sd/app-private' and 'adb shell reboot'
The ROM is in an update.zip format for installation via the custom recovery image, I also strongly recommend installing the latest radio (63.18.55.06JU_6.35.08.29 at time of writing). As always, do a Nandroid backup before you do anything... just in case!
For the complete newbies, these are the steps you need to take with a 'virgin' Hero:
- Download the patched recovery image linked above and install as detailed in that post
- Download this custom ROM, and copy it to your SD card
- Enter the recovery image (if you're not in it already) by powering on while pressing 'home'
- Select 'nandroid backup' from the menu to do a backup
- If you copied the custom rom as update.zip, select 'apply sdcard:update.zip', else select the option below.
- all done
If you would like to remove parts of the ROM that you do not use, see this post.
Feedback / feature requests welcome! This ROM is posted in multiple places - although I try to provide support everywhere the ROM is posted, of course you will receive the quickest response at MoDaCo.
Finally, if you would like to show your appreciation for the ROM, please consider supporting MoDaCo by signing up for a MoDaCo Ad Free or MoDaCo Plus account, which also gives you early access to Beta ROM releases and the online ROM kitchens.
P
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Changelog
3.1
Based on shipping 2.73.405.66
Includes Teknologist's kernel 1.91
Built with my new MCR build process which reduces size and boost speed of the ROM
Updated Busybox, ROM is now compatible with Droid Explorer
All 4 available HTC widgets now included in ROM
Updated Wireless Tether app
Added Titanium Backup
3.0
Moved base to 2.73.405.66
Updated busybox to fix colour coding ls issue
Updated kernel to Teknologist 1.9
Updated wpa_supplicant (0.5.11)
2.9
Moved base to 2.73.405.61
Added Teknologist's 1.8 kernel with 80MB compcache, tun.ko etc. etc.
Added loxley's updated bootdeb script
Added super-APN file from Cyanogen's ROM
Added Hebrew fonts add on pack
2.8
MoDaCo Custom Kernel 1.2 featuring additional filesystem support (EXT4, NFS, CramFS, SquashFS 4.0), CompCache 0.5.4 modules and DroidWall support
Updated WiFi Tether (1.60 pre3)
Script to optionally remove dropbear SSH (run /system/bin/dropbearremove.sh via ADB)
Moved VoiceSearch to data partition (aids updgrading via market)
Removed Swapper and MoreLocale, now advised downloads in main post
2.7.1
Changed file split between partitions to resolve issue of system partition running out of space
2.7
Updated WaveSecure, moved to add on pack
New Boot sounds restore add on pack
Dropbear SSH running by default, check 'About' screen for password (port 2222)
Add Notes app from Dragon to core
Add Swapper to core
Add WiFi Status to core
Added Voice Search to core with libspeech library
2.6
MCR now includes Wavesecure in ROM, allowing you to lock / locate / wipe your device remotely in the event of loss and be notified if the SIM is changed. The application cannot be uninstalled by a thief and we are actively working with Wavesecure to ensure that in a forthcoming release, your settings will survive a hard reset!
Chinese version available again
Fixed dropbear permissions
2.5.1
Busybox shortcuts fix
build.prop updated for market fix
2.5
Removed IM app due to incompatability with freshly wiped devices.
2.4
Faster than 2.2!
Recommended for use with radio 63.18.55.06FU_6.35.07.08
New WWE core image
Another busybox update - 1.15.2 release
Added dropbear binaries in ROM (will add as a service in a later release)
Replaced CustomLocale with MoreLocales
Added IM application in ROM
Maps is now no longer removed
Other tweaks I forgot!
2.3
Core is now available in regular and chinese flavours, the enhanced version is an addon pack to the core of your choice
Based on different ROM - you now get the new People widget
Another busybox update - 1.15.1 release
Added parted in ROM for partitioning SD
Other tweaks I forgot!
2.2
Corrected tun.ko
Updated busybox
Minor tweaks to unify build with sapphire and dream versions
2.1
Added new bootdeb script
Minor tweaks to startup script
2.0
Based on 2.73.405.5 WWE SHIP update
Updated A2SD to leave dalvik-cache on device (should improve performance, we're not that tight on space!)
Restored bootscreen (no sound)
Restored customize directory, this will give only standard WWE build locales - use Custom Locale for others, or 'adb shell remount' then 'adb shell rm -rf /system/customize' then wipe for full menu
Split features into 'core' and 'enhanced' versions
1.5.1
More optimisations
Removed customize directory, added 'Custom Locale' for setting non English locales
Added version information to build.prop
1.5
Even faster!
1.4.1
Fixed Streetview
Restore Chinese IME
Fixed update script to not error if device is not wiped
1.4
Fixed FC in Messages app
1.3
Fixed broken WiFi in 1.2!
1.2
Huge changes based on new core from leaked update, see first post!
1.1
Fix for market issues
1.0
Initial Release
Any moment now..
Thanks!
modaco said:
SM
- Updated A2SD (ext3), now runs on initial boot
Click to expand...
Click to collapse
Will this run with an ext2 partition, or does it need to be ext3?
omg great work paul - thanks for your efforts!
sweet can't wait to flash ~~^^~~ I am excited...
Not tried with EXT2 personally, I use EXT3...
P
Cheers,
Sadly I haven't figured out how to make an ext3 partition as yet
The partitioning software in Cyanogen's recovery image only does ext2, and I've only found this one guide for creating the partition
That's great. was actually planning to flash the generic one until i saw your post. I guess i'd better wait then .hehee
Thanks a lot!!!!
jamesking420 said:
Cheers,
Sadly I haven't figured out how to make an ext3 partition as yet
The partitioning software in Cyanogen's recovery image only does ext2, and I've only found this one guide for creating the partition
Click to expand...
Click to collapse
if you already have an ext2 partition you can execute from the recovery console:
Code:
upgrade_fs
enlightener said:
if you already have an ext2 partition you can execute from the recovery console:
Code:
upgrade_fs
Click to expand...
Click to collapse
Thanks - this sounds easy, but I'm not quite sure waht the recovery console is Is that the recovery image? And do I need to somehow navigate into the ext2 partition to do it?
Thanks,
James
jamesking420 said:
Thanks - this sounds easy, but I'm not quite sure waht the recovery console is Is that the recovery image? And do I need to somehow navigate into the ext2 partition to do it?
Thanks,
James
Click to expand...
Click to collapse
boot with the custom recovery (the one needed to install this rom)
open a shell through adb and execute upgrade_fs:
Code:
adb shell
upgrade_fs
Thanks very much enlightener.
sorry,
Just one more question. Will this lose what's already on the ext2 partition (if anything!)?
Should I remove the installed files first?
Cheers,
James
Download link is live!
P
Great news... As I have seen no one questioning this. What build number would HTC's update have, which should pop up in the next few days?
Paul, just to confirm, does this INCLUDE the new radio within the update?
Oh, and I'm confused - it did the update and didn't wipe all my data, contacts and apps.. WHATS GOING ON!!! Oh, oh wait.. No, it's NOT WinMo..
The HTC update build number hasn't been finalised yet (and will vary between territories). It'll start 2.x tho ;-)
P
New radio isn't included in this ROM - flash it seperately.
P
gears said:
Oh, and I'm confused - it did the update and didn't wipe all my data, contacts and apps.. WHATS GOING ON!!! Oh, oh wait.. No, it's NOT WinMo..
Click to expand...
Click to collapse
Did you perform a "wipe"? Back to factory defaults? I would have assumed this would lose all contacts, messages, etc...? I don't really want to do this if it will lose all my contacts etc, but will do if this is the correct thing to be doing for the installation...
modaco said:
The HTC update build number hasn't been finalised yet (and will vary between territories). It'll start 2.x tho ;-)
P
Click to expand...
Click to collapse
Excuse me Paul, i have a very silly question.
The questions above regarding ext2 and ext3 really confused me. My phone is an unbranded and unrooted one. Do i have to create ext3 partition before starting or can i just follow your procedures stated above. Will A2SD work if i didnt do the parttion before. thanks.

[ROM] [GSM] CM7 Gingerbread Beta 2012-02-19

Hi everyone,
First, read the readme.txt in the zip file.
You flash it at your own risk. Backup everything. Learn how to use Heimdall. If it eats your dog it's not my problem . Many things are broken - post about it in the thread if nobody posted before. If you have any idea how to fix things, post too or PM me.
Requirements: GSM (Euro, US ATT/TMO tabs), with JQ1 (Gingerbread) unprotected bootloaders that can run Euro JQ1 ROM and gt-p1000_mr.pit partitioning.
Modem versions:
ATT: use I9000UGJK3 modem (this is what I am using)
TMO: try JK5
Euro: reports say that JK5, JPZ modems work
HK: user reports JK5 modem works.
CDMA: This ROM does not support CDMA Tabs.
LTN: experimental kernel included.
The archive with the build with Heimdall is here http://gtab7.nexus-lab.com/cm7sgt/tcm7beta-2012-08-05.zip
Please use heimdall to install. This zip file is not for flashing with CWM. Unzip and read the readme.txt in the zip file. Flash using the Heimdall command line (below).
The update zip for CWM is here http://gtab7.nexus-lab.com/cm7sgt/cm-7-20120805-UNOFFICIAL-galaxytab.zip, (GSM only, no LTN), please be sure to flash it from recovery that supports EXT4 or flash it once so it updates kernel/recovery, reboot to new recovery and flash it again. If you encounter any problems, use the Heimdall version.
P1000L/N
There is experimental P1000L kernel and bootloaders included in LTN directory in Heimdall package. It should work on P1000L and maybe P1000N.
Big thanks to Humberos for patches and testing. Adventureous souls with Latin Tabs please try it and report how it worked for you. You should have Gingerbread bootloaders and partitioning done first, so it should be easy if you are already running Gingerbread on your P1000L/N.
Installation using Heimdall
normal update from previous CM7 version, or a flash from another Gingerbread ROM:
Code:
heimdall flash --kernel zImage --factoryfs factoryfs.ext4
full flash and repartition:
Code:
heimdall flash --repartition --pit gt-p1000_mr.pit --primary-boot boot.bin --secondary-boot sbl.bin --kernel zImage --factoryfs factoryfs.ext4 --cache cache.ext4 --dbdata dbdata.ext4
Please be careful and double check your Heimdall command line when you flash bootladers, you may brick your Tab pretty bad.
If you get stuck on first reboot after install, or your settings aren't saved it means your data partitions need to be reformatted to ext4. This should be handled by setup_fs in init.rc.
If it didn't happen, start adb and run
make_ext4fs /dev/block/mmcblk0p2
make_ext4fs /dev/block/stl10
make_ext4fs /dev/block/stl11
Or try full wipe in recovery.
make_ext4fs is slightly wonky so you could use "/system/bin/mke2fs -t ext4 -m 0" instead (recovery is also using make_ext4fs internally to wipe partitions)
Samsung apps, Swype, Gapps etc
This is an unofficial port of CyanogenMod. I am striving to give us the pure CyanogenMod experience on Galaxy Tab.
So, there are no Samsung apps and don't ask for them.
There is no TouchWiz and don't ask for it.
It comes with ADW Launcher and if you want anything else, there is plenty of launchers in the Market.
If you want Google Apps, get it from the usual place http://goo-inside.me/gapps/ and install from recvery after flashing update.zip. The Heimdall version has Gapps integrated right now.
There is one stupid annoyance on Google sign-in welcome screen. It asks to slide open the keyboard (which we don't have and for now I can't find this setting). So skip the whole set up and sign in to Google account from Settings->Accounts&Sync.
Swype: there is no Swype. Since Swype has a policy of allowing Swype on modded ROMs as long as the original ROM had Swype integrated, if somebody cares to make flashable zip with Swype I can link it from OP.
Market issues.
Market 3.x has much stricter rules about DPI and device checks. So very often it shows apps as not compatible with CM7 on GalaxyTab.
Just go to Settings->Applications and uninstall updated Market it will go back to 2.x for a while.
Or try tool like OldMarket http://forum.xda-developers.com/showthread.php?t=1240344
You can also change build.prop yourself, you will need to change two lines:
ro.build.tags=test-keys to ro.build.tags=release-keys
and
ro.sf.lcd_density=200 ro.sf.lcd_density=240
reboot, delete Market data from Settings->Applications
Big thanks to junkshow for investigating it.
sources at http://github.com/cm7sgt
How to report bugs
If you think you have found a bug.
- verify you can repeat it, make sure it is not caused by the fact you did not wipe the device by rebooting to recovery and using wipe when you first installed CM7. Particularly when coming from other ROMs that use ext4. When coming from RFS your partitions should have been reformatted on first boot but wiping after install will not hurt.
Please read existing open and already closed issues at http://github.com/cm7sgt/android_device_samsung_galaxytab/issues
If your bug is new.
Please see if it is upstream (general CM7 not related to Tab) bug, see in CM7 issues tracker http://code.google.com/p/cyanogenmod/issues/list
If it is already there, please stop or add a comment there.
If the bug is about generic issue, please try to verify it it also happens on other CM7 devices. If so, you should post it in CyanogenMod issues.
If the bug is Galaxy Tab specific, like, some hardware functionality is missing, some driver not working. Dialogs messed up because of resolution etc, this means it belongs to Galaxy Tab device issue tracer and I can fix it.
In this case please open new issue here http://github.com/cm7sgt/android_device_samsung_galaxytab/issues
Please use pastie.org or something like that for posting logs.
SDCARD controversy
By default, the real micro SD is /mnt/sdcard, the internal mmc is /mnt/sdcard/external_sd, like in Galaxy S CyanogenMod builds.
If you don't like it, you can swap the devices, go to Settings -> CyanogenMod settings -> Application and check Use internal storage [ ] checkbox.
Reboot, now internal will be /mnt/sdcard, external will be /mnt/sdcard/external_sd like in Samsung's Android.
In recovery, real sdcard in /sdcard, internal sdcard (embedded MMC) is /emmc.
If you want to flash zip from /emmc just go in recovery "install zip from sdcard" -> "choose zip from internal sdcard" -> choose whatever you want to flash.
--
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Current status:
Voice calls: OK (make sure to use modem.bin compatible with JQ1 RIL)
3G data: OK
Wifi: OK
Bluetooth: OK
Camera: Photos OK, video encoding (movie capture) back OK, front corrupted
Sensors: seem OK
GPS: OK
Recovery and initramfs: CWM, partitions get mounted, wipe works, havent tried backup/restore
Video playback: overlay and copybit work, OMX libraries are in and decoding works.
Changelog:
2012-08-05 http://gtab7.nexus-lab.com/cm7sgt/tcm7beta-2012-08-05.zip http://gtab7.nexus-lab.com/cm7sgt/cm-7-20120805-UNOFFICIAL-galaxytab.zip
Fixed Bluetooth MAC address issue. Now it is read correctly from EFS. Thanks to ableeker.
2012-07-28 http://gtab7.nexus-lab.com/cm7sgt/tcm7beta-2012-07-28.zip http://gtab7.nexus-lab.com/cm7sgt/cm-7-20120728-UNOFFICIAL-galaxytab.zip
Update to latest from CM7 git.
2012-02-19 http://gtab7.nexus-lab.com/cm7sgt/tcm7beta-2012-02-19.zip http://gtab7.nexus-lab.com/cm7sgt/update-cm-7-2012-02-19-Beta-GalaxyTab-KANG-signed.zip
Update to latest from CM7 git. set default DPI to 240 to fix market issues, advanced users can set any DPI they want anyway.
Go back to stock dialer layout because it has changed a lot.
2011-11-02 http://gtab7.nexus-lab.com/cm7sgt/tcm7beta-2011-11-02.zip http://gtab7.nexus-lab.com/cm7sgt/update-cm-7-2011-11-02-Beta-GalaxyTab-KANG-signed.zip
use android socket for wpa_supplicant control interface. anyone upgrading to this version please delete their /data/misc/wifi/wpa_supplicant.conf
thanks to jt1134, removed extra field in mfc interface in kernel which prevented it from working with aries OMX libraries
updated media_profiles.xml to expose 1024x600 and 800x600 resolutions for camcorder. its not perfect but at least video recording works now. front cam produces broken video.
2011-10-31 http://gtab7.nexus-lab.com/cm7sgt/tcm7beta-2011-10-31.zip http://gtab7.nexus-lab.com/cm7sgt/update-cm-7-2011-10-31-Beta-GalaxyTab-KANG-signed.zip
update to latest from git. we are little past 7.1.0.
fix key setting for AP mode
new init.rc/init.gt-p1000.rc unified with CDMA device
2011-10-09
move download cache to /data/cache_download and system dalvik cache to data, it should fix download issues with large APKs
fix bluetooth keyboard keypad rotation issue
move touchscreen event rotation to kernel to to clean up frameworks/base
use switchable pair and new stacked mounts in vold for /mnt/sdcard and and /mnt/sdcard/external_sd
2011-09-20
Update to latest from git.
Merged P1000L/N kernel. P1000L kernel included in build.
Voodoo Sound update to V10. Switch to JHASH3 hash function in kernel.
Disabled NEW_AP in Wifi driver, fixed hotspot mode.
2011-08-07
Update to latest from git. Android 2.3.5.
Added BLN kernel driver and LIGHT_ID_NOTIFICATIONS -> /sys/class/misc/backlightnotification/notification_led device to liblights. Big thanks to Neldar.
Fix geolocation/networklocation settings in props and frameworks' config.xml
Update EGL driver and pvrsvrkm kernel driver to latest from EF17 Sprint GB release.
2011-07-20
Update to latest from git.
Merge changes from Sprint GB kernel source release. Merge relevant kernel changes to up to 2.6.35.10.
2011-06-21
Enable CRT screen off/on animation.
Add virtual flag to capacitive buttons to enable vibration when they are pressed.
Increase HCI baud rate to 3M, hopefully this will help A2DP issues with BT keyboards.
2011-06-13
Rotary Lockscreen bitmaps and Twelve Key Dialer portrait and landscape layouts have been fixed by Fabrizio. Big thanks!
Fixed wrong parameter to ril->setCallVolume, hopefully will make call audio better.
Switched to use Samsung's binary brcm_patchram_plus with the same parameters in init.rc. Bluetooth SCO works now. Magic?
2011-06-06
Add attribute for available frequencies, fix cpufreq sysfs permissions so CMParts can access it.
Change compile options for kernel to cortex-a8. Enable Tiny RCU.
Fixed calls from other places in the kernel that used olde speed levels and caused frequency spikes to 1.2GHz.
Fixed Low Power Mode (it properly starts /lpm.rc and displays charging animation).
2011-06-05
Added 10-point Multitouch to kernel (thanks to The_Double and hoss_n2)
Added overclock (1.4GHz) and undevolt (thanks to Richard Trip and Koxudaxi)
Added Voodoo Sound V9 (thanks to Supercurio and Richard Trip)
Switched to (some) Crespo EGL SOs, hopefully will fix some OpenGL issues.
2011-06-03
Add usb_connected switch to kernel, fixes usb mounting and usb connection detection.
Use mke2fs instead of make_ext4 for formatting in OTA and setup_fs. Should be more reliable.
Added download mode to reboot menu.
2011-05-30
Fix problems with headphones/headsets and libaudio, kanged common-aries libaudio.
Added OMX libraries and overlay from common-aries.
2011-05-28r2
Fixed setup_fs so it properly formats partitions.
Enabled more tablet tweaks (soft buttons).
Removed format for .android_secure in recovery, should fix wipe.
2011-05-28
Switched to Gingerbread kernel 2.6.35.7 recently released by Samsung.
Use JQ1 binary drivers for OpenGL, sensors, lights, copybit, overylay, camera etc, so they all work!
Portrait is default orientation now, ro.sf.hwrotation=90 is set and touchscreen events are rotated in input layer so they match.
<cut short, more in readme.txt>
Big thanks to noobnl, coolya, codeworkx, rotohammer, KhasMek, deodexed, captainkrtek, lilstevie, a_snowman, frusso, humberos, koxudaxi, spacemoose, oldmacnut and others for help, advice, testing etc etc.
DEVS ONLY HERE ---------------------------------------
How to build CYanogenMod 7 for Galaxy Tab GT-P1000
First, please read this article http://wiki.cyanogenmod.com/index.php?title=Compile_CyanogenMod_for_CaptivateMTD
You will need the same prerequisites.
Then
Get repo as described there. I put mine in /usr/local/bin
Sync Android tree. You need to use manifest from cm7sgt github.
(If you have more/less than 4 cores modify your -j4 accordingly)
Create a directory for your Android, you will need oer 10GB of free space. It helps a lot to put it on SSD.
repo init -u git://github.com/cm7sgt/android.git -b gingerbread
since kernel.org gits are still down, until they are back up you need to sync repo tool from github, so use this command line, thanks to Disgustipated for pointing it out.
curl https://raw.github.com/android/tools_repo/master/repo > ~/bin/repo
chmod a+x ~/bin/repo
repo init -u git://github.com/cm7sgt/android.git -b gingerbread --repo-url=git://github.com/android/tools_repo.git
repo sync -j4
Grab Rom Manager as described.
You can't (no script) and don't need to copy proprietary files, everything is already included in vendor git.
Setup your android build environment and choose device to build:
. build/envsetup.sh
lunch cyanogen_galaxytab-eng
make -j4
There, it should build with no issues. Sometimes it will complain about API changes, run make update-api then.
From here you have two options.
1. Build Heimdall images. You will need kernel with loop support, losetup, ext4 tools (mkfs.ext4).
cd device/samsung/galaxytab/tools
./buildimage
it will grab stuff from out and create ext4 images. Flash with Heimdall.
2. Build update.zip
make -j4 bacon
How to build kernel
First, you will need the arm toolchain from CodeSourcery. You need arm-2009q3-68-arm-none-eabi-i686-pc-linux-gnu.tar.bz2
From http://www.codesourcery.com/sgpp/li...q3-68-arm-none-eabi-i686-pc-linux-gnu.tar.bz2
Unpack it in /opt/toolchains. as root
mkdir -p /opt/toolchains
cd /opt/toolchains
tar -xjvf arm-2009q3-68-arm-none-eabi-i686-pc-linux-gnu.tar.bz2
Then in your CM7 tree
BEFORE YOU BUILD CM7 TREE
cd device/samsung/galaxytab
./kernel.sh defconfig
./kernel.sh modules
This will configure the kernel and build and copy modules to prebuilt directories. The kernel build directory is out/target/product/galaxytab/kernel_build
Build your android tree normally so initramfs is created.
Then again
cd device/samsung/galaxytab
./kernel.sh kernel
This will build the kernel using the initramfs in recovery/root and update prebuilt kernel image.
(for Latin kernel use kernel_ltn.sh script and use kernel_ltn file it produces)
Now you need to run make on your android tree again so boot.img is updated.
And proceed to buildimage or make bacon as usual.
sweet news
P1000L tabs too?
I can test for you.
ivannw said:
P1000L tabs too?
I can test for you.
Click to expand...
Click to collapse
AFAIK P1000L hardware is different so it will need different kernel
How do we check which bootloader we have?
TheGrammarFreak said:
How do we check which bootloader we have?
Click to expand...
Click to collapse
If you installed Euro JJ4 ROM you probably have JJ4 bootloader.
It will probably also work with stock ATT and TMO bootloader but I cannot guarantee that. I have JJ4. People have reported issues using Euro ROMs on ATT bootloaders, I believe the same issues will show up in my CM7.
Great news. I have polish rom maybe i help. galaxy tab jm6
That is amazing work!
Well done.
Which issue r u tlaking abt? I have recent att tab went straight to jme no issue. Lemme know if i could hrlp testing. Ubuntu & heimdall ready. I actually pulled your old cm6 and cp kernel-tab and what not to cm7 but failed at lunch cyanogen...
Sent from my GT-P1000 using XDA App
quattr0 said:
Which issue r u tlaking abt? I have recent att tab went straight to jme no issue.
Click to expand...
Click to collapse
some white lines while booting etc. if JME works for you my stuff should work too.
TheGrammarFreak said:
How do we check which bootloader we have?
Click to expand...
Click to collapse
I'm no expert but this seems obvious (for me). If you have a linux box, do a "strings boot.bin" on a protected bl (extract from JMF downloaded from samfirmware for instance), you will see these lines
PBL: Error.. sbl verification failed..
PBL: booting stop!
My at&t backup boot.bin does not have the above 2 lines.
Just my guess.
Technomancer said:
AFAIK P1000L hardware is different so it will need different kernel
Click to expand...
Click to collapse
Can you help me or give the way to compile the correct kernel?
Sent from my GT-P1000L using XDA App
I can't wait for this... My Tab seems to just be less awesome without the love CM gives to Android.
installed but touch doesnt works.
what is the next step?
ivannw said:
installed but touch doesnt works.
what is the next step?
Click to expand...
Click to collapse
this is because of the different hardware!
if ur not a developer, leave it till it is stable because u are missing some necessary features for everyday use!
landroid thanks for your response.
btw i wanna learn how to fix that. can you give me directions ?
first of all I'll try to get stock rom compiled.
too bad again not for CDMA tab user
ivannw said:
landroid thanks for your response.
btw i wanna learn how to fix that. can you give me directions ?
first of all I'll try to get stock rom compiled.
Click to expand...
Click to collapse
First off all u need to find the kernel source for ur tab (i think P1000L, right?) And then apply the patches technomancer made to the kernel but this is very hard to do! The best thing would be to contact technomancer! And if i find some spare time tommorrow ill try to compile a P1000L kernel for u but i cant guarantee that if i manage to do that everything works! But i knoe how to compile kernels from source so it should not be a problem!
Sent from my GT-P1000 using Tapatalk
ivannw said:
landroid thanks for your response.
btw i wanna learn how to fix that. can you give me directions ?
first of all I'll try to get stock rom compiled.
Click to expand...
Click to collapse
Get sources for your kernel from opensource.samsung.com.
Compile it with gingerbread branch of this initramfs https://github.com/cmsgs/android_initramfs_galaxytab
See what happens ;-)
Look awesome!!

Samsung Galaxy Gio gt-s5660 | Firmware Releases ,Custom Roms , Rooting

New Users Visit this Thread it has less complexity.......
...............................................................................................................................................
GIOPRO v1.4
...............................................................................................................................................
Adobe Flash Player 11.1.102.59 For Galaxy Gio http://forum.xda-developers.com/showpost.php?p=19623732&postcount=1
------------------------------------------------------------------------------------------------------------------
This Thread, Samsung Galaxy Gio gt-s5660 | Firmware Releases ,Custom Roms , Rooting, has been moved from the Android Software and Hacking General forum to the Galaxy Gio GT-S5660 Android Development forum.
NOTE:Even though it has been moved its a redirect notice (expires in 1 week) in the original forum so users Bookmark the New thread link.
-------------------------------------------------------------------------------------------------------------------
Android 2.3.7 - Cyanogen Mod 7.1.0 For Galaxy GIO (Unofficial) By- phiexz
--------------------------------------------------------------------------------------------------------------------
(Devs Only)How To compile a Kernel for Samsung Galaxy Gio By Delanoister
-------------------------------------------------------------------------------------------------------------------
Update.zip Recoveries (For Software installation through recovery) Thanks to ZimniY
------------------------------------------------------------------------------------------------------------------
Everyone vote for official cyanogenmod at the cyanogen mod forum
http://forum.cyanogenmod.com/topic/22386-samsung-galaxy-gio-gt-s5660
Click to expand...
Click to collapse
------------------------------------------------------------------------------------------------------------------
Read this thread thoroughly,Before Asking your question, Most of your questions are answered , but if still have confusion don't hesitate to ask
Users with Galaxy Gio Gt-s5660M/L/V , do not try Custom Roms , Please Read the S5660M Section First.
----------------------------------------------------------------------------------------------------------------------
phiexz's Custom Kernels for Galaxy Gio (For 2.3.5 )
------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------
Developers/Moders Can PM me their Thread Links If they want it to be on This Main page
-------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------
Modified mms.apk for Samsung Galaxy Gio S5660 (For odexed roms only, not for deodexed) Here
--------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------
hyriand's Custom roms for Galaxy Gio are here
--------------------------------------------------------------------------------------------------------------------
Particle Android Custom Rom based on 2.3.5 , detail here---- download latest version
--------------------------------------------------------------------------------------------------------------------
All actions ,flashing and other modification on your phone you do at your own risk and responsibility for your actions and you are solely if you are unsure of your actions - do not!
Any attempt to flash through RomManager will take you to the service center
-------------------------------------------------------------------------------------------------------------------
This thread is collection of all available data about samsung galaxy gio,so it may save time for others , some intial data is copied from another thread by strunkie for that all cradit goes to him , Data has been copied with the permission of Strunkie.
___________________________________________________________________________________________________________________________
If it helps ,Don't forget to press Thanks
--------------------------------------------------------------------------------------------------------------------------
Welcome in the Thread for Samsung's Galaxy Gio (S5660)
---------------------------------------------------------------------------------------------------------------------------
Samsung Galaxy Gio Unlocking
http://forum.xda-developers.com/showthread.php?t=1204705
---------------------------------------------------------------------------------------------------------------------------
Flashing Samsung Galaxy gio using ODIN
http://forum.xda-developers.com/showpost.php?p=16979859&postcount=549
---------------------------------------------------------------------------------------------------------------------------
How to Root Samsung Galaxy gio
http://forum.xda-developers.com/showpost.php?p=16979919&postcount=550
---------------------------------------------------------------------------------------------------------------------------
How to create ext2 partition for a2sd darktremor
http://forum.xda-developers.com/showpost.php?p=16979957&postcount=551
--------------------------------------------------------------------------------------------------------------------------
How to Enable a2sd darktremor on 2.3.3/2.3.4/2.3.5
http://forum.xda-developers.com/showpost.php?p=16979976&postcount=552
-------------------------------------------------------------------------------------------------------------------------
Custom Roms/ Modified Roms
http://forum.xda-developers.com/showpost.php?p=16979810&postcount=548
-------------------------------------------------------------------------------------------------------------------------
Firmwares(Official unmodified):
http://forum.xda-developers.com/showpost.php?p=16979769&postcount=547
------------------------------------------------------------------------------------------------------------------------
Ram Optimizer Script by Juwe11
http://forum.xda-developers.com/showpost.php?p=16979996&postcount=553
-----------------------------------------------------------------------------------------------------------------------
Updating failed using KIES ???
http://forum.xda-developers.com/showpost.php?p=16980019&postcount=554
----------------------------------------------------------------------------------------------------------------------
Custom bootanimation and apk lost post
http://forum.xda-developers.com/showpost.php?p=16980043&postcount=556
---------------------------------------------------------------------------------------------------------------------
How To Deodexing + Zipaligning Galaxy Gio GT-S5660 Tutorial(cradit goes to djjonastybe)
--------------------------------------------------------------------------------------------------------------------
Update apps using recovery method
http://forum.xda-developers.com/showpost.php?p=16980103&postcount=558
-------------------------------------------------------------------------------------------------------------------
ClockworkMod Recovery for the Samsung Galaxy Gio GT-S5660
http://forum.xda-developers.com/showpost.php?p=16980117&postcount=559
------------------------------------------------------------------------------------------------------------------
Compass Fix for s5660
http://forum.xda-developers.com/showpost.php?p=17203899&postcount=813
------------------------------------------------------------------------------------------------------------------
Galaxy Gio 5660m SECTION here
-----------------------------------------------------------------------------------------------------------------
Samasung Galaxy Gio S5660m Brightness ,diming issue solved
http://forum.xda-developers.com/showthread.php?t=1233719
----------------------------------------------------------------------------------------------------------------
Samsung Galaxy GIo S5660M Canada Bell Edition
http://forum.xda-developers.com/showpost.php?p=17332208&postcount=1013
----------------------------------------------------------------------------------------------------------------
Common Issues and possible solutions / tips and tricks
Common Issues and possible solutions / tips and trick
shutdown/freeze randomly in your pocket
. Change your Wifi sleep policy to Never, put a small paper behind the battery some times battery gets loose , if problem stays fectory reset and install latest firmware and fectory reset yet again ..
rooted phone and upgragde gingerbread,but still having problem about bootanimated
Install Root explorer and you need to select "remount as r/w".
command on adb shell to replac framework-res.apk?
#mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
then:
cp /sdcard/framework-res.apk /system/framework/
#reboot (bootloop posibility if framework doesnt match)
Poor Battery Life
Install latest firmware , turn of wifi when not using , try to charge with wall Charge some times data cable don't charge the properly, And don't forget to clean Ram after using apps , it helps to reduce load on device.
Compass doesn't work anymore
Its a bug , there is no solution availble yet , as soon something comes out i'll post here.​
Is there a possibility to overclock samsung galaxy Gio
Nop overclocking isn't working with gio yet.
What is the code for fectory reset
Put your phone in recovery mode (By holding home button+Power button) and select fectory reset option from there or if your phone is on use this code
*2767*3855# Fectory reset will remove all your data from the phone, apps , gallery , contacts and messages be sure to make a backupHow to check your firmware version
*#1234# OR Goto setting<About<Scroll down and check
How to put Gio to downloading mode to flash a firmware by ODIN
shut down your phone , hold home button+power button+volume down button altoghether.
How to Restart your phone (without turn on and off)
Volume down + Volume up + Power button hold untill phone goes off it will turn back again itself.. Or use adb , or terminal emulater , type su then type reboot
How to Remove boot up sound??
Delete file /system/etc/poweron.ogg using root explorer.
What is a2sd darktremor and why should i install it ???
a2sd darktremor let you install your all apps on sd card , so in this way internal memory stays empty and phone perform better than stock rom...
I want to Flash my phone , What should i do after and before???
you always have to fectory reset before and after flashing , when you done flashing you need to root(most of custom roms are already rooted so skip to next step) now you have to enable (a2sd daktremor if its not enabled in a custom rom you have to do it manually) . thats it , now you can start restoring your data , and install apps ...
Compass Fix for s5660 (tested on all versions)
Make sure to bakup your old memsicd before doing anything .
UPDATED:Latest Compass Fix .
http://www.mediafire.com/?2tbx9zhp2hnmc40
Thanks to mozgoder for leting me know
Instructions
Method 1 : download the update, and copy to sd card root directory(don't not copy in any folder)
Put your phone into recovery mode(turn off your phone , HOLD home button + power button toghether)
Apply update from sd , locate the copied file and press home button. reboot.
You have to Reboot twice otherwise it will show wrong direction. Recalibrate your compass by typing *#0*# , click on sensor , and now hold your phone and rorate it 8 ways moving your wrist or watch video below
Compass Calibration
NOTE: if this update doesn't work for you , you can try this one
http://www.mediafire.com/?t1hszgxzb56os2b
----------------------------------------------------------------------------
After doing all the stuff you still getting issue , please check the permissions by opening (use root explorer) system/bin/memsicd press for few seconds a list will open goto permissions and check
Permissions has to be rwxrwxrwx
Updates​
10/08 - Update Market , Maps and Samsung apps Manually Using recovery method
11/08 - a2sd darktremor installing and enabling
11/08 - Added Custom Roms
11/08 - Flash Player 10.1 for galaxy gio Download (May not work on all roms)
12/08 - Samsung Galaxy Gio Unlocking(Thanks to Jc_master)
18/08 - Custom Rom added with video review (rooted,deodexed,a2sd darktremor,ram script added,custom boot animation)
19/08 - Custom Rom added GIO PRO 1.2 (Minor bug fix,MIUI Music,Maps 5.8.0,New Market,SuperUser 3.0,Blue Theme) by Rachmat
19/08 - Ram Optimizer Script Updated (18-08-11) Thanks to Juwe11
19/08 - New Stock Roms added S5660XXKPL (2.3.3)2011 July 29 - S5660XXKPM (2.3.3)2011 August 6 --- Password (samsung-firmwares.com)
20/08 - Video Added (How to create ext2 partition)
20/08 - 2 Video Review added of GIOPRO v1.2
20/08 - Added Video Tutorial Flashing Samsung Galaxy gio using ODIN
21/08 - Added Custom Rom (SimpliGio Plus)
22/08 - GioPro v1.3 (Update using Recovery) You must have Giopro v1.2 already installed
22/08 - Video Review added (Mixture of SimpliGio+ and GioProV1.3)
23/08 - Video Tutorial Added (How to Change Boot animation on 2.2.3 and 2.2.4)
24/08 - Custom Rom added (GioPro V1.2 LITE version(improved version of giopro v1.2 , although you can update with giopro v1.3)) Thanks to ZimniY
25/08 - Finally Compass Issue Solved
26/08 - ClockworkMod Recovery for the Samsung Galaxy Gio GT-S5660(Credits to tjstyle and ilarrain and thanks to hyriand)
29/08 - New custom rom (GringoPro -Autodeodex Mod) by r33p
02-09-11: Added Stock Rom S5660XXKQB_S5660XXKQ5_S5660PRTKQ4 (20th August 2011)
06-0-11 : How To Deodexing + Zipaligning Galaxy Gio GT-S5660 Tutorial(cradit goes to djjonastybe )
08-09-11 : Latest 5660XXKQB_S5660XXKQ5_S5660PRTKQ4 got a2sd enabled
08-09-11 : Added SimpliGio.v.1.2 by ge88 @kaskus.us(Custom based on XXKQ6)
16-09-11 : A2sd Gui Update available in market
16-09-11 : Stock Rom Added to Stock Rom Section (S5660XXKQG_S5660SEBKQ1)
18-09-11 : Galaxy Gio S5660][ROM] Jonas Hendrickx's ROM v2.1 [2.3.4][XXKQG]
01-10-11 2.3.5 Unofficial Stock Rom added
i downloaded the KP1 tar file(S5660XXKPE_S5660XXKPA_S5660OXFKP1), n used odin1.85, i connect the phone in download mode.
but it stuck at:
<ID:0/007> Added!!
<ID:0/007> Odin v.3 engine (ID:7)..
<ID:0/007> File analysis..
<ID:0/007> SetupConnection..
which part i did wrong?
minjiet said:
i downloaded the KP1 tar file(S5660XXKPE_S5660XXKPA_S5660OXFKP1), n used odin1.85, i connect the phone in download mode.
but it stuck at:
<ID:0/007> Added!!
<ID:0/007> Odin v.3 engine (ID:7)..
<ID:0/007> File analysis..
<ID:0/007> SetupConnection..
which part i did wrong?
Click to expand...
Click to collapse
Download Odin 4.42(from the guide how to flash galaxy gio using odin) and Do a fectory reset in recovery mode and then try to flash it ...
.tar file is a single flash file , don't unzip it , and don't forget to click on one package on ODIN ,and locate .tar flash file and start .
nevermind..
sori.. I dont read the older thread... so i don't know our older thread is closing...
@waqasshahzad1986, maybe it's better to remove the "Remove simlock" link on the first post. That method has been deleted by the author because it on a lot off phones the efs partition got corrupted making the phone completely useless.
could somebody write down what is the modification in the modifyed offical 2.3.4? i dont find any info for it.
DeXeS said:
@waqasshahzad1986, maybe it's better to remove the "Remove simlock" link on the first post. That method has been deleted by the author because it on a lot off phones the efs partition got corrupted making the phone completely useless.
Click to expand...
Click to collapse
New Link Updated
Sent from my GT-S5660 using XDA Premium App
laalee said:
could somebody write down what is the modification in the modifyed offical 2.3.4? i dont find any info for it.
Click to expand...
Click to collapse
Modification is only in code nothing look different . No compass issue solved.. only improvements are done..
Sent from my GT-S5660 using XDA Premium App
Ok, is there some trick to shut the hardbutton of the volume down.
Sometimes i dont hear the phone go of, i pused that darn button again by acident.
So is there a methode to bypasse that hardbutton?
laalee said:
could somebody write down what is the modification in the modifyed offical 2.3.4? i dont find any info for it.
Click to expand...
Click to collapse
Yes, Waqas,kindly advise if the official modified 2.3.4 is better than the 23 July unofficial 2.3.4 ROM, please? My main reason for upgrading is to avoid the random shutdowns which have`worsened after upgrading to 2.3.3.
Is the modified official 2.3.4 better than the unmodified unofficial 2.3.4?
earthling3m said:
Yes, Waqas,kindly advise if the official modified 2.3.4 is better than the 23 July unofficial 2.3.4 ROM, please? My main reason for upgrading is to avoid the random shutdowns which have`worsened after upgrading to 2.3.3.
Is the modified official 2.3.4 better than the unmodified unofficial 2.3.4?
Click to expand...
Click to collapse
In my experience and observation , its better but don't mark my words , try it , there is no harm to try it ....
I have been reading your problem since your first post ...
Please follow these steps..
Do a fectory reset , Install modified 2.3.4
after flash completes (never dissconnect your device until 'PASS' is written on ODIN)
Do a fectory reset again ...
In WIFI settings , set sleep to never ... and connect with your regular wifi router , for all other connections must click forget
I have faced same problem but i alwasy fectory reset before and after flashing it avoids glitches ..
rendom shut down could be due to hardware or software , i have told you software solution , hardware problem could be with wifi chip , and quick tip put a small paper behind your battery , sometimes bettery gets loose and it could cause rendom shut down , and freez...
is there a way to disable sound of volume buttons in stock rom?
Sent from my GT-S5660 using Tapatalk
laalee said:
could somebody write down what is the modification in the modifyed offical 2.3.4? i dont find any info for it.
Click to expand...
Click to collapse
try this one.......
this rom was modded by ge88
Custom ROM based on S5660XXKQ6 (2.3.4) >>> SimpliGio
Changelog:
Code:
- Rooted
- Support link2sd
- Support custom boot animation.
- CRT Animation
- Tweak script added (increased performance).
[B][U][COLOR="Red"]Removed Stock apps :[/COLOR][/U][/B]
* Dual Clock
* Email (if u need it back. please download [URL="http://www.mediafire.com/?468o38mz9zlk9vu"]this[/URL] and restore using titanium backup.)
* Forest
* Home screen tips
* News & Weather
* Samsung account
* Samsung Apps
* Samsung Home (Touchwiz Launcher)
* SNS
* SNSAccount
* Social Hub
* Software update
* Yahoo Finance
* stock Swype
[B][U][COLOR="Red"]Added apps :[/COLOR][/U][/B]
* TagHome 2.9.3 (as default launcher )
* Swype 3.6 (with Bahasa support).
* Google Maps 5.8.0
Code:
[CENTER][IMG]http://i1081.photobucket.com/albums/j357/Angga_Bastian/SimpliGio/SC20110807-152328.png[/IMG]
TagHome
[IMG]http://i1081.photobucket.com/albums/j357/Angga_Bastian/SimpliGio/SC20110807-152338.png[/IMG]
Application Drawer TagHome
[IMG]http://i1081.photobucket.com/albums/j357/Angga_Bastian/SimpliGio/SC20110807-152426.png[/IMG]
SimpliGio.v.1.0
[IMG]http://i1081.photobucket.com/albums/j357/Angga_Bastian/SimpliGio/SC20110807-152406.png[/IMG]
[IMG]http://i1081.photobucket.com/albums/j357/Angga_Bastian/SimpliGio/SC20110807-152414.png[/IMG]
[IMG]http://i1081.photobucket.com/albums/j357/Angga_Bastian/SimpliGio/SC20110807-152909.png[/IMG]
Swype 3.6 with Bahasa support
[IMG]http://i1081.photobucket.com/albums/j357/Angga_Bastian/SimpliGio/SC20110807-154100.png[/IMG][/CENTER]
- Enable A2sd Darktremor
Steps =
** SDCard must have 2 parttion FAT32 (Primary) and EXT2 (Primary, Cluster Size 4kb).
** Download Darktremor A2sd + a2sd_enabler.sh and extract to sdcard.
** (Just in case, If u have root explorer app make sure the /system/ "Mounted as R/W"))
** open command prompt
Code:
adb shell
su [COLOR="Red"](look on gio screen and choose allow) [/COLOR]
cd sdcard
sh a2sd_enabler.sh
df ([COLOR="Red"]find the "/system/sd.........", if don't show up. open again Root Explorer make sure the [B]/system/[/B] "[B]Mounted as R/W[/B]")
and repeat the process[/COLOR])
reboot recovery
The screenshot (look at the "/system/sd" lines) =
Code:
C:\Users\xxxx>adb shell
$ su
su
# cd sdcard
cd sdcard
# sh a2sd_enabler.sh
sh a2sd_enabler.sh
Remounting system partition as read/write..
Mounting SD card ext2 partition..
DONE: Now you can install Darktremor's a2sd, nJo
# df
df
Filesystem Size Used Free Blks
/dev 139M 32K 139M 4096
/mnt/asec 139M 0K 139M 4096
/mnt/obb 139M 0K 139M 4096
/cache 25M 24K 25M 4096
/data 180M 65M 115M 4096
/system 208M 174M 33M 4096
[B][COLOR="Red"]/system/sd 524M 210M 313M 4096[/COLOR][/B]
/mnt/sdcard 6G 5G 1G 4096
/mnt/secure/asec 6G 5G 1G 4096
# reboot recovery
reboot recovery
** In recovery console apply update from sdcard and choose :dtapps2sd-2.7.5.3-beta04-signed.zip, reboot.
** After boot open again command prompt or Terminal Emulator, to check the "a2sd"
Code:
adb shell
su
[COLOR="Red"][B]a2sd check[/B][/COLOR]
The screenshot (look at the red color line) =
Code:
C:\Users\xxxx>adb shell
$ su
su
# a2sd check
a2sd check
[ ] GREP: Using ROM Busybox.
[ ] REBOOT: Using ROM Busybox.
[ ] FDISK: Using ROM Busybox.
[ ] CAT: Using ROM Busybox.
[ ] MKDIR: Using ROM Busybox.
[ ] RMDIR: Using ROM Busybox.
[ ] CHMOD: Using ROM Busybox.
[ ] MOUNT: Using ROM Busybox.
[ ] UMOUNT: Using ROM Busybox.
[ ] CP: Using ROM Busybox.
[ ] RM: Using ROM Busybox.
[ ] MV: Using ROM Busybox.
[ ] LN: Using ROM Busybox.
[ ] MORE: Using ROM Busybox.
[ ] MKNOD: Using ROM Busybox.
[ ] AWK: Using ROM Busybox.
[ ] SLEEP: Using ROM Busybox.
[ ] SYNC: Using ROM Busybox.
[ ] TEE: Using ROM Busybox.
__ _____
| \ |
| | |
|__/ | Darktremor Apps2SD 2.7.5.3 Beta 4a (2011-01-30)
[-] Checkpoint 1: Check for SD Card Fix and Implement.
[-] Checkpoint 2: Run Dalvik Heap Program (if exists).
[-] Checkpoint 3: Run Set Low Memory Killer Program (if exists).
[-] Checkpoint 4: Determine Mount Point.
[-] Checkpoint 5: Set Parameter Variables.
[ ] GetProp Command = /system/bin/toolbox getprop
[ ] SetProp Command = /system/bin/toolbox setprop
[ ] Mount Point = /system/sd
[-] Checkpoint 6: Insert CyanogenMod patch.
[ ] Creating /cache/dc
[ ] Symlinking /cache/dalvik-cache to /data/dalvik-cache
[-] Checkpoint 7: Complete Dalvik Cache Move (if applicable).
[-] Checkpoint 8: Resetting Dalvik Cache Partition
[-] Checkpoint 9: Switching Davlik Cache to Cache Partition (if applicable)
[-] Checkpoint 10: Checking for existence of command parameter
[-] Checkpoint 11: Check for a2sd help command
[-] Checkpoint 12: Check for a2sd check command
[ ] Starting Apps2SD Check Program.
Darktremor 2.7.5.3 Beta 4a Apps2SD Status Report
============================================================================
===
Legend: [G£ö]=Setting is correct
[GÇ+]=Setting is correct, but not optimal.
[G£û]=Setting is incorrect and needs to be fixed or option is not av
ble.
============================================================================
===
[COLOR="Red"][B]Block Device - [G£ö] /dev/block/mmcblk0p2
Mount Point - [G£ö] /system/sd
Support EXT2? - [G£ö] Yes[/B][/COLOR]
Support EXT3? - [G£û] No
Support EXT4? - [G£û] No
Apps - [ ] Linked to SD Card.
[ ] No Apps2SD Flag File not found.
[G£ö] Programs run from SD card
To run from internal storage, type a2sd remove
Private Apps - [ ] Linked to SD Card.
[ ] No Apps2SD Flag File not found.
[G£ö] Private Programs run from SD card
To run from internal storage, type a2sd remove
Dalvik Cache - [ ] Regular directory.
[ ] Dalvik to /cache flag file not found.
[ ] Dalvik to SD flag file not found.
[G£ö] Dalvik runs from Int. Storage.
To run from SD card, type a2sd cachesd.
To run from /cache partition, type a2sd cachep
Data - [ ] Program Data on Internal Storage.
Swap - [ ] Partition not present or no swap support.
[G£ö] Swap does not start.
ZipAlign - [G£ö] Not running at boot.
To activate it, type a2sd zipalign
Dalvik Heap(MB) - [G£ö] 64m
Low Memory
Killer Settings - [G£ö] 1536,2048,6144,8192,12288,15360
Note: Values are in pages.
1 page = 4KB memory.
Values represent the following:
1st number = Foreground App
2nd number = Visible App
3rd number = Secondary Server
4th number = Hidden App
5th number = Content Provider
6th number = Empty App
[Güç] For a list of commands that you can use with Apps2SD
Type: a2sd help
** Activate the a2sd using "a2sd cachesdreset". Or "a2sd datasd" if u like the extreme a2sd.
+++(Optionally, activate a2sd using A2sdGUI
klebengan said:
Custom ROM based on S5660XXKQ6 (2.3.4) >>>
Click to expand...
Click to collapse
That's some nice and clean ROM! What program's did you use to cook this if I may ask?
kajjtan said:
is there a way to disable sound of volume buttons in stock rom?
Sent from my GT-S5660 using Tapatalk
Click to expand...
Click to collapse
No, not that i found.
But you can change or replace the audio.ogg files.
If you reedited them with a somekind of audioediting program, you can create your own sound or you can change ( the volume ) the original ones.
...................don't fotget to backup the originals first..............
DeXeS said:
That's some nice and clean ROM! What program's did you use to cook this if I may ask?
Click to expand...
Click to collapse
not mine bro, its actually mod by a friend of mine (ge88) an active modder in "the biggest forum in indonesia". u can check this GIO's thread here. i am sure the main cooking process using the Linux.
klebengan said:
not mine bro, its actually mod by a friend of mine (gupan88) an active modder in "the biggest forum in indonesia". u can check this GIO's thread here. i am sure the main cooking process using the Linux.
Click to expand...
Click to collapse
@Klebengan Thanks for sharing i am also flashing it , will post results ..
@EVERYONE : Please don't forget to visit the main page every day i am puting alot of updates on the main page , always check the changes i update on dailly basis..

[Guide] Backtrack5 port using CHROOT

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Backtrack5 Port using CHROOT​
After I managed to get Ubuntu working on our Defy, I've finally completed a personal task of mine -> get BT5 on Defy.
Credits : anantshri, DooMLoRD for Backtrack5 image file.
This method doesn't modify/change your OS, rom or system. It can't brick or harm your current OS cause it runs like a virtual machine.​
Requirements :
Root and Busybox installed
At least 3.3GB free space on sdcard
Android Terminal Emulator
android-vnc-viewer
7-zip for PC
Click to expand...
Click to collapse
Downloads :
Backtrack5 CWM flashable zip with scripts
bt.img (splitted into 10 7-zip files) :
bt.7z.001
bt.7z.002
bt.7z.003
bt.7z.004
bt.7z.005
bt.7z.006
bt.7z.007
bt.7z.008
bt.7z.009
bt.7z.010
Dropbox folder
Click to expand...
Click to collapse
Video Installation Guide :
http://www.youtube.com/watch?v=j1pN5bEidaM
Click to expand...
Click to collapse
Installation Guide (refer to video) :
1. Download all files from Downloads section (bt.img and cwm zip file) to a temporary folder
2. Create a folder on the root of your sdcard and call it bt
3. Extract bt.7z files and copy bt.img file to the folder previously created /sdcard/bt
4. Copy Backtrack5_cwm_script-signed.zip file to the root of your sdcard and flash it using recovery
5. After your phone boots into OS, go to /sdcard/bt using your file explorer and make sure that the list of files looks like this (5 files) :
bt
bt.img
installbt.sh
startbt
stopbt
6. Now we can launch BT5. Open Terminal app and enter the following commands (each line followed by enter key, toast notification can popup, accept it if not by default) :
Code:
su
cd /sdcard/bt
sh install.sh
startbt
bt
ui
7. Now press the home key, and open android-vnc-viewer, set it up like this :
Password : 12345678
Address : 127.0.0.1
Port : 5901
Color : 24-bit
8. Press connect and VNC will now start the BT5 GUI, I recommend you now that you press menu key -> input mode -> touchpad
Now your screen will act as a laptop touchpad.
9. If you want to close BT5 now, press menu key -> disconnect and return to Terminal, type in (the shell should be [email protected]:~# ) :
Code:
killui
exit
10. Now you're back to # shell and type in :
Code:
stopbt
exit
exit
11. You have successfully closed BT5, you can now close the Terminal application and I recommend you that you reboot your phone.
NOTICE : If you already installed BT5 and you just want to start it again, you don't have to run installbt.sh anymore, just type in :
Code:
su
cd /sdcard/bt
startbt
bt
ui
And you can go to vnc-viewer.
Click to expand...
Click to collapse
Screenshot gallery :
​
Click to expand...
Click to collapse
MD5 hashes :
Code:
bt.7z.001 f19e769bf42b44867c8bb1d9bb9c5d44
bt.7z.002 a4dd26a98d2c6925d871fb108fb5fadb
bt.7z.003 ecca5a5d72c449117b1d3dbc23aeb1a2
bt.7z.004 8ad487a01e4d149f0247ad9288201f32
bt.7z.005 adab9cb3778cd8ac89ccc0e21997c3d7
bt.7z.006 ba6a28de70a1115dc316f45cea508215
bt.7z.007 f59757e891631607e1a35abadb231b3b
bt.7z.008 cdb8c28a1fbd03657bb42e8d69f0600b
bt.7z.009 426d892f872679e3d53d0ebb0376e138
bt.7z.010 c7d2957bc65340d967b9dd3646d7cb39
Click to expand...
Click to collapse
F.A.Q.
Q : Can we use Bluetooth mouse or keyboard
A : Yes if your mouse/keyboard is compatible with vnc-viewer
Q : Does this modify my system, OS or rom?
A : No it doesn't, it runs like a virtual machine, and it can't brick, harm or modify your OS.
Q : How do I crack WEP/WPA keys?
A : These questions I won't answer and I hope that anyone in this thread won't. If you don't know what is Backtrack and how to use it, don't install it. And it's against rules.
Thnx...
All the evil work start now...
Sent from my MB526 using xda premium
Yes
YT tutorials = ON!
I'm guessing we can't get monitor mode/packet injection working, right?
Kaffeekranz said:
I'm guessing we can't get monitor mode/packet injection working, right?
Click to expand...
Click to collapse
As far as I know no. I think it's related to the wifi-card driver which don't support it.
No we can't get monitor working, but there are many more options that work properly.
So, we can't use "monitor mode " then what's the purpose of this distro on our defy? Btw, I am a linux user, arch Linux specifically
Sent from my MB525 using Tapatalk 2
If you only mean to use Backtrack 5 for WPA cracking then you don't need it on Defy.
Backtrack 5 is more powerful than Ubuntu Lucid, so for daily use it's still a good distro.
Soon I'll try to port Win 95
Looks like there is a brother to the hd2 in our defy.....!!!!"
Sent from my MB526 using xda app-developers app
Anyone tried this yet except me ?
Swyped off my Defy using Jelly Bean
mihovil13 said:
Anyone tried this yet except me ?
Swyped off my Defy using Jelly Bean
Click to expand...
Click to collapse
Bump!
Wow! I've been waiting this for a very long time. Tried a lot of images and scripts before but none of them works. Finally with your effort, Backtrack 5 is booting on my Defy. Thank you!
For info, it is not working on my nandroid CM7.2 Stable but works well on virtual CM10 Quarx. It is quite laggy (maybe due to virtual system). Any possible to fire it up on CM7.2 Stable?
I've found why it doesn't boot on CM7.
Epsylon3 implemented EXT4 module which supports this and it has some different folders that can execute /bin/bash with proper busybox.
From now on, ext4 is in ICS and JB. Still haven't found it in CM7.2
I don't understand what this is can you explain me please ?
Sent from my MB525 using Tapatalk
Ext1, ext2, ext3 and ext4 are extended file systems and they're used in Linux kernels.
In Froyo we had ext2 and 3, but recently in our roms ext4 appeared. I've done my port on ext4 and it's tested to work on JB 4.1.1 GB kernel.
Obviously Froyo and GB kernels use different file systems, and this script is for GB kernel, when I flash the Froyo rom, I'll try to modify script to work on froyo kernels
mihovil13 said:
Ext1, ext2, ext3 and ext4 are extended file systems and they're used in Linux kernels.
In Froyo we had ext2 and 3, but recently in our roms ext4 appeared. I've done my port on ext4 and it's tested to work on JB 4.1.1 GB kernel.
Obviously Froyo and GB kernels use different file systems, and this script is for GB kernel, when I flash the Froyo rom, I'll try to modify script to work on froyo kernels
Click to expand...
Click to collapse
making it ext3 isnt that difficult right? make 1 for cm7...
Sent from my MB526 using xda premium
update new version .this working on ext4 file system ah?
error :/
mihovil13 said:
Ext1, ext2, ext3 and ext4 are extended file systems and they're used in Linux kernels.
In Froyo we had ext2 and 3, but recently in our roms ext4 appeared. I've done my port on ext4 and it's tested to work on JB 4.1.1 GB kernel.
Obviously Froyo and GB kernels use different file systems, and this script is for GB kernel, when I flash the Froyo rom, I'll try to modify script to work on froyo kernels
Click to expand...
Click to collapse
in the last step when I need to write 'ui' I got this error.
Backtrack shell will now be launched to start GUI (vncserver) type ui
chroot:can't execute '/bin/bash':no such file or directory
I did everything...but
I did all steps properly but when I type "ui" it isn't found.

[Tool] [DEV STOPPED] Xperia S Boot Manager v0.8, a real dual boot system

Hi All,
Here is a new version of my boot manager.
If you didn't see first release, its purpose is to allow dual boot a firmware with two different kernels with a third one that manages boot selection:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Here is a demo of the previous version, it behaves almost the same:
Since first release, I added cwmod and twrp support for both build:
First build is run from native partition, and second build is installled on internal storage via loopbacks. Since first release, I added automatic loobpack creation:
CWM will take care of formatting them.
FIRST A BIG WARNING: all you'll see here is highly experimental, I'm not responsible for any damage or problem it could cause.
I don't have any idea if running a build on loops is wearing off flash memory, it could damage your device.
I don't think it dramatically change anything compared to standard wear on native partitions, but who knows... And something else could go wrong. ​
Pre-requisite
Currently, if you don't want to loose your current data, you have to be on a rom that has already be repackaged. By default, bootmanager installs Sony 6.1.A.2.55 kernel, so if you're using this firmware, no need to reflash it. For all the other roms, you will have to reflash the repackaged zip in the list below after installation. Don't wipe data/factory reset and you should be good to go. In both case, backup your stuff with Titanium Backup or something else!
Note: you won't be able to restore your previous cwm backups!
Installation:
Minimal setup:
Download bootmanager_0.8.zip (mirrors) (previous version bootmanager_0.6.zip).
Download one of the modified custom firmware in the list below
Install bootmanager zip from your current recovery or extract dual.elf and flash it from fastboot.
Reboot
If your previous rom was not 6.1.A.2.55 based (like cm10 or aokp for instance), reflash your firmware from TWRP for native with one of the native firmware listed below.
Reboot
Now, if you want to use dual boot functionnality:
Select TWRP for loopback
The first time, as you don't have loopbacks files on your internal storage, it will ask for system and data partition sizes. Be patient, it could take time to create them.
When finally recovery is displayed, select erase data/factory reset
then do erase system in partitions/format system
loopbacks are now ready, you can flash one of the available build repackaged for loop.
optionally flash regular google apps from here.
Upgrade from 0.6 or higher:
Upgrade should keep your existing firmwares,
optional, but highly recommended, backup your stuff with cwm and/or Titanium backup.
start stock or custom recovery
flash bootmanager_0.8_upgrade.zip (mirrors)
reboot
re-enable dual boot in settings
Recoveries:
Starting with 0.8, offline charging has been added to twrp. As it's not possible to add to cwm, it is highly recommended to stay on twrp and avoid cwm as it's much safer for your phone.
Starting with 0.5, you can choose between cwm and twrp and switch as you wish. Just flash with your current recovery the recovery you want:
- TWRP 0.8.0 (mirrors) (previous TWRP 0.6.1)
- CWM 0.8.0 (mirrors) (previous CWM 0.6.0)
- EXPERIMENTAL, please read this before installing, TWRP 0.8.2 TWRP 2.6.0 and new 3.4 bootmanager kernel.
Firmwares
Stock / native partitions (flash them from stock recovery)
Sony 6.1.A.2.45 (don't pay attention to filename, this is 2.45, not 2.56, it's a silly typo). Note: you don't have to flash it if you have stock already, it will become useful only later on.
Sony 6.1.A.2.45 addon unsecure kernel, Sony stock kernel only, with ro.secure=0
Sony 6.1.A.2.45 addon kernel modules, Flash this is you have wifi problem, (mostly useful if your firmware was using a custom kernel).
Sony 6.1.A.2.50 stock firmware with unsecure kernel.
Sony 6.1.A.2.50 addon Standalone unsecure kernel.
Sony 6.2.B.0.211 stock firmware, rooted, with busybox.
FXP 137 CM 9.1, original firmware thread here.
AOKP ICS m6 beta 1, thanks to Apology11 for repack! original firmware thread here.
Krabappel2548's KA19, mirrors, original firmware thread here.
Sony 6.1.A.2.55, mirrors, untested unsecure kernel only here.
FXP 147 CM 10, mirrors, original firmware thread here.
PA 2.55 17/11/2012, mirrors, original firmware thread here (kernel from FXP147)
AOKP JB Milestone 1 r1, mirrors, original firmware thread here.
FXP 148 CM 10, mirrors, original firmware thread here.
PAC 18.0.0, mirrors, original firmware thread here
FXP 150 CM 10, mirrors, original firmware thread here.
PA 2.55.1 17/11/2012, mirrors, original firmware thread here
FXP 150a CM 9.1, mirrors, original firmware thread here.
FXP 151 CM 10, mirrors, original firmware thread here.
Nova Xperia RC1, mirrors, original firmware thread here.
FXP 152 CM 10, mirrors, original firmware thread here.
PAC 18.0.2, mirrors, original firmware thread here
Nova Xperia RC2, mirrors, original firmware thread here.
Hei1125's unofficial cm10 20130109, original thread firmware here.
FXP 201 CM 10, original firmware thread here.
FXP 206a CM 10, original firmware thread here.
My JB 4.2.2 aosp build, beta 2, thread is here.
My JB 4.2.2 aosp build, beta 3, thread is here.
My JB 4.3 aosp build, alpha 0, thread is here.
My JB 4.3 aosp build, alpha 1, thread is here.
Custom / loopback partitions (flash them from custom recovery)
Sony 6.1.A.2.50 (buggy, will update soon).
Sony 6.1.A.2.50, kernel only.
Sony 6.1.A.2.55, mirrors (tested, is working properly).
Sony 6.2.B.0.211, stock firmware, rooted, with busybox.
MIUI 2.9.7, mirrors, original firmware thread here.
AOKP ICS m6 alpha 2, original firmware thread here.
Krabappel2548's KA19, mirrors, original firmware thread here.
FXP 145 CM 9.1, mirrors, original firmware thread here.
FXP 147 CM 10, mirrors, original firmware thread here.
PA 2.55 17/11/2012, mirrors, original firmware thread here (kernel from FXP147).
AOKP JB Milestone 1 r1, mirrors, original firmware thread here.
Sony stock Gingerbread 6.0.A.3.75 UK, mirrors. (enabling data makes the phone reboot for me, baseband/radio problem).
Sony 6.1.A.2.55 unsecure kernel only, mirrors
XTXperience 7, mirrors, original firmware thread here. Flash 6.1.A.2.55 kernel with it.
FXP 148 CM 10, mirrors, original firmware thread here.
PAC 18.0.0, mirrors, original firmware thread here
MIUI 2.11.5, mirrors (you have to flash one of these kernels)
FXP 150 CM 10, mirrors, original firmware thread here.
PA 2.55.1 17/11/2012, mirrors, original firmware thread here
FXP 150a CM 9.1, mirrors, original firmware thread here.
Nova Xperia RC1, mirrors, original firmware thread here.
FXP 152 CM 10, mirrors, original firmware thread here.
PAC 18.0.2, mirrors, original firmware thread here
PAC 19, original thread here.
Nova Xperia RC2, mirrors, original firmware thread here.
JellyBear 3.35, original firmware thread here.
Hei1125's unofficial cm10 20130109, original thread firmware here.
FXP 201 CM 10, original firmware thread here.
XTXperience 8.1, original firmware thread here.
FXP 206a CM 10, original firmware thread here.
Ubuntu Touch 0.0.0, thread is here. Note: BIG 540 MB download. It installs on a separate 1.2 GB loopback created by the installation zip.
DooMLoRD Sony JB 6.2.B.0.197 leak, original thread here, credits goes to DooMLoRD
My JB 4.2.2 aosp build, beta 2, thread is here.
My JB 4.2.2 aosp build, beta 3, thread is here.
My JB 4.3 aosp build, alpha 0, thread is here.
My JB 4.3 aosp build, alpha 1, thread is here.
Mirrors of few builds, thanks to elpelas
Repackager package for linux 64 bits, unzip and untar, run as root: ./repackage.sh source_file out_name
DONATIONS
Thanks to @rolex0815 for his donation!
FAQ
- Can I flash any update zip with BootManager ?
Most of the time, no. Some may work unmodified, like google apps that mounts system without using explicit partition. But most of the zips found here mounts directly native partitions so they won't work for build installed on loops. Last, all the kernel zips have to be modified. Flashing any unrepackaged kernel zip will replace boot manager completely and will kill it.
- Can I restore my previous CWM backups after installing bootmanager ?
Yes and no. Yes if you want to go back to where you were before installing bootmanager. No if you want to keep boot manager: restoring the backup will erase it.
Known issues
- Moved apps (to storage/sdcard) will disappear when booting from one build to another. I presume it happens because both builds are sharing storage and it messes up ext2sd scheme. As a workaround, move apps back to internal. This is not a boot manager issue per se, but it's more related to the way builds are repackaged, it probably requires different location for ext2sd. I'll take a look someday.
- Recoveries backups will backup/restore all kernels at once instead of of doing each one separately.
History
2013/02/21: version 0.8
- Offline charging embedded in TWRP, bootmanager is no longer using native build to provide it.
- 1 GB system loop size added
Note: Offline charging can't be added to CWM so CWM is not recommended anymore, TWRP is safer for power management.
2013/01/28: version 0.7
- New settings menu, single boot/dual boot, boot manager protection enable/disable, alternate enable/disable
- Default is now single boot: in this mode, boot manager is only using one kernel and is only providing separate recovery for it.
- TWRP upgraded to v 2.3.3.0
- Only released with aosp build
2012/11/20: version 0.6
- Default recovery is now twrp
- Default kernel is now from 6.1.A.2.55 firmware
- TWRP updated to fix keyboard in backups
- Boot menu now remember which kernel was launched and defaults to it at next boot.
- Bootmanager protection: flashing a kernel that hasn't been repacked should fail. Temporary protection removal here if you want to get rid of bootmanager with a normal firmware.
- Native partition protection: flashing from loop recoveries should not be able to mount native partitions
- Kernel flasher bug fix: layout should now be calculated properly and big kernels shouldn't trash bootmanager anymore
- Notification led color changes depending on which recovery is launched
- ram_console is now properly handled by boot manager kernel. From now on, you should go to a recovery to get the last_kmsg for a crashing kernel.
- Boot manager can be flashed from recoveries.
2012/10/20: version 0.5
- flashable recoveries (cwm and twrp)!
- new kernel layout to give more space to loop kernel
- boot menu delay countdown fix
- offline charging forwarded to native build
- pre-installed kernel is now 6.1.A.2.50 one.
- added recoveries for alternate (re-partitioned devices only)
2012/10/06: version 0.4
- initramfs location moved to 0x41500000 for aokp and cm10 compatibility
- debug traces left in cwm removed
- new kernel extraction command (ke)
2012/10/02: version 0.3
- cwm recovery bugfix to get proper Aroma colors.
- stock / custom name changed to native / loopback in menus.
- added menu for cache loopback to adjust cache size.
2012/09/10: version 0.2
- CWMod recoveries are now working for stock (native) and custom (loopbacks).
- Loopbacks files are created if they are missing with multiple sizes.
2012/09/04: version 0.1
- Initial release, original thread here.
For devs:
Source code:
Trimmed kernel uploaded to gitorious here , branch bootloader_kernel.
Boot menu (FBMenu, thanks to openAOS for initial release!) here.
Embedded kernel flasher kf : here.
Elf kernel splitter sksplit here. I use it mostly to extract kernel and cpio in repackaging firmware.
Background:
Here are some details on how it works:
I trimmed down a stock kernel to remove some fat and add a driver to set a specific memory location.
I embed a small assembly loader with this kernel and its cpio plus the other 2.
The tiny kernel is loaded first, it displays the menu and eventually starts cwm. The menu will set the memory location with the kernel choice, then reboot.
At next reboot, the assembly loader will detect the kernel choice and start the appropriate kernel.
So, in fact, you're booting two times, first the small loader, then the real boot.
It adds some boot time, but it's not dramatic. The advantage is that it's easy to build the loader, it's a simple init. Second advantage, the second kernel is running on a "fresh" start, no left-over in memory, no kexec patch to apply, it works with any kernel. Last, cwm can be embedded with the tiny kernel, so it's finally independent from the build kernel.
Repack sample, FXP137 cm9.1:
unzip ../downloads/FXP137-cm-9-20120908-UNOFFICIAL-nozomi.zip
sksplit boot.img
sudo su
mkdir cpio
cd cpio
cat ../sec1-0x41300000.bin | gzip -d | cpio -i --make-directories
emacs init.semc.rc
Code:
# mount mmc partitions
# mount /system, set up links to the modem, and remount r/o
mount ext4 /dev/block/mmcblk0p12 /system wait rw barrier=1
mkdir /system/etc/firmware/misc 0771 system system
mount ext4 /dev/block/mmcblk0p12 /system wait ro barrier=1
setprop ro.crypto.tmpfs_options size=128m,mode=0771,uid=1000,gid=1000
mount ext4 /dev/block/mmcblk0p14 /data wait noatime nosuid nodev data=ordered noauto_da_alloc
mount ext4 /dev/block/mmcblk0p13 /cache wait noatime nosuid nodev data=ordered noauto_da_alloc
becomes:
Code:
# losetup on storage
mkdir /sd
mount vfat /dev/block/mmcblk0p15 /sd wait rw
# ro directly as misc is created by install script
mount ext4 [email protected]/sd/custom_system.ext4 /system wait ro barrier=1
setprop ro.crypto.tmpfs_options size=128m,mode=0771,uid=1000,gid=1000
mount ext4 [email protected]/sd/custom_data.ext4 /data wait noatime nosuid nodev data=ordered noauto_da_alloc
mount ext4 [email protected]/sd/custom_cache.ext4 /cache wait noatime nosuid nodev data=ordered noauto_da_alloc
and:
Code:
exec sbin/bootrec
becomes
Code:
exec /system/bin/chargemon
and save
rm init.semc.rc~
cd sbin
rm e2fsck bootrec bootrec-device fix_permissions killrecovery.sh mke2fs nandroid-md5.sh parted postrecoveryboot.sh sdparted tune2fs
cd ..
find . | cpio -o -H newc | gzip > ../initramfs.cpio.gz
cd ..
rm -r cpio sec2-0x00020000.bin sec1-0x41300000.bin boot.img
mv sec0-0x40208000.bin zImage
emacs META-INF/com/google/android/updater-script
Code:
format("ext4", "EMMC", "/dev/block/mmcblk0p12", "0");
mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "/system");
becomes
Code:
format("ext4", "EMMC", "/dev/block/loop2", "0");
mount("ext4", "EMMC", "/dev/block/loop2", "/system");
then
Code:
package_extract_file("boot.img", "/dev/block/mmcblk0p3");
becomes
Code:
package_extract_file("zImage", "/tmp/zImage");
package_extract_file("initramfs.cpio.gz", "/tmp/initramfs.cpio.gz");
assert(run_program("/sbin/kf", "2", "/tmp/zImage", "/tmp/initramfs.cpio.gz") == 0);
add before this :
Code:
show_progress(0.200000, 0);
show_progress(0.200000, 10);
this:
Code:
run_program("/sbin/busybox", "mkdir", "/system/etc/firmware/misc");
set_perm(1000, 1000, 0771, "/system/etc/firmware/misc");
and save, then finally:
zip -r ../cm9-loop.zip *
Repack Sample, 6.1.A.2.45 firmware on stock/native:
mkdir stock_6.1.A.2.45_zip
cd stock_6.1.A.2.45_zip
7z x ../downloads/LT26i_6.1.A.2.45_GENERIC_NL.7z
7z x "LT26i_6.1.A.2.45_GENERIC NL.ftf"
rm "LT26i_6.1.A.2.45_GENERIC NL.ftf"
mkdir zip_out
sin2raw kernel.sin kernel.elf
sksplit kernel.elf
mv sec0-0x40208000.bin zip_out/zImage
mv sec1-0x41300000.bin zip_out/initramfs.cpio.gz
sin2raw system.sin system.ext4
sudo su
mkdir system
mount -o loop -t ext4 system.ext4 system
cd system
... optionally add root, busybox:
cp -r /home/tama/supersu/system/* .
cd xbin
chmod 6755 su
cp /home/tama/cm9/out/target/product/gen9/system/xbin/busybox .
cp /home/tama/relink-busybox.sh .
chmod 755 relink-busybox.sh
cd ../..
tar -cvzf zip_out/system.tgz system
... get script from cm9, ..
cd zip_out
cp -a ../../fxp137_cm9_ziploop/META-INF .
emacs META-INF/com/google/android/updater-script
Code:
assert(getprop("ro.product.device") == "LT26i" || getprop("ro.build.product") == "LT26i" ||
getprop("ro.product.device") == "LT26a" || getprop("ro.build.product") == "LT26a" ||
getprop("ro.product.device") == "nozomi" || getprop("ro.build.product") == "nozomi");
ui_print("LT26i 6.1.A.2.45 firmware for boot manager (stock)");
show_progress(0.100000, 5);
format("MTD", "system");
mount("MTD", "system", "/system");
show_progress(0.700000, 60);
package_extract_file("system.tgz", "/tmp/system.tgz");
assert(run_program("/sbin/tar", "-cvzf", "/tmp/system.tgz") == 0);
show_progress(0.200000, 10);
assert(run_program("/system/xbin/busybox-relink.sh", "");
unmount("/system");
package_extract_file("zImage", "/tmp/zImage");
package_extract_file("initramfs.cpio.gz", "/tmp/initramfs.cpio.gz");
assert(run_program("/sbin/kf", "1", "/tmp/zImage", "/tmp/initramfs.cpio.gz") == 0);
ui_print("Firmware installation complete");
Repackage sample, KA14 with Aroma installer
Code:
sudo su
mkdir ka14
cd ka14
unzip /home/tama/sony/downloads/KA14_Xperia_SSpeed.zip
mv zImage zImage.original
sksplit zImage.original
mkdir cpio
cd cpio
cat ../sec1-0x41300000.bin | gzip -d | cpio -i --make-directories
rm *~
rm init
rm init_gb
mv init_ics init
rm recovery.*
rm -r res
rm 1
rm init.sh
cd sbin
rm tune2fs sdparted parted nandroid-md5.sh nandroid mr mke2fs killrecovery.sh fota-ua fota-mke2fs fix_permissions e2fsck checkabortedflash autoroot.sh
ln -s /init ueventd
cd ..
find . | cpio -o -H newc | gzip > ../initramfs.cpio.gz
cd ..
mv sec0-0x40208000.bin zimage
emacs META-INF/com/google/android/updater-script
change:
Code:
assert(package_extract_file("zImage", "/tmp/zImage"),
write_raw_image("/tmp/zImage", "/dev/block/mmcblk0p3"),
delete("/tmp/zImage"));
to:
Code:
package_extract_file("zimage", "/tmp/zimage");
package_extract_file("initramfs.cpio.gz", "/tmp/initramfs.cpio.gz");
assert(run_program("/sbin/kf", "1", "/tmp/zimage", "/tmp/initramfs.cpio.gz") == 0);
Code:
zip -r ../bm_native_ka14.zip META-INF customize system zimage initramfs.cpio.gz
AOSP experiment
Special build, aosp 4.2.1 experiment!
This one is special and deserve specific instructions.
First, it's not functional, and will never be.
I just wanted to have a look at current status of AOSP experiment for Xperia S, it required much more fiddling than reasonable and ended into a monster.
Again, I take no responsability if you flash this. It doesn't work properly, it's not tested, it can be bad for your phone . ​
Second, if you want to install this, read carefully instructions, it's not packaged like a normal loop rom.
Last: special thanks to FXP team, it wouldn't have been this far with the work they did on CM10. I took few binaries from FXP release and few patches from Cyanogen repo, no way to make it run without the work they did.
Now, that the warning are there, here is the status:
What's working:
1) It boots
2) Audio
3) Phone call/sms
4) Wifi
What's not working:
1) Data
2) Storage
3) And much more
Pre-Installation:
1) You need around 2G free space on storage
2) It will replace your loop kernel but keeps the loopback files untouched
3) If you want to save your current kernel, you can do this from loopback recovery with adb:
Code:
adb shell ke 2 /tmp/zimage /tmp/initramfs
adb pull /tmp/zimage
adb pull /tmp/initramfs
Installation
From loopback recovery, install zip file.
Restore previous loopback rom
Flash build zip file without wiping data/cache
or if you saved your kernel previously:
Code:
adb push zimage /tmp
adb push initramfs /tmp
adb shell kf 2 /tmp/zimage /tmp/initramfs
adb shell sync
then boot your loopback build.
Download
Download rom here, mirrors.
FAQ
1) What is this ?
I started this to check status of Google/Sony AOSP experiment. I wanted to see how far they went and how it behaves.
2) Why not making it functional ?
As it is, it's not worth it. To have the running state I have, I had to patch google aosp source, patch kernel, fiddle with FXP binaries, etc... This build is a Frankenstein monster and it would take quite a big amount of work to end up with something that takes many things from CM and doesn't work as good as CM.
We'll see if Sony goes further in releasing proprietaries and source code, but without that, AOSP will end up in CM without CM bonus
Wow, this is far more superior than 0.1!
So now I can install every ROM on loops?
Vipitus said:
Wow, this is far more superior than 0.1!
So now I can install every ROM on loops?
Click to expand...
Click to collapse
No, that's not possible, you need adapted zip for it. Maybe in a future version, but I think it would be very difficult to patch cpio's on the fly.
I'll continue adapting few builds to give more choice though.
For now only CM9, yes?
---------- Post added at 10:02 PM ---------- Previous post was at 10:00 PM ----------
letama said:
(...)First make sure that your stock firmware is 6.1.A.2.56
Click to expand...
Click to collapse
Do this firmware exists?
Do you mean 6.1.A.2.45?
Oups, Yes, too much writing sorry typo fixed, thanks for noticing.
Cm9.1 only, I'll add more later on, cm10 is difficult because of uncompressed kernel, any other firmware in mind?
letama said:
Cm9.1 only, I'll add more later on, cm10 is difficult because of uncompressed kernel, any other firmware in mind?
Click to expand...
Click to collapse
AOKP JB, MIUI (on stock kernel)
AOKP is using CM10 kernel, so same problem, the 10+MB uncompressed kernel doesn't fit. I'll do MIUI first, it should be quicker...
make a stock + jb dual kernel too
thats needed most right now
Sent from my Xperia S using xda app-developers app
Letama sry i know you are tired but i didnt understand this with pack and repack stuff.
Do i have to do that by my self, or just flash and do what you write in first post?
And then i can switch from one rom to another on the go?
Sent from my LT26i
Seems download link for Cm9 is broken .
Sent from my Xperia S using xda premium
championswimmer said:
make a stock + jb dual kernel too
thats needed most right now
Sent from my Xperia S using xda app-developers app
Click to expand...
Click to collapse
+1
I usually don't do that, but I agree. Stock + JB is a must, I guess...
Sent from my LT26i with Tapatalk 2
This is really nice! Fascinating...
Great Job!
I have a Q ? I tried it many times when I finished flash the CM9.1 over the Custom kernel. It always boot on custom kernel. It doest show for me 2 choises like in your video @@
Do I must use 2 roms only in your first page ??

Categories

Resources