Battery 100 % - Rom Xperia Honami v2 by alinolaw71 - Xperia Arc General

Hi all and thank you for this beautiful work.
For the problem of battery at 100% I resolved on problem after research LTi15 (Arc)
Step:
1 - Flash with firmware LT18i_4.1.B.0.587_ (1254-2184) ftf.
2 - Install Kernel-RuSH V13.img
3 - reboot in recovery mode
4 - wip all data
5 - wip catch partition
6 - wil dalwik and battery states
7 - installed rom
8 - reboot
enjoy ..
PS: what is the display problem of Aroma v1/v2 option: application list is not displayed (absent in Aroma file folder) and select the rush as wifi module. The code file updater-script (in: META-INF \ com \ google \ android) does not have correct.
Modiffication the script with me over, but I'm novice ...

Related

[Tutorial] How to flash Samsung Galaxy Ace S5830 to CodeRom NexusAce XXKPH 2.3.4?

Key Features of CodeRom NexusAce XXKPH 2.3.4:
• A2sd darktremor ready with A2SDGUI (credits to them)
• EXT4 support
• Rooted and Deodexed
• Used custom bootanimation.zip and powersound disabled (update: use nexus S bootanimation)
• Power menu add on: reboot, recovery, download mode (credits to: da_jok3r from 4pda.ru; sk0t and Lovetz)
• Remove some stock apps: SamsungApps, Samsung Stock Clock etc.
• Updated Google Apps & Other: Google Maps, Gmail, Messaging (with theme option), Root explorer, 3 fonts preinstalled (as seen on Galaxy Tab)
• Now with A2SDGUI support
Pre-flashing check list:
• Open KIES and backup your contacts and Bookmarks. (If you have any other app like MYBACK PRO, then you can skip this step)
• Backup your applications using Titanium Backup or any other non-rooted back up apps like App Monster.
• Make sure your phone's battery level is more than 70% before installation.
• Make sure your sdcard was inserted and has been formatted into ext4 partition.
(I am sorry I don’t have time to prepare tutorial to format SD into ext4, once completed. I will place the link here)
Tutorial to flash Samsung Galaxy Ace S5830 to CodeRom NexusAce XXKPH 2.3.4:
• First download CodeRom NexusAce rar file package which contains all the essential firmware flashing tools. Please note that after downloading the rar file, you will have to place the file on desktop and then extract the same. Use below link to download.
*MOD REMOVED* NO WAREZ*
• Check whether extracted folder contains these key files COPPER, APBOOT, MODEM, CODEROMNEXUS, CSC and of course ODIN Multi Downloader v4.38
• Open the Odin Multi downloader v 4.38 file from the extracted files after which you will see that a new window will be popping.
• Now, at this point of time you will have to ensure that the KIES is completely closed and also preferably close all other programs in your computer too so as to ensure that the software update process is not hampered or interrupted in any manner.
• After this you will have to make sure that your phone is turned ON in the download mode, the download mode can be turned ON by pressing Middle Key (OK Key) + Power key and Volume down Key simultaneously before connecting to PC after which the phone will enter in the download mode.
• So, after double checking that the phone has entered in the download mode and connect your phone to your PC, then yellow ID: COM block. Now, next up without changing any other parameters you will have to select the files as they are mentioned below, this is very important step, if any of the file is wrongly entered then you will end up bricking the phone for which we can’t be held responsible in any manner what so ever.
OPS – Cooper_v1.0.ops
BOOT – APBOOT_S5830XXKPH_CL260130_REV03_user_low_true.tar.md5
Phone – MODEM_S5830XXKPH_CL260130_REV03.tar.md5
PDA – coderomnexus.tar.md5 (just ignore error message while inserting this file)
CSC – CSC_S5830SERKPH_CL260130_REV03_user_low_true.tar.md5
• After checking the entries as mentioned above, click on the “Start” tab which is just located above the “Select OPS” option. Please note that as soon as you click on the Start tab it will take 5 – 10 minutes to complete the firmware update process and its highly requested on not to interrupt the process as this may brick your phone permanently.
• You will see that after 5 – 10 minutes of time as mentioned above, the updation process is completed and you will have to wait till you see home screen in your phone and also you will have to watch out for Odin as you will see that a Blue colored box will be glowing up as “PASS”
• Now remove your phone safely from PC and go to settings and Locale to change language.
You may like the below links as well.
• Official ClockworkMod 4.0.0.9 Recovery for Samsung Galaxy Ace CodeRom NexusAce XXKPH 2.3.4:
http://forum.xda-developers.com/showthread.php?t=1168417
• Tutorial to setup a2sd in SGA S5830 (CodeRom NexusAce XXKPH 2.3.4):
http://forum.xda-developers.com/showthread.php?p=15724057#post15724057
============================================================
Diliban. P (DP)
Phone: Samsung Galaxy Ace GT-S5830
Version: GingerBread 2.3.4 (KPH)
Rom: CodeRom NexusAce + CRT Animation + a2SD enabled
Recovery: ClockworkMod v.4.0.0.9
excellent tuto for newbies
Maybe put a reminder about flashing this with 80% or more battery..
Thanx alot! Really helpful. Waiting for tut for ext4 frmat'
Sent from my Galaxy ace using Tapatalk
Can i flash this rom via recovery....i'm a newbie here.. thanks
subaash said:
Can i flash this rom via recovery....i'm a newbie here.. thanks
Click to expand...
Click to collapse
U cant.. At least not yet.. For now just stick with Odin..
Thanks for your tutorial...this guide was very usefully for a newbie like me...
And now i think it's a time for launch a new one fresh ROM here (not now actuallyy...maybe tomorrow)
Awesome Rom. Just can't get a2sd swap to work. Everytime i click the enable swap, it says "working" and then goes back to off. Any idea why this occurs?
code28h4p said:
Thanks for your tutorial...this guide was very usefully for a newbie like me...
And now i think it's a time for launch a new one fresh ROM here (not now actuallyy...maybe tomorrow)
Click to expand...
Click to collapse
omg awsum newz ......
Sent from my GT-S5830 using XDA App
Hi izzoe,
I added the battery info in the thread. Thanks for reminding me.
code28h4p said:
Thanks for your tutorial...this guide was very usefully for a newbie like me...
And now i think it's a time for launch a new one fresh ROM here (not now actuallyy...maybe tomorrow)
Click to expand...
Click to collapse
That's good news.. So many good news (and good ROM) for Ace lately.. We are growing..
Hi Diliban ,
Five Stars for your detailed tutorial , will take some screens and attach it to this post so that it becomes more easier for newbies.
You have stated in you tutorial:-
" Make sure your sdcard was inserted and has been formatted into ext4 partition. "
Is this step really necessary , I have flashed with ROM's before without doing this .
I use ODIN to flash and remove SIM and SD card .
Please clarify ...
rajanprash said:
Hi Diliban ,
Five Stars for your detailed tutorial , will take some screens and attach it to this post so that it becomes more easier for newbies.
You have stated in you tutorial:-
" Make sure your sdcard was inserted and has been formatted into ext4 partition. "
Is this step really necessary , I have flashed with ROM's before without doing this .
I use ODIN to flash and remove SIM and SD card .
Please clarify ...
Click to expand...
Click to collapse
Never done this either, altough the only time I flashed my Ace it was the 2.3.3 update. I used ODIN and removed SIM and the SD card aswell. But it's not a custom ROM so I don't know if it really counts...
How can i fix gps problem,i cant switch on my gps with this rom.
Diliban said:
Key Features of CodeRom NexusAce XXKPH 2.3.4:
• A2sd darktremor ready with A2SDGUI (credits to them)
• EXT4 support
• Rooted and Deodexed
• Used custom bootanimation.zip and powersound disabled (update: use nexus S bootanimation)
• Power menu add on: reboot, recovery, download mode (credits to: da_jok3r from 4pda.ru; sk0t and Lovetz)
• Remove some stock apps: SamsungApps, Samsung Stock Clock etc.
• Updated Google Apps & Other: Google Maps, Gmail, Messaging (with theme option), Root explorer, 3 fonts preinstalled (as seen on Galaxy Tab)
• Now with A2SDGUI support
Pre-flashing check list:
• Open KIES and backup your contacts and Bookmarks. (If you have any other app like MYBACK PRO, then you can skip this step)
• Backup your applications using Titanium Backup or any other non-rooted back up apps like App Monster.
• Make sure your phone's battery level is more than 70% before installation.
• Make sure your sdcard was inserted and has been formatted into ext4 partition.
(I am sorry I don’t have time to prepare tutorial to format SD into ext4, once completed. I will place the link here)
Tutorial to flash Samsung Galaxy Ace S5830 to CodeRom NexusAce XXKPH 2.3.4:
• First download CodeRom NexusAce rar file package which contains all the essential firmware flashing tools. Please note that after downloading the rar file, you will have to place the file on desktop and then extract the same. Use below link to download.
*MOD REMOVED* NO WAREZ*
• Check whether extracted folder contains these key files COPPER, APBOOT, MODEM, CODEROMNEXUS, CSC and of course ODIN Multi Downloader v4.38
• Open the Odin Multi downloader v 4.38 file from the extracted files after which you will see that a new window will be popping.
• Now, at this point of time you will have to ensure that the KIES is completely closed and also preferably close all other programs in your computer too so as to ensure that the software update process is not hampered or interrupted in any manner.
• After this you will have to make sure that your phone is turned ON in the download mode, the download mode can be turned ON by pressing Middle Key (OK Key) + Power key and Volume down Key simultaneously before connecting to PC after which the phone will enter in the download mode.
• So, after double checking that the phone has entered in the download mode and connect your phone to your PC, then yellow ID: COM block. Now, next up without changing any other parameters you will have to select the files as they are mentioned below, this is very important step, if any of the file is wrongly entered then you will end up bricking the phone for which we can’t be held responsible in any manner what so ever.
OPS – Cooper_v1.0.ops
BOOT – APBOOT_S5830XXKPH_CL260130_REV03_user_low_true.tar.md5
Phone – MODEM_S5830XXKPH_CL260130_REV03.tar.md5
PDA – coderomnexus.tar.md5 (just ignore error message while inserting this file)
CSC – CSC_S5830SERKPH_CL260130_REV03_user_low_true.tar.md5
• After checking the entries as mentioned above, click on the “Start” tab which is just located above the “Select OPS” option. Please note that as soon as you click on the Start tab it will take 5 – 10 minutes to complete the firmware update process and its highly requested on not to interrupt the process as this may brick your phone permanently.
• You will see that after 5 – 10 minutes of time as mentioned above, the updation process is completed and you will have to wait till you see home screen in your phone and also you will have to watch out for Odin as you will see that a Blue colored box will be glowing up as “PASS”
• Now remove your phone safely from PC and go to settings and Locale to change language.
You may like the below links as well.
• Official ClockworkMod 4.0.0.9 Recovery for Samsung Galaxy Ace CodeRom NexusAce XXKPH 2.3.4:
http://forum.xda-developers.com/showthread.php?t=1168417
• Tutorial to setup a2sd in SGA S5830 (CodeRom NexusAce XXKPH 2.3.4):
http://forum.xda-developers.com/showthread.php?p=15724057#post15724057
============================================================
Diliban. P (DP)
Phone: Samsung Galaxy Ace GT-S5830
Version: GingerBread 2.3.4 (KPH)
Rom: CodeRom NexusAce + CRT Animation + a2SD enabled
Recovery: ClockworkMod v.4.0.0.9
Click to expand...
Click to collapse
im newbie.. i just want to ask if i need to update my froyo to gb 2.3.4 before doing this tutorial of this custom rom?.. and this custom rom supported tun.ko.. thanks...
how to ..
Hi Diliban,
I'm running 2.3.4 KPH from Samfirmware.
Can you share with me how to create zip to enable "Power menu add on: reboot, recovery, download mode"
Thanks
Is it necessary to format SD card in ext4 before flashing?
a few questions... i'm kinda new on this.
Before flashing any rom, I must do a wipe of everything .. data... etc right?
and... once I flash the rom, I have to root the device again?
thanks. why was the link removed?
unable to download. link not working. please give a mirror
MPAI said:
Is it necessary to format SD card in ext4 before flashing?
Click to expand...
Click to collapse
The answer is YES.
It highlighted in Pre-flashing check list on post #1.

