FORUMS
Remove All Ads from XDA

[30 OCT 2012][DEV] NativeSD Rom Boot Script for HD2

763 posts
Thanks Meter: 2,766
 
By securecrt, Senior Member on 4th September 2012, 01:19 PM
Post Reply Email Thread
6th November 2012, 08:33 PM |#1391  
Senior Member
Thanks Meter: 9
 
More
Hi, Xylograph

I would like to flash clk with your 4ext recovery. Would you recommend the most suitable clk version which could work best with your recovery? How about the flash method? Flash clk first and then flash 4ext within the touch cwm bundled with clk? Thanks a lot.

Sent from my HTC One X with Beats Audio using xda app-developers app
 
 
7th November 2012, 07:14 PM |#1392  
datagr's Avatar
Senior Member
Thanks Meter: 585
 
More
nativeSDMultiBoot Version 10
Hello all,

Here is the latest version 10 of the app.

Change log :
----------------------------------------------------------------------------------------------------------------------------------------

Version 10 :
Fixed : Small aesthetic changes
Added : Website button
Added : Backup nativeSD rom
Added : Restore nativeSD rom

To backup a rom, click [Backup rom] then click a rom that you wish to backup.
The app will create sdcard/RomBackups/toEXT4/rom_name/rom_name.ext4.tar
and sdcard/romBackups/toSD/rom_name.ext4.tar files.
These are your backup that you can save them anywhere before you do any tests.

To restore a backed up rom, click [Backup rom] then click [Restore].
You will see that the app is switched in [RESTORE MODE].
In [RESTORE MODE] click a rom that you see in the list.
(Note that you must NOT change anything in sdcard/RomBackups folder.
If you changed anything from there then you must put the files and folders as they were,
before you enter again in the app and restore or backup any rom.)

PLEASE READ THIS :
You must NOT touch the app while backup or restore operations.
It will be unresponsive during the operations
(You can use a debugger to see what is the app compressing or decompressing).


Enjoy the app and please hit the thanks button (yes, it's still free!)

----------------------------------------------------------------------------------------------------------------------------------------

Version 9 :
Changed : no need the rom_name.txt method anymore. (requested by Tytung)
Added : Thanks to the guidance from securecrt now the app is getting the name through linux shell command.
Changed : colored text to [Switch rom] section. Blue color means the current running rom.
Added: Tabs in switch and delete sections for bigger buttons and more beautiful interface.
Changed : improved performance of the app (I hope it's ok now Szczepanik )

----------------------------------------------------------------------------------------------------------------------------------------

Version 8 :
Fixed : [Delete rom] section that was messed up from a bug that I found and now it is ok.
Added : colored text to [Switch rom] section. Cyan color means the current running rom(or the latest clicked rom).
Added : rom name in the [Tools] section so you will know in which rom the changes will be applied.

----------------------------------------------------------------------------------------------------------------------------------------

Version 7 :
App supports switching and deleting up to 18 nativeSD roms.
App will read from /proc/self/mountinfo the rom name and compare it with the rom_name.txt
that is automatically created in sdcard/nativeSD folder.
If the name matches, then it will enable the [Delete] and [Tools] buttons.
If not it will hide those 2 buttons to avoid any mistakes.
Also some small bugs have been fixed from previous versions.

----------------------------------------------------------------------------------------------------------------------------------------

Version 6 :
Added : fix permissions in nativeSD roms
Added : clear Dalvik cache in nativeSD roms
Added : kernel update(*) for nativeSD ONLY roms (thank you master Tytung for the guidance)

(*) How to update kernel :
1) Download the zip file of the kernel (tytung 3.5 and securecrt 24Sep2012 kernels work perfect)
2) Rename it to [update.zip] and put it in the sdcard/nativeSD folder
3) Run the nativeSDmultiboot app and click [Switch] -> click your current running rom -> [Back] -> [Tools] -> [Update kernel]
4) Reboot IMMEDIATELY! (this is really important to avoid any force closes...)

----------------------------------------------------------------------------------------------------------------------------------------

Version 5 :
Now CLK users can use this app to switch roms! (You must put [mkbootimg.sh] and [mkbootimg]
from [flash_sboot_v2.zip] inside the folder sdcard/nativeSD/)
The interface has been changed also.

----------------------------------------------------------------------------------------------------------------------------------------

Version 4 :
On first enter please click on the rom that you are running now! THIS IS VERY IMPORTANT!
It will create a rom_name.txt inside the nativeSD folder with the name that you are running (thanks for idea securecrt).
I have also added the delete function with confirmation message (requested by Xylograph).
It will hide the rom that you are currently running to avoid any mistakes (requested by securecrt).



