[Q] cwm, error status 7 (expects 4args, got 3) - HTC Sensation XL

tried flashing my own stripped runnymede, get this error in cwm, "error status 7 (expects 4args, got 3)"
any ideas?

Thread moved

got it working, partially, in dsixda-kitchen,
when i skip the updater->update convert, and use express without signing and zip-aligning so i reckon that the problem must be in either one of those steps...
at work now, will tinker more when i come home, but i know someone here, knows where im failing, so any help is very welcome!

fiddled in dsixdas a little bit, and i don't think you can skip the updater>update converter if you waqnt it to work on the XL. I'm sure one of the experienced devs should be able to confirm that.
I said yes to everything and it booted fine.

What rom did You base it on? worked fine without the conversion, but there werent any changes Made to updater...
Sent from my HTC Sensation XL with Beats Audio X315e using xda premium

mine was based on 1.05.
i removed a few apps, added a couple, added root/busybox/su/etc, zip-aligned and de-odexed.
was the first one I'd ever done, but it booted OK.

wrong update-binary file...

Its the updater-script that needs editing...
This is normally at the top of the script and each arg is inbetween the " " just look at the updater script and you should see a few lines like below.
format("ext4", "EMMC", "/dev/block/mmcblk0p25", "0"); < 4 args
format("ext4", "EMMC", "/dev/block/mmcblk0p25"); < 3 args
or like this one...
mount("ext4", "EMMC", "/dev/block/mmcblk0p25", "/system"); < 4 args

Related

[TOOL][HOWTO][29 Oct] Beng's Finalizer 0.1 | Wipe Dalvik | Remove Crud | Tweaks

