how to make a recovery package? - Huawei Ideos X5 U8800

i'm trying to build a gingerbread 2.3.7 AOSP rom for u8800pro.
after i'm finish compiled an make an ota-package. and i sigend this package by this cmd:"java -Xmx512m -jar out/host/linux-x86/framework/signapk.jar build/target/product/security/testkey.x509.pem build/target/product/security/testkey.pk8 out/target/product/u8800pro/huawei_u8800pro-ota-user.root.zip out/target/product/u8800pro/huawei_u8800pro-ota-user.root.signed.zip"
when i tried to installed the package.the recovery give me this error:"status 7 installation aborted".
i think there is anything wrong with my ota-package,any one can help me?

Have you used the vendor tree to build the rom?
Inviato dal mio U8800Pro usando Tapatalk

tks for genokolar,i found i didn't compile the ext3 filesystem's support for it.and i try to rebuild it.
i add this item to BoardConfig.mk
TARGET_USERIMAGEs_USE_EXT3 := true

matteof93 said:
Have you used the vendor tree to build the rom?
Inviato dal mio U8800Pro usando Tapatalk
Click to expand...
Click to collapse
i fork some files from Victor-android project into device/huawei/u8800pro,i don't use my own vendor tree,bacause i still try to create it,at this time my rom maybe can't works.

Although this does contain what could be thought of as development. It is still a question. Good luck with your rom, when you are at a testing stage please post it in the development thread, or PM me and i will move this one back when your at that stage.
Peace!
Moved to General

zsmonkey said:
tks for genokolar,i found i didn't compile the ext3 filesystem's support for it.and i try to rebuild it.
i add this item to BoardConfig.mk
TARGET_USERIMAGEs_USE_EXT3 := true
Click to expand...
Click to collapse
the android 2.3.7's updater only support for ext4 filesystem.
So iadd this item to BoardConfig.mk
TARGET_USERIMAGES_USE_EXT4 := true

Related

[TOOLS][2.0] Rom Porter / [1.1] System Extractor

System Extractor ICS/JB
This tool extracts the system folder from a firmware or a Odin package.
It isn't completly automatic but the steps are explained into the script
Click to expand...
Click to collapse
Instructions:
1.Download the attched zip
2.Extract it
3.Run SystemExtractor.bat
4.Follow the instructions
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Video:
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Changelog:
Version 1.1
Added possibility to pull system from device
Click to expand...
Click to collapse
Version 1.0
First relase
Click to expand...
Click to collapse
Click to expand...
Click to collapse
[TOOLKIT][2.0] Rom Porter / [1.1] System Extractor
Rom Porter by KINGbabasula is a windows tool that ports roms in one click!
Incredibly simple to use.
This tool is user-friendly and automatic.
IT'S NOT GUARANTEED THE PORT WILL ACTUALLY WORK
Video
Download
https://www.androidfilehost.com/?fid=673368273298956207
Changelog:
Version 2.0
Now completely automated
Version 1.3.1
Added support for Lewa OS
Version 1.3 (experimental)
Added support for Manufacturer roms
Added support for Aroma Installer
Version 1.2.7
Added support for Paranoid Android
Fixed some little bug
Version 1.2.5
Added support for MIUI
Added Fix Tool for:
fixing bootloop
htc graphics bugs (need fix)
htc auto connection bugs
Version 1.2.1
Fixed tweaks problem
Version 1.2
More user friendly
Corrected some problem in copying and deleting folders (thanks to alokbina :good: )
Added zipalign system/app (need to fix)
Version 1.1.7
Added tweaks to add to the rom
Version 1.1
Converted to bat (for who that wants to use my code please ask me before)
Version 1.0.8
Fixed sign error
Version 1.0.5
No needed 7zip installed
No needed to rename the rom names
Version 1.0
Initial relase
Click to expand...
Click to collapse
Wow looks cool... will try it asap...
Tell me if there is any problem
Great Idea - however - it tells me it can't extract my zip files
Do you need any more information - would be happy to help you
Best regards
Re: [TOOL] Rom Porter
Yaa
Same here i rename it to base.zip and put it into base rom
But it fails to extract it
Never mind
I used his instructions
Sent from my GT-S5830i using xda premium
Ok it was my mistake I think - do not have installed 7zip - just the portable version - have to figure out how to use it with portable version
R: [TOOL] Rom Porter
mikajo said:
Great Idea - however - it tells me it can't extract my zip files
Do you need any more information - would be happy to help you
Best regards
Click to expand...
Click to collapse
You need 7zip and i'll write a faq
If you want you can test my experimental relaeses
Inviato dal mio GT-I9070 con Tapatalk 2
Its not extracting the roms and theres other errors,i will post.I'm at work now,but will report back.
R: [TOOL] Rom Porter
Diablo67 said:
Its not extracting the roms and theres other errors,i will post.I'm at work now,but will report back.
Click to expand...
Click to collapse
Have you installed 7zip?
Inviato dal mio GT-I9070 con Tapatalk 2
7zip
mikajo said:
Ok it was my mistake I think - do not have installed 7zip - just the portable version - have to figure out how to use it with portable version
Click to expand...
Click to collapse
OP UPDATED:
No needed 7zip installed
I'll try this program on Saturday - at the moment I have just my work PC and cannot install notepad++....
Hi will this work for sense roms?
great work,thanx :good:
3678 errors...all, "cannot open output file..."
@footwork*: I can open all my files - what do you mean with output-file and where do you get this errory?
however some steps are not explained as in the instructions on which your tool is based... Could you update them? I'll make some screenshots tomorrow to show you exactly what I mean
Kind regards
R: [TOOL] Rom Porter
mikajo said:
@footwork*: I can open all my files - what do you mean with output-file and where do you get this errory?
however some steps are not explained as in the instructions on which your tool is based... Could you update them? I'll make some screenshots tomorrow to show you exactly what I mean
Kind regards
Click to expand...
Click to collapse
I will when you post what you intend with the screenshots
Inviato dal mio GT-I9070 con Tapatalk 2
R: [TOOL] Rom Porter
kelvin216 said:
Hi will this work for sense roms?
Click to expand...
Click to collapse
Try
The biggest problem you can have is bootloop so simply restore a backup if the rom doesn't boot
Inviato dal mio GT-I9070 con Tapatalk 2
ERRORS
Hi OP,
Im using your tool and porting sense roms from the Sensation to the Amaze phone, everything seems to work till I get to zipping up the rom, after the zip window close it tells me: error occured during installation of vm
could not reserve enough space for object heap
could not create the java virtual machine
any help thank you
R: [TOOL] Rom Porter
kelvin216 said:
Hi OP,
Im using your tool and porting sense roms from the Sensation to the Amaze phone, everything seems to work till I get to zipping up the rom, after the zip window close it tells me: error occured during installation of vm
could not reserve enough space for object heap
could not create the java virtual machine
any help thank you
Click to expand...
Click to collapse
I think this is because you don't have enough space on the hard disk but i never had this error
Edit: ok i retried my tool and signing the rom i received your same error.
I will fix it asap
Inviato dal mio GT-I9070 con Tapatalk 2

