Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
So guys,
Today, I am feeling proud to share my custom kernel with you guys for Galaxy Star Duos S5282
Status - Untested [ Check it and post your reviews , I cant do so as I dont own this device ]
Features-
i) I have made boot insecure by editing build.prop from : :laugh:
Code:
ro.secure=1
*/
to
Code:
ro.secure=0
ii) Added Multi-Boot support in kernel by editing RamDisk
a) Adding a line in init.rc
Code:
mkdir /sde
b) Done some modifications in fstab.sp8810
Code:
# Android fstab file.
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
#
/dev/block/mmcblk0p21 /system ext4 ro wait
/dev/block/mmcblk0p25 /data ext4 noatime,nosuid,nodev,nomblk_io_submit wait,check,encryptable=footer
/dev/block/mmcblk0p20 /cache ext4 noatime,nosuid,nodev,nomblk_io_submit wait,check
/dev/block/mmcblk0p19 /efs ext4 noatime,nosuid,nodev,journal_async_commit,errors=panic wait,check
c) Some modifications in init.sp8810.rc
Code:
wait /dev/block/mmcblk0p14
mkdir /sde
mount vfat /dev/block/mmcblk0p14 /sde rw wait
exec /sbin/losetup /dev/block/loop1 /sde/your_folder/system.ext4
exec /sbin/losetup /dev/block/loop2 /sde/your_folder/data.ext4
exec /sbin/losetup /dev/block/loop3 /sde/your_folder/cache.ext4
exec /sbin/e2fsck -y /dev/block/loop2
d) Some slight modifications also in or stock kernel.
Download link - https://db.tt/0UdhbSaw
Note - This kernel is in beta stage and made for testing and final version will come soon.So, keep updated with thread.
Don't forget to press Thanks button
XDA:DevDB Information
Multi-Boot Kernel for S5282 Galaxy Star Duos, a Kernel for the Samsung Galaxy Star
Contributors
insomaniacdev, insomaniacdev, Rahul Singhal
Kernel Special Features: Now, You an install two roms side-by-side in your Galaxy Star S5282
Version Information
Status: Alpha
Current Beta Version: 1
Beta Release Date: 2014-04-27
Created 2014-04-27
Last Updated 2014-04-27
Only devs post here, no noobs please
Reserved
Can u give me flashify link?
CLICK THANKS IF YOU HELPED
dear @insomaniacdev
1. what is multi-boot ?
2. you just edit the ramdisk? not build from source ?
3. This is DevDB, then you have to upload the source code of your kernel.
cleverior.ipul said:
dear @insomaniacdev
1. what is multi-boot ?
2. you just edit the ramdisk? not build from source ?
3. This is DevDB, then you have to upload the source code of your kernel.
Click to expand...
Click to collapse
Buddy, by multi-boot you can use two roms simutaneously on a mobile i.e - when u turn on ur device it will ask you which rom to boot. N I havent made kernel from source
Just Call me Rahul
insomaniacdev said:
Buddy, by multi-boot you can use two roms simutaneously on a mobile i.e - when u turn on ur device it will ask you which rom to boot. N I havent made kernel from source
Just Call me Rahul
Click to expand...
Click to collapse
have u test it ? can u explain how it work?
Please be courteous to other members. Rude posting will not be tolerated. If there people you'd like to not see in your thread, we do have a handy "Ignore" list where you can add them.
Thread Cleaned. If there are any issues with the thread, please do report them rather than engaging.
A.cid
Forum Moderator
Rahul bro.
Pm me on whats app
Sent from my GT-S5282 using Tapatalk
insomaniacdev said:
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
So guys,
Today, I am feeling proud to share my custom kernel with you guys for Galaxy Star Duos S5282
Status - Untested [ Check it and post your reviews , I cant do so as I dont own this device ]
Features-
i) I have made boot insecure by editing build.prop from : :laugh:
Code:
ro.secure=1
*/
to
Code:
ro.secure=0
ii) Added Multi-Boot support in kernel by editing RamDisk
a) Adding a line in init.rc
Code:
mkdir /sde
b) Done some modifications in fstab.sp8810
Code:
# Android fstab file.
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
#
/dev/block/mmcblk0p21 /system ext4 ro wait
/dev/block/mmcblk0p25 /data ext4 noatime,nosuid,nodev,nomblk_io_submit wait,check,encryptable=footer
/dev/block/mmcblk0p20 /cache ext4 noatime,nosuid,nodev,nomblk_io_submit wait,check
/dev/block/mmcblk0p19 /efs ext4 noatime,nosuid,nodev,journal_async_commit,errors=panic wait,check
c) Some modifications in init.sp8810.rc
Code:
wait /dev/block/mmcblk0p14
mkdir /sde
mount vfat /dev/block/mmcblk0p14 /sde rw wait
exec /sbin/losetup /dev/block/loop1 /sde/your_folder/system.ext4
exec /sbin/losetup /dev/block/loop2 /sde/your_folder/data.ext4
exec /sbin/losetup /dev/block/loop3 /sde/your_folder/cache.ext4
exec /sbin/e2fsck -y /dev/block/loop2
d) Some slight modifications also in or stock kernel.
Download link - https://db.tt/0UdhbSaw
Note - This kernel is in beta stage and made for testing and final version will come soon.So, keep updated with thread.
Don't forget to press Thanks button
XDA:DevDB Information
Multi-Boot Kernel for S5282 Galaxy Star Duos, a Kernel for the Samsung Galaxy Star
Contributors
insomaniacdev, insomaniacdev, Rahul Singhal
Kernel Special Features: Now, You an install two roms side-by-side in your Galaxy Star S5282
Version Information
Status: Alpha
Current Beta Version: 1
Beta Release Date: 2014-04-27
Created 2014-04-27
Last Updated 2014-04-27
Only devs post here, no noobs please
Click to expand...
Click to collapse
Link dead.
Pls update it,I wanna test this.
Sent from my Galaxy Star Running T3 Romv2 using Xda premium app
monunj said:
Link dead.
Pls update it,I wanna test this.
Sent from my Galaxy Star Running T3 Romv2 using Xda premium app
Click to expand...
Click to collapse
The developer's account has been disabled so he wont update for a while
Sent from my GT-S5282 using Tapatalk
Mod Edit
Thread Closed
ronnie498
Forum Moderator
Related
Can any one provide me with guidance as to how can i get ext2 / ext3 and loop mount support in my Xperia X10i
i have upgraded to baseband 54 and currently using a custom rom 2.2.1
I am kind of confused about this and have been searching the whole forum for past many days please help me.
is it possible to get these modules in kernel without bootloader crack if yes do anyone have them.
my ultilmate aim is to get a linux installed in a loop mount device where i can have my custom softwares...
Mod : if this is not the correct place, please shift it to correct place
Requires kernel support. Now possible right now.
Sent from my X10
I see people using debian / ubuntu on xperia x10...
so please help me if possible.
loop mount / ext2 / ext3 /ext4 what ever my task is i want ubuntu / debian on my andriod machine.
anantshri said:
I see people using debian / ubuntu on xperia x10...
so please help me if possible.
loop mount / ext2 / ext3 /ext4 what ever my task is i want ubuntu / debian on my andriod machine.
Click to expand...
Click to collapse
Yes its possible... that's how the freex10-alpha release had dual boot...
On phone right now... will post exact commands later...
sent from FreeX10_beta4+CM6 settings
anantshri said:
I see people using debian / ubuntu on xperia x10...
so please help me if possible.
loop mount / ext2 / ext3 /ext4 what ever my task is i want ubuntu / debian on my andriod machine.
Click to expand...
Click to collapse
the following is from the boot hijack file 'chargemon' in FreeX10-alpha (which was dual boot and was running off sdcard)...
Code:
# Mount system and data ext2 images
losetup /dev/block/loop1 /sd/FreeX10/system.img
sleep 5
losetup /dev/block/loop2 /sd/FreeX10/data.img
sleep 5
e2fsck -y /dev/block/loop1
e2fsck -y /dev/block/loop2
mount -t ext2 -o rw,noatime,nodiratime /dev/block/loop1 /system
sleep 5
mount -t ext2 -o rw,noatime,nodiratime,nosuid,nodev /dev/block/loop2 /data
sleep 5
thanks to zdzihu & jerpelea for their work on FreeX10...
always do a full backup by xrecovery/nandroid before proceeding and keep flashtool ready with the firmware files or ur choice before trying out wht u planned...
incase u need some help refer to http://forum.xda-developers.com/showthread.php?t=955703
anantshri said:
Can any one provide me with guidance as to how can i get ext2 / ext3 and loop mount support in my Xperia X10i
i have upgraded to baseband 54 and currently using a custom rom 2.2.1
I am kind of confused about this and have been searching the whole forum for past many days please help me.
is it possible to get these modules in kernel without bootloader crack if yes do anyone have them.
my ultilmate aim is to get a linux installed in a loop mount device where i can have my custom softwares...
Mod : if this is not the correct place, please shift it to correct place
Click to expand...
Click to collapse
something i found which might be useful... http://www.talkandroid.com/31994-installing-ubuntu-on-your-motorola-xoom-tablet/
Thanks a lot for the help DoomLord,,,, i am able to loopmount now..
the problem that i had was the ubuntu bootscript tried mounting on loop2 and i am using App2SD so loop2 was already booked.
finally customized script to use loop99 and now it works fine....
Hallo, this is custom kernel ICS boot image for 6.1.1.B.1.10 (and for 6.1.1.B.1.54) + prerooted + CWM Touch recovery for Sony Xperia U + Memory Tweak + owerclock!
Latest pack have name MEMORY TWEAK!
First thing that I must to say is "disclaimer":
Everything that is not originally maded by Sony is custom thing, so everything from here is modified Sony files and these files is "custom files"! So before you go to play with these modified files keep in mind that everything from here is custom thing and you installing these things on your own risk! I no want and I will not be responsible if something go wrong, if you lost your private data, if your device can not boot ...etc...etc, you doing everything on your own risk!!! If you no want to risk than skip this thread!!!
Download Memory Tweak pack:
http://d-h.st/Equ
How to install:
unlocked bootloader reguire !
firmware 6.1.1.B.1.10 (or 6.1.1.B.1.54) reguire !
reboot to bootloader
extract ftr to adb folder and perform "fastboot flash boot ftr"
copy memory_tweak.zip to sdcard, reboot to recovery and install zip trought recovery menu "install zip from sdcard" and you are done
For some one who have problems with usb drivers:
http://d-h.st/Zqo
Changelog 13.Oct.2012.:
first test version
test version 2: added process list dumper
test version 3: fixed system partition mount
Changelog 16.Oct.2012.:
fixed usb
fixed adb
fixed mass storage mode
fixed bootflag "reboot to bootloader"
added support for leds when AC charger is connected
some cleanups in ramdisk
Note about ICS CWM based version: Root tools is not included so you need to install it folowing this thread -> http://forum.xda-developers.com/showpost.php?p=31910090&postcount=1. Boot image is prerooted!
Changelog 23.Oct.2012.:
fixed problems for remounting rootfs to "rw" + problems creating fstab + problems with busybox and command "mount" with containing 2 arguments only...
added tool in tools menu for one click skin changing
installable trought recovery menu "install zip from sd card", just copy zip to sdcard, reboot to recovery, go to menu "install zip from sd card", install it! If you had recovery runing from /system/recovery.tar + chargemon script, make sure to delete these old installation(delete and revert from system: recovery.tar must be deleted + charger must be renamed back to chargemon...!)
Memory Tweak custom kernel (v15) and recovery v14: Changelog 14.Dec.2012.:
recovery: fixed problem for assert board detection in updater-script
recovery: new tools submenu (you can change boot logo easilly)
kernel cpu governors: smartass2 + minmax + interactive + conservative + lulzactiveq + ondemandax + pegasusq + hotplug
kernel io schedulers: cfq + sio + vr
kernel swap feature enabled
kernel same page merging (aka ksm)
kernel: some improvement in memcpy and memmove
kernel: added owerclock 1.15 ghz
kernel: enabled most common needed (ipv4 and ipv6) xtables in iptables firewall
kernel: property set ramdisk phys base adress
kernel: cifs + nls_utf8 (you can mount network folders)
kernel: enabled some crypto functions
android feature: init.d and crontab support
android feature: Memory Tweak runing from crontab on every minute and free your memory so your memory after every minute is free for 80mb (android is very smooth after these tweak because have needed free available memory)
android feature: enabled kernel same page merging on boot
How to install: If you allready have my recovery installed than simple reboot to recovery and install memory_tweak.zip trought recovery menu "install zip from sdcard" and you are done! If you have not installed mine recovery than extract "ftr" from zip and flash it using fastboot "fastboot flash boot ftr", reboot to recovery and perform step for zip instalation trought recovery menu "install zip from sdcard". Donot change busybox because everything is programed to work with busybox included in zip! About "su", su included in zip is compatible only with superuser.apk (do not install super su because super su apk need another su binary! If you want super su you need to replace "su" in /system/xbin !!!)
Kernel source:
http://dl-developer.sonymobile.com/code/copylefts/6.1.B.0.544.tar.bz2
Recovery source:
Source was clone many times ago from Cyanogenmod git,
but mine modifications to recovery is not public, sorry!
Tip and tricks for my CWM version:
Did you know about our CWM that you can change menu and text colors, backgrounds? Yes you can do it by puting menu.txt into ramdisk /res/images folder by writing to menu.txt for example:
122,122,122,255,255,255
First 3 numbers is rgb color for menu and seccond 3 numbers is rgb color for text !!!
Here is some creative skins done to my HTC HD2 recovery by mlkjuggalo:
http://forum.xda-developers.com/attachment.php?attachmentid=873816&d=1327602621
http://forum.xda-developers.com/attachment.php?attachmentid=918464&d=1330133568
http://forum.xda-developers.com/attachment.php?attachmentid=919565&d=1330197024
http://forum.xda-developers.com/attachment.php?attachmentid=920011&d=1330223710
http://forum.xda-developers.com/attachment.php?attachmentid=922328&d=1330363561
http://forum.xda-developers.com/attachment.php?attachmentid=922789&d=1330384481
http://forum.xda-developers.com/attachment.php?attachmentid=923476&d=1330430278
http://forum.xda-developers.com/attachment.php?attachmentid=925079&d=1330523453
http://forum.xda-developers.com/attachment.php?attachmentid=925252&d=1330533287
http://forum.xda-developers.com/attachment.php?attachmentid=925800&d=1330560509
Credits:
full credits to author of the Clockworkmod Recovery
akkufix fox giving me ideas to fix usb
LeTama for great sin2raw tool and great split kernel tool
AnDyXX for cpu governors
every other who helped and tested our recovery
Warning!!! This boot+CWM reguire unlocked bootloader + stock chargemon!!! Do not use modified chargemon or chargemon that is SCRIPT!!! Double check if your /system/bin/chargemon is script or binary file (you can do it by android terminal emulator by command "cat /system/bin/chargemon" if you see clean text lines than its script, if you see unknown characters than you are sure that your chargemon is binary file!!! If chargemon is script do not use our boot+CWM!!! I am not responsible for any damages or data losts if you use custom chargemon!!! If chargemon is binary you can install our boot+CWM but you need to check if system partition in "mount and storage" is mountable and remountable before you going to erase system partition or to perform backups and restores !!! Allso check ps.log in your sdcard after booting recovery, just this CWM is in test stage for Xperia U and you need to be sure that "/system/bin..." processess is not in ps.log !!! Untill we are surre that these processess is not in ps.log and your chargemon is stock than our CWM will be safe!!!
CWM is safe only if you can not see "/system/bin/..." processes in ps.log !!!!!!!!!
reserved
Reserved
Sent from my LG-P500 using xda app-developers app
GREAT!!
For locked or unlocked bootloader??... Please for locked bootloader!!!
Nice! Thanks!
Awesome, lots of thanks.
Regards.
OUTPUT:
- adb shell find /sys | grep power_supply]
- adb shell find /sys | grep lun
- adb shell find /sys | grep brightness
- adb shell find /sys | grep android_usb
Tapatalked !
munjeni said:
reserved
Click to expand...
Click to collapse
Thank u man
Sent from my ST25i using xda premium
Omg!
Sent from my LG-P500 using xda app-developers app
@Rapier07 thank you! Please edit your post and delete all pictures, just for clean thread view...
munjeni said:
All done, just last step... please give me recovery.fstab !
@Rapier07 thank you! Please edit your post and delete all pictures, just for clean thread view...
Click to expand...
Click to collapse
Thank you for your efforts.
I don't own this device but I develop for this device
And its convenient to flash roms with ICS CWM.
So best of luck for your work.
And Again Thanks
Regards,
acervenky,
XPT
I can't find a recovery.fstab file, so I post here the fstab file:
Code:
# These declarations must match the mount statements in
# <buildroot>/device/semc/riogrande/files/init.riogrande.rc
/data ext4 /dev/block/mmcblk0p11
/cache ext4 /dev/block/mmcblk0p12
/modemfs ext4 /dev/block/mmcblk0p6
And the output of mount:
Code:
rootfs on / type rootfs (ro,relatime)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
none on /acct type cgroup (rw,relatime,cpuacct)
tmpfs on /mnt/asec type tmpfs (rw,relatime,mode=755,gid=1000)
tmpfs on /mnt/obb type tmpfs (rw,relatime,mode=755,gid=1000)
none on /dev/cpuctl type cgroup (rw,relatime,cpu)
tmpfs on /dev/shm type tmpfs (rw,relatime,mode=755,gid=1000)
/dev/block/mmcblk0p10 on /system type ext4 (ro,relatime,user_xattr,acl,barrier=1,data=ordered)
/dev/block/mmcblk0p11 on /data type ext4 (rw,nosuid,nodev,noatime,user_xattr,acl,barrier=1,data=ordered,noauto_da_alloc)
/dev/block/mmcblk0p12 on /cache type ext4 (rw,nosuid,nodev,noatime,user_xattr,acl,barrier=1,data=ordered)
/dev/block/mmcblk0p6 on /modemfs type ext4 (rw,nosuid,nodev,noatime,user_xattr,acl,barrier=1,data=ordered)
/dev/block/mmcblk0p8 on /data/idd type ext4 (rw,nosuid,nodev,noatime,user_xattr,acl,barrier=0,data=ordered)
/dev/block/vold/179:14 on /mnt/sdcard type vfat (rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
/dev/block/vold/179:14 on /mnt/secure/asec type vfat (rw,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)
tmpfs on /mnt/sdcard/.android_secure type tmpfs (ro,relatime,size=0k,mode=000)
Test version done! Please test, let me know, enjoy
Changelog 13.Oct.2012.:
first test version
Perfectly working
It work perfectly
dtaluthge said:
Perfectly working
Click to expand...
Click to collapse
Please test everything and let me know!
Is 5 colors mode before entering into recovery working?
Is vibration working?
Is touch buttons working?
Is leds working?
Is battery level working?
Is csreen size ok?
Is font size ok?
Is mouts working?
Is mounting usb storage working?
Is adb working?
Is sonny tools working?
Is "backup to zip" firmware installable from recovery?
Is wiping ok?
Is backup/restore working?
So everything
It can be done with a rooted phone and a locked bootloader?
canu7 said:
It can be done with a rooted phone and a locked bootloader?
Click to expand...
Click to collapse
Yes, but I not tried to overwrite boot partition when (rooted phone + locked bootloader), you can try to overwrite boot partition by using DD command! For now unlocked bootloader reguire + fastboot!
canu7 said:
It can be done with a rooted phone and a locked bootloader?
Click to expand...
Click to collapse
I use it with locked booloader but i can't mount system
atis112 said:
I use it with locked booloader but i can't mount system
Click to expand...
Click to collapse
You geting "fail to mount system partition" ?? I going to fix it now... please stay online I going to create test version 2...
Hi guys,
After years of using this site to read up on how-tos for my g1 and desire hd, I have finally hit a brick wall and need to post a question.
My mum won this GT-P7320T branded to telstra ( Australia) and overall, the hardware specs werent too bad, but before the ics update came out finally in january it was terribe to use.
The update has actually been a massive improvement, but being branded and all that junk is as annoying as hell, so i have decided to build my own rom. this is my first time building a rom. ive flashed plenty, but its a different kettle of fish.
i am using the telstra branded stock ics rom with rom kitchen to try to build something acceptable, but first things first, the compiled rom must boot.
because the device isnt supported i have to create i file in the /directory_to_kitchen/tools/edify_defs named GT-P7320T defining all the mount points.
this is where it gets tricky,
here is the contents of the /directory_to_kitchen/tools/edify_defs named GT-P7320T that i have created
#
# The values below should be set in each file in this folder.
#
# Each file represents a device name (set in ro.product.device of
# build.prop)
#
# If yes, then this device requires changing the mount point
# names in the new updater-script or update-script
# DO NOT SET TO 'yes' IF DEVICE IS BY DELL
change_mnt=yes
# If yes, the device is by Dell and requires changing the mount
# point names in the new updater-script or update-script
change_mnt_dell=no
#
# NOTE: The update-script will be converted to updater-script if the
# definition file for the device exists. If 'change_mnt' or
# 'change_mnt_dell' are set to 'yes' then the mount names will
# also be changed.
#
# Mention the mount point names if change_mnt=yes
# Use '\/' instead of '/'
# e.g. sys_mnt=\/dev\/block\/mcblk0p25
#extract from recovery.fstab
#/boot emmc /dev/block/mmcblk0p8
#/efs ext4 /dev/block/mmcblk0p21
#/cache ext4 /dev/block/mmcblk0p25
#/data ext4 /dev/block/mmcblk0p26 length=-16384
#/misc mtd misc
#/recovery emmc /dev/block/mmcblk0p22
#/sdcard vfat /dev/block/mmcblk0p28 /dev/block/mmcblk0
#/system ext4 /dev/block/mmcblk0p24
#
# If unknown, set to: ???
sys_mnt=\/dev\/block\/mmcblk0p24
cache_mnt=\/dev\/block\/mmcblk0p25
boot_mnt=\/dev\/block\/mmcblk0p8
data_mnt=\/dev\/block\/mmcblk0p26 #length=-16384
sdcard_mnt=\/dev\/block\/mmcblk0p28 #\/dev\/block\/mmcblk0
# Set this mount point for the modem.bin in Samsung devices like the Galaxy S2
modem_mnt=
# Set this mount point for the preload partition on some Samsung devices like the Galaxy S2
preload_mnt=
# Set this mount point if you know what it is (e.g. on Motorola Atrix)
webtop_mnt=
# Filesystem info for SYSTEM/DATA/CACHE/etc.
# e.g. param1=ext3, param2=EMMC
param1=ext4
param2=EMMC
# If SDCARD filesystem is different from above, then mention it
# e.g. param1_sdcard=vfat, param2_sdcard=MTD
param1_sdcard=vfat
param2_sdcard=
# If CACHE filesystem is different from above, then mention it
param1_cache=
param2_cache=
# If yes, the device does not require using a 'tmp' folder when
# flashing the boot.img in the updater-script
#
# e.g. package_extract_file("boot.img", "/dev/block/blah1");
fix_boot=no
# If yes, the device requires a 'tmp' folder when flashing the
# boot.img in the updater-script, PLUS the boot partition name
# needs to be used, rather than just 'boot'
#
# e.g. Replace: write_raw_image("/tmp/boot.img", "boot")
# with: write_raw_image("/tmp/boot.img", "/dev/block/blah1")
fix_boot2=no
# If yes, the device requires a 'dd' command to write the boot.img
#
# e.g. Replace: write_raw_image("/tmp/boot.img", "boot")
# with: run_program("/sbin/busybox", "dd", "if=/tmp/boot.img", "of=/dev/block/blah")
fix_boot3=no
# Device uses /cache instead of /tmp, e.g. when writing boot.img
use_cache_not_tmp=no
as you can see,
i have copied and pasted the contets of my recovery.fstab and commented it out as a reference.
this should be quite straight foward, but the mount points for data and sdcard hve additional parameters, which i dont know what to do with.
the parameters are currently commented out and i cannot get it to flash i've tried lots of different combinations but to no avail.
During flashing attempts it is giving me error 7, which to me seems to indicate a problem with setting the mount points.
could sombody please at least point me in the right direction? there is only one other custom rom for this device and i personally don't like it.
many thanks in advnce and i hope i have posted this in the right spot. im all new to this posting stuff and i cant post in any development forums yet
all good i sussed it. it just didnt like a few comments for some reason. ended up writing it by hand.
i am an engineering student and i would really like to look into this rom development a little further.
im thinking of porting cyanogenmod to it, would it be do-able? or is there a reason it hasnt been ported to it before?
Hello Guys,
This is my first thread in XDA and probably the most important one too. As the title says, I would like to introduce the awesome multiboot capabilities of Xperia U, Sola, Go, P developed by our favourite dev munjeni . Here is the original thread http://forum.xda-developers.com/showthread.php?t=2418241. Go there & give thanks to him for this awesome feature.
UPDATE: September 20, 2013
Made it to the Portal Homepage!!!!
Thanks all for your constant support for updating this thread and thanks to munjeni without whom this feature would've been just a dream
Portal Link: http://www.xda-developers.com/android/enable-multi-boot-on-the-xperia-u-sola-go/
Click to expand...
Click to collapse
So, What is Multiboot ?
Ever got tired of flashing ROM again & again because of bootloop or to choose a good ROM?? Well news flash, now u don't have to. U can install multiple operating system in your ROM just like you do in your computer. Don't like the new ROM? Just switch your ROM to previous one with just a click. No flashing, wiping needed. The secondary ROM will be loaded from the sdcard partition.
WARNING: Your warranty is already void. You will do this at your own risk. Me or XDA will take no responsibility if you brick your device while attempting to do these.
Requirements
ADB connection. Please check if you can connect adb in normal mode, recovery mode, fastboot mode. It's mandatory.
Rooted phone with unlocked bootloader
Any text editor except notepad, microsoft word or wordpad.
It is recommended to edit all files in PC with text editors and with unix/utf-8 format.
Brain & Brave heart
This is a step by step guide to enable multiboot intended for all users including noobs like me . The whole process is divided into several parts. First I'll guide you to boot your current rom (primary rom) through boot menu. Then I'll cover how to boot the second rom.
So, Let's Get Started !!!!
Booting Into Primary/Current ROM
Part 1: Configure BootMenu Settings
So, the basic is this: when you power on your device, a menu will appear containing the list of ROMs' you have installed in your device. You browse it and select which ROM you want to boot. Then it'll be loaded. Pretty simple, eh ? But how will this menu figure out which ROM you have in your device? That's right, we have to define them.
Create a folder named "bootmenu" in your sdcard
Inside the folder, create a file named "settings.ini"
Now say you have stock JB 4.1.2 installed. So create a folder inside "bootmenu" named "StockJB". Also we have to create another folder "recovery" so that we have cwm recovery in Boot.
Don't use space while naming the folder. Otherwise bootmenu will show error at startup.
Now we have to edit the settings.ini file. Copy it to desktop and open it with text editor. Write these code....
Code:
[rom-1]
menutitle=Stock JB
kernel=/sdcard/bootmenu/StockJB/zImage
ramdisk=/sdcard/bootmenu/StockJB/initrd.gz
cmdline=[COLOR="Red"]your_cmdline[/COLOR]
[rom-2]
menutitle=CWM Touch Recovery
kernel=/sdcard/bootmenu/recovery/zImage
ramdisk=/sdcard/bootmenu/recovery/initrd.gz
cmdline=[COLOR="Red"]your_cmdline[/COLOR]
Let's explain these. "menutitle" is the name that'll appear in the menu when you power on the device. kernel, ramdisk, cmdline will be extracted from the boot.img that is provided with the ROM. More info about extracting them will be discussed later. You can see that in the kernel,ramdisk we have to set the path to the StockJB and recovery folder we created earlier. There are 2 rom settings for stock jb & recovery. If you want to have more ROM, you have to add another rom settings here. "cmdline" is kernel command line. You can find it when you extract boot.img or kernel.elf (see part 2). Open it with editor and copy-paste the whole text in your_cmdline. Now, ROM1 here will be the default rom i.e if you don't select any rom to load in 10 seconds, bootmenu will automatically load the ROM1 defined here :good:. After you're done editing simply overwrite the settings.ini with your new settings.ini in bootmenu folder. That's the end of first part. We'll come back to these folder again later.
Part 2: Extracting boot.img
Now we'll dive into more complex steps. We'll extract the kernel(zImage) and ramdisk(initrd.gz) from the boot.img that is provided with the rom.zip package. We'll need some tools to do that. Download the image_tools.rar from download section. Extract the files and copy them to your /system/bin folder. Make sure to give them permission 755 or rwx r-x r-x. Reboot your phone to apply the changes.
Now extract your current ROMs' boot.img and copy it to /data/local/tmp folder. Now connect your phone with pc, establish adb connection and follow the given code:
Code:
adb shell
su
cd /data/local/tmp
mkdir boot
kernel_dump ./boot boot.img
{
"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"
}
this will dump kernel(zImage), ramdisk(initrd.gz) and cmdline to your /data/local/tmp/boot folder. For elf based kernel, just change the boot.img with kernel.elf.
Part 3: Ready the ROM For Booting
We will be using ramdisk(initrd.gz) only from the dumped folder since the kernel(zImage) inside it is not kexec patched!!! (If zImage is kexec patched, then use that one rather than from download section). Download the zImage, bootmenu, recovery ramdisk from download section. Extract it, you will find zImage inside it along with another initrd.gz and a modules folder. Copy both zImage & initrd.gz from the downloaded folder and paste it in /sdcard/bootmenu/recovery folder that you created earlier. Now copy the recently dumped initrd.gz from /data/local/tmp/boot to /sdcard/bootmenu/StockJB that you created. For zImage copy the appropriate one for ICS/JB from downloads and paste in here. The folder structure will look like these:
/sdcard/bootmenu
Stock_JB
initrd.gz (from /data/local/tmp/boot folder)
zImage (from downloads)
recovery
initrd.gz (from downloads)
zImage (from downloads)
settings.ini
Note: When custom kernel with kexec patch will be released, you will use zImage, initrd.gz from that kernel.
We're nearly there. Only two thing remains. Since we'll use munjenis' JB kernel(zImage) or DevSwift1s' ICS kernel we need to flash the proper module for that kernel. Otherwise wifi & other module will not work. So copy the modules from modules folder and paste it in /system/lib/modules folder. Give them permission 644 or rw- r-- r--. Now you have to flash the boot_menu.img to get the menu at startup. That's simple, download the boot_menu.img from download section and flash it by fastboot.
That's it!!! Your current ROM (primary rom) is ready for booting. Reboot your device and you'll enter bootmenu. You'll find options for your Stock JB and CWM Touch Recovery. Simply select your rom and you'll boot into your Primary ROM :laugh::laugh:. Your bootmenu will look like these except you'll have Stock JB option (I'm using SlimBean & CM 10.1 ).
Downloads
Xperia U (JB)1) packing, unpacking ->View attachment image_tools.rar
2) zImage. modules, recovery ramdisk -> View attachment cwm.rar
3) bootmenu -> View attachment boot_menu.img
Click to expand...
Click to collapse
Xperia Sola (JB)1) packing, unpacking ->View attachment image_tools.rar
2) zImage, modules, recovery ramdisk, bootmenu
Click to expand...
Click to collapse
Xperia Go (JB)1) packing, unpacking ->View attachment image_tools.rar
2) bootmenu
3) zImage, modules, recovery ramdisk
Click to expand...
Click to collapse
Xperia P Download from this thread http://forum.xda-developers.com/xperia-u/p-development/-t2647623
Click to expand...
Click to collapse
Xperia U, Sola, Go (ICS)1) packing, unpacking -> same as JB
2) zImage. modules, -> here
3) recovery ramdisk, bootmenu -> same as JB
Click to expand...
Click to collapse
Customized Bootmenu, Recoveryhttp://forum.xda-developers.com/showpost.php?p=45733631&postcount=349
Click to expand...
Click to collapse
::Credits::
@munjeni bro for this awesome feature in our awesome device. ALL HAIL MUNJENI
@DevSwift1 for providing ICS kexec patched kernel
@percy_g2 for his work on Xperia P
Me, for writing this guide
Welcome to the second part of this guide . Here I'll cover how to create partitions in sdcard and from them how to boot the second ROM. Things that you need to know before doing this:
First if you do these, I'm assuming you've succeeded in booting into primary ROM. If not, please don't do this.
You need to have some space in your sdcard (depends on your rom size).
You can't use CWM Touch Recovery (created earlier) in your second ROM. You have to use its' own recovery. But its' recovery also won't work without modification. It'll be discussed in part2.
You can't flash ROM.zip normally on second ROM. For that you have to modify your updater-script a little bit. It'll be discussed in part 3.
Getting worried? Well, don't be. It's easy if you follow the steps thoroughly :fingers-crossed:
Let's get started!!!
Booting Into Second ROM
From Internal Storage
Part 1: Creating Partition in SDCARD
We have to create three separate partition. One for system, one for data & last one for cache since your current roms' data, system, cache won't match with your second rom. Now say you want CM 10.1 as your second rom. It's size is around ~175MB. After unzipped it is ~290MB and with gapps it becomes ~450MB. So we'll create around 600~650MB sized system partition. Always create system with more space otherwise android will fail to boot.
Enough talk. Let's jump into action. Connect your phone, establish ADB connection do as the following:
Code:
adb shell
su
df
this'll show all your mounted partitions and their status. See that system is mounted at /dev/block/mmcblk0p10, data is mounted in /dev/block/mmcblk0p11, cache in /dev/block/mmcblk0p12 (see screenshot). We need to remember this for future use.
Now to create all partitions do as following after reading the explanation below:
Code:
[B][CENTER]##### for system partition only ([COLOR="red"]Updated[/COLOR]) #####[/CENTER][/B]
[COLOR="Red"]dd if=/dev/zero of=/sdcard/your_desired_folder/system.ext4 bs=4096 count=(your desired size)[/COLOR]
###### wait till the partitions is created ######
[COLOR="Red"]losetup /dev/block/loop1 /sdcard/your_desired_folder/system.ext4
blkid /dev/block/mmcblk0p10 ([COLOR="blue"]this'll give you a UUID[/COLOR])
mke2fs -T ext4 -O has_journal,extent,huge_file,flex_bg,uninit_bg,dir_nlink,extra_isize -U ([COLOR="Blue"]paste here your UUID[/COLOR]) -I 256 /dev/block/loop1
losetup -d /dev/block/loop1[/COLOR]
[B][CENTER]##### for data,cache partition #####[/CENTER][/B]
dd if=/dev/zero of=/sdcard/your_desired_folder/data.ext4 bs=4096 count=[COLOR="Blue"][B]76800[/B][/COLOR]
###### wait till the partitions is created ######
dd if=/dev/zero of=/sdcard/your_desired_folder/cache.ext4 bs=4096 count=(your desired size)
###### wait till the partitions is created ######
Ok, let's explain these. "dd" comand will create partition based on the parameter given by you. So in these case partition will be created from /dev/zero to /sdcard/your_folder. Be careful, don't switch "if" with "of" and "of" with "if", it may brick your device. Notice that there are some other parameters. "bs" is the blocksize of your new partition and it's default value is 4096KB(4MB). Don't change it. Let's say you want to create data partition with size of 300MB (cause you don't use many apps). So 300/4(block size) = 75 and 75*1024 = 76800. That's the "count" parameter. So modify system, data, cache size according to your needs but make sure that you have enough space to create your desired partition. "losetup" basically sets up the loop so that you can mount your partition into that loop.
Update: You can now create system partition with exact amount of size instead of cloning them ( big thanks to munjeni again ). Before, creating specific sized system partition caused bootloop cause it was missing an unique identifier (UUID). Now it has been fixed (marked with red code).
Now comes more complex steps. You need to make sure to avoid any partition corruption and check for errors. Reboot your phone to bootmenu and press any key to avoid auto restart. Keep the device in boot menu. Now again check your adb connection and do these:
Code:
adb shell
losetup /dev/block/loop1 /sdcard/your_folder/system.ext4
losetup /dev/block/loop2 /sdcard/your_folder/data.ext4
losetup /dev/block/loop3 /sdcard/your_folder/cache.ext4
##### To pack/unpack ext4 #####
make_ext4fs /dev/block/loop1
make_ext4fs /dev/block/loop2
make_ext4fs /dev/block/loop3
##### To check for error #####
e2fsck -f -y /dev/block/loop1
e2fsck -f -y /dev/block/loop2
e2fsck -f -y /dev/block/loop3
##### for tuning and cleaning up ([COLOR="red"]just loop2 & loop3[/COLOR]) #####
tune2fs -o journal_data_writeback /dev/block/loop2
tune2fs -o journal_data_writeback /dev/block/loop3
##### unmount loop and sdcard #####
losetup -d /dev/block/loop1
losetup -d /dev/block/loop2
losetup -d /dev/block/loop3
umount /sdcard
##### reboot #####
exit
adb reboot
That's it!!!! Your new partitions are now ready for booting. :laugh::laugh:
Part 2: Modifying Second ROMs' Ramdisk
So while booting into primary rom, we simply put the ramdisk in /sdcard/bootmenu/StockJB without modifying it. Why do we need to modify it for second rom? Well unless modified, all your recoveries will recognize only your primary rom. So If you flash a rom thinking that it'll be installed in second rom, you'll see it got installed in your primary rom!!! So we'll modify the second roms' recovery so that it can use second rom while cwm touch recovery will use primary rom. Two recoveries for two roms
First, extract boot.img from your second roms' zip file and place it in /data/local/tmp folder (if any boot.img or boot folder is present there just delete it). Then extract the boot.img the same way as discussed in 1st post (part2). Then you'll have boot folder in /data/local/tmp. After that do as following:
Code:
cd /data/local/tmp/boot
mkdir ramdisk
cd ramdisk
gunzip < ../initrd.gz | cpio -i -d
this'll extract ramdisk(initrd.gz) in the ramdisk folder inside boot folder. copy this ramdisk folder in your desktop. Inside there are many files. We only need to modify some of them. Ok, change these files in the following area:
For JB Ramdisk
init.rc
find line "mkdir /system" and add line: "mkdir /sde" before line mkdir /system"
Click to expand...
Click to collapse
fstab.st-ericsson
# Android fstab file.
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
/dev/block/mmcblk0p6 /modemfs ext4 noatime,nosuid,nodev,nomblk_io_submit,errors=panic wait,check
/dev/block/loop1 /system ext4 ro wait
/dev/block/loop2 /data ext4 noatime,nosuid,nodev,nomblk_io_submit,errors=panic wait,check
/dev/block/loop3 /cache ext4 noatime,nosuid,nodev,nomblk_io_submit,errors=panic wait,check
Click to expand...
Click to collapse
recovery.fstab
# mount point fstype device [device2] fstype2
/boot emmc /dev/null
/system ext4 /dev/block/loop1
/data ext4 /dev/block/loop2
/cache ext4 /dev/block/loop3
/sdcard vfat /dev/block/mmcblk0p14
/external_sd vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1
Click to expand...
Click to collapse
init.st-ericsson.rc
on fs
# If you change anything here, make sure to update
# <root>/vendor/semc/system/bootstrap/masterreset/fstab.riogrande
# accordingly.
setprop ro.crypto.state unsupported
wait /dev/block/mmcblk0p14
mkdir /sde
mount vfat /dev/block/mmcblk0p14 /sde rw wait
exec /sbin/losetup /dev/block/loop1 /sde/your_folder/system.ext4
exec /sbin/losetup /dev/block/loop2 /sde/your_folder/data.ext4
exec /sbin/losetup /dev/block/loop3 /sde/your_folder/cache.ext4
exec /sbin/e2fsck -y /dev/block/loop2
mount_all fstab.st-ericsson
# SEMC: Start the TrimArea Daemon and early TA-users
Click to expand...
Click to collapse
For ICS Ramdisk
fstab (if doesn't exist, ignore it)
# These declarations must match the mount statements in
# <buildroot>/device/semc/riogrande/files/init.riogrande.rc
/data ext4 /dev/block/loop2
/cache ext4 /dev/block/loop3
/modemfs ext4 /dev/block/mmcblk0p6
Click to expand...
Click to collapse
init.rc
find line "mkdir /system" and add line: "mkdir /sde" before line mkdir /system"
Click to expand...
Click to collapse
recovery.fstab
# mount point fstype device [device2] fstype2
/boot emmc /dev/null
/system ext4 /dev/block/loop1
/data ext4 /dev/block/loop2
/cache ext4 /dev/block/loop3
/sdcard vfat /dev/block/mmcblk0p14
#/sd-ext ext4 /dev/block/mmcblk0p2
/emmc vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1
Click to expand...
Click to collapse
init.st-ericsson.rc (red lines are modified & blue lines are new)
on fs
# If you change anything here, make sure to update
# <root>/vendor/semc/system/bootstrap/masterreset/fstab.riogrande
# accordingly.
# Wait for eMMC device to become available
wait /dev/block/mmcblk0p14
mkdir /sde
mount vfat /dev/block/mmcblk0p14 /sde rw
exec /sbin/losetup /dev/block/loop1 /sde/your_folder/system.ext4
exec /sbin/losetup /dev/block/loop2 /sde/your_folder/data.ext4
exec /sbin/losetup /dev/block/loop3 /sde/your_folder/cache.ext4
# Mount system partition
mount ext4 /dev/block/loop1 /system ro
# Mount user data partition
exec /system/bin/logwrapper /system/bin/e2fsck -y /dev/block/loop2
setprop ro.crypto.state unsupported
mount ext4 /dev/block/loop2 /data nosuid nodev noatime noauto_da_alloc
# Mount cache partition
mount ext4 /dev/block/loop3 /cache nosuid nodev noatime
mount ext4 /dev/block/mmcblk0p6 /modemfs nosuid nodev noatime
# FOTA must be started after partitions are mounted
# and property service is initialized
exec /sbin/fota-ua c
Click to expand...
Click to collapse
That's it. You're done editing. Now save & copy these modified files to your /data/local/tmp/boot/ramdisk folder. Then in cmd do as the following:
Code:
cd /data/local/tmp/boot
mkbootfs ./ramdisk | gzip > initrd.gz
this'll repack the ramdisk folder into initrd.gz and save it in /data/local/tmp/boot folder. Make a new folder in your /sdcard/bootmenu for the new rom and copy this initrd.gz to that folder. Also copy the appropriate zImage for ICS/JB and paste it here. Add a new rom settings in settings.ini for this rom. Now you've your ramdisk ready and modified for flashing zips in second rom .
Part 3: Finishing Touch
We're at the end of this long road. You just have to modify your "rom.zip"s updater-script so that it flashes the rom in your newly created partition. Extract your updater-script, open it with editor. Remember that we saw system is in /dev/block/mmcblk0p10, data in /dev/block/mmcblk0p11, cache in /dev/block/mmcblk0p12. Find all the lines that start with "format" or "mount" (example format("ext4", "EMMC", "/dev/block/mmcblk0p10", "0")) and replace the /dev/block/mmcblk0p10 with /dev/block/loop1, /dev/block/mmcblk0p11 with /dev/block/loop2 and /dev/block/mmcblk0p12 with /dev/block/loop3. Also remove the function that flashes the kernel. It's usually at the end of the script. Just search for kernel.elf or boot.img and delete that function. Save the updater-script and push it into the zip with winrar. Choose compression "store".
NOTE: If you forget to remove the kernel function then don't worry. It just removes your bootmenu when you flash the second rom. Just power off the device after flashing and flash boot_menu.img again by fastboot.
Now reboot to bootmenu, your second roms' title that you defined in settings.ini will appear here. Select it, then phone will restart and load your second rom. Press vol. down repeatedly to enter its' recovery. From there flash your second rom. Reboot again to bootmenu and select second rom again. Now you'll see second ROM BOOTING !!!!!!! :good::good:
Hope it is clear to all of you. I tried my best to explain everything. If you need help, feel free to post. Also if you like my guide, give it a 5 star and press thanks to appreciate my work
================== THE END ==================
F.A.Q
1. Will this work on GB,ICS ?
Ans: Now Working For ICS based ROM too. See this post for kexec patched kernels ICS kernel with kexec support
For GB, you have to wait for kernel.
2. How can I remove the second ROM ?
Ans: Make sure you are in primary ROM, then just delete the 3 partitions from sdcard.
3. Can't unmount sdcard: device or resource busy
Ans: Type fuser -km /sdcard. It'll kill all the process that's keeping your sdcard busy. Then unmount sdcard.
4. Getting status 7 error ?
Ans: Delete assert function from updater-script.
5. Wifi's not working even after flashing modules from attachment ?
Ans: Unpack initrd.gz and see if there's a lib/modules folder inside it. If it exists and deep inside there are 2 modules, then you need to replace them with the ones from attachment.
6.Getting status 6 error no matter what ?
Ans: Always edit files in unix/utf-8 format and use compression method store to push files in zip. NEVER USE DOS FORMAT.
7.Getting "somthing went wrong. please see log!" in bootmenu ?
Ans: You have done something wrong in settings.ini or folder naming. Check again.
Very good tut. Men !
Nice Bro,
So we don't need system.ext4, data.ext4 and cache.ext4 in sdcard?
I think this thread belong to Xperia U develompent section.
JohnLouise said:
Very good tut. Men !
Click to expand...
Click to collapse
thnx
mohammadagha said:
Nice Bro,
So we don't need system.ext4, data.ext4 and cache.ext4 in sdcard?
I think this thread belong to Xperia U develompent section.
Click to expand...
Click to collapse
Yes we'll need them for second ROM. I'll upload guides for them soon
If it belongs to dev section, pls can someone tell the moderator to move it ?
Nice
You are the best :good::laugh:
Good start!
very nice tutorial
@NoobCoder How the hell did u take screenshot in bootmenu recovery bro? :laugh:
Delete this thread fast and make new one in Development section because if u wait for Moderators and they say u can not move thread, Many pepole will lost this good thread.:good:
NoobCoder said:
I'll upload soon guides for booting into second ROM. Pls be patient
Click to expand...
Click to collapse
Thanks for this bro.... waiting for other part..... :cheers:
Anthrax said:
Thanks for this bro.... waiting for other part..... :cheers:
Click to expand...
Click to collapse
cmdline in setting.ini belongs to Xperia U, You can find it for sola, Just open kernel.elf for sola with notepad, You can find it at the end of notes.
mohammadagha said:
@NoobCoder How the hell did u take screenshot in bootmenu recovery bro? :laugh:
Delete this thread fast and make new one in Development section because if u wait for Moderators and they say u can not move thread, Many pepole will lost this good thread.:good:
Click to expand...
Click to collapse
By DDMS . Also I reported this thread to move into the dev section, but moderator said this is the right section. Anyway to all users, please report this thread to make it sticky/pinned so that no one have any problems finding it
in step 2 i got this error in cmd:
Using existing folder ./boot
dd: can't open 'boot.img': No such file or directory
FAILURE to dump boot.img to ./boot! Pllease try another folder!
I know what kernel i'm using so can i just extract it with winrar
can u post same for Xperia P
dd98 said:
in step 2 i got this error in cmd:
Using existing folder ./boot
dd: can't open 'boot.img': No such file or directory
FAILURE to dump boot.img to ./boot! Pllease try another folder!
I know what kernel i'm using so can i just extract it with winrar
Click to expand...
Click to collapse
No, boot.img can't be extracted with winrar. you copied the boot.img to /data/local/tmp, right ? Please provide a screenshot if this doesn't help you.
Aamirx12 said:
can u post same for Xperia P
Click to expand...
Click to collapse
Sorry bro, munjeni stopped P's development. So I can't do it
Thanks mate! I was waiting for this for a long time. It ws actually ment for go and sola, but ultimately, munjeni ended up with developing it for U
Thanks to him too!
One more question.
What exactly i have to do to make this for sola?
Sorry to bother you..
Sent from my MT27i using xda app-developers app
cpkunki said:
Thanks mate! I was waiting for this for a long time. It ws actually ment for go and sola, but ultimately, munjeni ended up with developing it for U
Thanks to him too!
One more question.
What exactly i have to do to make this for sola?
Sorry to bother you..
Sent from my MT27i using xda app-developers app
Click to expand...
Click to collapse
Guess we're the lucky ones . Also there were many user who tried to test. That encouraged munjeni bro to keep the thread updated.
I'll check files uploaded by munjeni to get an idea how to do it in sola. But I think he mentioned it in post 4 in sola section. Check that and follow this guide. I'm sure you'll be able to do it
Can't umount
When I write umount /sdcard (final step) the CMD say me: can't umount /storage/sdcard0: Device or resource busy.
But I have 1.2 gb free space in the SD. Why?
cesanaboia said:
When I write umount /sdcard (final step) the CMD say me: can't umount /storage/sdcard0: Device or resource busy.
But I have 1.2 gb free space in the SD. Why?
Click to expand...
Click to collapse
That's strange. It didn't occur to me. You have 1.2GB free after creating all partition or before? If before, then you have to free more space. If it doesn't help, pls post a screenshot. Also don't create partitions yet. I'll update the post with new code.
Sent from my Xperia U using Tapatalk 2
I am developing a custom ROM android 5.0 Lollipop for Micromax Elanza A121. I need the mount points for my device to create updater-script. Please someone help me in getting those mount points from device. I have already found two posts here regarding mount points but not explanatory. I want a detailed instruction..Please help..
dineshj92 said:
I am developing a custom ROM android 5.0 Lollipop for Micromax Elanza A121. I need the mount points for my device to create updater-script. Please someone help me in getting those mount points from device. I have already found two posts here regarding mount points but not explanatory. I want a detailed instruction..Please help..
Click to expand...
Click to collapse
You can use the following sources for gathering info about your partitions:
* The fstab of your stock Android system (/fstab.*)
* /proc/partitions
* /proc/emmc or /proc/mtd or /proc/dumchar_info if these exist
* the symlinks in /dev/block/platform/*
_that said:
You can use the following sources for gathering info about your partitions:
* The fstab of your stock Android system (/fstab.*)
* /proc/partitions
* /proc/emmc or /proc/mtd or /proc/dumchar_info if these exist
* the symlinks in /dev/block/platform/*
Click to expand...
Click to collapse
Haha I have to figure out how to write it in an updater script
Sent from my SM-G925V using XDA Free mobile app