Related
I've basically decided to try porting for learning purposes. At this moment I have a flash-able zip in idle until I get my phone this Friday.
So, with all the issues and controversies surrounding the Nexus 4 -- many of which are software related -- I decided that porting Jellybean 4.1.2 would be fitting. I need advice and critique from an experienced Rom Porter before I go ahead and flash my creation. I will detail my activities below but please PM me or reply here with your requests for files that may indicate the integrity of my port (build.prop for example).
Sources:
BASE
Factory Images "occam" for Nexus 4
Android 4.2 (JOP40C)
Click to expand...
Click to collapse
https://dl.google.com/dl/android/aosp/occam-jop40c-factory-cd3dc140.tgz
PORT
Factory Images "takju" for Galaxy Nexus "maguro" (GSM/HSPA+) (with Google Wallet)
Android 4.1.2 (JZO54K)
Click to expand...
Click to collapse
https://dl.google.com/dl/android/aosp/yakju-jzo54k-factory-92ff9457.tgz
Windows 7 with cygwin and dixisda kitchen
His thread: http://forum.xda-developers.com/showthread.php?t=633246
Build log
Ran both sources through kitchen and repacked to create manageable zip versions (no tweaks or modifications; only signed)
extracted both zips in separate directories
followed porting guide step by step by Oogway13 from Nexus S (my old phone) forums
his thread: http://forum.xda-developers.com/showthread.php?t=1791006&highlight=port
Base files copied to Port:
/system/
-app
-bin
-etc
-lib
-usr
-vendor
-xbin
/META-INF/
-all files and folders
build.prop was edited with lines from Base added to Port
boot.img from Base to Port
-Init.rc one line edit from Port to Base boot.img (BOOTCLASSPATH )
zipped resulting Port files
ran through kitchen and applied:
-SuperSU
-Busybox
-init.d support
-apps/data/ support
-generated updater_script applied
-signed
Hi All,
you know that i always will serve your S2 to DualBoot all best 4.1.2 ROM you can find on XDA or other Forums.
you know that you can ask me to re-script all ROMs you want to DualBoot too.
Now, you have to know that, for all DualBoot ZIP i will provide in future, all will be done to flash my DualBoot moded Roms in 1rst ROM too
For that, i will always change zImage kernel of ZIP ROM for DualBoot by zImage DoeimanX kernel , so if you flash my provided DualBoot rom in 1rst position ROM, your ROM will be powered by @dorimanx V8.xx Last KERNEL.
If Modem exist in Original ROM ZIP from DEVs, it will be replaced by XXMS3 modem to, with RIL too , from last ModemRIL_XXMS3-FROM_I9100XWLSW_I9100VGFLS2_VGF .
If ROM ZIP manage AROMA MODS , this will be rescript too for DualBoot. Even for Modem or Kernel choice.
How i can provide for your :
- Only send me updater-script and aroma-config files for original ROM ZIP you want to DualBoot.
Species :
- If you already have a 4.1.2 stock rom, you can always try to flash my moded ROMs over it without wiping anything. I never tell you to WIPE anything before or after flash.
- my script never format partition, only will be done a delete of /system/ , /cache/ , /data/sec_data/ and /data/dalvik-cache/ folders
Thanks.
+1
+2
First
Wish you good luck
Sent from my GT-I9100 using Tapatalk 4
all my /Users-DEVs/ friends here soon
@bombaybadboy , @nik60 , Christian Nothing , @pargas , @krazy1101 , @immortalneo , @phenomarc ....
hahaha, all my best supporter friends are here
thanks , thats great for me.
no necessary to rethank this post, just your name will be appear here when you have thank OP
Troubadour666 said:
@bombaybadboy , @nik60 and Christian Nothing , @pargas too
hahaha, all my best supporter friends are here
thanks , thats great for me.
Click to expand...
Click to collapse
one friend in the square is best that 10 euro
ehehehe
I wonder if triple boot possible?
maybe you could take a look here but this is for sgs3
http://forum.xda-developers.com/showthread.php?t=1943928
This would be great, i'm waiting for
DualBoot - 1rst or 2nd ROM - I9100XWLSZ_NeatROM (Aroma Full&Lite soon)
Hi all,
based on principe in OP,
you can find my Last DualBoot ROM , based on last @_Sale_ Neatrom Full from yesterday.
In my ZIP, as a big test, you will find Viper4Android and Xpose and modules activated too. Modem is conserve, not change.
- last @dorimanx kernel version 8.41 inside too
Links to have a test of it : i named it Precious because when @_Sale_ provide a lite version, we can share a zip for ExtraLite_Full-Precious-I9100XWLSZ_NeatROM soon.
ExtraLite-Precious-I9100XWLSZ_NeatROM_Full.zip - 309.33 MB http://d-h.st/Dr2
EDIT and after some test :
i have an already "AROMA mod" to choose Full or Lite Install of ROM but, wait for the "REAL Lite with many features" from _Sale_ NeatRom too lol
i made it for 'dualbooters' , but i can 'drive' /preload/ managment folder for 'basic' users hahaha
I name it PreciousDualBootAromaFull-Lite-I9100XWLSZ_NeatROM.zip.
- xpose activated, xquicktoggles, appsettings modules too.
- viper activated and sdcard kernels installed
- walkman installed and sound activated too
- personal lite version (from last _Sale_ NeatRom Full) : (78 apks) no CSC sub-folders , rich features.xml, tts folder deleted
- full version : all things deleted from lite (133 apks)
When Real Lite will be available from @_Sale_ , AROMA will be ready and just perfect for all dualbooters friends.
thanks.
Dear Friends / Dev / Vistors.,
I am looking for a long time for cm7 without no bug.. Finally CyanogenMod 7.2 for Galaxy Y (S5630) Has been released By bieltv.3 http://forum.xda-developers.com/member.php?u=4686683 With CM Specific Kernel :good:
But FM radio and usb tetherstill have a bug
other than
RC 4:
Fixed al 3g and Data issues on EXT4
My FIX.zip integrated on the ROM zip
IMEI is showing on EXT4 data partition
RILD is now prebuilt and updated last LibRIL.
Broken WIFI hotpost os wprking again
Icon of Wifi Hotpost is working well
ethd back again
RNDIS and USB0 are initialized in USB tether (still not working)
Added all offline charging files
Fixed offline charging using my 3.0 #7 kernel
NOTE: No format is needed, update-script has been modify to format the partition automatically
many dev have created hundreds of there rom on "CM 7 RC.2" which is most nicely theamed :good:
I Decide to use there Rom on Rc4.
LIKE PORTING ROM
Simple method
1, RC.4 Rom as base rom
2, Any rom based on cm7
3, Open base rom zip with Winrar (or other) ( pls not exctact zip file) and open system folder.
4. Delete app folder, font, framework, build.prop (" dont delete media because it consist offline battery chargering animation files")
5, Open Rom u need to Port to Rc.4 copy those folder and files (app folder, font, framework, media, build.prop)
and directly drag into base rom /system/ (If you can work with build.prop to change ver info) but i am lazy :silly:
6, on base rom open system/etc/ and delete init.d and permissions
7, copy those folders from other cm7 rom and drag into the base rom system/etc/
8, last META-INF on base rom just go into Meta-inf/com/google/andriod then delete updater-script
9. darg updater -script from port rom to base rom RC4
"the flash as per Insturction given by Mr bieltv.3"
"And please do it with your own risk"
By this method I Ported many CM7 rom..
And for MIUI, lewa some more files to be copy like media, and libs etc.... i have some doubt on that so let we decuse about that later
and this is my 1st post so Any mistakes please tel me.. thanks
My porting method is a little bit quick and faster.
aniket.lamba said:
My porting method is a little bit quick and faster.
Click to expand...
Click to collapse
can u give me your method ?:victory:
AhZhi said:
can u give me your method ?:victory:
Click to expand...
Click to collapse
See this video: https://www.youtube.com/watch?v=0MBLCPnrMww&feature=youtube_gdata_player
aniket.lamba said:
My porting method is a little bit quick and faster.
Click to expand...
Click to collapse
Both are good, i tried yours aniket and I will post the rom soon
Gonna give this a try
Sent from my GT-S5360 using Tapatalk 2
Introducing my new tool called PRFCreator. With this tool, anyone can easily create a pre-rooted firmware.
What is a pre-rooted firmware
A pre-rooted firmware is a firmware, which already includes root. This is for example important if you want to update the firmware to a version, where there is no public root exploit. To flash a pre-rooted firmware, you need a recovery menu. An unlocked bootloader is not required.
How does the tool work
The tool should be self-explanatory. SuperSU zip can be downloaded from here. [NUT]'s dualrecovery (*.flashable.zip) can be downloaded from here. Recovery is optional and if your device is not supported by dualrecovery, you can use any recovery (just has to be a flashable zip).
Depending on the firmware size and your computer speed, generating a pre-rooted firmware can take up to 7 minutes. The pre-rooted firmware will be created in the directory of the executable and called flashable-prerooted.zip.
{
"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"
}
The order for the extra files is
Extra flashable
In the order you added it initially in the GUI
APKs
TWRP is recommended for flashing!
Note: If you do not include the kernel in the pre-rooted firmware, it's recommended to flash it afterwards with flashtool (check "system" under Exclude).
Note2: I am not responsible for any damage done to your device or if you end in a bootloop.
Credits
Androxyde - some helpful information about sin files from his flashtool
[NUT] - used his flashable scripts as base
E:V:A - sgdisk utility compiled for arm
dotnetzip developers (note I'm using a slightly modifed version with a bugfix)
Requirements
Microsoft .NET 4.0
Source code
https://github.com/dosomder/PRFCreator
Changelog
v1.3
Fix a signing bug when PRFCreator was in a folder which included a space (thanks Calystos)
Allow multi select for Extra Zip / APK
Update sinflash to v0.42 (fix sha256 bug (thanks RoberM) and large zip file handling (thanks Fragmentation))
v1.2
Fix a signing bug (thanks RyTekk)
Fix bug when flashing multiple apps
Update lz4 lib and 7zip binaries (thanks tetsuo55) and dotnetzip library
Update sinflash binary to v0.4 (supports now also non-msm devices, thanks eoinkennedy for report)
.
v1.1
Allow users to add APKs
Improved sinflash to allow compression
Fix smaller bugs and improve speed
.
v1.0
New method using sinflash (sin files are flashed on the phone directly instead of extracting on the computer)
New busybox
.
v0.9
Compatible with mono
New settings file to change temp folder and choose another destination for the pre rooted firmware
Work towards new sin format introduced with Z3+
.
v0.8
Add the ability to include additional flashable zip files
Display information when clicking on version number
.
v0.7
Add zip signing option
Small fixes in code
.
v0.6 - Nuked (wrong binary uploaded)
Prefer to use gpt uuid instead of partition names
Add different modem sin names
Clean code
.
v0.5
Fixed bug with missing dualrecovery
Added check if SuperSU and recovery are flashable
Added ability to flash modem
Support for sin v2
.
v0.4
Make dualrecovery zip optional
Fix exception if file does not exist in sin
.
v0.3
Initial release
I have a question!
What should I check under 'Include' ?
Kernel: Personally I recommend to check kernel. For some firmwares it's important otherwise the phone won't boot.
FOTAKernel: This kernel is used for OTA Updates. I recommend to include it.
Modem: This is the baseband / modem. Some updates can give you slightly better battery life and signal.
LTALabel: This is a partition with regulatory informations. It should not really change the performance of your device. I recommend to include it.
Click to expand...
Click to collapse
.
Do I need to include a recovery?
No, recovery is optional. If you do not wish to include recovery you should add this flashable zip under Extra Files to be able to mount system as rw: https://github.com/dosomder/SonyRICDefeat/blob/master/RICDefeat.zip
Note: If your bootloader is unlocked, this is not needed as RIC will be disabled anyway.
Click to expand...
Click to collapse
.
Can I edit system.ext4 inside flashable zip?
Yes, you can edit it on a linux machine. You don't have to change anything else in the flashable zip. See here for more info: http://forum.xda-developers.com/showpost.php?p=55547862&postcount=246
Click to expand...
Click to collapse
.
What is zip signing?
For a proper flashable zip, zip signing is used. It generates a hashtable of all the files in the flashable zip to verify its integrity. Note that zip signing might double the process time of generating a flashable zip.
Click to expand...
Click to collapse
.
Does it wipe my user data?
No.
Click to expand...
Click to collapse
.
What is extra zip?
With this feature, you can include additional flashable zip files. An example is to include Xposed directly (you can find the flashable zip in the Xposed apk).
Click to expand...
Click to collapse
Good news... Will try later...
This is awesome tool...
Still couldn't find free time to test it but if it's working and I'm sure it is...
This is more then welcome...
Tnx mate...
Sent from my D6503 using Tapatalk
Will try this on the next FW release, thanks! :good:
Thanks for the tool. Looks great. I'll try it.
Hi,
Thank you.. Looks really good! What do the Kernel, FOTAKernel and LTALabel checkboxes do? Also, will this work with the latest .133 ftf?
Regards,
Alan
nalab1 said:
Hi,
Thank you.. Looks really good! What do the Kernel, FOTAKernel and LTALabel checkboxes do? Also, will this work with the latest .133 ftf?
Regards,
Alan
Click to expand...
Click to collapse
It will include those in the flashable zip. FOTAKernel and LTALabel are not really important but I thought why not include this feature. Kernel is more important and I recommend to always use the kernel from the firmware you're using.
It should work with all the current ftfs (the tool is built for sin version 3).
zxz0O0 said:
It will include those in the flashable zip. FOTAKernel and LTALabel are not really important but I thought why not include this feature. Kernel is more important and I recommend to always use the kernel from the firmware you're using.
It should work with all the current ftfs (the tool is built for sin version 3).
Click to expand...
Click to collapse
Thanks for the reply... What is sin version 3? Also, what are your recommended settings? Tick all boxes or just the Kernel box? What devices/ROMs has it been tested on? Sorry for all of the questions! :laugh:
i just used the xperifirm tool to get the latest z2 .323 update, then used flashtool to create .tft, then your prfcreator tool to make the flashable zip. everything worked perfectly fine (many thanks to the dev's for all this nice and easy to use tools btw), this .zip rom should now be flashable from twrp (i got a locked and unlockable BL) no matter what i have installed on the phone right?
Thanks for your help, i'm new to sony devices and my z2 is only 20 days old, i'm trying hard not to brick it
Wow! Is this magic?
Xperia™ Z (C6602) with Tapatalk!
There was a dev who would create pre-rooted images you could flash on Galaxy S3 phones... that was something very cool!
So, I should be able to flash the zip this creates and have a "pre-rooted" phone image...
I'd half thought you were creating a root-injected FTF file... but this is actually pretty cool as well... (saves the pain that I normally go through to root the image after flashing it... thankful I have an unlocked boot loader...)
nalab1 said:
Thanks for the reply... What is sin version 3? Also, what are your recommended settings? Tick all boxes or just the Kernel box? What devices/ROMs has it been tested on? Sorry for all of the questions! :laugh:
Click to expand...
Click to collapse
The first byte of a sin file (contents of ftf file, the ftf is just a zip) is the version. Currently Sony uses version 3. Well if I would create a pre-rooted zip for myself I would tick all the boxes. I have tested the tool a handful of times on my Z1C.
ptmaniac said:
i just used the xperifirm tool to get the latest z2 .323 update, then used flashtool to create .tft, then your prfcreator tool to make the flashable zip. everything worked perfectly fine (many thanks to the dev's for all this nice and easy to use tools btw), this .zip rom should now be flashable from twrp (i got a locked and unlockable BL) no matter what i have installed on the phone right?
Thanks for your help, i'm new to sony devices and my z2 is only 20 days old, i'm trying hard not to brick it
Click to expand...
Click to collapse
Good to hear. And yes, that is correct. I still recommend to take a backup in TWRP before flashing it (just to be on the safe side).
scifan said:
There was a dev who would create pre-rooted images you could flash on Galaxy S3 phones... that was something very cool!
So, I should be able to flash the zip this creates and have a "pre-rooted" phone image...
I'd half thought you were creating a root-injected FTF file... but this is actually pretty cool as well... (saves the pain that I normally go through to root the image after flashing it... thankful I have an unlocked boot loader...)
Click to expand...
Click to collapse
It's actually not possible to create modified FTF as Sony uses RSA2048 signatures. And yeah, the tool is mainly aimed for those on locked bootloader
NICE! I was just waiting for a root method for my Xperia M2 with KitKat.. The only problem is that there's no Dual-Recovery for it... Would be possible to try the T2U Dual-recovery on my M2?
Very clever, thanks!
Make for samsung please...
linuxct said:
NICE! I was just waiting for a root method for my Xperia M2 with KitKat.. The only problem is that there's no Dual-Recovery for it... Would be possible to try the T2U Dual-recovery on my M2?
Click to expand...
Click to collapse
+1
after finish, app create zip and 2yn file. is it safe to delete 2yn file?
najar360 said:
after finish, app create zip and 2yn file. is it safe to delete 2yn file?
Click to expand...
Click to collapse
What is the filename of the second file? Are you sure it's created by PRFCreator?
Hi @zxz0O0
Thanks for your reply! This is definitely for locked bootloaders - correct?
Regards,
Alan
I found these patches online to fix the stagefright bug but for one I'm not sure if they'll work with our device if someone could check them out and see if they can make the attached zip flashable
https://mega.nz/#!2xoTlCCJ!qhmaBFCBTunbMPsDYd1UN5H_8QizpAlxyfW6lyBWJXw
Also here is the link to the article which has the patches zip in it
https://blog.zimperium.com/stagefright-vulnerability-details-stagefright-detector-tool-released/
Can you upload to other hosts because mega link is corrupt. Thanks!
Is the stagefright bug fixed in newer CM / AOSP ROMs already? If not, this would be a handy flashable zip.
I can't trust this. Sorry.