Full firmware B535 package - Honor Magic Guides, News, & Discussion

Honor released a new full package since B525
Now it's B535
Link http://cdn.powerapp.io/lfs/v3/s/307...d3d6c3538cecf6e2f97c3b321be3487224aea6dc70a1c
Mirror: https://mega.nz/#!j5QwRLzI!CGBlUpD7s15B5u88KH0oWogXzb0m6eSVQ3b1Y1Ak_Cw
Unfortunately I got no massive changelog
This update optimized Magic Live wallet and other product experience, improve system stability. "," VersionInfo ": [{" array ": [" optimization - support binding bank card for payment
With this updates codes also a script file that only flashes a delete script see
ui_print("Unpacking data new files...");
delete_recursive("/data/hw_init");
package_extract_dir("data", "/data");
delete(
" ");
delete_recursive(
"/data/data",
"/data/system",
"/data/user",
"/data/share",
"/data/app",
"/data/app-asec",
"/data/app-lib",
"/data/app-private",
"/data/app_acc",
"/data/property",
"/data/lb",
"/data/lib_bee",
"/data/local",
"/data/media",
"/data/mediadrm",
"/data/misc",
"/data/pppd_via",
"/data/resource-cache",
"/data/sec_storage_data",
"/data/skin",
" ");
I guess this is flashed first before update
Sent from my NATASHA using Tapatalk

Related

