How create ROM having only boot.img? [some progress] - Android

Hello ,I don't have popular device (allview x1 xtreme mini). I want to create custom ROM for this device. Problem is in source ... I don't have it. I found clone of my device (IUNI U2) but this device also doesn't have source in internet. I only have basic files like: system.img ,recovery.img ,data.img ,boot.img etc. I extracted ramdisk ,kernel and dts (Device Tree Source) from boot.img but I don't know what to do next? PLS HELP! [Sorry for my english] (No one help?)

Related

[REQ] Apply patch(diff) with resources & Compile

Hello everyone,
I am really have difficulties with this one, I have been trying over and over and I just haven't succeeded yet, so I came looking and hoping for some help around here .
Like the title say, I need to:
1) Apply patch(diff) with resources.
2) Compile.
The files:
Diff
Resources
I really hope there are someone out there who can take a few minutes or so to help me out, because I am stuck at this myself, I really need some help!
Thanks in advance.
Goto the root of your source code folder (e.g. cd ~/android/system)
apply patch by using:
- "patch -p1 < "
after ">" has to be a "blank space" (press spacebar),
- now drop your patch file in to the terminal window, (this will add the path to the patch file),
- run the created command
- place recources files to:
/<root of your source code folder>/system/core/res/res/drawable-hdpi
i think this require the ROM source code and Programming tools or Linux OS to run.
it not like windows got GUI to let you click in 1 buttom.
more datails please ??
i really like to port iy to my devcice
hope someone can help-me
:crying::crying:

[RECOVERY] TWRP 2.4.3 (downloads + DIY How-to) [for CM10/AOKP/PAC-man]