Moved

http://forum.xda-developers.com/showthread.php?t=2390162
Great i will try thnk u so much for ur hard work dev
Sent from my GT-N7100 using xda premium
Great work friend ! Is it possible to make an " undo " / " uninstall " flashable zip for this ? And also I use cm7 with ext4 partition with int2ext+. Is it safe for me to use it ?
Sent from my GT-S5830 using xda premium
Venomous Viper 119 said:
Great work friend ! Is it possible to make an " undo " / " uninstall " flashable zip for this ? And also I use cm7 with ext4 partition with int2ext+. Is it safe for me to use it ?
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
With int2ext+ you'll end up in a bootloop as the OP says
delete dalvik of system and framework from data
Click to expand...
Click to collapse
, so in theory it'll bootloop. Need confirmation on this theory though, I may be wrong :silly:
Does any1 can confirm working on CM 10.1?
Venomous Viper 119 said:
Great work friend ! Is it possible to make an " undo " / " uninstall " flashable zip for this ? And also I use cm7 with ext4 partition with int2ext+. Is it safe for me to use it ?
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Yes but you must a nandroid backup before
Inviato dal mio GT-S5570
Xr01d_GT said:
With int2ext+ you'll end up in a bootloop as the OP says , so in theory it'll bootloop. Need confirmation on this theory though, I may be wrong :silly:
Click to expand...
Click to collapse
No bootloop...
Inviato dal mio GT-S5570
Czepek said:
Does any1 can confirm working on CM 10.1?
Click to expand...
Click to collapse
Yes it work with all android version
Inviato dal mio GT-S5570
Hi, what is the best way with this script for save battery and quick system? Can I use INT2EXT+ with EXT4 for ext memory? Thanks so much :good:
Paul Koty said:
Hi, what is the best way with this script for save battery and quick system? Can I use INT2EXT+ with EXT4 for ext memory? Thanks so much :good:
Click to expand...
Click to collapse
odex all framework and principal apps like Phone.apk Browser.apk Mms.apk etc
Inviato dal mio GT-S5570
great work
tried with cm 10.1 and int2ext, all works fine
first run of dexo -all forgot 3 apps: Phonesky.apk, Mms.apk ans Settings.apk, running dexo -all a second time fixes it
(i had only 45 mb free in system, maybe this was the reason)
after that i run dexo -dat, worked without problems
app starting seems faster now
Thanks for your awesome script. Everything installed fine and the rom feels stable and responsive
Sent from my GT-S5830 using xda app-developers app
Update v4.2.3
Changelog:
Universal Odex Script Version 4.2.3
- Add Command dexo -dat To Odex App In Data
[SCRIPT TO ODEX] Universal Odex Script Version 6.2 (07-08-2013)
New Update
New Update!
Changelog:
Universal Odex Version 6.2
- Added 1 New Command To Odex Your Rom
> Now You Can Odex:
+ Only Specific Preload Apps ('dexo -cpa')
- Fixed Minor Bug
- Rewritten Script
- Changed Command 'dexo -psa' In 'dexo -pa'
- Added Controll Of Free Space In System
- Added New Command To Activate Log
> Type 'dexo -(one of the option that you have decided) -log'
- Removed 'fixbox' Script Because Now There Aren't Necessary Symlink Of BusyBox
- Added Check Of Root Permission
- Updated Command 'dexo -all' To Odex Also Preload Apps
New Update!
Changelog:
Universal Odex Version 6.3
- A Lot Of Bugs Fixed
Will it work properly along with fly on mod or crossbreeder or pure performance on latest cm 10.1.6
http://forum.xda-developers.com/showthread.php?t=2527268
Go here to follow my new script