This Finalizer zip is meant to be flashed right after any ROM/Kang and kernel. (More tailored for CyanogenMod-based ROMs at the moment, but I had one specially for MIUI in the past, just need to update it. It will work for MIUI, just that it will not remove some MIUI crud.) I have been using and adding to it for the last few months, and just cleaned it up to be more suitable for release.
It is designed to be customized, and roll up everything needed to be done post-flash into one zip. It has been a lifesaver to me as a crack-flasher, using TWRP I can automatically reboot after flashing, so I can just flash my ROM, kernel and Finalizer all together and I'm set.
I take no credit for anything in it except for its organization and my experience testing what can be safely removed over the past few months. I just compiled it into a more standardized framework with instructions, so that anyone can learn how to modify it to their needs, even if they were not aware of what updater-scripts could do before.
What it can do (or not, if customized)
Wipe dalvik cache
Remove unnecessary APKs/files (I've listed >50 but you might not want to remove all of them)
Copy custom APKs, tweaks, init.d scripts, fonts, sounds, ringtones, etc. to /System (the included files are just examples, I've included ad blocking host file, Roboto font, some ICS sounds and updated Superuser/su binary)
Every change is confined to /system so if it removes more than you want, just flash ROM/Kang again and everything will be restored. Then you can modify it to remove less.
Instructions
Unzip and customize. (I have tried to strike a safe balance for removal defaults so that most users will not have to comment/uncomment too many lines but you will likely want to customize it at least a bit.)
The most important file: META-INF/com/google/android/updater-script
Open in a text editor (not windows notepad) and you will see what is attached in the code listing below.
A '#' serves to comment out everything following it in the same line. Comment out or uncomment lines as needed in the removal section according to what you need. The rest of the file should be fine as it is, but you may want to edit the Messages section just for cosmetic reasons.
Notes for the rest of the files:
.nomedia - I often unzip, edit and rezip the folder on /sdcard so I do not want the files inside to be picked up by the media scanner
system/app - I included the Superuser.apk from Market as it is newer than in current Nightlys, other ideas: stock/alternative launcher, newer Market, brut.all google maps
system/etc/init.d - put your favorite init.d script tweaks here, every rom/kernel has their own so I didn't include any by default (note: zipalign on boot no longer has much use as every app has been automatically zipaligned nowadays)
system/etc/hosts - to block ads, I've included the latest compiled by AdAway
system/etc/gps.conf - edit as per here to get faster fixes
system/fonts - I've included Roboto, but there are many font threads around, if they come in a zip just extract the .ttf's and replace the font files here
system/media - put bootanimation.zip here, and your custom sounds/ringtones in the corresponding folders. I included some ICS ones for starters
system/xbin - replace su binary there if a newer one comes out, but I'll try to keep it up-to-date
Rezip META-INF, system and .nomedia. Open zip and make sure it contains them directly and not in an enclosed folder.
Enjoy your sleek customized ROM!
Comments, ideas and suggestions would be really appreciated, tell me too if your default preferences disagree with mine, I plan to release several versions in the future, like a version for more experienced users that does not come with default files and another one which does not remove anything by default.
Current META-INF/com/google/android/updater-script:
Code:
###Mount /data and /system partitions
mount("ext4", "EMMC", "/dev/block/platform/s3c-sdhci.0/by-name/userdata", "/data");
mount("ext4", "EMMC", "/dev/block/platform/s3c-sdhci.0/by-name/system", "/system");
###Wipe dalvik cache
delete_recursive("/cache/dalvik-cache/");
delete_recursive("/data/dalvik-cache/");
###Remove unnecessary files
delete(
##Not needed after first boot
"/system/app/OneTimeInitializer.apk",
"/system/app/Pacman.apk", #Market apps installer
"/system/app/Protips.apk", #Home screen tips widget
"/system/app/Provision.apk",
"/system/app/SetupWizard.apk",
##Default apps which may be replaced by alternatives
"/system/app/ADWLauncher.apk",
"/system/app/BooksPhone.apk", #Google Books
#"/system/app/Browser.apk", #Needed for Google Voice Search, Talk and Voice
"/system/app/Calculator.apk",
#"/system/app/Calendar.apk",
#"/system/app/Camera.apk",
#"/system/app/DeskClock.apk",
"/system/app/DSPManager.apk",
"/system/app/Email.apk",
"/system/app/FileManager.apk",
"/system/app/Gallery3D.apk",
#"/system/app/GenieWidget.apk", #News & Weather
"/system/app/LatinIME.apk", #Default keyboard
"/system/app/LatinImeTutorial.apk", #Default keyboard tutorial
#"/system/app/Mms.apk", #Default SMS and MMS
"/system/app/SoundRecorder.apk",
"/system/app/Talk.apk", #Google Talk
"/system/app/UserDictionaryProvider.apk", #Needed for default keyboard
##Other apps
"/system/app/CarHomeGoogle.apk",
"/system/app/Development.apk", #Dev Tools
#Downloads app. If removed, default browser FCs if download notification is
#selected while in progress. Does not otherwise affect downloading capabilities
"/system/app/DownloadProviderUi.apk",
#"/system/app/GoogleQuickSearchBox.apk", #Google Search
"/system/app/Stk.apk", #SIM Toolkit
"/system/app/SpareParts.apk",
"/system/app/Tag.apk",
#"/system/app/Torch.apk", #Needed for torch button in notification power widget
"/system/app/VoiceDialer.apk",
##Remove and use Market versions which are often updated before CyanogenMod's
#https://market.android.com/details?id=jackpal.androidterm
"/system/app/AndroidTerm.apk",
#https://market.android.com/details?id=com.koushikdutta.rommanager
"/system/app/RomManager.apk",
##Services
#Bluetooth Share, does not affect other Bluetooth functions
"/system/app/Bluetooth.apk",
"/system/app/CertInstaller.apk",
"/system/app/CMStats.apk", #CyanogenMod anonymous statistics reporting service
"/system/app/CMUpdateNotify.apk", #CyanogenMod Update Notifications
#"/system/app/FOTAKill.apk",
#"/system/app/HTMLViewer.apk",
"/system/app/GoogleFeedback.apk",
"/system/app/MediaUploader.apk",
#"/system/app/NetworkLocation.apk", #Location via mobile network/Wi-Fi (not GPS)
#"/system/app/Nfc.apk",
#Pico text-to-speech engine. If removed, text-to-speech
#will still work, but text-to-speech settings will FC
#"/system/app/PicoTts.apk",
#"/system/app/TtsService.apk", #Text-to-speech, needed for Google Navigation
"/system/app/VpnServices.apk",
##Theme chooser
#"/system/app/ThemeChooser.apk",
"/system/app/Androidian.apk",
"/system/app/Cyanbread.apk",
##Wallpapers
"/system/app/CMWallpapers.apk",
"/system/app/LiveWallpapers.apk",
#"/system/app/LiveWallpapersPicker.apk",
"/system/app/MagicSmokeWallpapers.apk",
"/system/app/VisualizationWallpapers.apk",
##May not be disabled in older ROMs, no harm removing
"/system/lib/egl/libGLES_android.so",
"/system/media/audio/ui/camera_click.ogg",
##Boot animation and sound
"/system/bin/bootanimation",
"/system/media/bootanimation.zip",
"/system/media/audio/poweron/PowerOn.ogg"
); #REMINDER: No comma on last entry
###Extract files to /system and set permissions
package_extract_dir("system", "/system");
set_perm_recursive(0, 2000, 0755, 0750, "/system/etc/init.d");
set_perm(0, 0, 06755, "/system/xbin/su");
###Unmount /data and /system partitions
unmount("/data");
unmount("/system");
###Messages
ui_print("");
ui_print("Beng's Finalizer");
ui_print("Installed:");
ui_print("Custom Font: Roboto");
ui_print("Custom Sounds: ICS");
ui_print("");
ui_print("Tweaked:");
ui_print("gps.conf");
ui_print("hosts file");
ui_print("");
ui_print("Updated System Apps:");
ui_print("Superuser v3.0.6");
ui_print("su binary v3.0.3");
Reserved..
Neat stuff. My CM7 zips usually go through a process involving liberal use of the Delete button for mostly the same effect, but this is pretty cool too.
Thanks! Yeah I used to delete and replace files in ROM zips with a script on my computer too. It's when I go on crazy crack-flashing streaks that the on-device approach is considerably more handy, but the end result is the same.
The on-device approach is definitely the appeal here. Oh the many times I've downloaded a new rom and had to wait (shock, horror!) to get home or pull out my laptop to start modding the zip.
Definitely one for the crack-flashers.
Good stuff!
Inviato dal mio Nexus S
sorry..
is there any chance for tweak google services???
google messaging services drained my battery a lot...
omg that's awesome. will be using it after every flash from now!
could you make a script to switch out sidekick.apk for google search after flashing miui?
or just delete sidekick
A really god job!
al_madd said:
sorry..
is there any chance for tweak google services???
google messaging services drained my battery a lot...
Click to expand...
Click to collapse
When you don't need them at all, you can manually disable Auto-sync in Settings > Accounts & Sync settings, or do it automatically with something like JuiceDefender.
If you don't use specific Google services, you can edit updater-script and remove them:
GoogleBackupTransport.apk corresponds to Settings > Privacy settings > Back up my data
GoogleCalendarSyncAdapter.apk and CalendarProvider.apk for Google Calendar sync
GoogleContactsSyncAdapter.apk for Google Contacts sync
If you don't use any Google services at all, there is a lot more stuff that you can remove, but then what are you using Android for then?
Thanks for bringing this up, I'll add the relevant lines in my next update, commented out, for the convenience of users who don't use certain Google services.
brrip said:
omg that's awesome. will be using it after every flash from now!
could you make a script to switch out sidekick.apk for google search after flashing miui?
or just delete sidekick
Click to expand...
Click to collapse
I will do a MIUI template version when I have an hour or two free, haven't installed MIUI in quite awhile. In the meantime, add
Code:
"/system/app/SideKick.apk",
within the removal section in updater-script and drop GoogleQuickSearchBox.apk (attached apk from the latest gapps) in the system/app folder in the zip. That should do it as far as I can recall.
Aljosha89 said:
A really god job!
Click to expand...
Click to collapse
Thanks, did you mean "good"? I can live with "god" though!

[TOOL] The O2x Nullifier 2.2 - Single & Dual Passes!!! P990

Hello my fellow Android crack flashers! So Volk and I have wrote(him) and tested(me) his g2x nullifier for our phones. Well it works flawlessly! Which his thread is here. So with our learning adventures he has helped me port it to the O2x. So here is the run down. This was originally created as the g2xscrubber was insufficient enough for our flashberry addiction, and on top of that if wouldn't wipe our /cache either.
So the domino effect has begun. This is a simple script that will wipe your internal partitions cleaner then a whistle and get it dam near like new status, perfectly ready for a ROM. Like as if you just purchased it and didnt have any data on it nor a ROM and needed to be flashed. And yes it came all tricked out like that with CWM and all.. haha
So here it is...
The O2x Nullifier
This uses a special command in combination with a special file to overwrite the internal partitions with 0's, hence "Null" for 0 and "-ifier" for the fact that it does something. It also formats the partitions afterward, including /cache too! Enjoy!
Some brief need to knows:
1. This is a little lengthy process so please bear with it. The longest wipe is on /data which will take about 7 minutes. Obviously, make sure you have plenty of battery life before running it. I've ran this Nullifier like 20 times in the last two days of first testing and on average its about 1204 seconds or about 19.8 minutes, on average. The Single pass zip is only half of the time of course. Or you can just watch the progress bar. After 20 times of nullifing and log pulling in 2 days, im pretty dang sure the bar is accurate. So enjoy!
2. ONCE THE NULLIFICATION PROCESS HAS BEEN COMPLETED DO NOT, I REPEAT, DO NOT TURN OFF OR LET YOUR PHONE DIE BEFORE FLASHING A ROM OR RESTORING... or you will brick your phone.
3. I will provide help, support, etc. for this, but as always flash at your own risk and I am not responsible if you turn your phone into your next non-aerodynamic frisby.
Enjoy!
Also I have now decided to copy the log to sdcard at completion (thanks to DARKSIDE for the idea). But from now on the log created in /tmp while in cwm is now copied to sdcard as O2x-Nullified-recovery.log. So it will still be deleted from RAM but never lost any more!!!!! muhahahahahahah... love it!
Thanks go to Волк aka Volk for letting me test and learn from his G2x Nullifier script. And also to owain94 for helping me make sure that this thing will run ok on the O2x, since I dont actually have the O2x..
Also if is doesn't work, please we need logs. You need to use a file explorer or put the external sdcard into your pc and grab and upload or pm me the log from your sdcard the file will be named 'O2x-Nullified-recovery.log'
mini change log:
1.2 -> fixed sleep command, 1.2
1.3 -> updated binary script and added /cache info per vadonka's advice
1.3.1 -> Bad zip... reupped
1.3.2 -> zipped with 7zip should work now.. dumb winzip... reupped
skipped to 1.5 -> updated script and binary. Also removed /cache format command; instead do a manual wipe for now
skipped to 2.0 -> updated script and binary again. Manual format still.
2.1 -> No more manual /cache wipe and working progress bar!
2.2 -> Single/Dual pass zip options. Thanks to Volk for error check and darkside for log creation idea. Added support for su660
nice work mate!
Ok so i'm hijacking this post to use while i'm at work (with crappy lowest bid PC) and using this FOR MY TEST UPLOADS ONLY. THIS WILL CONSIST OF G2X TESTS GETTING READY FOR THE O2X... DO NOT DOWNLOAD ANY ATTACHMENT ON THIS POST OR ATTEMPT TO FLASH IT BECAUSE IT WONT WORK FOR YOU UNLESS YOU HAVE A G2X!
Thanks a lot mate
da-pharoah said:
This was originally created as the g2xscrubber was not sufficent enough for our flashberry addiction.
Click to expand...
Click to collapse
Remember to read first, if your question hasn't already been asked or answered, ask and maybe you'll get it posted in the Q&A post.
Pharoh, what did you fix I see nothing wrong.
>.>
carburano said:
Thanks a lot mate
Click to expand...
Click to collapse
No worries
Волк said:
Remember to read first, if your question hasn't already been asked or answered, ask and maybe you'll get it posted in the Q&A post.
Pharoh, what did you fix I see nothing wrong.
>.>.
Click to expand...
Click to collapse
lol nice catch.. was in a hurry to leave from work. Fixed now.
Hi friend...
just tried but it's not working... E: Can't Open /sdcard/O2x Nullifier beta 1.zip (bad) Installation Aborted...
Interesting, there will be a log in cache/Recovery can you send it to one of us and we can have a look. It may have not been zipped correctly. Or heck, I'll dl it right quick and have a look.
Ah, it's not signed. One sec.
new link.
http://db.tt/YeuzWktM
Error status 6...
Did you made the updater script in Linux, mac or windows?
If Mac or windows what text editor did you use?
Did you ever edited the updater script if yes what text editor did you use?
Sent from my LG-P990 using xda premium
owain94 said:
Error status 6...
Did you made the updater script in Linux, mac or windows?
If Mac or windows what text editor did you use?
Did you ever edited the updater script if yes what text editor did you use?
Sent from my LG-P990 using xda premium
Click to expand...
Click to collapse
used win7 and notepad++
error with op link or updated link by Волк?
carburano said:
Hi friend...
just tried but it's not working... E: Can't Open /sdcard/O2x Nullifier beta 1.zip (bad) Installation Aborted...
Click to expand...
Click to collapse
Волк said:
Interesting, there will be a log in cache/Recovery can you send it to one of us and we can have a look. It may have not been zipped correctly. Or heck, I'll dl it right quick and have a look.
Ah, it's not signed. One sec.
new link.
http://db.tt/YeuzWktM
Click to expand...
Click to collapse
OP updated thanks again Волк!
Why not just use the nvflash based v10b flashing released by Paul on modaco. I use that when I really want to clean everything up. Since it is V10b, easy to install CWM recovery using psneuter (thought it is not required) and can be done with a simple dd command directly.
hackworks said:
Why not just use the nvflash based v10b flashing released by Paul on modaco. I use that when I really want to clean everything up. Since it is V10b, easy to install CWM recovery using psneuter (thought it is not required) and can be done with a simple dd command directly.
Click to expand...
Click to collapse
Well really thats kind of a longer process.. thats a rom, this is just a tool to wipe clean your internal storage. Basically take it back to like new status, but still having full root ability. CWM will flash the rom of your choice after your done with the nullification process and manual /cache wipe. This will not take you back to a predetermined state (in terms of a rom), it will leave your phone a nice paper weight however until you decide to flash a rom.
nice work!
i have a little advice for you. use this method for the cache wipe and no need to manual wipe cache anymore
unmount("/cache");
run_program("/sbin/mke2fs", "/dev/block/mmcblk0p2");
run_program("/sbin/tune2fs", "-O", "extents,uninit_bg,dir_index,has_journal", "/dev/block/mmcblk0p2");
run_program("/sbin/e2fsck", "-fy", "/dev/block/mmcblk0p2");
run_program("/sbin/tune2fs", "-o", "journal_data_writeback", "/dev/block/mmcblk0p2");
run_program("/sbin/e2fsck", "-fy", "/dev/block/mmcblk0p2");
this create an ext4 partition, if you want ext3 just skip the first tune2fs row, and use the -j option in the mke2fs.
mke2fs recreate a new empty partition no need to fill with zeroes before, so the nullifying parts is unneded, just use the mke2fs. its enough, except if you want to wipe the data for reason.
I still receiving get the error message:
E: Can't Open /sdcard/O2x_Nullifier_1.2.zip (bad) Installation Aborted (Status 6)
Click to expand...
Click to collapse
What I'm doing wrong?
ev!denz said:
I still receiving get the error message:
What I'm doing wrong?
Click to expand...
Click to collapse
its because the update-binary is a bit old
use a newer update binary.
vadonka said:
its because the update-binary is a bit old
use a newer update binary.
Click to expand...
Click to collapse
How can I use a newer one?
Darn it! Ok im on my way to work.. I'll see if I can get around the limitations there an update for y'all...
Sent from my LG-P999 using xda premium
ev!denz said:
How can I use a newer one?
Click to expand...
Click to collapse
just replace the update-binary file in the META-INF\com\google\android\ directory
pull it from the cm7 kang for example.
vadonka said:
just replace the update-binary file in the META-INF\com\google\android\ directory
pull it from the cm7 kang for example.
Click to expand...
Click to collapse
OP updated

[SOLVED ]error, trying to install CM9

I've taken a photo - -
http://db.tt/NOERNs1j
I have a P1000N device. Anyone know what am missing why installation failed?
Thanks.
***solved by answer below and http://forum.xda-developers.com/showpost.php?p=31786369&postcount=2.
Sent from my HTC Desire S
I will quote you one of our fine XDA member who is very well versed with P1000N , Alroger
http://forum.xda-developers.com/showpost.php?p=31517678&postcount=182
"Yeah.. wont work for me since CM9 MTD. No matter which ROM I'm coming from, even stock.
I have to remove the assert check from couple 1st lines from update-script in the ZIP, leaving show_progress as the 1st line."
Edited the file but I still have an error, that last 3 lines error (in the image) is still there but instead of status 7 it is status 6 now.
-solved, solution on first post-
Sent from my HTC Desire S

Problems when creating ROM

Today I decided to make my first ROM. I decided to make it stock based with some of the apks from the leaked JB update that DoomLord released.
However, I am facing two problems:
-After uninstalling bloatware and doing a factory reset, my bloatware reappears.
-On every boot the "Android is upgrading: Optimizing applications"- As if the dalvik cache was being cleared on every boot.
xL3thalTuRdZz said:
Today I decided to make my first ROM. I decided to make it stock based with some of the apks from the leaked JB update that DoomLord released.
However, I am facing two problems:
-After uninstalling bloatware and doing a factory reset, my bloatware reappears.
-On every boot the "Android is upgrading: Optimizing applications"- As if the dalvik cache was being cleared on every boot.
Click to expand...
Click to collapse
don't know for bloatware but for dalvik cache , have you put some init.d tweak for dalvikcache in your rom?
vinss68 said:
don't know for bloatware but for dalvik cache , have you put some init.d tweak for dalvikcache in your rom?
Click to expand...
Click to collapse
No. It has happened to me several times in the past, sometimes the problem resolves itself. After doing some research, other people are saying it has something to do with Titanium Backup, for me this is not the case; I don't use Titanium Backup.
How are you making your ROM? and what are you using as your base?
gregbradley said:
How are you making your ROM? and what are you using as your base?
Click to expand...
Click to collapse
I'm just replacing things and doing several, small tweaks, then converting the backup to a zip.
I'm using Sony's .195 firmware as my base.
with dsixda's kitchen?
Right. I'm going to reflash the stock firmware, re-install everything required for dsixda's kitchen. Perhaps something just went wrong somewhere. I'll post my findings.
xL3thalTuRdZz said:
I'm just replacing things and doing several, small tweaks, then converting the backup to a zip.
I'm using Sony's .195 firmware as my base.
Click to expand...
Click to collapse
How are you converting the ftf to a zip and how are you extracting the /system fro the ftf.
Furthermore, you wil probably have to deodex the system if you are messing about with it, that will be why you keep getting the dalvik error and app optimisation errors
gregbradley said:
How are you converting the ftf to a zip and how are you extracting the /system fro the ftf.
Furthermore, you wil probably have to deodex the system if you are messing about with it, that will be why you keep getting the dalvik error and app optimisation errors
Click to expand...
Click to collapse
It appears I wasn't clear enough for others to understand me: I was converting a CWM backup to a zip, not the ftf.
I did deodex the system, however I think something may have went wrong in the process.
xL3thalTuRdZz said:
It appears I wasn't clear enough for others to understand me: I was converting a CWM backup to a zip, not the ftf.
I did deodex the system, however I think something may have went wrong in the process.
Click to expand...
Click to collapse
OK, I see. Its probably a lot easier to use the kitchen to make the .zip. Also, remember not to share the .zip you make from the backup unless you remove all your personal data from the backup.
Let us know how you get on.
I have been told that I must sleep at my grandma's house. So I wont be able to try anything until tomorrow. (She doesn't have broadband)
I guess I'll try then and tell you of my findings.
Also for the reappearing bloat ware, I remember from x10 days that there are apps in a 'customization folder somewhere in system, this might help
If you remove them from there as well then they will not reappear on boot.
Sent from my LT30p using xda app-developers app
/System/etc/customization
Also check /vendor for /etc/customization
You'll see the apk there.
Sent from my LT30p using xda app-developers app
Another problem has appeared. When I try to flash my ROM zip the following is shown:
Finding update package...
Opening update package...
Installing update...
mount() expects 4 args, got 5
E: Error in /external_sd/LT30p-TuRdZzROM-7.0.A.3.195.zip
(Status 7)
Installation aborted
Tried searching for info, but none were relevant enough.
xL3thalTuRdZz said:
Another problem has appeared. When I try to flash my ROM zip the following is shown:
Finding update package...
Opening update package...
Installing update...
mount() expects 4 args, got 5
E: Error in /external_sd/LT30p-TuRdZzROM-7.0.A.3.195.zip
(Status 7)
Installation aborted
Tried searching for info, but none were relevant enough.
Click to expand...
Click to collapse
It seems your updater script file in the META-INF folder is wrong.
Can you upload it so I can check it?
gregbradley said:
It seems your updater script file in the META-INF folder is wrong.
Can you upload it so I can check it?
Click to expand...
Click to collapse
Sure.
Here you go!
xL3thalTuRdZz said:
Sure.
Here you go!
Click to expand...
Click to collapse
wow, lots of extra lines in there...
Try downloading my rom (Or any other stock based rom) and use that updater script as base. You may have to change some things (Like in mine i have ui-print"..." commands that you will have to delete) but give one of those ago and let me know if that works.
I would upload mine, but its on my other machine, sorry...
xL3thalTuRdZz said:
Another problem has appeared. When I try to flash my ROM zip the following is shown:
Finding update package...
Opening update package...
Installing update...
mount() expects 4 args, got 5
E: Error in /external_sd/LT30p-TuRdZzROM-7.0.A.3.195.zip
(Status 7)
Installation aborted
Tried searching for info, but none were relevant enough.
Click to expand...
Click to collapse
Lol
format("ext4", "EMMC", "/dev/block/mmcblk0p12", "0");
mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "0", "???");
Take the "????" Away
That's the fifth argument mount is complaining about.
Though if I was you I would download a known working one and "borrow" the mount commands, the rest appears sound
Sent from my LT30p using xda app-developers app
mpiekp said:
Lol
format("ext4", "EMMC", "/dev/block/mmcblk0p12", "0");
mount("ext4", "EMMC", "/dev/block/mmcblk0p12", "0", "???");
Take the "????" Away
That's the fifth argument mount is complaining about.
Though if I was you I would download a known working one and "borrow" the mount commands, the rest appears sound
Sent from my LT30p using xda app-developers app
Click to expand...
Click to collapse
Really? That's it? I thought that the "???" was strange but I didn't think removing that alone would solve my issue.
I'll inform you if it works.
Have yet to make anything for t yet, it's only a week old, so haven't checked the mount points but the error is for the number of arguments passed to mount.
Sent from my LT30p using xda app-developers app