DISCLAIMER: I own Xperia X10, Xperia J, Xperia Tipo, Xperia S and Xperia V, releases of all other phones are not personally tested by me. But since the kernel is the same in FXP/KXP ROMs I presume they would not harm your device in any way
Huge props go to all TeamWIn people like Dees_Troy and bigbiff and everyone else for developing this awesome recovery and lots of thanks to FreeXperia Team (FXP, Kali-, codeworkx, bin4ry,) for maintaining device configs for Xperias
This recovery is embedded into the ramdisk of a normal AOKP 4.1.2 bootimage. The kernels are same as the latest AOKP released by KXP team. These kernels should work with FXP's CM10, and other ROM's based of it (KXP ROM, Pac-man, officialCM10 etc). These kernels will not work on stock/cm7/cm9/blah/blah/any other ROM.
INSTRUCTIONS :
1. Download the zip file for your device (twrp2.4.3-xxxxx.zip)
2. Extract the boot.img from zip on your PC, and copy the whole zip file on device's SDcard.
3. Fastboot the kernel using the terminal command
Code:
fastboot flash boot boot.img
4. To enter recovery, when LED is pink press {vol up for 2012 models} or {vol down for 2011 models}
5. Flash zip that you kept in sdcard from recovery (wifi/OTG/etc will not work without proper modules flashed).
6. Enjoy
DOWNLOADS:
Mirror1 |or| Mirror2
download according to your device name in this list
Code:
[LIST]
[*]anzu Arc/ArcS
[*]aoba ION
[*]coconut Live with WALKMAN
[*]haida Neo V
[*]hallon Neo
[*]hayabusa TX
[*]hikari Acro S
[*]jlo J
[*]iyokan Pro
[*]mango MiniPro
[*]mesona Miro
[*]mint T
[*]nozomi S/SL
[*]satsuma Active
[*]smultron Mini
[*]tapioca Tipo
[*]tsubasa V
[*]urushi Ray
[*]zeus Play
[*]zeusc Play CDMA
[/LIST]
CHANGELOG :
All official changes to TWRP is found on http://teamw.in
Code:
=============twrp 2.4.3
code updated to oficial twrp 2.4.3.0
new device J, Tipo, Miro supported
=============twrp2.4
code updated to official twrp 2.4.1.0
fixed "/boot not found" error on 2011 phones
=============twrp 2.3
official twrp 2.3 sources
first release
=======================================================================================
for advanced users/devs/modders/porters
=======================================================================================
SOURCES:
The kernels present inside the bootimages are compiled from these sources
https://github.com/KangXperiaProject/android_kernel_sony_msm7x27a (for Tipo, J, Miro)
https://github.com/KangXperiaProject/android_kernel_sony_msm8x60 (for S,Ion,AcroS, T, V, TX)
https://github.com/KangXperiaProject/android_kernel_semc_msm7x30 (for all 2011 model phones)
The device configs are found on
https://github.com/KangXperiaProject/android_device_semc_<yourdevicename> (for all 2011 model phones)
https://github.com/KangXperiaProject/android_device_sony_<yourdevicename> (for all 2012 model phones)
you can also see our merged commits to see the precise patch we applied on each repository to be able to build TWRP
http://smartdev.com.pl:8080/#/q/status:merged,n,z
BUILD FROM SOURCE
To build TWRP for your Xperia,
1. merge the patch to enable TWRP on your own device tree (for eg. http://smartdev.com.pl:8080/#/c/239/ for Xperia T)
2. replace /bootable/recovery folder with TWRP (as mentioned here http://forum.xda-developers.com/showthread.php?t=2069242)
3. If your build folder is not from CM, switch to CM's build folder (i.e the android_build repo)
4. lunch ; mka bootimage;
PORT TO STOCK/ICS/YOU-FAVOURITE-KERNEL
A boot.img consists of the kernel image and the ramdisk (additionally and optionally RPM.bin and commandline). If you want to use TWRP for some other kernel, you have to do this
1. decompile this boot.img (for 2011 models it's a true boot.img, for 2012 models, it's actually a kernel.elf file renamed to boot.img, so you have to decompile accourdingly. you can use my kernel kitchen to do the same)
2. replace the kernel zImage with the one from the kernel you want to port to
3. replace /sbin/ramdisk.cpio with the "UNCOMPRESSED" ramdisk of the kernel you want to port this to. (usually ramdisk is compressed with gzip i.e. ramdisk.cpio.gz. you need to uncompressed ramdisk image i.e. ramdisk.cpio)
4. do not touch anyother thing
5. pack it up into a boot.img (for 2011) or kernel.elf (for 2012) and fastboot it
============================================================================================
BUGS AND SUPPORT
If you have any problem with this please please please post only on this thread, not on any other thread or not on PM.
Please send me the recovery log wherever possible, and also kmsg/dmesg if you can.
If you need assistance porting TWRP to your kernel, or building from source[only for Xperia phones that I have provided builds for], then also you can post here.
You have a lot of devices, LOL
Great Job, this is really awesome.
I am going to try this
Sent from my ST15i using xda app-developers app
hey man
I am unable to open the links of patches.
the link says connection refused.
I want to compile TWRP in PAC kernel
EDIT:
Must be my broadband problem. I am able to open your gerrit using my 3g net
Sorry
Known problems:
Backup/restore .android_secure (apps move to sdcard) does not work
Reboot to recovery from TWRP does not work
Executing terminal commands from TWRP does not work
Hardware keyboard does not work
Backspace of software keyboard does not work
USB mount
(compiled today / tested on mango)
good,, will you update to latest twrp 2.6?

Help Needed In Modifing Kernel For Ported Rom

Unpack the kernel from PORTED
Unpack your Device's kernel
Open PORTED's init.rc
Replace the BOOTCLASSPATH from PORTED's init.rc to BASE's init.rc
Compare the two files, and addon to your Kernel's init.rc
Packup/Repack your Kernel
These are the steps i need a Dev who can unpack and repack the kernel for me as i dont have linux or ubuntu and too many problems in Windows 8
Anyone interested plezz Pm Me will send u the kernelz
I AM PORTING P.A.C MAN As the Spacman rom was not PACMAN In true Sense And had Too Many UI Problems
MY PACMAN ROM WILL HAVE ONLY ONE UI WHICH WILL WORK WITH PA,CM,AOKP SETTINGS
I'm sorry, but what is this thread for?
Closed.

extract kdz from e425/430/435 (lg l3 II)

Hello i have try the kdzextractor (source compiled for linux) but the python script say error about header. Any chanche for add or mod the kdzextractorz source for that ? http://lg-phone-firmware.com/index.php?id_mod=22
COPY
Naxil said:
Hello i have try the kdzextractor (source compiled for linux) but the python script say error about header. Any chanche for add or mod the kdzextractorz source for that ? http://lg-phone-firmware.com/index.php?id_mod=22
Click to expand...
Click to collapse
Dont post same question across all forums please ...
excuse me.. i have do two post.. for mistake..

lineage 14

I've built rom lineage 14 for (j1 j120H)
It's been done successfully:good:
But when I want deconstruction remain on this case as in attached photo
With the advent of file name (.journal) only
Please helpme
@thinhx2
Do you have an idea about it
Hi, did you have allready installed 'python' & java (sdk/jdk) components for this purpose? Using system.transfer.list in <DAT_Input> folder to successful unpack. Also try to used 'Assayyed Kitchen' (work ok, recommended) for repack system.new.dat. Have a lucky.

Categories

Resources