[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:

[SCRIPT][DISCONTINUED] TrulyClean v1.6 Final - Remove all crappy stuff in no-time!

{
"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"
}
Hey folks!
TrulyClean is a "any rom" script that removes A LOT of crap-apps (98+ apps removed) and other stuff on the phone.
Script will remove about 800mb since version 1.6 (Counted by removing from stock firmware.)
The purpose is to give you a clean start with no extras, much like the Nexus series experience but with the Samsung core intact.
All bloatware apps will be removed running the default script. I even count apps like S Voice and Samsung Hub as unnecessary apps.
Neither do I use Earth or Google+ and don't like these apps to be forced upon me as system apps when they are so easy to install from Play store!
It might be illusion but... I found my phone booting faster and running snappier with after applying this script.
Also, I don't have to cry anymore while checking the apps in the /system folder.
I hope this script will evolve over time and include more stuff that is "not needed" to give the best experience possible.
* Please tell if you notice that this script removes something that is NEEDED aka creating FC's.
* Feel free to tell me about stuff you find that can be removed without any damage.
* Most apps that are avaliable @ Play Store will be removed as system apps!
* Use & edit the TrulyClean script at your own risk.
Installation:
Script should work on any SGS4 TouchWiz rom.
Tested on: Stock deodexed firmware, WanamLite, Omega and FoxHound.
This script's default setting is created after my taste and may remove something you use.
If this is the case, have a look at this & edit the script at your own risk:
1. Open the .zip package using WinRAR or similar and then extract the META-INF\com\google\android\"updater-script" file.
2. Open and edit the file with a decent text editor (Notepad++) and remove the lines for stuff you want to keep or go pro and add some new lines yourself.
3. Save file and put the new updater-script back into the flashable zip!
1. Use the default script or edit the script after your taste. (see "hidden "tutorial above!)
2. Copy recovery.zip to phone.
3a. For best experience - do a full wipe, install a custom rom and then flash TrulyClean.zip.
3b. Script only removes apps in /system, so you have to uninstall any updated apps manually.
4. Flash in recovery (I use PhilZ Touch) & run script after every time you flash a new rom.
5. Enjoy and tell me what you think!
* Yes, I know stuff like Samsung Account and Kies can be removed. However these are NOT proper to remove though, as both give FC @ settings.
* "I run the script but Google+, Earth etc. are still there!" Solution: Updated system apps are put in /data. Go to Settings > Manage programs > uninstall these apps and they will disappear.
TrulyClean changelog:
Version 1.6
- libfacerecognition.so is no longer removed. Seems it causes face detection in gallery etc. to not work.
- Updated script and divided everything into groups, making the script more idiot-safe to edit! :angel:
- Medium and Hardcore versions of script. In medium S Browser, Accuweather Widget, S Memo, S Health and S Voice is kept!
- Chrome is now removed as system app in both versions.​
Version 1.5
- Script now includes busybox. No need to have busybox pre-installed anymore.
- Charger connection sound is no longer removed. (There was no problem, I just didn't want to have it removed anymore.)​
Version 1.4
- Script now uses busybox mount method which means script should work fine on any version of the SGS4.
- Velvet.apk (Google Now & Search) is no longer removed due to a problem.​
Version 1.3
- Removes some more useless apps.
- Deletes pak and mcRegistry folders.​
Version 1.2
- Removes some more useless CSC stuff.
- Deletes Google Videos from system apps.
- Deletes secRCS.apk and SensorService.apk
- Removes some more folders!​
Version 1.1
- Removes more apps.
- Added removal of some libs and folders to the script.​
Version 1.0
- Release.​
Download:
* SINCE 1.4 SCRIPT SHOULD WORK FINE ON ANY I9505 SGS4 USING SAMSUNG FIRMWARE.
* I HAVE NOT TESTED FLASHING THE SCRIPT ON ANY OTHER SGS4 VERSION THAN I9505.
* "MEDIUM" version keeps the stock Samsung browser. Chrome is removed as system app in both versions since v1.6!
* Hardcore version: Same as before, more or less everything is removed, only core components is kept!
* Medium version: Saves S Browser, Accuweather widget n' service, S Memo, S Health and S Voice! Giving the right Samsung feel but removes the rest of the crap!
Apps remaining after doing a full wipe, installing a rooted stock rom and then running HARDCORE version of script:
* Google Now & Search are no longer removed since 1.4!
TrulyClean v1.6 script code.
Hardcore version:
Code:
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print(" %% %%");
ui_print(" %%% %%%");
ui_print(" %%%% %%%%");
ui_print(" %%%%%% %%%%%%");
ui_print(" %%%%%%%%%%%%%%%%%%%%%%%%%%");
ui_print("%%%%% TRULYCLEAN SCRIPT %%%%%");
ui_print(" %%%%%%%%%%%%%%%%%%%%%%%%%%");
ui_print(" %% v1.6 by schoolsux %%");
ui_print(" %%%%%%%%%%%%%%%%%%%");
ui_print("");
ui_print("");
ui_print("Running script & cleaning up...");
package_extract_file("busybox", "/tmp/busybox");
set_perm(0, 0, 0777, "/tmp/busybox");
run_program("/tmp/busybox", "mount", "/system");
run_program("/tmp/busybox", "mount", "/data");
ui_print("");
ui_print("Removing sounds...");
delete("/system/media/audio/ui/PowerOn.ogg");
delete("/system/media/audio/ui/LowBattery.ogg");
delete("/system/media/audio/ui/TW_Volume_control.ogg");
ui_print("Removing apps and releated stuff...");
delete("/system/app/Chrome.apk");
delete("/system/app/SBrowser.apk");
delete("/system/app/SBrowserTry.apk");
delete("/system/app/sCloudSyncSBrowserBookmark.apk");
delete("/system/app/sCloudSyncSBrowserTabs.apk");
delete("/system/app/AccuweatherPhone2013.apk");
delete("/system/app/WeatherWidgetDaemon.apk");
delete("/system/app/SMemo2.apk");
delete("/system/app/sCloudSyncSNote.apk");
delete("/system/app/SNoteProvider.apk");
delete("/system/lib/libsnote_core.so");
delete("/system/lib/libSPenGesturePE.so");
delete("/system/lib/libSPenSDKImageFilterLibsPE.so");
delete("/system/app/SHealth2.apk");
delete("/system/app/HealthContentProvider.apk");
delete("/system/app/SensorService.apk");
delete("/system/lib/libhealth_jni.so");
delete("/system/app/S-Voice_Android_phone_J.apk");
delete("/system/app/SamsungTTS.apk");
delete_recursive("/system/tts/lang_SMT");
delete_recursive("/system/tts/lang_SVOX");
delete_recursive("/system/tts/lang_SVOXP");
delete_recursive("/system/wakeupdata");
delete_recursive("/system/voicebargeindata");
delete_recursive("/system/VODB");
delete("/system/app/Earth.apk");
delete("/system/lib/libearthmobile.so");
delete("/system/app/PolarisViewer5.apk");
delete("/system/lib/libpolarisviewer5.so");
delete("/system/lib/libpolarisofficedump.so");
delete("/system/app/Talk.apk");
delete("/system/lib/libgtalk_jni.so");
delete("/system/app/ChatON_feature.apk");
delete("/system/app/ChatONV_J.apk");
delete("/system/lib/libChatOnAMSImageFilterLibs-1.0.2.so");
delete("/system/app/FaceLock.apk");
delete("/system/lib/libfacelock_jni.so");
delete("/system/app/ColorBlind.apk");
delete("/system/app/DioDict3Service.apk");
delete("/system/app/EasyFavoritesContactsWidget.apk");
delete("/system/app/EasyLauncher.apk");
delete("/system/app/EasySettings.apk");
delete("/system/app/GMS_Maps.apk");
delete("/system/app/Street.apk");
delete("/system/app/KNOXAgent.apk");
delete("/system/app/KNOXStore.apk");
delete("/system/app/MobilePrint2.apk");
delete("/system/app/MobilePrintSvc_CUPS.apk");
delete("/system/app/MobilePrintSvc_CUPS_Backend.apk");
delete("/system/app/MobilePrintSvc_Epson.apk");
delete("/system/app/MobilePrintSvc_HP.apk");
delete("/system/app/MobilePrintSvc_Samsung.apk");
delete("/system/app/SamsungOCR2.apk");
delete_recursive("/system/opticalreader");
delete("/system/app/PageBuddyNotiSvc2.apk");
delete("/system/app/PlusOne.apk");
delete("/system/app/S_Translator_CSLi.apk");
delete("/system/app/SamsungVideo.apk");
delete("/system/app/SimpleWidget.apk");
delete("/system/app/SmartBriefing4x2.apk");
delete("/system/app/SNS.apk");
delete("/system/app/talkback.apk");
delete("/system/app/WebManual.apk");
delete("/system/app/YouTube.apk");
delete("/system/app/GoogleSearchWidget.apk");
delete("/system/app/AllSharePlay15.apk");
delete("/system/app/CHS_J_Device_only.apk");
delete("/system/app/Com2usPoker_ASGC.apk");
delete("/system/app/Dropbox.apk");
delete("/system/app/DropboxOOBE.apk");
delete("/system/app/Episodes.apk");
delete("/system/app/Flipboard.apk");
delete("/system/app/GoogleFeedback.apk");
delete("/system/app/GroupPlay_20.apk");
delete("/system/app/InteractiveTutorial.apk");
delete("/system/app/Magazines.apk");
delete("/system/app/Match3VS.apk");
delete("/system/app/Music2.apk");
delete("/system/app/Peel.apk");
delete("/system/app/PlusOne.apk.apk");
delete("/system/app/S_Translator_CSLi.apk.apk");
delete("/system/app/SamsungApps_J_Only.apk");
delete("/system/app/SamsungAppsUNA3.apk");
delete("/system/app/SamsungBooks.apk");
delete("/system/app/SamsungGames.apk");
delete("/system/app/SamsungHub.apk");
delete("/system/app/SamsungHubUpdater.apk");
delete("/system/app/SamsungLearning.apk");
delete("/system/app/SamsungMusic.apk");
delete("/system/app/SamsungWatchON.apk");
delete("/system/app/TravelWidget.apk");
delete("/system/app/TravelService.apk");
delete("/system/app/TripAdvisor.apk");
delete("/system/app/YahoostockPhone2013.apk");
delete("/system/app/YahoonewsPhone2013.apk");
delete("/system/app/Blurb.apk");
delete("/system/app/Books.apk");
delete("/system/app/StoryAlbumWidget.apk");
delete("/system/app/Gmail2.apk");
delete("/system/app/secRCS.apk");
delete("/system/app/Videos.apk");
delete("/system/app/ContainerAgent.apk");
delete("/system/app/SPDClient.apk");
delete("/system/app/SyncmlDM.apk");
delete("/system/app/SyncmlDS.apk");
delete("/system/app/DSMForwarding.apk");
delete("/system/app/DSMLawmo.apk");
delete("/system/app/ELMAgent.apk");
delete("/system/app/BluetoothTest.apk");
delete("/system/app/WlanTest.apk");
delete("/system/app/wssyncmlnps.apk");
ui_print("Deleting folders and misc...");
delete_recursive("/system/media/video");
delete_recursive("/system/containers");
delete_recursive("/system/lost+found");
delete_recursive("/system/preloaddata");
delete_recursive("/system/app/pak");
delete_recursive("/system/app/mcRegistry");
delete("/system/app/CSC.apk");
delete("/system/CSCVersion.txt");
delete("/system/csc_contents");
delete_recursive("/system/csc");
run_program("/tmp/busybox", "umount", "/system");
run_program("/tmp/busybox", "umount", "/data");
ui_print("Done, enjoy!");
Medium version:
Code:
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print(" %% %%");
ui_print(" %%% %%%");
ui_print(" %%%% %%%%");
ui_print(" %%%%%% %%%%%%");
ui_print(" %%%%%%%%%%%%%%%%%%%%%%%%%%");
ui_print("%%%%% TRULYCLEAN SCRIPT %%%%%");
ui_print(" %%%%%%%%%%%%%%%%%%%%%%%%%%");
ui_print(" %% v1.6 by schoolsux %%");
ui_print(" %%%%%%%%%%%%%%%%%%%");
ui_print("");
ui_print("");
ui_print("Running script & cleaning up...");
package_extract_file("busybox", "/tmp/busybox");
set_perm(0, 0, 0777, "/tmp/busybox");
run_program("/tmp/busybox", "mount", "/system");
run_program("/tmp/busybox", "mount", "/data");
ui_print("");
ui_print("Removing sounds...");
delete("/system/media/audio/ui/PowerOn.ogg");
delete("/system/media/audio/ui/LowBattery.ogg");
delete("/system/media/audio/ui/TW_Volume_control.ogg");
ui_print("Removing apps and releated stuff...");
delete("/system/app/Chrome.apk");
delete("/system/app/Earth.apk");
delete("/system/lib/libearthmobile.so");
delete("/system/app/PolarisViewer5.apk");
delete("/system/lib/libpolarisviewer5.so");
delete("/system/lib/libpolarisofficedump.so");
delete("/system/app/Talk.apk");
delete("/system/lib/libgtalk_jni.so");
delete("/system/app/ChatON_feature.apk");
delete("/system/app/ChatONV_J.apk");
delete("/system/lib/libChatOnAMSImageFilterLibs-1.0.2.so");
delete("/system/app/FaceLock.apk");
delete("/system/lib/libfacelock_jni.so");
delete("/system/app/ColorBlind.apk");
delete("/system/app/DioDict3Service.apk");
delete("/system/app/EasyFavoritesContactsWidget.apk");
delete("/system/app/EasyLauncher.apk");
delete("/system/app/EasySettings.apk");
delete("/system/app/GMS_Maps.apk");
delete("/system/app/Street.apk");
delete("/system/app/KNOXAgent.apk");
delete("/system/app/KNOXStore.apk");
delete("/system/app/MobilePrint2.apk");
delete("/system/app/MobilePrintSvc_CUPS.apk");
delete("/system/app/MobilePrintSvc_CUPS_Backend.apk");
delete("/system/app/MobilePrintSvc_Epson.apk");
delete("/system/app/MobilePrintSvc_HP.apk");
delete("/system/app/MobilePrintSvc_Samsung.apk");
delete("/system/app/SamsungOCR2.apk");
delete_recursive("/system/opticalreader");
delete("/system/app/PageBuddyNotiSvc2.apk");
delete("/system/app/PlusOne.apk");
delete("/system/app/S_Translator_CSLi.apk");
delete("/system/app/SamsungVideo.apk");
delete("/system/app/SimpleWidget.apk");
delete("/system/app/SmartBriefing4x2.apk");
delete("/system/app/SNS.apk");
delete("/system/app/talkback.apk");
delete("/system/app/WebManual.apk");
delete("/system/app/YouTube.apk");
delete("/system/app/GoogleSearchWidget.apk");
delete("/system/app/AllSharePlay15.apk");
delete("/system/app/CHS_J_Device_only.apk");
delete("/system/app/Com2usPoker_ASGC.apk");
delete("/system/app/Dropbox.apk");
delete("/system/app/DropboxOOBE.apk");
delete("/system/app/Episodes.apk");
delete("/system/app/Flipboard.apk");
delete("/system/app/GoogleFeedback.apk");
delete("/system/app/GroupPlay_20.apk");
delete("/system/app/InteractiveTutorial.apk");
delete("/system/app/Magazines.apk");
delete("/system/app/Match3VS.apk");
delete("/system/app/Music2.apk");
delete("/system/app/Peel.apk");
delete("/system/app/PlusOne.apk.apk");
delete("/system/app/S_Translator_CSLi.apk.apk");
delete("/system/app/SamsungApps_J_Only.apk");
delete("/system/app/SamsungAppsUNA3.apk");
delete("/system/app/SamsungBooks.apk");
delete("/system/app/SamsungGames.apk");
delete("/system/app/SamsungHub.apk");
delete("/system/app/SamsungHubUpdater.apk");
delete("/system/app/SamsungLearning.apk");
delete("/system/app/SamsungMusic.apk");
delete("/system/app/SamsungWatchON.apk");
delete("/system/app/TravelWidget.apk");
delete("/system/app/TravelService.apk");
delete("/system/app/TripAdvisor.apk");
delete("/system/app/YahoostockPhone2013.apk");
delete("/system/app/YahoonewsPhone2013.apk");
delete("/system/app/Blurb.apk");
delete("/system/app/Books.apk");
delete("/system/app/StoryAlbumWidget.apk");
delete("/system/app/Gmail2.apk");
delete("/system/app/secRCS.apk");
delete("/system/app/Videos.apk");
delete("/system/app/ContainerAgent.apk");
delete("/system/app/SPDClient.apk");
delete("/system/app/SyncmlDM.apk");
delete("/system/app/SyncmlDS.apk");
delete("/system/app/DSMForwarding.apk");
delete("/system/app/DSMLawmo.apk");
delete("/system/app/ELMAgent.apk");
delete("/system/app/BluetoothTest.apk");
delete("/system/app/WlanTest.apk");
delete("/system/app/wssyncmlnps.apk");
ui_print("Deleting folders and misc...");
delete_recursive("/system/media/video");
delete_recursive("/system/containers");
delete_recursive("/system/lost+found");
delete_recursive("/system/preloaddata");
delete_recursive("/system/app/pak");
delete_recursive("/system/app/mcRegistry");
delete("/system/app/CSC.apk");
delete("/system/CSCVersion.txt");
delete("/system/csc_contents");
delete_recursive("/system/csc");
run_program("/tmp/busybox", "umount", "/system");
run_program("/tmp/busybox", "umount", "/data");
ui_print("Done, enjoy!");
Very nice! Although I want VikingWay on S4.
Salival said:
Very nice! Although I want VikingWay on S4.
Click to expand...
Click to collapse
Well, I have an unoffical 680mb VikingWay rom build on my PC hehe
Tho I really don't have the time to maintain a rom and update it often... so I wont release it public.
WanamLite + running my script gives pretty much the same result, only it sucks to download ridiculously huge roms..
Samsung really fu*%&ed the firmware size this time around.
Removing the Samsung music.apk causes a fc with the music player.
Sent from my GT-I9505 using xda premium
schoolsux said:
Well, I have an unoffical 680mb VikingWay rom build on my PC hehe
Tho I really don't have the time to maintain a rom and update it often... so I wont release it public.
WanamLite + running my script gives pretty much the same result, only it sucks to download ridiculously huge roms..
Samsung really fu*%&ed the firmware size this time around.
Click to expand...
Click to collapse
Yep. Stock is over 1.5GB. lol. Wow 680mb? I knew it. . I hope in coming weeks, months, you will have time and relase it. Loved it on S3. crazy slim, and stable as rock.
HAHAAHAHAHA, Awesome!
hahahahahahaha, wonderful, I suppose it should work on any ROM based on TouchWiz correct? I will test in my gnote.
Salival said:
Very nice! Although I want VikingWay on S4.
Click to expand...
Click to collapse
Open the script with text editor and delete the line off any app you want to keep.
Nice work budd thanks
Hey Buddy, nice to see you with Galaxy S4, did you change your Xperia to an S4....????
Really really love to see a Viking heading towards a S4.....!!! Since Viking was an "EPIC ROM" buddy.....!!!!
boterkaaseneieren said:
Open the script with text editor and delete the line off any app you want to keep.
Click to expand...
Click to collapse
Pardon my noobiness, but how on earth can I edit that script?
How much Internal Memory, do you have after the script has run?
poochewer said:
Pardon my noobiness, but how on earth can I edit that script?
Click to expand...
Click to collapse
With Notepad+
Just edit the "updater-script"
Myreality said:
With Notepad+
Just edit the "updater-script"
Click to expand...
Click to collapse
Thats exactly what Ive done but it dont work. Have you tried it?
Yes it is working, I just added some lines
delete("/system/app/XXXXXX.apk");
dong2007 said:
How much Internal Memory, do you have after the script has run?
Click to expand...
Click to collapse
Script does not really help from that angle, the system files and apps will still have a preset & reserved space that takes up the internal memory.
You have to mess with partions to change that stuff
tupac19861013 said:
Hey Buddy, nice to see you with Galaxy S4, did you change your Xperia to an S4....????
Really really love to see a Viking heading towards a S4.....!!! Since Viking was an "EPIC ROM" buddy.....!!!!
Click to expand...
Click to collapse
Hey man!
Yeah I kinda did that, although I miss some stuff with the Xperia Z... so I'm pretty confused with what phone I like the most :cyclops:
Thank you for this! Was waiting for something like this.
If I want to completely remove S-Voice, I only have to add this line in the updater script?:
delete("/system/app/S-Voice_Android_phone_J.apk");
If I delete that, would I have S-Voice force close or will it be deleted completely?
Thanks in advance.
EDIT: I just saw and it's already there.
schoolsux said:
Hey man!
Yeah I kinda did that, although I miss some stuff with the Xperia Z... so I'm pretty confused with what phone I like the most :cyclops:
Click to expand...
Click to collapse
Just hang on with S4 for the moment buddy, once it picks up the pace and you'll start to think about the VikingWay for the Galaxy, its gonna be rocking and awesome, I have no doubt about that buddy.....!!!!! \m/
Sent from my GT-I9500 using xda premium

[GUIDE][ROM PORTING][CM12/CM13][MediaTek][mt6582] CM ROM Porting Guide.

_______________________________
| ¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶ |
| ¶¶PORTING METHOD MTK¶ |
| ¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶¶ |
---------------------------------------------
[emoji2]
NOTE:
---------
BEFORE WE START, NO ONE IS TO BE HELD RESPONSIBLE IF DEVICE GETS DAMAGE OR WHATS SO EVER..
###Chill, that was for Disclaimers!!!
*OK
××××××××××××××××××××××××××××××××××
¶¶¶¶for cm13¶¶¶¶
¶¶¶for cm12.1¶¶¶
×××××××××××××××××
Copy & Replace From Stock/CM12.1:::
---->system/etc/firmware
---->system/lib/hw/hwcomposer.mt65xx.so
system/lib/ {the following files} ↓↓↓
---->lib3a.so
---->libaudio.primary.defualt.so
---->libcamalgo.so
---->libcamdrv.so
---->libcameracustom.so
---->libdpframework.so
---->libfeatureio.so
---->libimageio.so
---->libMali.so
Patching Boot.img :::
---->kernel
---->ueventd.rc {add this only when bootloop}
Patching build.prop :::
{replace "xxx" with stock build.prop}
----> ro.product.brand=xxx
ro.product.name=xxx
ro.product.board=xxx
ro.product.manufacturer=xxx
ro.product.locale.language=xxx
ro.product.locale.region=xxx
ro.sf.lcd_density=xxx
ro.product.board=xxx
ro.board.platform=xxx
to.cm.device="your device name"
qemu.hw.mainkeys=xxx
Patching Updater Script :::
{replace " mmcblk0pxx " after the "p" where " xx " with your mount points}
---->Locate :
/META-INF/com/google/android/updater-script
----> format("ext4", "EMMC", "/dev/block/mmcblk0pxx", "/system", "");
----> mount("ext4", "EMMC", "/dev/block/mmcblk0pxx", "/system", "");
----> mount("ext4", "EMMC", "/dev/block/mmcblk0pxx", "/data", "");
============================
Get More info from [https://www.facebook.com/groups/1024872487548231/]
=========================
*Make You Don't Mess Up With Your Precious Device.
*Thanks.
Credit:
#Ferhung
#Android Matrix Development {AMD}
@iykeDROID
=========================================
iykeDROID™ said:
Patching Boot.img :::
---->kernel
---->ueventd.rc {add this only when bootloop}
Patching build.prop :::
{replace "xxx" with stock build.prop}
----> ro.product.brand=xxx
ro.product.name=xxx
ro.product.board=xxx
ro.product.manufacturer=xxx
ro.product.locale.language=xxx
ro.product.locale.region=xxx
ro.sf.lcd_density=xxx
ro.product.board=xxx
ro.board.platform=xxx
to.cm.device="your device name"
qemu.hw.mainkeys=xxx
Patching Updater Script :::
{replace " mmcblk0pxx " after the "p" where " xx " with your mount points}
---->Locate :
/META-INF/com/google/android/updater-script
----> format("ext4", "EMMC", "/dev/block/mmcblk0pxx", "/system", "");
----> mount("ext4", "EMMC", "/dev/block/mmcblk0pxx", "/system", "");
----> mount("ext4", "EMMC", "/dev/block/mmcblk0pxx", "/data", "");
============================
Get More info from [https://www.facebook.com/groups/computerplusandroid/]
=========================
*Make You Don't Mess Up With Your Precious Device.
*Thanks.
Credit:
#Ferhung
#Unknown Porting Team ; No Problems @iykeDROID
=========================================
Click to expand...
Click to collapse
No mount points on newer mt6580 bro, it seem like their rom structures are different
Bro this guide will work with all chipset ??
obaidmuneir said:
Bro this guide will work with all chipset ??
Click to expand...
Click to collapse
Not all chipset but works mostly across most MTK chipsets
@iykeDROID yeah bro we meet again ... i dont have experience building from source and bad laptop as you know ...just for fun i download
uhans5000 oreo 64bit
moto e4 lineage 15 oreo 32bit ( your work )
*what is my game ? *copy / paste replace files in system.img and boot.img and then flash those .img file directly to see if i boot or if anything works ...is this impossible cos of 32-64 bit issue
*where is driver for screen because phone is using different display so i need to make sure to make this work
i just do this for fun cos its only option for me in regard to time amd situation ...i dont publish result only for me ...if you want to advise me ...about trying some sort of port for fun okay thanks ....
IN days of LL i ported one or two rom succesfully so i am not 100% dum just 99%
see you around bro
Sent from my woods_f using XDA Labs

[ROM][STABLE][FW-LESS] MIUI 10 by Xiaomi.eu for Whyred; + method to remove firmware

As you all know, flashing MIUI ROMs have become a bit tricky for Whyred users, due to the Anti-roll back issue. But fear not, @AL_IRAQI has found the solution, and I'll explain here how that goes, and I'll also link to the first Stable MIUI 10 in English by Xiaomi.eu. That ROM will not require this process, as pointed out by @dingdong3000 here.
► Why do you want this?
• Well, right now, the only Stable MIUI 10 for Whyred is Chinese. But Xiaomi.eu is based on the Chinese release, so their Stable ROM is basically the better Global version. Also, all of their ROMs pass the SafetyNet test without any issue, even if you directly modify parts of the system.​
► How can you download?
• Download from official SourceForge link. DOWNLOAD​
► How can you make the modification yourself?
• That's actually the prime purpose of this thread. There are basically 2 things to do when you want to make a MIUI ROM fw-less. Follow this procedure:​
Download your desired ROM.
Open it with WinRAR (No need to extract).
Delete the folder title "firmware-update" from the list.
Go inside META-INF\com\google\android.
Double click on "updater-script".
Select "Notepad++" from the list. (IMPORTANT. Normal Notepad doesn't have a line count. Download it from here.)
We need to remove all the radio update tasks. To do that, remove the red colored lines from the code.
Code:
getprop("ro.product.device") == "whyred" || abort("E3004: This package is for \"whyred\" devices; this is a \"" + getprop("ro.product.device") + "\".");
ui_print("Target: xiaomi/whyred/whyred:8.1.0/OPM1.171019.011/V9.5.19.0.OEIMIFA:user/release-keys");
show_progress(0.100000, 5);
show_progress(0.200000, 10);
package_extract_file("boot.img", "/dev/block/bootdevice/by-name/boot");
[COLOR="Red"]
# ---- radio update tasks ----
ui_print("Patching firmware images...");
ifelse(msm.boot_update("main"), (
package_extract_file("firmware-update/mdtpsecapp.mbn", "/dev/block/bootdevice/by-name/mdtpsecapp");
package_extract_file("firmware-update/cmnlib64.mbn", "/dev/block/bootdevice/by-name/cmnlib64");
package_extract_file("firmware-update/splash.img", "/dev/block/bootdevice/by-name/splash");
package_extract_file("firmware-update/cmnlib.mbn", "/dev/block/bootdevice/by-name/cmnlib");
package_extract_file("firmware-update/hyp.mbn", "/dev/block/bootdevice/by-name/hyp");
package_extract_file("firmware-update/pmic.elf", "/dev/block/bootdevice/by-name/pmic");
package_extract_file("firmware-update/tz.mbn", "/dev/block/bootdevice/by-name/tz");
package_extract_file("firmware-update/abl.elf", "/dev/block/bootdevice/by-name/abl");
package_extract_file("firmware-update/devcfg.mbn", "/dev/block/bootdevice/by-name/devcfg");
package_extract_file("firmware-update/keymaster.mbn", "/dev/block/bootdevice/by-name/keymaster");
package_extract_file("firmware-update/xbl.elf", "/dev/block/bootdevice/by-name/xbl");
package_extract_file("firmware-update/rpm.mbn", "/dev/block/bootdevice/by-name/rpm");
), "");
ifelse(msm.boot_update("backup"), (
package_extract_file("firmware-update/cmnlib64.mbn", "/dev/block/bootdevice/by-name/cmnlib64bak");
package_extract_file("firmware-update/cmnlib.mbn", "/dev/block/bootdevice/by-name/cmnlibbak");
package_extract_file("firmware-update/hyp.mbn", "/dev/block/bootdevice/by-name/hypbak");
package_extract_file("firmware-update/tz.mbn", "/dev/block/bootdevice/by-name/tzbak");
package_extract_file("firmware-update/abl.elf", "/dev/block/bootdevice/by-name/ablbak");
package_extract_file("firmware-update/devcfg.mbn", "/dev/block/bootdevice/by-name/devcfgbak");
package_extract_file("firmware-update/keymaster.mbn", "/dev/block/bootdevice/by-name/keymasterbak");
package_extract_file("firmware-update/xbl.elf", "/dev/block/bootdevice/by-name/xblbak");
package_extract_file("firmware-update/rpm.mbn", "/dev/block/bootdevice/by-name/rpmbak");
), "");
msm.boot_update("finalize");
package_extract_file("firmware-update/dspso.bin", "/dev/block/bootdevice/by-name/dsp");
package_extract_file("firmware-update/NON-HLOS.bin", "/dev/block/bootdevice/by-name/modem");
package_extract_file("firmware-update/BTFM.bin", "/dev/block/bootdevice/by-name/bluetooth");[/COLOR]
show_progress(0.600000, 250);
ui_print("Patching system image unconditionally...");
block_image_update("/dev/block/bootdevice/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat.br", "system.patch.dat") ||
abort("E1001: Failed to update system image.");
ui_print("Patching vendor image unconditionally...");
block_image_update("/dev/block/bootdevice/by-name/vendor", package_extract_file("vendor.transfer.list"), "vendor.new.dat.br", "vendor.patch.dat") ||
abort("E2001: Failed to update vendor image.");
show_progress(0.100000, 2);
set_progress(1.000000);
The final copy should look like this-
Code:
getprop("ro.product.device") == "whyred" || abort("E3004: This package is for \"whyred\" devices; this is a \"" + getprop("ro.product.device") + "\".");
ui_print("Target: xiaomi/whyred/whyred:8.1.0/OPM1.171019.011/V9.5.19.0.OEIMIFA:user/release-keys");
show_progress(0.100000, 5);
show_progress(0.200000, 10);
package_extract_file("boot.img", "/dev/block/bootdevice/by-name/boot");
show_progress(0.600000, 250);
ui_print("Patching system image unconditionally...");
block_image_update("/dev/block/bootdevice/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat.br", "system.patch.dat") ||
abort("E1001: Failed to update system image.");
ui_print("Patching vendor image unconditionally...");
block_image_update("/dev/block/bootdevice/by-name/vendor", package_extract_file("vendor.transfer.list"), "vendor.new.dat.br", "vendor.patch.dat") ||
abort("E2001: Failed to update vendor image.");
show_progress(0.100000, 2);
set_progress(1.000000);
Notice the blank line at the end, don't remove it. Global ROM seems to have 14 lines of code with 1 blank line at the end after this process.
Save the file, WinRAR will ask if you want to update the archive, permit it.
Your ROM is now fw-less. Enjoy.
► You bricked your phone?
Sorry, I can't help you if you messed something up. That's the disclaimer here. You do this with all liability to yourself.​
► Want to learn more?
• Everything About Anti Roll-back [Whyred]
• Redmi Note 5/Pro Miui ROMs without firmware [fw-less]​
► Should you be careful?
• I don't exactly know how far behind you can go, do that research yourself and let me know so I can update it here. But I'd recommend not going too far behind. If you go too far, even after following this process, your phone might end up bricking. Some ROMs are just too old.​
Isn't Xiaomi EU Firmware less itself ?
FroZine said:
Isn't Xiaomi EU Firmware less itself ?
Click to expand...
Click to collapse
As I already said, the version they released has the firmware update folder, which suggests that it isn't firmware less.
Thank you for this. Just to be on the same note, if I'm on latest 9.6.4 stable global I should be ok to flash this firmless ROM right? I just wanna make sure because I tried to flash MIUI pro 10 and bricked my device
NaeemBolchhi said:
As I already said, the version they released has the firmware update folder, which suggests that it isn't firmware less.
Click to expand...
Click to collapse
The firmware inside this xiaomi.eu 10 stable rom won't trigger ARB. It only updates BT, DSP, and modem not bootloader so ARB is safe.
dingdong3000 said:
The firmware inside this xiaomi.eu 10 stable rom won't trigger ARB. It only updates BT, DSP, and modem not bootloader so ARB is safe.
Click to expand...
Click to collapse
Yeah, just found out myself as well. So I guess I'll remove the download link and just keep the method.
coco1476 said:
Thank you for this. Just to be on the same note, if I'm on latest 9.6.4 stable global I should be ok to flash this firmless ROM right? I just wanna make sure because I tried to flash MIUI pro 10 and bricked my device
Click to expand...
Click to collapse
Use the official ROM, it'll work just fine. Skip mine.
NaeemBolchhi said:
Yeah, just found out myself as well. So I guess I'll remove the download link and just keep the method.
Use the official ROM, it'll work just fine. Skip mine.
Click to expand...
Click to collapse
OP I'm still complicated.. you have provided a link. Can you tell me if I flash that will it my ARB or not? Is it safe to flash?
1Ishara said:
OP I'm still complicated.. you have provided a link. Can you tell me if I flash that will it my ARB or not? Is it safe to flash?
Click to expand...
Click to collapse
My link leads to the SourceForge location, the rom works on both Ai and Pro Whyred devices. As someone mentioned above, it doesn't touch ARB, so no worries. I had previously added a different rom due to a misunderstanding. The current one is perfect.
Nice tutorial. Helped me a lot. Successfully installed latest global build. Keep up the good work. Thanks & please keep us updated
---------- Post added at 07:19 PM ---------- Previous post was at 07:03 PM ----------
@Naeem Will the system ota update stop completely by this method? I don't want ota updates.
NaeemBolchhi said:
My link leads to the SourceForge location, the rom works on both Ai and Pro Whyred devices. As someone mentioned above, it doesn't touch ARB, so no worries. I had previously added a different rom due to a misunderstanding. The current one is perfect.
Click to expand...
Click to collapse
Thank you very much. Off topic how about the battery life of xiaomi.eu stable? Im currently on masik i need to change the rom.
I tried your method exactly like you said with muipro 10 and bricked my device... again, but thanks to the new unbrick method I was able to unbrick it for free this time
In flash files long lists with the numbers of apps to be flashed are given. It would be highly useful if someone provides names of the corresponding apps that are associated with the numbers. I'm certain bloat can be minimised to some extent with this.
In terms of stability and performance it is better Xiaomi.eu or Miui Global?
coco1476 said:
I tried your method exactly like you said with muipro 10 and bricked my device... again, but thanks to the new unbrick method I was able to unbrick it for free this time
Click to expand...
Click to collapse
Which method that you used to unbrick the device, could you please share?
---------- Post added at 03:54 AM ---------- Previous post was at 03:46 AM ----------
NaeemBolchhi said:
As you all know, flashing MIUI ROMs have become a bit tricky for Whyred users, due to the Anti-roll back issue. But fear not, @AL_IRAQI has found the solution, and I'll explain here how that goes, and I'll also link to the first Stable MIUI 10 in English by Xiaomi.eu. That ROM will not require this process, as pointed out by @dingdong3000 here.
► Why do you want this?
• Well, right now, the only Stable MIUI 10 for Whyred is Chinese. But Xiaomi.eu is based on the Chinese release, so their Stable ROM is basically the better Global version. Also, all of their ROMs pass the SafetyNet test without any issue, even if you directly modify parts of the system.​
► How can you download?
• Download from official SourceForge link. DOWNLOAD​
► How can you make the modification yourself?
• That's actually the prime purpose of this thread. There are basically 2 things to do when you want to make a MIUI ROM fw-less. Follow this procedure:​
Download your desired ROM.
Open it with WinRAR (No need to extract).
Delete the folder title "firmware-update" from the list.
Go inside META-INF\com\google\android.
Double click on "updater-script".
Select "Notepad++" from the list. (IMPORTANT. Normal Notepad doesn't have a line count. Download it from here.)
We need to remove all the radio update tasks. To do that, remove the red colored lines from the code.
Code:
getprop("ro.product.device") == "whyred" || abort("E3004: This package is for \"whyred\" devices; this is a \"" + getprop("ro.product.device") + "\".");
ui_print("Target: xiaomi/whyred/whyred:8.1.0/OPM1.171019.011/V9.5.19.0.OEIMIFA:user/release-keys");
show_progress(0.100000, 5);
show_progress(0.200000, 10);
package_extract_file("boot.img", "/dev/block/bootdevice/by-name/boot");
[COLOR="Red"]
# ---- radio update tasks ----
ui_print("Patching firmware images...");
ifelse(msm.boot_update("main"), (
package_extract_file("firmware-update/mdtpsecapp.mbn", "/dev/block/bootdevice/by-name/mdtpsecapp");
package_extract_file("firmware-update/cmnlib64.mbn", "/dev/block/bootdevice/by-name/cmnlib64");
package_extract_file("firmware-update/splash.img", "/dev/block/bootdevice/by-name/splash");
package_extract_file("firmware-update/cmnlib.mbn", "/dev/block/bootdevice/by-name/cmnlib");
package_extract_file("firmware-update/hyp.mbn", "/dev/block/bootdevice/by-name/hyp");
package_extract_file("firmware-update/pmic.elf", "/dev/block/bootdevice/by-name/pmic");
package_extract_file("firmware-update/tz.mbn", "/dev/block/bootdevice/by-name/tz");
package_extract_file("firmware-update/abl.elf", "/dev/block/bootdevice/by-name/abl");
package_extract_file("firmware-update/devcfg.mbn", "/dev/block/bootdevice/by-name/devcfg");
package_extract_file("firmware-update/keymaster.mbn", "/dev/block/bootdevice/by-name/keymaster");
package_extract_file("firmware-update/xbl.elf", "/dev/block/bootdevice/by-name/xbl");
package_extract_file("firmware-update/rpm.mbn", "/dev/block/bootdevice/by-name/rpm");
), "");
ifelse(msm.boot_update("backup"), (
package_extract_file("firmware-update/cmnlib64.mbn", "/dev/block/bootdevice/by-name/cmnlib64bak");
package_extract_file("firmware-update/cmnlib.mbn", "/dev/block/bootdevice/by-name/cmnlibbak");
package_extract_file("firmware-update/hyp.mbn", "/dev/block/bootdevice/by-name/hypbak");
package_extract_file("firmware-update/tz.mbn", "/dev/block/bootdevice/by-name/tzbak");
package_extract_file("firmware-update/abl.elf", "/dev/block/bootdevice/by-name/ablbak");
package_extract_file("firmware-update/devcfg.mbn", "/dev/block/bootdevice/by-name/devcfgbak");
package_extract_file("firmware-update/keymaster.mbn", "/dev/block/bootdevice/by-name/keymasterbak");
package_extract_file("firmware-update/xbl.elf", "/dev/block/bootdevice/by-name/xblbak");
package_extract_file("firmware-update/rpm.mbn", "/dev/block/bootdevice/by-name/rpmbak");
), "");
msm.boot_update("finalize");
package_extract_file("firmware-update/dspso.bin", "/dev/block/bootdevice/by-name/dsp");
package_extract_file("firmware-update/NON-HLOS.bin", "/dev/block/bootdevice/by-name/modem");
package_extract_file("firmware-update/BTFM.bin", "/dev/block/bootdevice/by-name/bluetooth");[/COLOR]
show_progress(0.600000, 250);
ui_print("Patching system image unconditionally...");
block_image_update("/dev/block/bootdevice/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat.br", "system.patch.dat") ||
abort("E1001: Failed to update system image.");
ui_print("Patching vendor image unconditionally...");
block_image_update("/dev/block/bootdevice/by-name/vendor", package_extract_file("vendor.transfer.list"), "vendor.new.dat.br", "vendor.patch.dat") ||
abort("E2001: Failed to update vendor image.");
show_progress(0.100000, 2);
set_progress(1.000000);
The final copy should look like this-
Code:
getprop("ro.product.device") == "whyred" || abort("E3004: This package is for \"whyred\" devices; this is a \"" + getprop("ro.product.device") + "\".");
ui_print("Target: xiaomi/whyred/whyred:8.1.0/OPM1.171019.011/V9.5.19.0.OEIMIFA:user/release-keys");
show_progress(0.100000, 5);
show_progress(0.200000, 10);
package_extract_file("boot.img", "/dev/block/bootdevice/by-name/boot");
show_progress(0.600000, 250);
ui_print("Patching system image unconditionally...");
block_image_update("/dev/block/bootdevice/by-name/system", package_extract_file("system.transfer.list"), "system.new.dat.br", "system.patch.dat") ||
abort("E1001: Failed to update system image.");
ui_print("Patching vendor image unconditionally...");
block_image_update("/dev/block/bootdevice/by-name/vendor", package_extract_file("vendor.transfer.list"), "vendor.new.dat.br", "vendor.patch.dat") ||
abort("E2001: Failed to update vendor image.");
show_progress(0.100000, 2);
set_progress(1.000000);
Notice the blank line at the end, don't remove it. Global ROM seems to have 14 lines of code with 1 blank line at the end after this process.
Save the file, WinRAR will ask if you want to update the archive, permit it.
Your ROM is now fw-less. Enjoy.
► You bricked your phone?
Sorry, I can't help you if you messed something up. That's the disclaimer here. You do this with all liability to yourself.​
► Want to learn more?
• Everything About Anti Roll-back [Whyred]
• Redmi Note 5/Pro Miui ROMs without firmware [fw-less]​
► Should you be careful?
• I don't exactly know how far behind you can go, do that research yourself and let me know so I can update it here. But I'd recommend not going too far behind. If you go too far, even after following this process, your phone might end up bricking. Some ROMs are just too old.​
Click to expand...
Click to collapse
My file has three extra lines at the end difference from yours should i removed it also?
format("ext4", "EMMC", "/dev/block/bootdevice/by-name/cust", "0", "/cust");
package_extract_file("META-INF/com/xiaomieu/xiaomieu.sh", "/tmp/xiaomieu.sh");
run_program("/sbin/busybox", "sh", "/tmp/xiaomieu.sh", "dummy", "1", "/tmp/xiaomieu.sh");
pipo_nhoc said:
Which method that you used to unbrick the device, could you please share?
Click to expand...
Click to collapse
Sure it's this method
https://forum.xda-developers.com/re...nofficial-unbrick-harddricked-whyred-t3840687
The ROM linked in the OP is the official Xiaomi.eu MIUI 10.0.1 ROM, which contains the firmware-update folder, hence it's highly possible that it will trigger ARB4. OP, you'll save many users some time by either removing that link, or providing a link to a non-arb version of the ROM.
Does anyone know of a tool to check the ARB version in the ROM zip itself? Instead of flashing it on the device first and then checking via fastboot
Can I dirty flash the new MIUI 10 global stable over this rom?
Dr_TGP said:
Can I dirty flash the new MIUI 10 global stable over this rom?
Click to expand...
Click to collapse
No. Wipe clean.
pipo_nhoc said:
My file has three extra lines at the end difference from yours should i removed it also?
Click to expand...
Click to collapse
Don't do that. Also, verify if the rom isn't already fw-less, like Xiaomi.eu.
can you make fw-less for xiaomi eu weekly build?
i was looking for the exact same thread thank u

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