[Unlocked Bootloader ONLY][Flash via RECOVERY] Motorola SmartActions for AOSP/AOKP/CM

Hello,
I didn't take time to create a topic for this, but I think it can be usefull.
Here is a flashable ZIP file to "restore" Motorola SmartActions application in custom ROMs
You must have an unlocked bootloader, it must be flashed in recovery.
It is designed for RAZR HD only, the command line in the script to mount the /system in recovery is for RAZR HD.
( mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");package_extract_dir("system", "/system");unmount("/system"); )
But I made SmartActions works too on a GS2 and GS3 (by installing files manually in recovery with ADB).
I guess I could find a universal mount command line to make ZIP work on every phones... but didn't take time to check this.
Not every trigger are present in custom roms, I guess some Motorola Library are missing... but most of things work.
Bye
Awesome, thanks. One of the most important apps I missed from stock, and it's great to have it back.
Is the version on the Play store any different from the stock version?
Well, if I remember, you can't install the playstore version if you don't have the original already installed on your phone.
In my flashable ZIP, I already put in in the updated play store version.
FYI you don t need to be unlocked... just need the root, extract the file and put the files at the right place with right permission
Sent from my XT925 using xda premium
I am glad to see someone do this, but I am unable to add locations using CM10.1 on the XT926.
Without that ability the app is almost worthless.
Is there a missing app or anything for this?
I know some triggers are missing, didn't find how to enable them.
For my use the current zip is enough for me. (Silent hours with VIP, car dock triggers GPS and application launch...)
Thanks a lot for this. But finally i fall in love with Llama
The only stock app i'm missing is Motorola Messaging (formated mail text and signatures)
Is it possible to do this?
thanks and regards
derHeusel

Categories

Resources