[ROM] [PORT] CyanogenMod 10.1 for the Slate 7 Plus 4200xx - Miscellaneous Android Development

DISCLAIMER: I am NOT responsible for any damage you do to your device.{/B}{/U]
This is CyanogenMod 10.1, a highly customizable AOSP-based ROM, now ported to the HP Slate 7 Plus!
To avoid any crashes while using this ROM make a Nandroid backup and wipe cache, dalvik-cache and data.
This ROM requires ClockWorkMod to be on your device. You can get it here.
To support open development my trees are available on GitHub.
Device tree
Kernel tree
Downloads
Only one or two downloads will be here at a time to save space.
CyanogenMod is not yet ready, a few kernel tweaks are needed to get the thing to boot up

I stole the ROM zip from the server
When I try to flash it says :
Code:
about to run program [/tmp/backuptool.sh] with 2 args
Not backing up files from incompatible version: 10.1
run_program: child exited with status 127
format: unsupported fs_type "ext4" partition_type "EMMC"script aborted (no error message)
script aborted (no error message)E:Error in /sdcard/cm-10.1-20140223-UNOFFICIAL-birch.zip
(Status 7)
Installation aborted
I compared the format command in updater-script from your ROM with the stock one, and I can't find any difference.
I really don't understand ...
I even tried to only let this to updater-script :
Code:
format("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-name/APP", "0", "/system");
mount("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-name/APP", "/system");
package_extract_dir("system", "/system");
but it fails too with the same error ...
I found this thread : http://forum.xda-developers.com/showthread.php?t=2407649 not sure it can help.
---------- Post added at 03:52 PM ---------- Previous post was at 03:34 PM ----------
Ok the problem was update-binary file, I replaced it with stock update-binary file : ROM installed succesfully.
I suppose your update-binary doesn't support ext4 file system.
Now when rebooting I'm stuck on the first HP logo

zarto said:
I stole the ROM zip from the server
When I try to flash it says :
Code:
about to run program [/tmp/backuptool.sh] with 2 args
Not backing up files from incompatible version: 10.1
run_program: child exited with status 127
format: unsupported fs_type "ext4" partition_type "EMMC"script aborted (no error message)
script aborted (no error message)E:Error in /sdcard/cm-10.1-20140223-UNOFFICIAL-birch.zip
(Status 7)
Installation aborted
I compared the format command in updater-script from your ROM with the stock one, and I can't find any difference.
I really don't understand ...
I even tried to only let this to updater-script :
Code:
format("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-name/APP", "0", "/system");
mount("ext4", "EMMC", "/dev/block/platform/sdhci-tegra.3/by-name/APP", "/system");
package_extract_dir("system", "/system");
but it fails too with the same error ...
I found this thread : http://forum.xda-developers.com/showthread.php?t=2407649 not sure it can help.
---------- Post added at 03:52 PM ---------- Previous post was at 03:34 PM ----------
Ok the problem was update-binary file, I replaced it with stock update-binary file : ROM installed succesfully.
I suppose your update-binary doesn't support ext4 file system.
Now when rebooting I'm stuck on the first HP logo
Click to expand...
Click to collapse
WTH
It could be a problem with SELinux, I hate that little devil sometimes.

Hi,
I have a question, I did install cwm on my hp slate 7 plus (4200ef), but is it normal that I cannot make a backup of the system with it?
And I don't know the manipulation to directly access the recovery mode, on the hp slate 7 plus .... I try many things like Power + volume up or down and nothing...
I would like to try cyanogenmod but I didn't backup the orginal firmware ... I would like a least backup my ToZlate firmware.... and parameters...
Thanks If you can tell me!!

fifounet75 said:
Hi,
I have a question, I did install cwm on my hp slate 7 plus (4200ef), but is it normal that I cannot make a backup of the system with it?
And I don't know the manipulation to directly access the recovery mode, on the hp slate 7 plus .... I try many things like Power + volume up or down and nothing...
I would like to try cyanogenmod but I didn't backup the orginal firmware ... I would like a least backup my ToZlate firmware.... and parameters...
Thanks If you can tell me!!
Click to expand...
Click to collapse
I used backup only once from CWM, it worked on a fat32 formatted SDCard. Stock ROM can be downloaded from HP website. Hold Power and Volume+ when Slate is off, you should see 4 little lines at the top of the screen.
Envoyé de mon HP Slate 7 Plus en utilisant Tapatalk