[Q] BAD on CWM !!

I am ported a stock based rom with following instructions but my zip gives bad zip error what can ı do ım bored with it
does it give a status code or just bad zip installation aborted
status 7 - bad updater script
status 0 - wrong update binary
bad zip installation aborted - rezip everythiing properly with winrar normal compression zip
marcussmith2626 said:
does it give a status code or just bad zip installation aborted
status 7 - bad updater script
status 0 - wrong update binary
bad zip installation aborted - rezip everythiing properly with winrar normal compression zip
Click to expand...
Click to collapse
Thanks i did it im ported touchwiz resurrection 7.1 because 9.5's RIL is broken but when i open rom same thing RIL broken too on 7.1
GT-S5360 cihazımdan Tapatalk 2 ile gönderildi
Deopolos14 said:
Thanks i did it im ported touchwiz resurrection 7.1 because 9.5's RIL is broken but when i open rom same thing RIL broken too on 7.1
GT-S5360 cihazımdan Tapatalk 2 ile gönderildi
Click to expand...
Click to collapse
do you have a sim lock - if so you need to add extra things to the build.prop so the sim unlock dialogue appears
or make sure you are using the correct ril with kernel you are using
marcussmith2626 said:
do you have a sim lock - if so you need to add extra things to the build.prop so the sim unlock dialogue appears
or make sure you are using the correct ril with kernel you are using
Click to expand...
Click to collapse
no ı havent got a simlock and ı 'm on stock kernel
Deopolos14 said:
no ı havent got a simlock and ı 'm on stock kernel
Click to expand...
Click to collapse
well it depends what baseband you are on and you ported to
try different ril files or change kernel
make sure build.prop is correct
logcat and learn how to read it
ril files
http://forum.xda-developers.com/showpost.php?p=52449987&postcount=232
marcussmith2626 said:
well it depends what baseband you are on and you ported to
try different ril files or change kernel
make sure build.prop is correct
logcat and learn how to read it
ril files
http://forum.xda-developers.com/showpost.php?p=52449987&postcount=232
Click to expand...
Click to collapse
okey ı will do it thanks

[Q] Can i use 4 year old update_binary to package boot.img ?

I have created a kernel a few days ago. And i think i can share it after testing it myself.
For that ill have to create a zip. I have searched for it. I think its done using anykernel v1 / v2 template.
The issuse is can i use the certificates in the meta-inf folder and the update-binary that is 4 years old ?
Or should i just unzip a kernel , modify the (edify)script and place my boot.img ?
tanmay.01 said:
I have created a kernel a few days ago. And i think i can share it after testing it myself.
For that ill have to create a zip. I have searched for it. I think its done using anykernel v1 / v2 template.
The issuse is can i use the certificates in the meta-inf folder and the update-binary that is 4 years old ?
Or should i just unzip a kernel , modify the (edify)script and place my boot.img ?
Click to expand...
Click to collapse
It is best to use a newer update-binary because it may not be compatible with newer recoveries. For what version are you building a kernel?
Envoyé de mon Nexus 7 en utilisant Tapatalk
Lollipop 5.0.2

Power_profile.xml from Snapdragon device

Hi,
I'm looking for the Power_profile.xml found in System/framework/framework-res.apk in the folder /res/xml/ if decompiled with APKtool.
If that's too much work, simply the framework-res.apk will work perfectly fine you can pull that from a running system.
Tried to find this file in the Source code, but that doesnt work ~.~
And the official Firmware had some kind of strang encrypted system.img
thanks,
Haldi
Out of curiosity, why do you need it?
Inviato dal mio SM-G935F utilizzando Tapatalk
For this
http://forum.xda-developers.com/showthread.php?p=69099666
and i still need it. So if anyone could spare a few minutes and pull the framework-res.apk i would be grateful.

Categories

Resources