P.S. All fellows developers are free to include it in your nativeSD roms.
Attached Files
File Type: apk NativeSDBootV10.apk - [Click for QR Code] (188.5 KB, 9401 views)
The Following 62 Users Say Thank You to datagr For This Useful Post: [ View ] Gift datagr Ad-Free
7th November 2012, 07:37 PM |#1393  
o82239's Avatar
Member
Thanks Meter: 146
 
More
Hi
@ all WindowsMobile-User: I've updated the NativeSD-Version...


Changelog:

NativSD-V3:
third Release for NativeSD-Methode
new:
- Help-text on the top
- Last booted Version displayed on the top
- Reads file rom_name.txt in the same directory and displays it on the top
- Writes the last booted ROM in the rom_name.txt (like the great datagr-android-tool )
- all program-errors are loged in a textfile "winandroid_error.txt"

Download and screenshot, see first post of http://forum.xda-developers.com/show...php?p=33174747

Thanks for all feedbacks.

Cheers
Klaus

Sent from my HTC HD2 using xda app-developers app
The Following 11 Users Say Thank You to o82239 For This Useful Post: [ View ] Gift o82239 Ad-Free
7th November 2012, 08:19 PM |#1394  
duhhh's Avatar
Senior Member
Flag Plovdiv
Thanks Meter: 215
 
More
Quote:
Originally Posted by gade12

I dont know if this help or need somebody or even if somebody got it before but i go...
i have got to share user app between diferents NativeSD roms.
This can work with update-script at installation, with terminal...but i will explain with Root Explorer and 2 NativeSD installed

Be sure you can install apps, install one app and unistall it.
1. Go first rom without apps installed (to get this put file explorer with root access on system app)
2. Go /NativeSD/
3. Create folder name "app". It must look like: /NativeSD/app
4. Give permissions rwxrwxrwx to this folder.
5. Long click in "app" folder and select: "Link to this folder"
6. Go to /data/
7. Click in "Create link". It will ask if you want to merge bla bla...Yes
8. If you are using Root Explorer you will see rwxrwxrwx -> app in /data/app folder
9. Now you can test if applications can be installed...

Go second rom, test if you can install apps, unistall all user apps, file explorer with root access in system...
1. Go /NativeSD/
2. Long click in "app" folder and select: "Link to this folder"
3. Go to /data/
4. Click in "Create link". It will ask if you want to merge bla bla...Yes
5. Reboot

And you are done. Now you can go first rom, install app, go second rom and you will have it there.
But only app...data, settings...not shared with this method. To share data you will have to do this process with /data/data but this can be dangerous due to diferent roms, android versions, system data apps....

Can I share app and data between JB & JB , ICS & ICS and JB ( NexusHD2-JellyBean-4.1.2-CM10 V1.2) & ICS ( NexusHD2-ICS-4.0.4-CM9-HWA V2.7 )
The Following User Says Thank You to duhhh For This Useful Post: [ View ] Gift duhhh Ad-Free
7th November 2012, 11:36 PM |#1395  
Szczepanik's Avatar
Senior Member
Thanks Meter: 587
 
More
Quote:
Originally Posted by datagr

Hello all,

Here is the latest version 10 of the app.

Change log :
----------------------------------------------------------------------------------------------------------------------------------------

Version 10 :
Fixed : Small aesthetic changes
Added : Website button
Added : Backup nativeSD rom
Added : Restore nativeSD rom

To backup a rom, click [Backup rom] then click a rom that you wish to backup.
The app will create sdcard/RomBackups/toEXT4/rom_name/rom_name.ext4.tar
and sdcard/romBackups/toSD/rom_name.ext4.tar files.
These are your backup that you can save them anywhere before you do any tests.

To restore a backed up rom, click [Backup rom] then click [Restore].
You will see that the app is switched in [RESTORE MODE].
In [RESTORE MODE] click a rom that you see in the list.
(Note that you must NOT change anything in sdcard/RomBackups folder.
If you changed anything from there then you must put the files and folders as they were,
before you enter again in the app and restore or backup any rom.)

PLEASE READ THIS :
You must NOT touch the app while backup or restore operations.
It will be unresponsive during the operations
(You can use a debugger to see what is the app compressing or decompressing).

Datagr thanks v10 looking good except first time I select Switch / Delete / Backup the first screen shows all the ROM names on top of one another - see screen shot.
Appreciate the great job you are doing on this for us.
Cheers
Tom