Thanks for your answer !
It worked I was able to go to the recovery...
Thanks for the backup !! I didn't thought that I would need a sd card...
I search on the HP web site but I didn't found the stock firmware... maybe on the US website.. I will search but not on the french site...
Thanks again.. I think I will try cyanogenmod as soon as it will be released !!!
Thanks for your work

http://h10025.www1.hp.com/ewfrf/wc/...fr&cc=fr&dlc=fr&sw_lang=&product=6475020#N147
CyanogenMod is not ready yet, still under development

I'm redoing the whole kernel as I believe that's the issue.
(offtopic) @zarto your new avatar looks like Gordon Freeman almost XD
I need to make an avatar in Androidify

will it be done today? i can test lateron...

TommeleTBone said:
will it be done today? i can test lateron...
Click to expand...
Click to collapse
I don't know at this point.
Sent from my Sero 7 Pro using Tapatalk

Other devices have been distracting me. Sorry guys.
I am porting PAC-ROM to my device and if it works I have an idea to get CM to boot.
Sent from my Sero 7 Pro using Tapatalk

cool. keep going

I think I found the issue
Sent from my Sero 7 Pro using Tapatalk

i’m ready

I will have the new build uploaded before the day ends. @zarto feel free to test the build before I upload it
Sent from my Sero 7 Pro using Tapatalk

Sorry guys, the build failed. I still have something up my sleeve though
This error was a configuration error and shouldn't be too hard to fix.
Sent from my Sero 7 Pro using Tapatalk

i’m still ready

TommeleTBone said:
i’m still ready
Click to expand...
Click to collapse
I don't blame ya, this is CM we're talking about
Sent from my Sero 7 Pro using Tapatalk

well, to be honest, i gota ceo of hp germany in my neck, we might get a "sale" when we have that up and running

Nice to see you again!

Related

[MOD][One Click Root] Clockwork Mod version 3.0.0.5/6 - UPDATED FOR EB13!

Just finished porting the CWM 3.0.0.5/6 recovery.
Some notable changes are the following:
Auto EXT4 conversion system. If a partition is found to be RFS, but referenced in recovery.fstab as ext4, the system will AUTOMATICALLY convert the filesystem, backing up ALL data on the partition, and restoring it after. This may still have kinks, so if you run into any problems, simply flash your rom over it.
Removal of Amend script. This is a HUGE change for everyone using the update-script method to create flashable .zip files. ALL developers should begin using Edify scripts (updater-script and update-binary). I will post a few examples of common things below.
Color contrast changed from green on black to orange on black.
New mounting system. Partition types are no longer required to be compiled into CWM, and are instead detected from /config/recovery.fstab (Modified path to work with the redirector)
Notice: DO NOT INSTALL UNLESS YOU WANT EXT4!!!
[NEW] FOR EB13:
http://efragtv.com/android/OneClickRootCWM3-EB13.zip
NOTES FOR EB13: Auto conversion/restore seems to work 100% now. I converted and did NOT have to flash a rom over it. =]
[OLD] FOR DK28:
http://efragtv.com/android/OneClickRootCWM3.zip
INSTRUCTIONS:
1. Unzip to your desktop.
2. Go into your phone and Go to settings->Applications->Development and turn on USB Debugging.
3. Now double click run.bat in the folder you unzipped. (If you are on linux ./run.sh from the folder)
4. Wait for everything to happen.
5. Use the THREE BUTTON METHOD to get to CWM3.
6. Wait for the conversion operation to finish.
7. DO NOT REBOOT!!!!
8. IF YOU ARE ON AN ODEXED ROM (DEFAULT OTA) THEN YOU NEED TO REFLASH A ROM AFTER THE CONVERSION!!!!!!! ODEXED ROMS DO NOT GET RESTORED PROPERLY!
9. Flash the Default Stock Dual FS kernel For EB13: http://efragtv.com/android/EB13-DUALFS-KERNEL.zip
10. Enjoy CWM 3.0.0.5/6
See post #2 for Edify examples vs the old Amend style.
RESERVED for updater-script examples.
Syntax:
Code:
Amend Code
Edify Code
Copying a directory from the update package to the phone:
Code:
[COLOR=Red]Amend:[/COLOR] copy_dir PACKAGE:system SYSTEM:
[COLOR=SeaGreen]Edify:[/COLOR] package_extract_dir("system", "/system");
The first parameter is the direct location inside of the package.
The second location is the destination on the phone.
Mounting /data /system and /cache in Edify
Code:
run_program("/sbin/mount", "/dev/block/stl9", "/system");
run_program("/sbin/mount", "/dev/block/stl10", "/data");
run_program("/sbin/mount", "/dev/block/stl11", "/cache");
Printing a UI Message in Edify
Code:
ui_print("Some text here");
Create a symlink in Edify:
Code:
symlink("from","to");
Setting permissions in Edify:
Code:
Single file: set_perm(0, 0, 06755, "/system/xbin/su");
Recursive: set_perm_recursive(0, 2000, 0755, 0755, "/system/xbin");
Run a program in Edify:
Code:
run_program("filetorun", "option1", "option 2", "option 3");
Delete a location recursively (like Amend's format):
Code:
delete_recursive("/path/to/delete");
Remember that script functions that take options (For example, run_program) must have each item that would require a space between it to be surrounded in double quotes, and followed by a comma. The last parameter must not have a comma afterwards.
Remember that ALL edify commands must end with a semi-colon.
Can't hardly wait! Am looking forward to learning about Edify scripts.
Will my download mode work after this?
:: rolls eyes ::
Sent from my SPH-D700 using XDA App
DevinXtreme said:
Will my download mode work after this?
:: rolls eyes ::
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
No. Your phone will be dead forever.
This sounds promising but I'm gonna need help on the home binary scripts
Sent from my SPH-D700 using Tapatalk
Well it looks like we will all be releasing ROM updates later this week.
Sweeeeeeet
Sent from my SPH-D700 using XDA App
Thanks for all your hard work Dameon, def one of the best devs we have for the Epic. Donation will be coming your way soon Looking forward to trying this out!
Looking forward to this as well. So for those of us who currently have 2.5.1.0 / .2 installed, what will happen as far as updating to the newer cwm?
Dameon .. Nice work .. really sweet !! I don't have any money for you but if you need some new sick clothes let me know =) I own a dope clothing company in SO CAL... just drop me a line of what you need. Im running cwm .2 would i want to upgrade to this or just keep .2 ?
What is likely to happen is that this new one will overwrite 2.5.1.0. The other one, 2.5.1.2, is only baked into the rom. As per the OP, this will convert to ext4 and should only be used if you want ext4. However, the OP also said that the recovery.fstab file determines the file system (being a file system table and all). Since 2.5.1.0 was useless to us once converting to ext4, and we are basically running a hack to gain access to a usable recovery, this will simplify things for us.
And thanks Dameon. You've been busy the past few days.
No, I was unaware of that. I have only been using android since October, but I have been using linux on and off for almost 10 years. I've been learning what I can, but haven't found good explanations on how everything is put together in android. I need to spend some time reading the developer's guide and finding more guides. Also, I've been meaning to set up a kitchen so I can dig into the source, but I need to backup and wipe my laptop first. Not to thread jack, but do you know of any good places to start?
One thing that I'm sure will come up that the Edify zips will need to be signed using the android sdk. The good thing is that it's not hard to do.
That is, unless Dameon87 did something to Clockworkmod so that signing isn't necessary.
Sent from my SPH-D700 using Tapatalk
Signing is not necessary =]
Updated, Link added:
http://efragtv.com/android/OneClickRootCWM3.zip
Follow instructions in OP.
Link fixed in OP.
so this recovery will change the file system to ext4? There are no previous steps?
Sent from my SPH-D700 using XDA App
That is correct. Just run it like you would the one click root/CWM redirector installer.
AWESOME
Sent from my SPH-D700 using XDA App

[FIX available] Expected Arguments help [SOLVED]

I keep running into this issue with a rom port. It keeps saying that it is expecting 3 arguments but got 2, as listed below in recovery.log:
The updater-script originally came with 3 arguments, but I can only allow 2, as if I used 3 like so: format("yaffs2", "MTD", "system", my hd2 would give 7 vibrations of death for some odd reason.
Code:
Opening update package...
Installing update...
script aborted: format() expects 3 args, got 2
Welcome to TW_FET_1.47.950.3 release
v0.1
format() expects 3 args, got 2
E:Error in /sdcard/TW_FET_12_43.zip
(Status 7)
How do I change the 'expected arguments' because in other roms, there are only 2 arguments for format.
Any help would be appreciated!
Finally found out what the problem was.. feel like an idiot right now haha
>>> ** For future reference, it is the update-binary causing problems! Replace it with a binary from another build that takes format and mounts commands in the correct amount of arguments. ** <<<
The binary from the Desire HD takes:
-3 arguments for format
EX: format("MTD", "yaffs2", "system");
- and 4 arguments for mount
EX: mount ("MTD", "yaffs2", "system", "/system");
meanwhile, in AOSP, the update-binary takes
-2 arguments for format
EX: format("MTD", "system");
- and 3 arguments for mount
EX: mount("MTD", "system", "/system");
This should solve the problem.. and it took me 2 days to figure this out..
THANK YOU! This helps a lot!
what do i do when i have no idea what any of you just said? :| ive never not been able to mod this phone but now all the suddent i cant install anything. its an e980 LG optimus G pro. great phone love it to death, replaced the digitizer and the charging port on it, still going strong. very great phone ! bt now every thing i try to install gets an errorexpects 5 args, got 3. e: erropr in data/media/touchrecovery_atrix_5.8.1.8.zip i can't seem to figuire out what to do now i wanna try a new rom bored with stock but now im stuck :\ flasing new tot files with LG flash tool doesnt change this either.
jianC said:
Finally found out what the problem was.. feel like an idiot right now haha
>>> ** For future reference, it is the update-binary causing problems! Replace it with a binary from another build that takes format and mounts commands in the correct amount of arguments. ** <<<
The binary from the Desire HD takes:
-3 arguments for format
EX: format("MTD", "yaffs2", "system");
- and 4 arguments for mount
EX: mount ("MTD", "yaffs2", "system", "/system");
meanwhile, in AOSP, the update-binary takes
-2 arguments for format
EX: format("MTD", "system");
- and 3 arguments for mount
EX: mount("MTD", "system", "/system");
This should solve the problem.. and it took me 2 days to figure this out..
Click to expand...
Click to collapse
That really helped, I was having problems for a few minutes until I found this post. Thanks alot:good:

[HOW TO][N00B][w/oPC]How to make a flashable.zip[No PC needed!]

This is my most favourite topic!
I will enlight you all how to create your own flashable zip file. I'm trying to make it as n00bfriendly as I can.
Code:
DISCLAMER
Follow this guide step by step so nothing can happen. Anyway I'm not responsible for any damage caused because of me or this thread. If you have any questions or problems, don't be shy and
[B]ask me I will help or create it for you![/B]
So here we go:
There are two ways how to do it:
WAY ONE (PC):
What you need:
*brain (for those who don't know...)
*your pc
*notepad++
*7zip
*FlashGuide.zip (can be found in attachments)
WAY TWO (I9001):
*brain (yes, here too...)
*your I9001 (you don't need root)
*FlashGuide.zip (can be found in attachments)
*Explorer or RootExplorer app
******************************
WAY ONE (PC):
1.download the files for your pc and install them
2.open 7zip and unzip FlashGuide.zip
3.In the folder FlashGuide you will see two sub-folders which are as "META-INF" and "system"
4.see: META-INF
5.see: SYSTEM
WAY TWO (I9001):
1.download the files for your I9001
2.open the app and unzip FlashGuide.zip
3.In the folder FlashGuide you will see two sub-folders which are as "META-INF" and "system"
4.see: META-INF
5.see: SYSTEM
-----------------------------
META-INF​
Go back to the root of the folder and open up"META-INF". leave those files untouched and open "com" and then "android".
Inside the android folder, you will see two files named as "update-binary" and updater-script.
WAY ONE (PC):
Open the "updater-script" file with "notepad++".
You are free now to type some code you want just press HERE
WAY TWO (I9001):
Open the "updater-script" file by longpress it and choose "Text Editor".
You are free now to type some code you want just press HERE
-----------------------------
SYSTEM​
Concentration! It's nearly finished. Let's see, what you have to do with the "system" folder. It's in the root of the FlashGuide folder.
You should add your MOD now, HOW TO:
ADD an APP
If you want to add an apk file then create a folder named "app" and that "app" folder contains the apk file(s) that you want to put in the system partition of the ROM.
FRAMEWORK
If you want to add framework-mods then add a folder named "framework" into the "system" folder.put your framework mods into that folder. (in the most cases the Framework mods are in a Framework-res.apk file.)
LIBS
If you want to change libs then create a folder named "lib" and put the libs in there.
BIN
If you want to put bin files then the subfolder in the system subfolder will be "bin" and it will contain the bin files.
SCRIPTS
If you want to add scripts then name a folder in the system "etc", create there a folder named "init.d" and put the scripts in there.
NOW CHECK THIS LIST:
I updated the UPDATER-SCRIPT
√
I updated SYSTEM
√
IF NOT BOTH BOXES ARE TICKED, THEN YOU HAVE TO GO BACK!
After doing all that:
WAY ONE (PC):
open 7zip, go to the directory where the FlashGuide folder is located and zip it
WAY TWO (I9001):
After you modded the "Updater-Script" a backup had automatically been created. In this case it's the Updater-Script.bak data. Just delete it. Then go back to the directory where the FlashGuide folder is located, do long press the FlashGuide folder, scroll down, select "zip this folder" and follow further instructions.
Now you can rename the .zip to whatever you want!
THAT's ALL FOLKS!
PRESS HELP IF I THANKED YOU!
-----------------------------
HOW TO EDIT THE UPDATER- SCRIPT:
So once the updater-script has been opened with text editor (notepad++/Explorer), you will have to type some codes or you will get no reaction.
1​
To Display the information of the particular Mod when you select to flash it in CWM Recovery
Code:
ui_print("***The Text you want to display***");
2​
To mount the /system partition
Code:
run_program("/sbin/busybox", "mount", "/system");
3​
To add the apps in the /system partition
Code:
package_extract_dir("system", "/system");
4​
To unmount the /system partition
Code:
run_program("/sbin/busybox", "unmount", "/system");
5​
To delete some apps, frameworks,...
Code:
delete("/system/app/XY.apk");
or
delete("/system/framework/franework-res.apk");
6​
To show progress
Code:
e.g.:
show_progress(0.500000, 0);
show_progress(0.500000, 20) show_progress(0.500000, 40) show_progress(0.500000, 60) show_progress(0.500000, 80) show_progress(1.000000, 0)
Basically the show_progress command indicates the progress of the installation of the MOD.
an example how to use it: [HIDE]
after writing the name/info of the mod write:
show_progress(0.500000, 0);
after writing the code to mount the system partition,you can write the next one:
show_progress(0.500000, 20);
extracting the package from the system partition: show_progress(0.500000, 40);
unmount system partition show_progress(0.500000, 60);
after writing the "happy ending" of installing this zip, write: show_progress(0.500000, 80);
maybe a "reboot system" or "thanks for flashing" phrase, write: show_progress(1.000000, 0)[/HIDE]
Basically the show_progress command indicates the progress of the installation of the mod.
In this case the progress bar fill up in increments of 10, with a 0.5 second delay. What is actually being done by these lines, however, is to keep adding 0.5.
If the progress commands had enough time, this would also mean that each chunk would fill at a slower pace (since the duration is increasing), but the script moves fast enough that the user never sees this.
None of this actually changes the functionality of the script, hence my earlier declaration that this was somewhat POINTLESS to learn. This is strictly an aesthetic issue for the user, but if you are going to write scripts, I hope this comes in handy.
NOTE:
If you are using CM, you have to mount your "system" manually, using the option "mount and storage" in CWM
PRESS HELP IF I THANKED YOU ;D
IF YOU WANT TO LET ME CREATE YOUR FLASHABLE ZIP, TELL ME.
sent from my GameBoy Color
------------------------------
working on:
Project Stock (4.0.4)
very detailed, well done :good:
Sent from my Galaxy Nexus using xda app-developers app
tomixdev said:
very detailed, well done :good:
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Thanks a lot! you know, it's my first Tutorial! Cheers
sent from my GameBoy Color
------------------------------
working on:
Project Stock (4.0.4)
yeah, thanks man now i don't have to use my pc (which hangs even for a windows 7) to make a zip
I've juste tried this and at the flash, it show me an error ...
In the zip there was just root browser in app and the modded update-script !
Sent from my GT-I9001 using xda premium
LiiQuoR said:
I've juste tried this and at the flash, it show me an error ...
In the zip there was just root browser in app and the modded update-script !
Sent from my GT-I9001 using xda premium
Click to expand...
Click to collapse
please tell me what you wanted to do and upload the file. i will correct it for you
EDIT: have you deleted the updater-script.bak file?
sent from my GameBoy Color
------------------------------
working on:
Project Stock (4.0.4)
Its ok i'm an idiot ! But when i flashed the zip i had a bootloop !
It's just a test but here is my zip : http://depositfiles.com/files/psp2rs2op
Can you put the show_progress in it and can you explain the "(0.500000, 20);" in the command plz !
Sent from my GT-I9001 using xda premium
LiiQuoR said:
Its ok i'm an idiot ! But when i flashed the zip i had a bootloop !
It's just a test but here is my zip : http://depositfiles.com/files/psp2rs2op
Can you put the show_progress in it and can you explain the "(0.500000, 20);" in the command plz !
Sent from my GT-I9001 using xda premium
Click to expand...
Click to collapse
of course i can do. but not now, tomorrow i'm all yours
sent from my GameBoy Color
------------------------------
working on:
Project Stock (4.0.4)
outerh3aven said:
of course i can do. but not now, tomorrow i'm all yours
sent from my GameBoy Color
------------------------------
working on:
Project Stock (4.0.4)
Click to expand...
Click to collapse
K ! Thanks :thumbup: and good night !
------------------------------------------------------------------
Device : Samsung Galaxy S+ (i9001)
Rom : UltraGen 1.6
Kernel : CastagnaIT Kernel V7.3 Ex/Uv
Recovery :TeamWin Recovery Project (TWRP) 2.3.1.1
Sent from Belgium with XDA Premium
LiiQuoR said:
K ! Thanks :thumbup: and good night !
------------------------------------------------------------------
Device : Samsung Galaxy S+ (i9001)
Rom : UltraGen 1.6
Kernel : CastagnaIT Kernel V7.3 Ex/Uv
Recovery :TeamWin Recovery Project (TWRP) 2.3.1.1
Sent from Belgium with XDA Premium
Click to expand...
Click to collapse
Sorry, really well done .zip! Just forgot to add the delete section (If you have an app, etc. already installed) should work now.
will add delete section, permission section and set_progress section right after school.
:thumbup: really well done LiiQuouR!
EDIT: if you are on a Cyanogenmod, aosp or anything what isn't stock 2.3.6 rom, you have to mount system manually
In CWM go to mounts and storage and choose system
, might be the mistake too...
sent from my GameBoy Color
------------------------------
working on:
Project Stock (4.0.4)
I'm on UltraGen 1.6 with twrp!
Thx ! Can you just explain the comand show_progress now^^?
------------------------------------------------------------------
Device : Samsung Galaxy S+ (i9001)
Rom : UltraGen 1.6
Kernel : CastagnaIT Kernel V7.3 Ex/Uv
Recovery :TeamWin Recovery Project (TWRP) 2.3.1.1
Sent from Belgium with XDA Premium
LiiQuoR said:
I'm on UltraGen 1.6 with twrp
------------------------------------------------------------------
Device : Samsung Galaxy S+ (i9001)
Rom : UltraGen 1.6
Kernel : CastagnaIT Kernel V7.3 Ex/Uv
Recovery :TeamWin Recovery Project (TWRP) 2.3.1.1
Sent from Belgium with XDA Premium
Click to expand...
Click to collapse
UltraGen is CM9 based, so you have to mount manually
sent from my GameBoy Color
------------------------------
working on:
Project Stock (4.0.4)
Ok in the command for unmount system you have written "umount" its "unmount" no?
------------------------------------------------------------------
Device : Samsung Galaxy S+ (i9001)
Rom : UltraGen 1.6
Kernel : CastagnaIT Kernel V7.3 Ex/Uv
Recovery :TeamWin Recovery Project (TWRP) 2.3.1.1
Sent from Belgium with XDA Premium
LiiQuoR said:
Ok in the command for unmount system you have written "umount" its "unmount" no?
------------------------------------------------------------------
Device : Samsung Galaxy S+ (i9001)
Rom : UltraGen 1.6
Kernel : CastagnaIT Kernel V7.3 Ex/Uv
Recovery :TeamWin Recovery Project (TWRP) 2.3.1.1
Sent from Belgium with XDA Premium
Click to expand...
Click to collapse
I don't know how it's in TWPR, I'm using CWM. usually the system is not mounted
sent from my GameBoy Color
------------------------------
working on:
Project Stock (4.0.4)
Are you sure of your zip ?
Because i've mounted /system , i've flashed the zip and it failed and when i reboot the phone , it bootlooped... can you please review my zip? (Yours)
Sent from my GT-I9001 using xda premium
LiiQuoR said:
Are you sure of your zip ?
Because i've mounted /system , i've flashed the zip and it failed and when i reboot the phone , it bootlooped... can you please review my zip? (Yours)
Sent from my GT-I9001 using xda premium
Click to expand...
Click to collapse
sorry, today I'm totally retarded, got a 3hour nostop test and i'm exhausted as hell... will do it some time later at home.
sent from my GameBoy Color
------------------------------
working on:
Project Stock (4.0.4)
In the end line of update script you.should put an empty line and after mounting system you should unmount it and be sure your premissions are fixed!
If you do that rules you will never have a bootloop!
alireza7991 said:
In the end line of update script you.should put an empty line and after mounting system you should unmount it and be sure your premissions are fixed!
If you do that rules you will never have a bootloop!
Click to expand...
Click to collapse
wrong, but thanks for your try. worked for me every time without this empty line.
finally got my mistake (today was not my day). used the gb meta-inf files to make a ics zip
can be downloaded here LiiQuoR
sent from my GameBoy Color
------------------------------
working on:
Project Stock (4.0.4)
outerh3aven said:
wrong, but thanks for your try. worked for me every time without this empty line.
finally got my mistake (today was not my day). used the gb files to make a ics zip
can be downloaded here LiiQuoR
sent from my GameBoy Color
------------------------------
working on:
Project Stock (4.0.4)
Click to expand...
Click to collapse
Ok ! But link doesn't work ! Always a problem not your day as you said
Sent from my GT-I9001 using xda premium

error 7 on Twrp

When i try to flash a ROM on my leeco, appears in twrp the error 7 what means???
Have a solution for this error??
And custom ROM android 7 or lineage os, aosp, resurrection remix ROMs
for leeco le s3
A some GuY said:
When i try to flash a ROM on my leeco, appears in twrp the error 7 what means???
Have a solution for this error??
And custom ROM android 7 or lineage os, aosp, resurrection remix ROMs
for leeco le s3
Click to expand...
Click to collapse
My dear Friend
Do not put everything here on XDA, do some exercise and search on google, you will get your answer. i request you to please close this thread.:good:
Error 7 in TWRP-Recovery means that the ROM-Image (zip file) doesn't match your phone. In our case there exist several models for the S2 (SD652): X520, X522, X526 and X527.
If you want to avoid Error 7, you need to open the zip-file (maybe 7zip):
- go to directory META-INF \ com \ google \ android
- open the file "updater-script" with an editor like notepad++
- place a # at the beginning of the first two lines, looks like this:
# (!less_than_int(....
# get_device_compatible...
- save the modifications in the zip-file and put it into the phone
- now update your phone via twrp
A some GuY said:
When i try to flash a ROM on my leeco, appears in twrp the error 7 what means???
Have a solution for this error??
And custom ROM android 7 or lineage os, aosp, resurrection remix ROMs for leeco le s3
Click to expand...
Click to collapse
It is possible to make a screen shot of the whole error message in TWRP.
There is more than one Error 7.
Provide the screen shot, to be sure you'll get the correct answer.
JamBax said:
It is possible to make a screen shot of the whole error message in TWRP.
There is more than one Error 7.
Provide the screen shot, to be sure you'll get the correct answer.
Click to expand...
Click to collapse
Ok i send a print and thx to try to help me
Andy_04 said:
Error 7 in TWRP-Recovery means that the ROM-Image (zip file) doesn't match your phone. In our case there exist several models for the S2 (SD652): X520, X522, X526 and X527.
If you want to avoid Error 7, you need to open the zip-file (maybe 7zip):
- go to directory META-INF \ com \ google \ android
- open the file "updater-script" with an editor like notepad++
- place a # at the beginning of the first two lines, looks like this:
# (!less_than_int(....
# get_device_compatible...
- save the modifications in the zip-file and put it into the phone
- now update your phone via twrp
Click to expand...
Click to collapse
Ok dude, i can try do this your help, thx man
Andy_04 said:
Error 7 in TWRP-Recovery means that the ROM-Image (zip file) doesn't match your phone. In our case there exist several models for the S2 (SD652): X520, X522, X526 and X527.
If you want to avoid Error 7, you need to open the zip-file (maybe 7zip):
- go to directory META-INF \ com \ google \ android
- open the file "updater-script" with an editor like notepad++
- place a # at the beginning of the first two lines, looks like this:
# (!less_than_int(....
# get_device_compatible...
- save the modifications in the zip-file and put it into the phone
- now update your phone via twrp
Click to expand...
Click to collapse
Thanks....
Do I have to add space after the #?
# (!less_than_int(1513360281, getprop("ro.build.date.utc"))) || abort("Can't install this package (Sat Dec 16 01:51:21 CST 2017) over newer build (" + getprop("ro.build.date") + ").");
# getprop("ro.product.device") == "le_x6" || abort("This package is for "le_x6" devices; this is a "" + getprop("ro.product.device") + "".");

Problem with port on Mediatek 6580 kernel 3.18.35

Yesterday I made a port to a Doogee Shoot 2 (Mediatek 6580 with Kernel 3.18.35) from this ROM http://techboxlab.com/a9-lite-rom-for... I was pretty happy about the possibility of flashing it. Was a success, everything was working except a little detail: the device was lock and I made a call to see how the screen and sound was...the result? the phone goes crazy...I was rebooting the device. Once was on again I go to Play Store to update the apps...the phone goes to rest and when I unlock it, again this that show you in the video. What can it be? I followed to guides to do it and both are the same result, mixing both equal...
I thought that can be the gapps (the rom comes with gapps) so I flash over newer version, was the same. I don't know if it helps but here are some things, the flash takes a while (more than 10 minutes), and when the flash is over and I can reboot I have this: after the Unmount system line I get: "unmount of /system failed: no such volume"
the mount section of my updater script is:
ui_print(" = >>>>> Mount System <<<<< = ");
mount("ext4", "EMMC", "/dev/block/platform/mtk-msdc.0/by-name/system", "/system", "max_batch_time=0,commit=1,data=ordered,barrier=1,errors=panic,nodelalloc");
ui_print(" = >>>>> Stating Flash Rom <<<<< = ");
package_extract_dir("system", "/system");
And the unmount system
ui_print("**************************************************");
ui_print(" = >>>>> Unmount System <<<<< = ");
unmount("/system");
set_progress(1.000000);
My youtube video with the example https://www.youtube.com/watch?v=ysgOy50-2ao
help please?
anyone?
AgustinH said:
anyone?
Click to expand...
Click to collapse
Try this guide https://forum.xda-developers.com/android/general/guide-how-to-port-nougat-based-roms-t3679512
This guide (another one) got deleted in the FB group. So here it is again: https://forum.xda-developers.com/an...uide-minimal-porting-guide-mtk-64bit-t3772641
Give it a go and see if it helps in anything porting related. Regarding the updater script, download on of the custom roms for your device and try using one of those updater scripts.

Categories

Resources