Collection of Tips & Tricks about our Xperias // Android, Rooting, General

Hi,
I'm using my xperia arc s now since 2 years and have collected some intersting tips which might be interesting for you.
- Android is Modular: You can replace any .apk from themes and apps for example on any ROM - Let's say you use a ROM called "Mod CM10" which is based on CM10, you can use themes & apps which are made for stock CM 10
Else: You use Ultimate HD but want a different statusbar theme. Simply pick a systemUI.apk theme and flash it - as long as it works on stock ics its going to work in ics based ROMs
- CMW flasahbles: You can always view them with winrar and see whats inside - change or replace content & you can still flash it. Simple as 123
- Your phone charges in CWM
- Free RAM is NOT wasted RAM - 100mb is a good value of free RAM
- You can't crossflash mods from cm10 to ics
- to disable led lights, simply edit hw_config.sh to echo 0 > /sys/class/leds/button-backlight/max_current
- OC only slightly boosts performance
- If you install CWM via xParts, it'll put a few files into /system directory - you can always select locked bl in AROMA of some ROMs & it'll do the same
- Maps, Facebook and Messenger CAN be freezed when your gaming to save nearly 100mb's of RAM
- Thousands of build.prop tweaks WON'T IMPROVE ANYTHING
- Easteregg of about phone > android version is in /system/framework/framework-res.apk/res/drawable-hdpi and /system/framework/framework.jar/smali/android/internal/Platlogo.smali
- To decompile .apks you always need to install framework from the device the apk is from
- use alogcat to take logcats or terminal: logcat > sdcard/log.zip
- Lockscreen popus switches are framework-res.apk
- onscreenbuttons, statusbar etc are systemui.apk
Many more cooming as soon as I rememeber lol

[ROM] Note 7 Grace Ux For J7 (2016)

Before we begin, lets start this Formally
Disclaimer!
IM NOT RESPONSIBLE IF YOU BRICK YOUR GORGEOUS SMARTPHONE OR DECIDE TO BE CARELESS OR CREATE A CYCLONE... you know the drill.
SAMSUNG GALAXY Note 7 Rom Port to J7 (2016)
Provided to this thread is the Galaxy Note Rom full port with "Partitial" Grace Ux
BUT BEFORE WE BEGIN THE WHOLE CREDIT GOES TO AMIT ANAND FOR THE ROM ~~~~~
Rom features....
-
- VoLTE is supported most important (INDIANS)
- Rooted with supersu
- Busybox
- zipaligned
- deodexed
- Grace Ux
- build.prop Tweaks
- The Sound Volume is 40% increased
NOTE: This Rom should work on J710FN (tested) but also work on other models,not tested
Procedure :-
Before we start make sure you have official TWRP installed
1] make sure you take Efs Backup in your Ext Sd card
2] then go to wipe/formate data type "yes" and press ok or enter button on the keyboard
3] then go back to wipe/advance wipe then wipe data,system,dalvik cache,cache,internal Storage
4] now go to install select the storge as ext sd card and flash the rom
5] reboot the phone finish the setupwizard (remember dont login into google before you complete all the steps)
Then go to settings > Lock screen and security > Other Security settings > (disable send security report) > Security Policy updates (Disable the auto update)
6] then go to twrp and flash ( OverRide System Permissions.zip ) ,( xposed.zip) ,( csc repaired.zip)
7] then reboot the device
NOTE : The icons in the Theme of Amit Anand are bit pixeled if u dont like the them u can switch to the default theme where the icons are better its a pure note 7 port !!!:silly:
I PREFER USING GOOD LOCK WITH IT.....THE LATEST APK LINK IS IN DOWNLOAD SECTION ~~
ENJOY !!:laugh:
SCREENSHOTS ARE IN ATTACHMENTS
DOWNLOAD:-
ROM ~ Mod edit link removed
Where is the bugs section.
Mentions some bugs pls
I see in SS some bloatware like fb and google photos.. are they included?
- what is overRide system permission?
- csc repair can be included in the ROM ?
Copyrights Provoked
i did not give any permissions or rights to share this rom or my entire work of xposed or override system permission you done a serious mistake on posting my work (the rom what i had given you was for testing not to share my work) and i told you 100 times not to share the rom before giving it and after giving it also i told you clearly not to post it. you dont have any rights on my work as for this i dont want any credits i just want this page to shutdown immediately i complained to the xda moderators of copyrights of my work
Thread Closed as OP does not have permission to share
Regards
Sawdoctor

Le Max 3 EUI 5.9.21S by diamantik

Thread moved to : https://forum.xda-developers.com/le-max-2/how-to/le-max-3-eui-5-9-021sr2-diamantik-t3856853
Disclaimer : I am not responsible for bricked devices, dead phones, or you getting fired because the alarm app failed. Please do some research if you have any concerns about doing this to your device .
YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, your data , i will laugh at you.
I am happy to present you , the best EUI 5.9.21S experience for the Le Max 3 ( X850 ) .
Things changed and improved :
-> Launcher now support drawer mode ( ported from 28S)
-> Latest Super Manager , with data usage notification ( also from 28S)
-> Removed many useless applications
-> Improved system audio
-> The quiet sound in headphones is now fixed
Tip: Turn off Dolby Atmos , the speaker, earpiece, and headphones will be way louder .
-> Kernel Tweaks and battery optimization scrips
-> [ Update 13/10 ] Changed the behaviour of the deep sleep.
If you encount a bug , please tell me the details in this thread .
Download : http://bit.ly/2yNoUui
** The " R(Number) " means the release number of the ROM , like R1 - first release
The Deep sleep tuner :
http://bit.ly/2EwB9kU
*Install via TWRP above the current ROM , you don't need to change or wipe nothing .
It really helps with the battery life
How to install :
1. You need to have the bootloader unlocked , and the TWRP installed . ( How to do that ( my post link) : https://forum.xda-developers.com/showpost.php?p=76620374&postcount=7 )
**After unlocking the bootloader , you get a green notification led and the phone not turning on , when you try to boot your phone .
[ THE SOLUTION IS : To boot into TWRP ( volume up and power button ) and from TWRP , tap on Reboot --> System , this will boot the phone normally , currently we can do nothing to solve this :crying: ]
Note : If you come from another ROM , you will need to do an wipe on system , data , cache .
Also please take a backup ,if you have already TWRP , and in case you want to restore back.
2. Download the "Deep sleep tuner" and the " 21S Firmware & Modem by @moto999999 ": https://androidfilehost.com/?fid=674106145207488760
3. Download and copy the ROM , Universal_GMS_Doze.zip , and 21S_Firmware_&_Modem_x10.zip inside your internal memory
4. Flash the 21S_Firmware_&_Modem_x10.zip
5. Flash the ROM
6. Flash the Magisk
7. Flash the Universal_GMS_Doze
Apps that I recommend : ( they are not in the ROM)
( Updated 12/10 )
( Currently using all from this list )
1. Power Shade ( adds a new notification bar with android P style , with changed notifications and toggles for all the things. )
**Tip : Select USA region for showing apps in status bar , not an 3 dot circle
2. Add Away ( Removes adds system-wide)
3. Install button Unlocker ( Allows you to bypass the restriction "screen overlay detected" and allow the permison to apps )
4. AndroiTS GPS Test Pro ( for GPS to indentify you faster , first time after instaling the ROM )
5. Greenify - helps with the battery life
6. Volume Booster by GOODEV - boost even more the headphone sound :laugh:
For those that want to freeze apps , a simple and bug-less list :
Note : Is not mandatory !!!
LeEco account
LeEco setup wizard
MyLeEco
LeTVEcoProvider
ANT HAL Service
Fido ( all 3 apps )
VCalendar
Market Feedback Agent,
Following Feed
Fast Transfer
Effect Service
Crash Handler
EuiTransfer.AppData
Bubbles
and AOSP keyboard , if you have Gboard , or another keyboard .
You can use Titanium Backup ( Pro - required ) for this , or IceBox , or any other apps
Credits to @moto999999 for :
- Initial release
- Tweaks to the kernel and battery
@Luis4x4 for all the research he made , for the money he spent on the unlocking bootloader ( ~600 $ ) , and for paying the unbricking of my device . And both for being awesome guys
Credits for rest of the work goes to me @diamantik
Reserved
( In future : maybe i will be able to unlock the lens blur processing for current date )
Will be great ??
[email protected] said:
( In future : maybe i will be able to unlock the lens blur processing for current date )
Will be great
Click to expand...
Click to collapse
Well i will try to unlock , but i really don't think i will be able to do that :crying:
If i succed i will update the post
unlock the lens blur processing for current date
Really like this!
min1968 said:
unlock the lens blur processing for current date
Really like this!
Click to expand...
Click to collapse
I wish i could
I have tried , but failed , need someone who can help , but idk who
diamantik said:
Disclaimer : I am not responsible for bricked devices, dead phones, or you getting fired because the alarm app failed. Please do some research if you have any concerns about doing this to your device .
YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, i will tell that you have done all the changes , and took the risk.
I am happy to present you an more better EUI 5.9.21S experience for the Le Max 3 ( X850 ) .
Things changed and improved :
-> Launcher now support drawer mode ( ported from 28S)
-> Latest Super Manager , with data usage notification ( also from 28S)
-> Removed many useless applications
-> Improved system audio
-> The quiet sound in headphones is now fixed
Tip: Turn off Dolby Atmos , the speaker, earpiece, and headphones will be way louder .
-> Kernel Tweaks and battery optimization scrips
( In future : maybe i will be able to unlock the lens blur processing for current date )
If you encount an bug , please tell me the details in this thread .
Download : https://drive.google.com/open?id=1tCsHaJK1MmHzuQUJQSv4mltBFA_L7M5w
** The " R(Number) " means the release number of the ROM , like R1 - first release
How to install :
1. You need to have the bootloader unlocked , and the TWRP installed . ( How to do that ( my post link) : https://forum.xda-developers.com/showpost.php?p=76620374&postcount=7 )
**After unlocking the bootloader , you can get an green notification led and the phone not turning on , when you try to boot your phone .
[ THE SOLUTION IS : To boot into TWRP ( volume up and power button ) and from TWRP , tap on Reboot --> System , this will boot the phone normally , currently we can do nothing to solve this :crying: ]
Note : If you come from another ROM , you will need to do an wipe on system , data , cache .
Also please take an backup , if you want to restore back
2. Download the 21S Firmware & Modem by @moto999999 : https://androidfilehost.com/?fid=674106145207488760
3. Download and copy the ROM , and 21S_Firmware_&_Modem_x10.zip inside your internal memory
4. Flash the 21S_Firmware_&_Modem_x10.zip
5. Flash the ROM
6. After that you can root
***Suggest to root with Magisk ( is way better that SuperSU , and you will can use Snapchat , and will can hide the root )
Apps that I recommend : ( they are not in the ROM)
1. Material Notification Shade Pro ( adds an new notification bar , toggles , android P , O , N style )
**Tip : Select USA region for showing apps in status bar , not an 3 dot circle
2. Add Away ( Removes adds system-wide)
3. Install button Unlocker ( Allows you to bypass the restriction "screen overlay detected" and allow the permison to apps )
4. AndroiTS GPS Test Pro ( for GPS to indentify you faster , first time after instaling the ROM )
Credits to @moto999999 for :
- Initial release
- Tweaks to the kernel and battery
Credits for rest of the work goes to me @diamantik
Click to expand...
Click to collapse
Diamantik I try to insstall Your ROM but ask me about password.... it is possibile ?
[email protected] said:
Diamantik I try to insstall Your ROM but ask me about password.... it is possibile ?
Click to expand...
Click to collapse
You have boot into TWRP , and there is written " Data Encrypted " ?
If yes then skip , and go in TWRP :
--> Tick "do not show again" and the swipe to allow modification. ( if promting )
--> Skip device encryption by clicking "Install" (if the storage size is 0mb or no folder is showing while trying to install, then the device is encrypted. )
--> For solve that, click "Wipe" --> choose to " Format Data " and type " yes " and swipe to format . It's going to wipe EVERYTHING in the internal storage (that's the purpose of device encryption, to prevent unauthorized access to the storage).
--> When completed, go back, click "Reboot" --> "Recovery" , this will restart your recovery (very important, do not reboot the phone into system otherwise you'll start all over. Reboot into recovery, not system).
---> From recovery, click "Install" > and select first the " EUI5.9 firmware and modem " and flash it , after that flash my EUI5.9 , after that you can root , suggest with Magisk
Keep in mind , you are doing all at your own risk !!!
I am not resposible if you get a brick , or lose your data :angel:
For more cleary Your ROM is now instaled by .zip file Used TWRP. If I try normal start phone, system Ask me about password. Watch this on My YT Channel:
https://youtu.be/1FIxZhyJ7jo
[email protected] said:
For more cleary Your ROM is now instaled by .zip file Used TWRP. If I try normal start phone, system Ask me about password. Watch this on My YT Channel:
https://youtu.be/1FIxZhyJ7jo
Click to expand...
Click to collapse
I understood
For removing password
--> Boot into TWRP
--> If prompts " device encryption " , tap on "Install"
(if the storage size is 0mb or no folder is showing while trying to install, then the device is encrypted. )
--> Go back in standart TWRP menu , from there click "Wipe" --> choose to " Format Data " and type " yes " and swipe to format . It's going to wipe EVERYTHING in the internal storage (that's the purpose of device encryption, to prevent unauthorized access to the storage).
--> When completed, go back, click "Reboot" --> "Recovery" , this will restart your recovery (very important, do not reboot the phone into system otherwise you'll start all over. Reboot into recovery, not system).
---> Now after TWRP rebooted , click "Install" > and select first the " EUI5.9 firmware and modem " and flash it , after that flash my EUI5.9 , after that you can root , suggest with Magisk .
The password will be removed , is from encrypted data partition
OK. I Have Your ROM
HOW I install your ROM ?
1. enter TWRP mode
2. Wipe all
3. Format
4. Copy Your .zip file into root directory on phone
5. Install your .zip file (without unpacking the zip file)
6. after install -> wipe dalvik cache
7. Reboot -> system
8. Phone start your ROM and standard welcome setings.
That's all -> without this procedure ->click "Install" > and select first the " EUI5.9 firmware and modem " and flash it , after that flash my EUI5.9
Did I do wrong?
[email protected] said:
OK. I Have Your ROM
HOW I install your ROM ?
1. enter TWRP mode
2. Wipe all
3. Format
4. Copy Your .zip file into root directory on phone
5. Install your .zip file (without unpacking the zip file)
6. after install -> wipe dalvik cache
7. Reboot -> system
8. Phone start your ROM and standard welcome setings.
That's all -> without this procedure ->click "Install" > and select first the " EUI5.9 firmware and modem " and flash it , after that flash my EUI5.9
Did I do wrong?
Click to expand...
Click to collapse
1. (If prompts " device encryption " , tap on "Install"
1.1 Go home ,after that to "Wipe" --> choose to " Format Data " and type " yes " and swipe to format . It's going to wipe EVERYTHING in the internal storage , an unencrypt your storage . after that click "Reboot" --> "Recovery" , this will restart your recovery (very important, do not reboot the phone into system otherwise you'll start all over. )
1.2 Now after TWRP rebooted :
Copy the ROM , and 21S_Firmware_&_Modem_x10.zip inside your internal memory
4. Flash the 21S_Firmware_&_Modem_x10.zip
5. Flash the ROM
6. After that you can root
***Suggest to root with Magisk
Do some research on youtube if still don't understanding
diamantik said:
1.2 Now after TWRP rebooted :
Copy the ROM , and 21S_Firmware_&_Modem_x10.zip inside your internal memory
4. Flash the 21S_Firmware_&_Modem_x10.zip
5. Flash the ROM
6. After that you can root
Click to expand...
Click to collapse
Rom has been installed correctly Everything works great, especially the sound
I installed everything according to your instructions.
Unfortunately, the phone still does not work in LTE B20 mode. On the second phone LTE B20 works without a problem. I can easily check this because in my area LTE is only using B20
Maybe there is another version of the 21S_Firmware _ & _ Modem_x10.zip which supports B20?
[email protected] said:
Rom has been installed correctly Everything works great, especially the sound
I installed everything according to your instructions.
Unfortunately, the phone still does not work in LTE B20 mode. On the second phone LTE B20 works without a problem. I can easily check this because in my area LTE is only using B20
Maybe there is another version of the 21S_Firmware _ & _ Modem_x10.zip which supports B20?
Click to expand...
Click to collapse
Flash this x10_AOSP.zip modem : https://drive.google.com/file/d/14k-JYlJ0If6TFC5WjAbkC4h94GPcVIuu/view
Maybe this will fix the problem .
If not , i will not can help , maybe ask @moto999999
Also if with the new firmware , the rom make troubles , flash again the 21S_Firmware _ & _ Modem_x10.zip .
I have not tried this firmware
diamantik said:
Flash this x10_AOSP.zip modem : https://drive.google.com/file/d/14k-JYlJ0If6TFC5WjAbkC4h94GPcVIuu/view
Maybe this will fix the problem .
If not , i will not can help , maybe ask @moto999999
Also if with the new firmware , the rom make troubles , flash again the 21S_Firmware _ & _ Modem_x10.zip .
I have not tried this firmware
Click to expand...
Click to collapse
without success , the phone still can not see LTE B20
[email protected] said:
without success , the phone still can not see LTE B20
Click to expand...
Click to collapse
Well i don't have other modem.
Try with the EUI6 modem
Do you know if that's ok with your rom if I'll freeze apps from ant07 list here ?
some screenshots please!!!!!!!
diamantik said:
Well i don't have other modem.
Try with the EUI6 modem
Click to expand...
Click to collapse
I cannot download any app from the play store over mobile network. I mean it doesn't allow me to download and install or update anything from the google store. The system is waiting for WiFi. I'm I doing something wrong?
Bootloader is unlocked, TWRP installed, flashed your rom according to your instruction. No settings were changed yet. Google store settings checked for ability to download over any network. Any suggestions?
Plastic8 said:
I cannot download any app from the play store over mobile network. I mean it doesn't allow me to download and install or update anything from the google store. The system is waiting for WiFi. I'm I doing something wrong?
Bootloader is unlocked, TWRP installed, flashed your rom according to your instruction. No settings were changed yet. Google store settings checked for ability to download over any network. Any suggestions?
Click to expand...
Click to collapse
Firstly , yes you can freeze the apps what you find in ROM .
You can Freeze this apps :
LeEco account
LeEco setup wizard
MyLeEco
LeTVEcoProvider
ANT HAL Service
Fido ( all 3 apps )
VCalendar
Market Feedback Agent,
Following Feed
Fast Transfer
Effect Service
Crash Handler
EuiTransfer.AppData
Bubbles
and AOSP keyboard , if you have Gboard , or another keyboard .
You don't need necessarily to freeze the apps , just make sure that you have the " Deep sleep tuner " flashed .
From my experince there is not a difference with the apps freezed or not . Maybe about 10 minutes of battery life more .
That is why i have not put an list before :laugh: . Also this list isn't interfering with any apps , or android UI from my experince . The ROM was debloated as much as i was able.
The second problem solution :
Open app " Downloads " --> 3 dot ( right up corner ) --> Settings --> Scroll up , until " No limit " , appears .
Select , and done , now clear cache for play store , and this is all , this should remove this inability

[IIIII] CROSS - Custom ROM Scripted Setup

Nexus 7'13 CROSS - Custom ROM Scripted Setup (c)2020-2021 k23m
CROSS works on PC with Windows, or WinPE if you do not have Windows installed, or VirtualBox with a Windows guest.
Currently supported ROMs:
- Android 10 LineageOS 17.1
- Android 11 LineageOS 18.1
- Android 11 LineageOS 18.1-flox
Previously supported ROMs:
- Android 7 LineageOS 14.1
- Android 7 LineageOS 14.1-microG
- Android 10 LineageOS 17.1-flox
FEATURES
- automatic scan of developer's website for the latest ROM version
- automatic download of all required components
- automatic single-click installation
- optional components like root or special kernel
- all you have to do is select yes/no during the installation
- both flo and deb are supported
PREREQUISITES
- unlocked device
- installed N7 USB drivers
- original eMMC partition layout may be required
All of the above are ensured with RESTOCK - also a scripted tool, available here:
[+]RESTOCK - stock restore, repartition, repair and reset, including USB driver fix
RESTOCK is a new Nexus 7 2013 repair and factory reset tool for Windows. The NRT app (Nexus Root Toolkit) is similar but is old, closed-source, unsupported, abandoned, does no eMMC diagnostics and most importantly - it offers no repartitioning...
forum.xda-developers.com
---------------------
lineage-install-2.bat
---------------------
This script installs and/or offers the following optional components:
- Android 10 LineageOS 17.1 UNOFFICIAL maintained by ripee https://forum.xda-developers.com/nexus-7-2013/development/rom-lineageos-17-1-t4038425
- TWRP (optional, no need to reflash it if exists already)
- repartition: sysrepart-max.zip by k23m (optional, no need if already repartitioned)
- root: Magisk (optional)
- GApps: pico (optional)
---------------------
lineage-install-3.bat
---------------------
This script installs and/or offers the following optional components:
- Android 11 LineageOS 18.1 UNOFFICIAL maintained by followmsi https://forum.xda-developers.com/t/rom-flo-deb-unofficial-lineageos-18-1-2021-04-07.3569067/
- TWRP (optional, no need to reflash it if exists already)
- repartition: sysrepart-ultimate.zip by k23m (optional, no need if already repartitioned)
- root: Magisk (optional)
- GApps: pico (optional)
NOTE: automatic scan of the developer's website is not possible.
Please download the ROM from: https://drive.google.com/drive/fold...HZThGTnM?resourcekey=0-0BunAmDBWluYPghT0Fs6CA
Save it in CROSS' folder and drag-and-drop it on lineage-install-3.bat to start the installation.
--------------------------
lineage-install-3-flox.bat
--------------------------
This script installs and/or offers the following optional components:
- Android 11 LineageOS 18.1-flox OFFICIAL maintained by npjohnson https://forum.xda-developers.com/t/...s-7-2013-wi-fi-repartition-only-flox.4255325/
- TWRP-flox (optional, no need to reflash it if exists already)
- repartition: sysrepart-ultimate.zip (flox compatible) by k23m (optional, no need if already flox-repartitioned)
- root: Magisk (optional)
- GApps: pico unofficial by ipdev (optional)
------------------------
getlog.bat and relog.bat
------------------------
If you see errors, copy and report them. Run getlog.bat and include "getlog.log" in your post. If possible, also run relog.bat and attach "relog-xxxxxx.zip" to your post.
----------
fstrim.bat
----------
Improve performance of your eMMC.
---------------
repartition.bat
---------------
If sysrepart repartition is impossible due to TWRP or GPT issues, run the repartition.bat script.
SUPPORT
[FIX][EMMC] Nexus 7 2013 ⊕ bricked, dead, frozen or stuck ⊕
Quick Links if fastboot mode is not available, try Unbricking Guide if fastboot mode is available, do RESTOCK In this thread I would like to consolidate information about eMMC flash memory failures and remedies. When flash memory fails it...
forum.xda-developers.com
[+]RESTOCK - stock restore, repartition, repair and reset, including USB driver fix
RESTOCK is a new Nexus 7 2013 repair and factory reset tool for Windows. The NRT app (Nexus Root Toolkit) is similar but is old, closed-source, unsupported, abandoned, does no eMMC diagnostics and most importantly - it offers no repartitioning...
forum.xda-developers.com
If you select the local file option, CROSS will scan the data folder and offer the newest found file for installation. If nothing is found, you can type/paste a specific file name to install. You can drop anything you like to the data folder - CROSS is now a basic universal ROM installer.
SAMPLE OUTPUT
Code:
Nexus 7'13 LineageOS 17.1 Install v1.3 @2020 k23m
SUPPORT - http://bit.ly/2C35sLZ
This script assumes that USB drivers are already installed.
If not, then run RESTOCK first or install them manually.
Enter device name (flo=WiFi; deb=LTE) - [flo/deb]: flo
Use local ROM file? (no if unsure) [y/n]:
--2020-05-15 06:17:53-- https://lineageos.wickenberg.nu/flo/
Resolving lineageos.wickenberg.nu... 88.129.42.110
Connecting to lineageos.wickenberg.nu|88.129.42.110|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: 'tmp1'
tmp1 [ <=> ] 6.32K --.-KB/s in 0.001s
2020-05-15 06:17:57 (5.33 MB/s) - 'tmp1' saved [6473]
Found for download: lineage-17.1-20200515-UNOFFICIAL-flo.zip
Use local TWRP file? (no if unsure) [y/n]:
Press any key to continue . . .
Downloading installation files.
--2020-05-15 06:19:02-- https://dl.twrp.me/flo/twrp-3.3.1-0-flo.img
Resolving dl.twrp.me... 45.249.91.154
Connecting to dl.twrp.me|45.249.91.154|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9271296 (8.8M) [application/octet-stream]
Saving to: 'twrp-3.3.1-0-flo.img'
twrp-3.3.1-0-flo.img 100%[=================================================>] 8.84M 945KB/s in 11s
2020-05-15 06:19:15 (788 KB/s) - 'twrp-3.3.1-0-flo.img' saved [9271296/9271296]
--2020-05-15 06:19:15-- https://lineageos.wickenberg.nu/flo/lineage-17.1-20200515-UNOFFICIAL-flo.zip
Resolving lineageos.wickenberg.nu... 88.129.42.110
Connecting to lineageos.wickenberg.nu|88.129.42.110|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 413523888 (394M) [application/zip]
Saving to: 'lineage-17.1-20200515-UNOFFICIAL-flo.zip'
lineage-17.1-20200515-UNOFFIC 100%[=================================================>] 394.37M 2.71MB/s in 3m 17s
2020-05-15 06:22:34 (2.01 MB/s) - 'lineage-17.1-20200515-UNOFFICIAL-flo.zip' saved [413523888/413523888]
--2020-05-15 06:22:34-- https://jaist.dl.sourceforge.net/project/opengapps/arm/20200515/open_gapps-arm-10.0-pico-202005
15.zip
Resolving jaist.dl.sourceforge.net... 150.65.7.130
Connecting to jaist.dl.sourceforge.net|150.65.7.130|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 101519489 (97M) [application/octet-stream]
Saving to: 'open_gapps-arm-10.0-pico-20200515.zip'
open_gapps-arm-10.0-pico-2020 100%[=================================================>] 96.82M 3.25MB/s in 36s
2020-05-15 06:23:11 (2.73 MB/s) - 'open_gapps-arm-10.0-pico-20200515.zip' saved [101519489/101519489]
--2020-05-15 06:23:11-- https://github.com/topjohnwu/Magisk/releases/download/v20.4/Magisk-v20.4.zip
Resolving github.com... 52.64.108.95
Connecting to github.com|52.64.108.95|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/67702184/81204200-6ca5-11ea-8f19-3a5b8341b6e2?
X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200515%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-
Date=20200515T072529Z&X-Amz-Expires=300&X-Amz-Signature=681f649c20ad2b0eabf80411650867d6db9144197a42a639a13162209f0fff91
&X-Amz-SignedHeaders=host&actor_id=0&repo_id=67702184&response-content-disposition=attachment%3B%20filename%3DMagisk-v20
.4.zip&response-content-type=application%2Foctet-stream [following]
--2020-05-15 06:23:11-- https://github-production-release-asset-2e65be.s3.amazonaws.com/67702184/81204200-6ca5-11ea-8f1
9-3a5b8341b6e2?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200515%2Fus-east-1%2Fs3%2Faws4
_request&X-Amz-Date=20200515T072529Z&X-Amz-Expires=300&X-Amz-Signature=681f649c20ad2b0eabf80411650867d6db9144197a42a639a
13162209f0fff91&X-Amz-SignedHeaders=host&actor_id=0&repo_id=67702184&response-content-disposition=attachment%3B%20filena
me%3DMagisk-v20.4.zip&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com... 52.216.134.219
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com|52.216.134.219|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5942417 (5.7M) [application/octet-stream]
Saving to: 'Magisk-v20.4.zip'
Magisk-v20.4.zip 100%[=================================================>] 5.67M 2.30MB/s in 2.5s
2020-05-15 06:23:15 (2.30 MB/s) - 'Magisk-v20.4.zip' saved [5942417/5942417]
--2020-05-15 06:23:15-- https://forum.xda-developers.com/attachment.php?attachmentid=4480528
Resolving forum.xda-developers.com... 104.18.19.88, 104.18.18.88
Connecting to forum.xda-developers.com|104.18.19.88|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://dl.xda-cdn.com/4/4/8/0/5/2/8/sysrepart.zip?key=Wwfo1oqhImScVpTSzXTlzA&ts=1589527594 [following]
--2020-05-15 06:23:16-- https://dl.xda-cdn.com/4/4/8/0/5/2/8/sysrepart.zip?key=Wwfo1oqhImScVpTSzXTlzA&ts=1589527594
Resolving dl.xda-cdn.com... 104.27.191.76, 104.27.190.76
Connecting to dl.xda-cdn.com|104.27.191.76|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 782958 (765K) [application/zip]
Saving to: 'sysrepart.zip'
sysrepart.zip 100%[=================================================>] 764.61K 591KB/s in 1.3s
2020-05-15 06:23:20 (591 KB/s) - 'sysrepart.zip' saved [782958/782958]
Press any key to continue . . .
1. boot the Nexus in fastboot mode: when OFF press POWER + VOLUME DOWN
2. when in the bootloader menu, connect it to your PC
3. wait a few seconds, then...
Press any key to continue . . .
Verify...
Lock status...
Flash TWRP? [y/n]: y
sending 'recovery' (9054 KB)...
OKAY [ 0.297s]
writing 'recovery'...
OKAY [ 0.516s]
finished. total time: 0.812s
1. on N7 select "Recovery mode" with volume button
2. on N7 press power button to boot Recovery
3. when you see TWRP main menu press any key to continue
Wait...
*
Installing...
*****
Repartition? (no if already repartitioned) [y/n]: y
Transferring: 782958/782958 (100%)
2575 KB/s (782958 bytes in 0.296s)
***
Wait...
Installing zip file '/sdcard/sysrepart.zip'
Checking for Digest file...
###############################
# k23m Nexus 7'13 Repartition #
###############################
Creating log and gpt backup
Removing partitions
Creating new partitions
Formatting new partitions
###############################
Operation completed. Copy backup gpt and log files from internal storage to PC before rebooting.
###############################
Done processing script file
***
...REBOOTING
When you see TWRP main menu press any key to continue...
*****
Proceed only if you really see TWRP main menu
Press any key to continue . . .
Do dirty flash? (no if unsure) [y/n]: n
Wiping data without wiping /data/media ...
Done.
Formatting Cache using make_ext4fs...
Done processing script file
Formatting System using make_ext4fs...
Done processing script file
Wiping Cache & Dalvik...
-- Dalvik Cache Directories Wipe Complete!
Done processing script file
Formatting cache using make_ext4fs...
Done processing script file
***
Transferring: 413523888/413523888 (100%)
3649 KB/s (413523888 bytes in 110.640s)
***
Wait...
Installing zip file '/sdcard/lineage-17.1-20200515-UNOFFICIAL-flo.zip'
Checking for Digest file...
Warning: No file_contextsTarget: google/razor/flo:6.0.1/MOB30X/3036618:user/release-keysPatching system image unconditio
nally...script succeeded: result was [1.000000]Done processing script file
Install root? [y/n]: y
Transferring: 5942417/5942417 (100%)
3868 KB/s (5942417 bytes in 1.500s)
***
Wait...
Installing zip file '/sdcard/Magisk-v20.4.zip'
Checking for Digest file...
***********************
Magisk 20.4 Installer
***********************
- Mounting /system
- Device is system-as-root
- Mounting /apex/com.android.conscrypt
- Mounting /apex/com.android.media
- Mounting /apex/com.android.media.swcodec
- Mounting /apex/com.android.resolv
- Mounting /apex/com.android.runtime
- Mounting /apex/com.android.tzdata
- System-as-root, keep dm/avb-verity
- Target image: /dev/block/mmcblk0p14
- Device platform: arm
- Constructing environment
- Adding addon.d survival script
- Unpacking boot image
- Checking ramdisk status
- Stock boot image detected
- Patching ramdisk
- Repacking boot image
- Flashing new boot image
- Unmounting partitions
- Done
Done processing script file
Install GApps? [y/n]: y
Transferring: 101519489/101519489 (100%)
3623 KB/s (101519489 bytes in 27.359s)
***
Wait...
Installing zip file '/sdcard/open_gapps-arm-10.0-pico-20200515.zip'
Checking for Digest file...
##############################
_____ _____ ___ ____
/ _ \ | __ \ / _ \ | _ \
| / \ || |__) | |_| || | \ \
| | | || ___/| __/ | | | |
| \ / || | \ |__ | | | |
\_/ \_/ |_| \___| |_| |_|
___ _ ___ ___ ___
/ __| /_\ | _ \ _ \/ __|
| (_ |/ _ \| _/ _/\__ \
\___/_/ \_\_| |_| |___/
##############################
Open GApps pico 10.0 - 20200515
- Mounting partitions
- Gathering device & ROM information
- Performing system space calculations
- Removing existing/obsolete Apps
- Installing core GApps
- Installing swypelibs
- Installing calsync
- Installing googletts
- Installing packageinstallergoogle
- Miscellaneous tasks
- Copying Log to /sdcard
- Installation complete!
- Unmounting partitions
Done processing script file
***
Done.
Press any key to continue . . .
SUPPORT - http://bit.ly/2C35sLZ
Press any key to exit...
_____________________________________________________
REPARTITION
sysrepart.zip - 1.1GB system, data is not wiped
sysrepart-max.zip - 1.3GB system, data is not wiped, automatically downloaded by LOS 17.1 script
sysrepart-flox.zip - 1.5GB system, data is wiped, 'vendor' partition is added, automatically downloaded by LOS 17.1-flox script
sysrepart-ultimate.zip - 4GB system, data is wiped, 'vendor' partition is added, 'recovery' is enlarged to 64MB in-place and your current TWRP continues to function, flox compatible, automatically downloaded by LOS 18.1-flox script. For N7-16GB try sysrepart-ultimate-2.zip
sysrepart-stock.zip - data is wiped, original partitions are restored
reboot immediately after repartition!
sysrepart-ultimate/stock work on any previous repartitions
sysrepart/max/flox work reliably only on original partitions
to install GApps larger than pico/nano you need sysrepart-ultimate
sysrepart-ultimate supports custom, oversized TWRP builds
To recover from other repartition attempts, simply install sysrepart-ultimate if you intend to use LOS17+ or sysrepart-stock if you have other plans. If direct sysrepart installation is impossible due to TWRP or GPT issues, run the repartition.bat script. On rare occasions you may have to run RESTOCK and "Restore original partitions" with it.
_____________________________________________________
UPDATE version 2.5 changes:
- update components' URLs
- update relog.bat
- remove installation scripts of no longer available ROMs
- add update.bat cleanup script (run it once)
- add repartition.bat script for repartition-only
- add lineage-install-3.bat script
Download CROSS2.zip and unzip it then download cross-update-XXX.zip and unzip it to the CROSS folder, overwrite existing files.
Also check the very latest interim updates in this post https://forum.xda-developers.com/t/iiiii-cross-custom-rom-scripted-setup.4092215/post-87622749
____________________________________________________
NOTE - most of the attached files are meant for direct script download. Except for CROSS and its updates do not download them manually unless you know what you are doing.
Hi, thank you very much for this useful tool.
I wonder whether your script could be updated to support dirty flash also. Now it seems to always make a clean flash. But it is not very convenient to set up the device after each security update.
I am not very experienced in making batch files but I was thinking about adjusting your script like follows. From:
Code:
:adbd
ping -n 3 127.0.0.1 >nul
set /p =*<nul
adb devices >tmp0 2>&1
find /i "recovery" tmp0 >nul
if not %errorlevel% == 0 goto adbd
[COLOR="Red"]echo.
echo Installing...
call:wait 5
adb shell twrp wipe /data[/COLOR]
adb shell twrp wipe /system
adb shell twrp wipe dalvik
adb shell twrp wipe cache
call:wait 3
adb push -p %LNZN% /sdcard/
call:wait 3
echo Wait...
adb shell twrp install /sdcard/%LNZN%
To:
Code:
:adbd
ping -n 3 127.0.0.1 >nul
set /p =*<nul
adb devices >tmp0 2>&1
find /i "recovery" tmp0 >nul
if not %errorlevel% == 0 goto adbd
[COLOR="red"]echo.
set /p FLASHTYPE=Do you want to make clean flash or dirty flash? Clean flash will erase all data (except the files in the internal storage) [clean/dirty]: || set FLASHTYPE=null
echo Installing...
call:wait 5
if /i %FLASHTYPE%==dirty (
echo Skipping wiping data...
echo Performing dirty flash...
goto dirty)
if /i %FLASHTYPE%==clean (
adb shell twrp wipe /data
)
:dirty[/COLOR]
adb shell twrp wipe /system
adb shell twrp wipe dalvik
adb shell twrp wipe cache
call:wait 3
adb push -p %LNZN% /sdcard/
call:wait 3
echo Wait...
adb shell twrp install /sdcard/%LNZN%
Any comment on this? Would this worked correctly?
prorokrak said:
....Any comment on this? Would this worked correctly?
Click to expand...
Click to collapse
Thanks for the suggestion. This code can be abbreviated, same as the other optional items:
Code:
set /p ANS=Do dirty flash? (no if unsure) [y/n]: || set ANS=n
if /i !ANS!==n (
adb shell twrp wipe /data
)
I added it to the v1.2 update.
I just gave this script a try. This is quite slick and saves a bunch of time! Thanks for this. :good:
CROSS 2 release
CROSS version 2.0
- new log script
- new fstrim script
- updated components' URLs
- removed LOS microG as it is no longer available
Both LineageOS 14.1 and LineageOS 17.1 install flawlessly. There may be temporary download issues. If so, retry later. LOS17 server errors...
Code:
Resolving lineageos.wickenberg.nu... 83.209.185.118
Connecting to lineageos.wickenberg.nu|83.209.185.118|:443... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
2020-10-11 10:13:40 ERROR 500: Internal Server Error.
:highfive:
Hello I came here from my topic where you suggested me using this. When I fire up lineage-installer2.bat, it can't connect to the server. It asks if I want to use a local file, which I answered yes to. When i gave the name of the file ( "lineage-17.1-20201007-UNOFFICIAL-flo.zip" which I placed inside the CROSS folder, it gave me an error and exited.. What's the deal there?
jelles01 said:
Hello I came here from my topic where you suggested me using this. When I fire up lineage-installer2.bat, it can't connect to the server. It asks if I want to use a local file, which I answered yes to. When i gave the name of the file ( "lineage-17.1-20201007-UNOFFICIAL-flo.zip" which I placed inside the CROSS folder, it gave me an error and exited.. What's the deal there?
Click to expand...
Click to collapse
Hi again, first copy eg "lineage-17.1-20201009-UNOFFICIAL-flo.zip" to "CROSS\data" folder, then answer [y] to the question...
Code:
Nexus 7'13 LineageOS 17.1 Install v2.0 @2020 k23m
SUPPORT - http://bit.ly/2C35sLZ
This script assumes that USB drivers are already installed.
If not, then run RESTOCK first or install them manually.
Enter device name (flo=WiFi; deb=LTE) - [flo/deb]: flo
Use local ROM file? (no if unsure) [y/n]: y
Found local file: lineage-17.1-20201009-UNOFFICIAL-flo.zip
As you can see it is found automatically without entering a file name. If nothing is found, you could type any file name but the file must be located in the data folder.
It has worked! The install and setup was buttery smooth, thank you so much for this tool. Amazing!
A little help.
I am about to receive my refurbished unit in a couple of days. chances are that it will likely be on the last stock software. I have a general knowledge about rooting and installing custom ROMs on a variety of devices but nexus 7 seems different to work it. Will this script automatically root and install the TWRP apart from the designated flavor of lineageOS?
Also, will I need to go through the prerequisites (i.e. RESTOCK) procedures even if I am on stock ROM and partition by default? Will I need to repartition every time when switching ROMs after this? Can the CROSS be used again if i had to switch from say LOS 17.1 to 14.1?
Thanks in advance!:highfive:
GeekyTanuj said:
I am about to receive my refurbished unit in a couple of days. chances are that it will likely be on the last stock software. I have a general knowledge about rooting and installing custom ROMs on a variety of devices but nexus 7 seems different to work it. Will this script automatically root and install the TWRP apart from the designated flavor of lineageOS?
Also, will I need to go through the prerequisites (i.e. RESTOCK) procedures even if I am on stock ROM and partition by default? Will I need to repartition every time when switching ROMs after this? Can the CROSS be used again if i had to switch from say LOS 17.1 to 14.1? Thanks in advance!:highfive:
Click to expand...
Click to collapse
Refurbished N7s usually come with old KitKat stock and it is advisable to run RESTOCK first to update the bootloader before flashing LineageOS. Also RESTOCK will unlock it and install N7 USB drivers on your Windows.
Yes, CROSS can be used multiple times, and will root and install TWRP. Repartition is required only once.
Pro tip: for LineageOS updates answer [y] to the "Do dirty flash?" question to retain your OS settings and apps. But being "dirty", it may not work properly after major OS changes.
Should there be LOS17 server download issues, get lineage-17.1-20201017-UNOFFICIAL-flo.zip from an alternative server and drop it into CROSS' data folder as described in this post.
Cheers
:highfive:
You are a lifesaver!
k23m said:
Refurbished N7s usually come with old KitKat stock and it is advisable to run RESTOCK first to update the bootloader before flashing LineageOS. Also RESTOCK will unlock it and install N7 USB drivers on your Windows.
Yes, CROSS can be used multiple times, and will root and install TWRP. Repartition is required only once.
Pro tip: for LineageOS updates answer [y] to the "Do dirty flash?" question to retain your OS settings and apps. But being "dirty", it may not work properly after major OS changes.
Should there be LOS17 server download issues, get lineage-17.1-20201017-UNOFFICIAL-flo.zip from an alternative server and drop it into CROSS' data folder as described in this post.
Cheers
:highfive:
Click to expand...
Click to collapse
Thank you so much for developing this, RESTOCK as well as stock MM debloat script. it literally saved hours and hours of hassle that one has to face while getting to different versions of android! Running 10 with latest updates. feels so good!
kernel Configuration.
While Android 10 seems tempting and it actually is, it isn't just offering the kind of experience I am looking for and hinders my daily experience in one or the other way.
Looks like you might be using LOS 14.1 with the ElementalX kernel. Can you recommend the best settings for video playbacks and light gaming? Please share your configuration as well.
Thanks and cheers!:highfive:
GeekyTanuj said:
While Android 10 seems tempting and it actually is, it isn't just offering the kind of experience I am looking for and hinders my daily experience in one or the other way.
Looks like you might be using LOS 14.1 with the ElementalX kernel. Can you recommend the best settings for video playbacks and light gaming? Please share your configuration as well.
Thanks and cheers!:highfive:
Click to expand...
Click to collapse
For video and games LOS17 seems optimal, check these benchmarks.
Personally I use LOS14 without Gapps and with EX kernel including a modification to the battery life extender. I lowered max battery charge to 4.00V which is equivalent to 75% (under)charge resulting in 8x increase of battery life. Furthermore, the mod allows for constant external power connection and no battery overcharging nor overheating/swelling. I edited "buildconfig.sh" in EX zip:
Code:
replace
echo "write /sys/devices/i2c-0/0-006a/float_voltage 4200" >> $CONFIGFILE
with
echo "write /sys/devices/i2c-0/0-006a/float_voltage 4000" >> $CONFIGFILE
:good:
You gave my Nexus 7 (2013) a new lease on life! Woo-hoo!
I was running a years-old version of the vanilla stock FW and it was soooo slow. Somebody in some comment section somewhere mentioned RESTOCK & CROSS, so I tried out RESTOCK2 and it worked flawlessly.
Then I tried installing 17.1 via CROSS2 without repartitioning (as I believed RESTOCK did that). I got an error that I did not save, hoping it wasn't a big deal. I got stuck on the Google loading screen, so I ran CROSS again. I was going to try 14.1, but wasn't given the option again (bonus? 17.1 looks beautiful and it didn't make me redownload anything, which was smart coding on your part).
I think I should have run the logging programs when I first saw errors, because I'm afraid they were cleared by the reinstallation. I did send what I could after running the loggers post-successful installation, just in case.
Now, 17.1 is working so smoothly with a quick Netflix sideload (no GApps here, used APKMirror + the APKMirror Installer) - which certainly is only working thanks to Magisk. How long did it take me to figure out how to put app icons on the homescreen (swipe up, of course!) I don't think I want to reveal
I think the only thing I'm missing is DoubleTap2Wake which I installed with RESTOCK but see now it wasn't an option with 17.1 via CROSS. Apparently somebody has it goin' on LOS17.1 or 18 but this was so easy, not sure I want to try messing with a custom kernel just yet until I get a little bored.
Thank you so much--it's unbelievable there aren't 8 million comments on this thread, it's SO well done. If you made this for a modern/uber-popular tablet surely there would be though. Thank you thank you thank you!
iforget said:
I think the only thing I'm missing is DoubleTap2Wake which I installed with RESTOCK but see now it wasn't an option with 17.1 via CROSS. Apparently somebody has it goin' on LOS17.1 or 18 but this was so easy, not sure I want to try messing with a custom kernel just yet until I get a little bored.
Thank you so much--it's unbelievable there aren't 8 million comments on this thread, it's SO well done. If you made this for a modern/uber-popular tablet surely there would be though. Thank you thank you thank you!
Click to expand...
Click to collapse
If the Lineage build is using followmsi's sources, then you do not need to change kernels.
You just need to activate DT2W.
See this post on how to activate using a kernel manager.
The thread with the ever changing name. xda thread - Link
If you want something simple, I use a magisk module that enables it on boot.
DT2W GitHub - Link
Cheers.
PS.
Sorry for a bit of OT.
PPS.
The Lineage 17.1 build is using followmsi's sources.
hi
I have issue with otg on my N7, i used cross2 without problems : i installed twrp, lineageos 14, root the nexus and installed elementalx and googleapp
my usb otg cable with a usb key is never detected , i can mount the usbstick with twrp (sometime i can see it sometime not in twrp) but after few minutes it diseppear
someone can help me ?
it's a kernel issue?
any app works
thx
gibnexus said:
my usb otg cable with a usb key is never detected , i can mount the usbstick with twrp (sometime i can see it sometime not in twrp) but after few minutes it diseppear
someone can help me ? it's a kernel issue?
Click to expand...
Click to collapse
LOS14+EX kernel OTG is OK. Use the built-in file manager.
There could be a hardware issue - pin #4 may have a dry joint and work intermittently.
k23m said:
LOS14+EX kernel OTG is OK. Use the built-in file manager.
There could be a hardware issue - pin #4 may have a dry joint and work intermittently.
Click to expand...
Click to collapse
Hi man
thanks for your answer but it’s not a pin 4 issues , I have just changed the daughter board, and this evening I used restock2 , I restocked, install twrp, used the fix 30 and root but don’t install elementalx
I used the app usb otg helper and everything is ok
I can see my usb stick..
Help me please .. I like s2w and 2tw to turn on my screen
I would have the both otg and gesture to awake and used a better android system like lineageos
Thx
gibnexus said:
Hi man
thanks for your answer but it’s not a pin 4 issues , I have just changed the daughter board, and this evening I used restock2 , I restocked, install twrp, used the fix 30 and root but don’t install elementalx
I used the app usb otg helper and everything is ok
I can see my usb stick..
Help me please .. I like s2w and 2tw to turn on my screen
I would have the both otg and gesture to awake and used a better android system like lineageos
Thx
Click to expand...
Click to collapse
Hi
I begin to believe it’s my otg cable who has some trouble
I will buy a new one and see ...
Just a last question elementalx and los 14 support otg without nothing else ? ( no app or addons ? )
So thx to you for your work my old nexus was sleeping in a corner and now it’s relive
Thx for all
gibnexus said:
Hi
I begin to believe it’s my otg cable who has some trouble
I will buy a new one and see ...
Just a last question elementalx and los 14 support otg without nothing else ? ( no app or addons ? )
So thx to you for your work my old nexus was sleeping in a corner and now it’s relive
Thx for all
Click to expand...
Click to collapse
I can assure you that straight LOS14+EX OTG works fine.
You must have enabled the "USB OTG + charge mode" option which is meant for car use or externally powered OTG devices. It is NOT NEEDED for normal, N7-powered OTG storage.

Categories

Resources