Sent from my NexusHD2 using Tapatalk 2
Attached Thumbnails
Click image for larger version

Name:	uploadfromtaptalk1352331399453.jpg
Views:	442
Size:	45.1 KB
ID:	1465060  
8th November 2012, 06:37 AM |#1396  
zain0300's Avatar
Senior Member
Flag San Diego
Thanks Meter: 539
 
More
i do not know if I'm doing anything wrong but I get this error message when trying to backup any rom.Click image for larger version

Name:	uploadfromtaptalk1352356651010.jpg
Views:	424
Size:	48.7 KB
ID:	1465844
8th November 2012, 09:46 AM |#1397  
datagr's Avatar
Senior Member
Thanks Meter: 585
 
More
Quote:
Originally Posted by Szczepanik

Datagr thanks v10 looking good except first time I select Switch / Delete / Backup the first screen shows all the ROM names on top of one another - see screen shot.
Appreciate the great job you are doing on this for us.
Cheers
Tom

Sent from my NexusHD2 using Tapatalk 2

Quote:
Originally Posted by zain0300

i do not know if I'm doing anything wrong but I get this error message when trying to backup any rom.Attachment 1465844

Sorry for the bugs.
Please download again version 10 with fixed bugs.
The Following 11 Users Say Thank You to datagr For This Useful Post: [ View ] Gift datagr Ad-Free
8th November 2012, 04:08 PM |#1398  
Senior Member
Thanks Meter: 51
 
More
HELLO datagr

i have a problem .

I delete the CM9ight from my phone and i want to delete and the QSEA_JBbut when i bush the button on this rom i have force close .

The other thing that i want to tell you is that could you please add the install flash able files (.zip) files ???

if i have a .zip file like android camera 4.2 can i flash it through the update kernel or not ??? Can i rename it to update and flash it ???

Thank you
8th November 2012, 04:32 PM |#1399  
zain0300's Avatar
Senior Member
Flag San Diego
Thanks Meter: 539
 
More
Quote:
Originally Posted by datagr

Sorry for the bugs.
Please download again version 10 with fixed bugs.

thanks datagr new version 10 is working alright, thanks a bunch
8th November 2012, 05:07 PM |#1400  
Robbie P's Avatar
Recognized Contributor
Flag London
Thanks Meter: 3,859
 
More
NativeSD system file installer
This uses aroma to install system files to rom
1. Extract the folder
2. (Optional for other NativeSD ROMs) Edit install.sh using notepad++ by changing
Code:
ROM_NAME=NexusHD2-JellyBean
to
Code:
ROM_NAME=Whatever-the-folder-in-sdcard/NativeSD-is-named-by-the-rom-you-wish-to-add-system-files-to;)
3. Put your system files into the system folder, remembering to put them into correct folders first (eg .apks go into app folder in system folder, so you need to create that)
4. Re-zip the contents of the installer.zip (Don't zip the folder else you may create a folder within a folder and it won't work)
5. Flash via 4ext recovery.

Should work

If you aren't sure of what you are doing, don't try it. But if you do come unstuck, you can re-flash the original rom .zip.

Edit; You may need to fix permissions after installing, or use a root browser to set the correct permissions for the files you install.
Edit2; Thanks to aroma people, Xylograph, securecrt, tytung etc. I only fiddled around with it a tiny bit.
Attached Files
File Type: zip NativeSD_system_installer.zip - [Click for QR Code] (218.4 KB, 80 views)
The Following 6 Users Say Thank You to Robbie P For This Useful Post: [ View ] Gift Robbie P Ad-Free
8th November 2012, 05:18 PM |#1401  
datagr's Avatar
Senior Member
Thanks Meter: 585
 
More
Quote:
Originally Posted by omek07

HELLO datagr

i have a problem .

I delete the CM9ight from my phone and i want to delete and the QSEA_JBbut when i bush the button on this rom i have force close .

The other thing that i want to tell you is that could you please add the install flash able files (.zip) files ???

if i have a .zip file like android camera 4.2 can i flash it through the update kernel or not ??? Can i rename it to update and flash it ???

Thank you

Did you mess with the folders of QSEA_JB?
Did you change anything in nativeSD folder or in sdcard/nativeSD? Can you post a logcat so I can explain you what you are doing wrong?
As for the request it is possible and it is added to todo list?

Sent from my HD2 using xda premium
The Following User Says Thank You to datagr For This Useful Post: [ View ] Gift datagr Ad-Free
Post Reply Subscribe to Thread

Tags
native sd, nativesd

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes